/* ================================================================
   NAV DZ — B2B SaaS Enterprise Platform
   Design System UI UX Pro Max & 21st.dev Component Standards
   ================================================================ */

/* ----------------------------------------------------
   1. DESIGN TOKENS & THEMING (Light & Dark Mode)
   ---------------------------------------------------- */
:root {
    /* Brand Primary (Electric Royal Blue) */
    --color-primary: #2563EB;
    --color-primary-hover: #1D4ED8;
    --color-primary-light: #EFF6FF;
    --color-primary-glow: rgba(37, 99, 235, 0.25);

    /* Brand Secondary & Accent */
    --color-secondary: #0F172A;
    --color-accent: #0284C7;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;

    /* Base Surfaces (Light Theme Default) */
    --color-bg: #F8FAFC;
    --color-bg-alt: #FFFFFF;
    --color-surface: #FFFFFF;
    --color-surface-hover: #F1F5F9;
    --color-glass: rgba(255, 255, 255, 0.75);
    --color-glass-border: rgba(226, 232, 240, 0.8);

    /* Typography Colors */
    --color-text: #0F172A;
    --color-text-muted: #475569;
    --color-text-subtle: #64748B;
    --color-text-inverse: #FFFFFF;

    /* Borders & Lines */
    --color-border: #E2E8F0;
    --color-border-subtle: #F1F5F9;
    --color-ring: #2563EB;

    /* Card & Modal Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 0 25px -5px var(--color-primary-glow);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Fonts */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout Container */
    --container-max: 1240px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
    --color-secondary: #F8FAFC;
    --color-bg: #020617;
    --color-bg-alt: #0F172A;
    --color-surface: #0F172A;
    --color-surface-hover: #1E293B;
    --color-glass: rgba(15, 23, 42, 0.85);
    --color-glass-border: rgba(30, 41, 59, 0.8);

    --color-text: #F8FAFC;
    --color-text-muted: #94A3B8;
    --color-text-subtle: #64748B;
    
    --color-border: #1E293B;
    --color-border-subtle: #0F172A;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 35px 2px rgba(37, 99, 235, 0.35);
}

/* ----------------------------------------------------
   2. BASE & RESET
   ---------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}
a:hover {
    color: var(--color-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ----------------------------------------------------
   3. UTILITY CLASSES & REUSABLE COMPONENTS
   ---------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #2563EB 0%, #0284C7 50%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .badge {
    background: rgba(37, 99, 235, 0.15);
    color: #60A5FA;
}

.badge-pulse {
    position: relative;
}
.badge-pulse::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-success);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Glassmorphism Card */
.glass-card {
    background: var(--color-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.glass-card:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: var(--color-surface-hover);
    color: var(--color-text);
    border-color: var(--color-border);
}
.btn-secondary:hover {
    background: var(--color-border);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Section Titles */
.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem auto;
}
.section-tag {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.section-head h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}
.section-sub {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* ----------------------------------------------------
   4. SITE HEADER & NAVIGATION
   ---------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-normal);
}

.site-header.scrolled {
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--color-text);
}
.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #2563EB 0%, #0284C7 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle Button */
.theme-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.125rem;
    transition: var(--transition-fast);
}
.theme-btn:hover {
    background: var(--color-surface-hover);
    color: var(--color-primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ----------------------------------------------------
   5. HERO SECTION & LIVE DASHBOARD SIMULATOR
   ---------------------------------------------------- */
.hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(2, 132, 199, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin: 1.25rem 0 1.5rem 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
}
.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-trust i {
    color: var(--color-success);
}

/* Dashboard Visual Card */
.dashboard-preview {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    overflow: hidden;
}

.dp-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: var(--color-surface-hover);
    border-bottom: 1px solid var(--color-border);
}
.dp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dp-dot.red { background: #EF4444; }
.dp-dot.yellow { background: #F59E0B; }
.dp-dot.green { background: #10B981; }
.dp-title {
    margin-left: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.dp-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dp-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}
.dp-kpi {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    text-align: center;
}
.dp-kpi-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}
.dp-kpi-label {
    font-size: 0.75rem;
    color: var(--color-text-subtle);
}

.dp-map {
    height: 220px;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #0F172A;
    position: relative;
}

.simulated-map-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #1E293B 0%, #0F172A 100%);
}

.map-custom-pin {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 0 10px var(--color-primary);
}
.map-custom-pin.active {
    background: var(--color-success);
    box-shadow: 0 0 12px var(--color-success);
}

.dp-note {
    font-size: 0.75rem;
    text-align: center;
    color: var(--color-text-subtle);
    padding-bottom: 0.75rem;
}

/* ----------------------------------------------------
   6. BENTO GRID FEATURES SECTION
   ---------------------------------------------------- */
.features-section {
    padding: 6rem 0;
    background: var(--color-bg-alt);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.3);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }

.bento-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

[data-theme="dark"] .bento-icon {
    background: rgba(37, 99, 235, 0.15);
    color: #60A5FA;
}

.bento-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.bento-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ----------------------------------------------------
   7. INTERACTIVE ROI CALCULATOR SECTION
   ---------------------------------------------------- */
.roi-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.roi-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.roi-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roi-control-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.roi-control-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9375rem;
}
.roi-value-badge {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-weight: 700;
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--color-border);
    outline: none;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.roi-result-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
}

.roi-result-item {
    margin-bottom: 1.5rem;
}
.roi-result-label {
    font-size: 0.875rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}
.roi-result-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
    color: #10B981;
}

.roi-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ----------------------------------------------------
   8. PRICING SECTION & TOGGLE
   ---------------------------------------------------- */
.pricing-section {
    padding: 6rem 0;
    background: var(--color-bg-alt);
}

.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}
.toggle-label {
    font-weight: 600;
    font-size: 1rem;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--color-border);
    transition: .3s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
input:checked + .slider { background-color: var(--color-primary); }
input:checked + .slider:before { transform: translateX(26px); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.price-box {
    margin: 1.5rem 0;
}
.price-amount {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text);
}
.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 0.25rem;
}
.price-period {
    font-size: 0.875rem;
    color: var(--color-text-subtle);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    flex-grow: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}
.pricing-features i {
    color: var(--color-success);
}

/* ----------------------------------------------------
   9. ACCORDION FAQ
   ---------------------------------------------------- */
.faq-section {
    padding: 6rem 0;
}

.faq-search-wrap {
    max-width: 500px;
    margin: 0 auto 3rem auto;
    position: relative;
}
.faq-search-input {
    width: 100%;
    padding: 0.875rem 1.25rem 0.875rem 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}
.faq-search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}
.faq-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-subtle);
}

.faq-accordion {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}
.faq-question i {
    transition: var(--transition-fast);
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    display: none;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

/* ----------------------------------------------------
   10. SITE FOOTER
   ---------------------------------------------------- */
.site-footer {
    background: #020617;
    color: #94A3B8;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid #1E293B;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin: 1rem 0 1.5rem 0;
    font-size: 0.9375rem;
    max-width: 320px;
}

.footer-head {
    font-family: var(--font-display);
    color: #F8FAFC;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a {
    color: #94A3B8;
    font-size: 0.9375rem;
}
.footer-links a:hover {
    color: #60A5FA;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid #1E293B;
    font-size: 0.875rem;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    z-index: 990;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ----------------------------------------------------
   11. RESPONSIVE MEDIA QUERIES
   ---------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions, .hero-trust {
        justify-content: center;
    }
    .bento-col-8, .bento-col-4, .bento-col-6 {
        grid-column: span 12;
    }
    .roi-card {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        z-index: 999;
    }
    .nav-links.active {
        right: 0;
    }
    .mobile-toggle {
        display: block;
    }
    .dp-kpis {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}