/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #5CBA47;
    --primary-hover: #4ca13a;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-light: #f5f5f7;
    --bg-white: #ffffff;
    --bg-hero-blob: #5CBA47;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.display-1 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.text-gradient {
    /* More vibrant gradient */
    background: linear-gradient(135deg, #1d1d1f 30%, #5CBA47 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-balance {
    text-wrap: balance;
}

/* Backgrounds */
.bg-grid {
    background-image:
        linear-gradient(rgba(92, 186, 71, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(92, 186, 71, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center top;
}

/* Hero Badge */
.hero-badge {
    background: rgba(92, 186, 71, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    border-radius: 980px;
    /* Pill shape */
    padding: 10px 24px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92, 186, 71, 0.25);
}

.btn-outline-dark {
    border-color: #e5e5e5;
    color: var(--text-primary);
}

.btn-outline-dark:hover {
    background-color: #f5f5f7;
    color: var(--text-primary);
    border-color: #d2d2d7;
}

/* Cards */
.card {
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(92, 186, 71, 0.2);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: rgba(92, 186, 71, 0.1);
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.card:hover .feature-icon-box {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section Dense Technical Pricing */
:root {
    --primary-color: #5CBA47;
    --primary-dark: #4a9e3a;
    --text-main: #020617;
    /* Slate 950 - Almost Black */
    --text-secondary: #334155;
    /* Slate 700 - Dark Gray */
    --border-color: #cbd5e1;
    /* Slate 300 */
}

body {
    font-family: 'Outfit', sans-serif !important;
    color: var(--text-main);
}

.hero-section {
    background-color: #ffffff;
    padding-top: 120px;
    padding-bottom: 60px;
    /* Subtle Technical Grid */
    background-image:
        linear-gradient(#f1f5f9 1px, transparent 1px),
        linear-gradient(90deg, #f1f5f9 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Typography High Contrast */
.hero-title {
    letter-spacing: -0.04em;
    color: var(--text-main) !important;
    font-weight: 800;
}

.text-dark {
    color: var(--text-main) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

/* Pricing Capsule/Ledger */
.pricing-capsule {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pricing-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

/* Info Cards (Compact & Dense) */
.info-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.info-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-list-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.icon-box-small {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

/* Utilities */
.ls-wide {
    letter-spacing: 0.1em;
}

.tracking-tight {
    letter-spacing: -0.03em;
}

.lh-1 {
    line-height: 1.05 !important;
}

.btn-pill {
    border-radius: 50rem;
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Animations */
.hero-buttons {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

/* Buttons */
.btn-light {
    color: #0d6e32 !important;
}

.btn-light:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4) !important;
}

.btn-dark {
    background-color: var(--text-main);
    border: none;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 100px !important;
        text-align: center;
    }

    .display-4 {
        font-size: 2.25rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-light {
    color: #0d6e32 !important;
}

.btn-light:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4) !important;
}

.btn-dark {
    background-color: #1a1a1a;
    border: none;
    transition: all 0.2s ease;
}

.btn-dark:hover {
    background-color: #000000;
    transform: scale(1.02);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 8px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Premium Buttons in Header */
.btn-nav-action {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(92, 186, 71, 0.2);
}

.btn-nav-action:hover {
    box-shadow: 0 6px 16px rgba(92, 186, 71, 0.3);
    transform: translateY(-1px);
}

/* Vibrant Button (Red for Client Access) */
.btn-vibrant {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.4);
    transition: all 0.2s ease;
}

.btn-vibrant:hover,
.btn-vibrant:active,
.btn-vibrant:focus {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.5);
}

/* Legal Pages Styling */
.legal-header {
    background-color: #f8fafc;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

/* Contact Section */
.contact-form-card {
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.text-brand {
    color: var(--primary-color) !important;
}

/* Compact Contact Form */
.form-control-sm-custom {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.contact-info-list i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Floating Whatsapp - FIXED */
.whatsapp-float {
    position: fixed !important;
    width: 60px;
    height: 60px;
    bottom: 30px !important;
    right: 30px !important;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white !important;
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.3);
}