/* ============================================
   SLIP-SCAN - COMPLETE STYLESHEET OVERHAUL
   ============================================ */

/* CSS Reset & Base Variables */
:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --secondary: #10B981;
    --accent: #F59E0B;
    --accent-warm: #F97316;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #F9FAFB;
    --bg-alt: #F3F4F6;
    --border: #E5E7EB;
    --white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --text-dark-light-mode: #1F2937;
}

/* Dark Mode Variables */
:root.dark-theme,
[data-theme="dark"] {
    --primary: #3B82F6;
    --primary-dark: #60A5FA;
    --primary-light: #93C5FD;
    --secondary: #34D399;
    --accent: #FCD34D;
    --accent-warm: #FB923C;
    --text-dark: #F3F4F6;
    --text-muted: #9CA3AF;
    --bg-light: #111827;
    --bg-alt: #374151;
    --border: #374151;
    --white: #1F2937;
    --success: #34D399;
    --warning: #FCD34D;
    --error: #F87171;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --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);
}

/* Smooth transitions for theme changes */
body,
.header,
.nav-links a,
.btn,
.pain-card,
.feature-card,
.pricing-card,
.testimonial-card,
.trust-category,
.integ-box,
.life-card,
.faq-item,
.chat-interface,
.chat-msg,
.store-button,
.store-button-small {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* ============================================
   DARK MODE COMPONENT STYLES
   ============================================ */

/* Sections - Now DARK in dark mode */
:root.dark-theme .final-cta {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%) !important;
}

/* Button override for CTA - Global (Light & Dark) */
.final-cta .btn-primary {
    background: white !important;
    color: var(--primary) !important;
    border-color: white !important;
}

.final-cta .btn-primary:hover {
    background: #f9fafb !important;
    transform: translateY(-3px);
}

.final-cta .btn-secondary {
    color: white !important;
    border-color: white !important;
}

.final-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    border-color: white !important;
}

:root.dark-theme .trust-section,
:root.dark-theme .pain-points,
:root.dark-theme .power-section,
:root.dark-theme .integrations,
:root.dark-theme .features,
:root.dark-theme .testimonials,
:root.dark-theme .ai-lifestyle,
:root.dark-theme .faq {
    background: #161e2e !important;
}

:root.dark-theme .hero,
:root.dark-theme .how-it-works {
    background: rgba(31, 41, 55, 0.95) !important;
}

:root.dark-theme .feature-card p,
:root.dark-theme .pain-card p {
    color: #cbd5e1 !important;
}


/* Feature Icons & Emojis */
:root.dark-theme .feature-icon,
:root.dark-theme .step-icon {
    background: #0F172A !important;
    color: var(--primary);
}

:root.dark-theme .pain-icon,
:root.dark-theme .integ-icon,
:root.dark-theme .ai-icon {
    background: transparent !important;
    color: var(--primary);
}

/* UI Elements sitting on DARK backgrounds */
:root.dark-theme .pricing-toggle {
    background: transparent !important;
    border: none !important;
}

/* Features Section Override */
:root.dark-theme .features,
:root.dark-theme .ai-lifestyle,
:root.dark-theme .faq {
    background: #0F172A !important;
}

:root.dark-theme .feature-card,
:root.dark-theme .life-card {
    background: #1F2937 !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

:root.dark-theme .step-icon {
    background: #0F172A !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Business Page Use Cases Override */
:root.dark-theme .how-it-works .pain-card {
    background: #0F172A !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

:root.dark-theme .pricing-card.featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(30, 64, 175, 0.1) 100%) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary) !important;
}

:root.dark-theme .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

:root.dark-theme .plan-type-switch {
    background: #1f2937 !important;
}

:root.dark-theme .switch-selection {
    background: #374151 !important;
}

:root.dark-theme .plan-type-switch label {
    color: #9ca3af !important;
}

:root.dark-theme .plan-type-switch input[type="radio"]:checked+label {
    color: white !important;
}

:root.dark-theme .pricing-header h3,
:root.dark-theme .toggle-label {
    color: white !important;
}

:root.dark-theme .pricing-desc,
:root.dark-theme .price-period,
:root.dark-theme .pricing-features li {
    color: #cbd5e1 !important;
    /* Premium light gray for readability */
}

:root.dark-theme .pricing-features li.disabled {
    color: rgba(255, 255, 255, 0.3) !important;
}

:root.dark-theme .pricing-enterprise,
:root.dark-theme .pricing-guarantee {
    color: #9ca3af !important;
}

:root.dark-theme .section-header h2,
:root.dark-theme .section-header p {
    color: white;
}

:root.dark-theme .footer {
    background: #0F172A;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure theme toggle button is perfectly square and matches height */
[data-theme-toggle] {
    min-width: 44px;
    padding: 0.75rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

:root.dark-theme [data-theme-toggle] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

:root.dark-theme [data-theme-toggle] i {
    color: white;
}

:root.dark-theme .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

:root.dark-theme .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Pricing Card Elements - Sitting inside white cards */
:root.dark-theme .pricing-amount {
    color: #1F2937 !important;
}

:root.dark-theme .slider {
    background-color: var(--border);
}

/* Testimonials - Sitting inside white cards */
:root.dark-theme .testimonial-author {
    color: #1F2937 !important;
}

:root.dark-theme .testimonial-role {
    color: #6B7280 !important;
}

/* FAQ */
:root.dark-theme .faq-item {
    background: white;
    color: #1F2937 !important;
}

:root.dark-theme .faq-question h3 {
    color: #1F2937 !important;
}

:root.dark-theme .faq-answer p {
    color: #6B7280 !important;
}

:root.dark-theme .faq-question:hover h3,
:root.dark-theme .faq-question:hover i {
    color: white !important;
}

/* Resources Page - Blog Cards */
/* Color-coded category badges for better visual organization */
.blog-category-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tax Tips - Green */
[data-category="tax"] .blog-category-badge {
    background: #10b981 !important;
    color: white !important;
}

/* Technology - Purple */
[data-category="tech"] .blog-category-badge {
    background: #8b5cf6 !important;
    color: white !important;
}

/* Finance - Blue */
[data-category="finance"] .blog-category-badge {
    background: #3b82f6 !important;
    color: white !important;
}

:root.dark-theme .blog-card h3 {
    color: white !important;
}

:root.dark-theme .blog-card p {
    color: #cbd5e1 !important;
}

:root.dark-theme .blog-content a {
    color: #ff4f00 !important;
}

/* Modal */
:root.dark-theme .modal-content {
    background: white;
    color: #1F2937 !important;
}

:root.dark-theme .modal-content h3 {
    color: #1F2937 !important;
}

:root.dark-theme .modal-content p {
    color: #6B7280 !important;
}

/* Forms */
:root.dark-theme .contact-card {
    background: white;
}

:root.dark-theme .form-label {
    color: white !important;
}

:root.dark-theme .form-input,
:root.dark-theme .form-textarea {
    background: #F9FAFB;
    border-color: #E5E7EB;
    color: #1F2937;
}

/* Support Page Specific */
:root.dark-theme .support-hero {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-light) 100%);
}

:root.dark-theme .category-badge {
    background: #ff4f00;
}

/* Resources Page Specific */
:root.dark-theme .resources-hero {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%) !important;
}

:root.dark-theme .resources-hero p {
    color: white !important;
    opacity: 0.9 !important;
}

/* Featured guide section text */
:root.dark-theme section p {
    color: white !important;
}

:root.dark-theme .section-header h2 {
    color: white !important;
}

:root.dark-theme .section-header p {
    color: #cbd5e1 !important;
}

:root.dark-theme .faq-content,
:root.dark-theme .faq-content li,
:root.dark-theme .faq-content p {
    color: #cbd5e1 !important;
}

:root.dark-theme #contact-form h2 {
    color: white !important;
}

:root.dark-theme #contact-form p {
    color: #cbd5e1 !important;
}

:root.dark-theme .contact-card {
    background: #0F172A !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

:root.dark-theme .direct-email h4 {
    color: white !important;
}

:root.dark-theme .blog-card {
    background: #0F172A !important;
}

:root.dark-theme .blog-content {
    background: #0F172A !important;
}

:root.dark-theme .category-tab {
    background: var(--bg-alt);
    color: var(--text-dark);
    border-color: var(--border);
}

:root.dark-theme .category-tab.active,
:root.dark-theme .category-tab:hover {
    background: #ff4f00;
    color: white;
    border-color: #ff4f00;
}

/* Ecosystem & AI Assistant - Premium Dark Look */
:root.dark-theme .power-section {
    background: #161e2e !important;
}

:root.dark-theme .xero-box,
:root.dark-theme .sage-box,
:root.dark-theme .qb-box {
    background: #1F2937 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

:root.dark-theme .xero-box {
    background: linear-gradient(135deg, #1E293B 0%, #111827 100%) !important;
    border-color: #3B82F6;
}

:root.dark-theme .integ-box h3,
:root.dark-theme .integ-box p {
    color: white !important;
}

:root.dark-theme .integ-box p {
    opacity: 0.8;
}

:root.dark-theme .ai-power-row {
    background: #111827 !important;
    /* Deep dark background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
}

:root.dark-theme .ai-power-row h3,
:root.dark-theme .ai-power-row h4,
:root.dark-theme .ai-power-row p {
    color: white !important;
}

:root.dark-theme .ai-power-row p {
    opacity: 0.7;
}

:root.dark-theme .ai-header::before,
:root.dark-theme .ai-header::after {
    background: rgba(255, 255, 255, 0.2);
}

:root.dark-theme .ai-icon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

:root.dark-theme .chat-interface {
    background: var(--bg-alt);
    border-color: var(--border);
}

:root.dark-theme .chat-msg.ai {
    background: var(--bg-light) !important;
}

:root.dark-theme .chat-msg.ai,
:root.dark-theme .chat-msg.ai * {
    color: #cbd5e1 !important;
    /* Sophisticated light grey */
}

:root.dark-theme .chat-msg.ai strong {
    color: white !important;
    /* Keep key numbers/data bright */
}

:root.dark-theme .chat-msg.user,
:root.dark-theme .chat-msg.user * {
    color: white !important;
}

:root.dark-theme .chat-input-mock {
    background: var(--bg-light);
    border-color: var(--border);
}

:root.dark-theme .res-card.blue-tint,
:root.dark-theme .res-card.orange-tint,
:root.dark-theme .res-card.green-tint {
    background: var(--bg-alt);
}

:root.dark-theme .transform-section {
    background: var(--bg-light);
}

:root.dark-theme .additional-resources {
    background: var(--white);
}

:root.dark-theme .additional-resources h2 {
    color: white !important;
}

:root.dark-theme .app-btn {
    background: var(--bg-alt);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

:root.dark-theme .app-btn:hover {
    border-color: var(--primary);
}

/* Section backgrounds */
:root.dark-theme section[style*="background: white"],
:root.dark-theme .faq-section {
    background: var(--bg-light) !important;
}

/* Text color overrides for specific elements */
:root.dark-theme h1,
:root.dark-theme h2,
:root.dark-theme h3,
:root.dark-theme h4,
:root.dark-theme h5,
:root.dark-theme h6 {
    color: var(--text-dark);
}

:root.dark-theme p {
    color: var(--text-muted);
}


/* Stats and numbers */
:root.dark-theme .stat-number,
:root.dark-theme .hero-stat-number {
    color: var(--primary);
}

/* Badges */
:root.dark-theme .pricing-badge {
    background: var(--primary);
    color: white;
}

:root.dark-theme .trust-category-header i {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary) !important;
}


/* Store buttons - Dark Mode Generics */
:root.dark-theme .store-button,
:root.dark-theme .store-button-small {
    background: var(--bg-light) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

:root.dark-theme .store-button i,
:root.dark-theme .store-button .store-button-name,
:root.dark-theme .store-button .store-button-label {
    color: white !important;
}

:root.dark-theme .store-button:hover,
:root.dark-theme .store-button-small:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

:root.dark-theme .store-button.apple:hover i {
    color: #fff !important;
}

:root.dark-theme .store-button i {
    color: var(--text-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

/* Subtle cursor tracking effect */
body::before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

:root.dark-theme body::before {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.02) 0%, transparent 40%);
}

body:hover::before {
    opacity: 1;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: slideDown 0.6s ease-out;
}

:root.dark-theme .header {
    background: var(--bg-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    /* Base gap (sub-desktop) */
    align-items: center;
    margin: 0;
}

@media (min-width: 1200px) {
    .nav-links {
        gap: 1.75rem;
        /* Reduced from 2.5rem for better balance */
    }
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
    /* Prevent wrapping */
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    /* Theme-aware subtle tint */
}

:root.dark-theme .nav-links a {
    color: #CBD5E1;
}

:root.dark-theme .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-cta {
    display: flex;
    align-items: stretch;
    /* Make them same height */
    gap: 1rem;
}

.btn-secondary-nav {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.btn-secondary-nav:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-only-cta {
    display: none;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn,
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

:root.dark-theme .ripple {
    background: rgba(37, 99, 235, 0.2);
    /* Use primary color in dark mode */
}

:root.dark-theme .ripple-effect {
    background-color: rgba(37, 99, 235, 0.2);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.btn-link:hover {
    gap: 0.75rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

/* --- Hero Background Orbs --- */
.hero-bg-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    /* Sits behind content */
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Creates the soft glow */
    opacity: 0.5;
    animation: floatOrb 25s infinite ease-in-out;
}

/* Primary Blue Orb (Top Right) */
.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.25);
    /* var(--primary) */
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

:root.dark-theme .orb-1 {
    background: rgba(59, 130, 246, 0.15);
}

/* Secondary Green/Teal Orb (Bottom Left) */
.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.2);
    /* var(--secondary) */
    bottom: -50px;
    left: -150px;
    animation-delay: -5s;
}

:root.dark-theme .orb-2 {
    background: rgba(52, 211, 153, 0.1);
}

/* Accent Warm Orb (Middle/Center) */
.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.15);
    /* var(--accent) */
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

:root.dark-theme .orb-3 {
    background: rgba(252, 211, 77, 0.08);
}

/* Slow Floating Animation */
@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Ensure content sits on top of orbs */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero {
    padding: 10rem 2rem 6rem;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    position: relative;
    overflow: hidden;
}

:root.dark-theme .hero {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 99, 235, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

:root.dark-theme .hero-badge {
    background: var(--bg-light) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .highlight,
.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: transparent;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 8px solid var(--white);
    position: relative;
    z-index: 1;
    transition: border-color 0.3s ease;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .phone-mockup {
        margin-bottom: -4rem;
    }
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 20px;
    background: var(--white);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

:root.dark-theme .phone-notch {
    background: var(--bg-light) !important;
}

:root.dark-theme .phone-mockup {
    border-color: var(--bg-light) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.3) !important;
}

:root.dark-theme .phone-mockup img {
    filter: invert(0.92) hue-rotate(180deg) brightness(1.1);
}

.phone-mockup i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
    white-space: nowrap;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

:root.dark-theme .floating-card {
    background: var(--bg-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 15%;
    left: -10%;
    color: var(--success);
}

.card-1 i {
    color: var(--success);
}

.card-2 {
    top: 50%;
    right: -10%;
    color: var(--primary);
    animation-delay: 0.5s;
}

.card-2 i {
    color: var(--primary);
}

.card-3 {
    bottom: 15%;
    left: 5%;
    color: var(--accent);
    animation-delay: 1s;
}

.card-3 i {
    color: var(--accent);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 6rem 2rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    background: #DBEAFE;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    padding: 5rem 2rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-category {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.trust-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.trust-category-header i {
    font-size: 1.75rem;
    color: var(--primary);
    background: #EFF6FF;
    padding: 0.75rem;
    border-radius: 12px;
}

.trust-category-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.trust-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.trust-item:hover {
    background: var(--bg-light);
    transform: translateX(5px);
}

/* Fix for final-cta trust items in light mode */
.final-cta .trust-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary);
    min-width: 24px;
    margin-top: 2px;
}

.trust-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-item-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    display: block;
}

.trust-item-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: block;
}

/* Responsive Design for Trust Section */
@media (max-width: 968px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trust-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 769px) {
    .trust-category {
        padding: 1.5rem;
    }

    .trust-category-header h3 {
        font-size: 1.1rem;
    }

    .trust-item-title {
        font-size: 0.95rem;
    }
}

/* ============================================
   PAIN POINTS
   ============================================ */

.pain-points {
    background: var(--bg-light);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pain-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.pain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.pain-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.pain-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   FEATURES
   ============================================ */

.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.feature-card.featured {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 2px solid var(--primary);
}

.feature-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.25rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.feature-list i {
    color: var(--success);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}


/* ============================================
   HIERARCHICAL APPROVALS
   ============================================ */
.approvals-section {
    padding: 8rem 0;
    /* Match Ecosystem section background and borders */
    background: #fbfcff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

:root.dark-theme .approvals-section {
    background: #161e2e !important;
}

:root.dark-theme .approvals-section .diagram-wrapper {
    background: #0f172a !important;
}

.approval-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.approval-info .section-tag {
    /* More consistent with main site tag styles */
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.approval-info h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.approval-steps-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.approval-item {
    display: flex;
    gap: 1.5rem;
}

.approval-icon {
    width: 54px;
    height: 54px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.approval-txt h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.approval-txt p {
    color: var(--text-muted);
    line-height: 1.6;
}

.approval-diagram {
    position: relative;
}

.diagram-wrapper {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 32px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.node {
    padding: 1.5rem 2rem;
    background: transparent !important;
    border: none !important;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 280px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Force white text inside nodes as they keep their dark background */
    color: white !important;
}

.node span {
    color: white !important;
    font-weight: 600;
}

.node::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -2;
    animation: border-rotate 4s linear infinite;
    opacity: 0.8;
}

.node::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(30, 41, 59, 0.95);
    border-radius: 14px;
    z-index: -1;
    transition: all 0.3s ease;
}

/* Specific Role Themes */

/* Employee - Blue */
.node.employee::before {
    background: conic-gradient(#3B82F6, #60A5FA, #93C5FD, #3B82F6);
}

.node.employee::after {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.node.employee i {
    color: #3B82F6;
}

/* Manager - Indigo/Primary */
.node.manager::before {
    background: conic-gradient(#6366F1, #818CF8, #A5B4FC, #6366F1);
}

.node.manager::after {
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
}

.node.manager i {
    color: #818CF8;
}

/* Finance - Green/Success */
.node.finance::before {
    background: conic-gradient(#10B981, #34D399, #6EE7B7, #10B981);
}

.node.finance::after {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

.node.finance i {
    color: #34D399;
}

/* Owner - Gold/Purple Premium */
.node.owner::before {
    background: conic-gradient(#F59E0B, #8B5CF6, #D946EF, #F59E0B);
}

.node.owner::after {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.node.owner i {
    color: #F59E0B;
}

.node:hover {
    transform: translateY(-5px) scale(1.02);
}

.node:hover::after {
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.connector {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.25rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
    background: var(--bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Forces card to fill the grid cell height */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.review-summary {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    flex-wrap: wrap;
}

.review-stat {
    text-align: center;
}

.review-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.25rem;
}

.review-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   PRICING
   ============================================ */

.pricing {
    background: var(--bg-light);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-dark);
}

.save-badge {
    background: var(--success);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(28px);
}

.pricing {
    padding: 8rem 0;
    background: var(--bg-light);
    /* Default light bg */
    position: relative;
}

:root.dark-theme .pricing {
    background: #111827 !important;
    /* Slightly darker than other dark sections */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
}

.price-period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-annual {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: none;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.6;
}

.pricing-features i {
    color: var(--success);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-features .fa-times {
    color: var(--error);
}

.pricing-enterprise {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-enterprise a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.pricing-enterprise a:hover {
    text-decoration: underline;
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.guarantee-badge {
    width: 60px;
    height: 60px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.guarantee-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.guarantee-text p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   INTEGRATIONS
   ============================================ */

.integrations {
    background: white;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.integration-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.integration-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.05);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.integration-card:hover::before {
    width: 300px;
    height: 300px;
}

.integration-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.integration-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.integration-icon img {
    display: block;
    max-height: 50px;
    width: auto;
}

.integration-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.integration-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   AI LIFESTYLE SECTION & ANIMATIONS
   ============================================ */

.ai-lifestyle {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 6rem 2rem;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Chat Interface Styling */
.chat-interface {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    overflow: hidden;
    max-width: 450px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.chat-header {
    background: var(--primary);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-title {
    display: flex;
    flex-direction: column;
}

.chat-title span:first-child {
    font-weight: 700;
    font-size: 1rem;
}

.chat-title .status {
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-title .status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    display: block;
    animation: pulseGreen 2s infinite;
    /* Status Pulse Animation */
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.chat-body {
    padding: 1.5rem;
    background: #F1F5F9;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    /* Pop-In Animation */
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

/* Staggered Chat Animations */
.chat-msg:nth-child(1) {
    animation-delay: 0.2s;
}

.chat-msg:nth-child(2) {
    animation-delay: 1.0s;
}

.chat-msg:nth-child(3) {
    animation-delay: 2.5s;
}

.chat-msg:nth-child(4) {
    animation-delay: 3.5s;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 2px;
}

.chat-msg.ai {
    align-self: flex-start;
    background: white;
    color: var(--text-dark);
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-input-mock {
    margin-top: 1rem;
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    color: #94A3B8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
}

.send-btn {
    color: var(--primary);
}

/* Lifestyle Features Styling */
.lifestyle-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.life-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.life-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.life-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.75rem;
}

.life-icon.travel {
    background: #E0F2FE;
    color: #0284C7;
}

.life-icon.family {
    background: #FCE7F3;
    color: #DB2777;
}

.life-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.life-content p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   FINAL CTA OVERHAUL (Blue Brand Version)
   ============================================ */

.final-cta {
    position: relative;
    padding: 8rem 2rem;
    /* UPDATED: Uses your brand blue gradient instead of dark slate */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    text-align: center;
    color: white;
}

/* --- Animated Background Wrapper --- */
.cta-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Tech Grid Pattern */
.cta-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* UPDATED: Subtle white grid */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Glowing Orbs */
.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.glow-left {
    width: 400px;
    height: 400px;
    /* UPDATED: Lighter blue to stand out against the blue bg */
    background: #60A5FA;
    top: -100px;
    left: -100px;
    animation: floatGlow 10s infinite alternate ease-in-out;
}

.glow-right {
    width: 500px;
    height: 500px;
    /* UPDATED: Mint/Teal to match your secondary color */
    background: var(--secondary);
    bottom: -150px;
    right: -100px;
    animation: floatGlow 12s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: translate(30px, 50px);
        opacity: 0.6;
    }
}

/* --- Content Styling --- */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* UPDATED: White glass effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.final-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.final-cta p {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 3rem;
    line-height: 1.6;
}

:root.dark-theme .early-bird-section p,
:root.dark-theme .final-cta p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* --- Buttons --- */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--primary);
    border: 2px solid white;
    font-weight: 700;
}

.btn-white:hover {
    background: #F0F9FF;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* --- Trust Row (Checkmarks) --- */
.cta-trust-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    /* UPDATED: Lighter text for blue bg */
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    /* UPDATED: Bright accent color for visibility */
    color: #6EE7B7;
    /* Bright Mint */
}

/* Mobile Adjustments */
@media (max-width: 769px) {
    .final-cta {
        padding: 5rem 1.5rem;
    }

    .final-cta h2 {
        font-size: 2.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-large {
        width: 100%;
    }

    .cta-trust-row {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: ctaRotate 20s linear infinite;
}

@keyframes ctaRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-content>p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-note i {
    margin-right: 0.25rem;
}

/* ============================================
   FOOTER (Updated with Flexbox Fix)
   ============================================ */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 5rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

/* GENERIC FOOTER LINKS */
/* This rule was overriding your logo previously */
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* FOOTER LOGO - FIXED */
/* We added ".footer-col" before .footer-logo to increase specificity.
   This ensures "display: flex" wins over "display: inline-block" */
.footer-col .footer-logo {
    display: flex !important;
    /* Force flex layout */
    flex-direction: row;
    /* Force side-by-side alignment */
    align-items: center;
    /* Vertically center align */
    justify-content: flex-start;
    /* Left align */
    gap: 0.75rem;
    /* Space between icon and text */
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    /* Override the grey color from generic links */
    text-decoration: none;
    white-space: nowrap;
    opacity: 1;
}

/* Prevent the hover "jump" effect seen on other links */
.footer-col .footer-logo:hover {
    padding-left: 0;
    color: white;
    transform: none;
}

.logo span,
.footer-col .footer-logo span {
    line-height: 1;
    padding-top: 2px;
    display: block;
}

.logo img,
.footer-col .footer-logo img {
    display: block;
    flex-shrink: 0;
    width: 30px;
    height: auto;
    border-radius: 8px;
    margin: 0;
}

.footer-desc,
.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Reset generic link hover effects for social icons too */
.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-certifications {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-certifications span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.footer-certifications i {
    color: var(--primary);
    font-size: 1rem;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for grid items */
.features-grid .scroll-reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .scroll-reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.features-grid .scroll-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.features-grid .scroll-reveal:nth-child(4) {
    transition-delay: 0.4s;
}

.features-grid .scroll-reveal:nth-child(5) {
    transition-delay: 0.5s;
}

.features-grid .scroll-reveal:nth-child(6) {
    transition-delay: 0.6s;
}

.pain-grid .scroll-reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.pain-grid .scroll-reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.pain-grid .scroll-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.pain-grid .scroll-reveal:nth-child(4) {
    transition-delay: 0.4s;
}

.pricing-grid .scroll-reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.pricing-grid .scroll-reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.pricing-grid .scroll-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

/* ============================================
   EARLY BIRD DEAL (INTEGRATED)
   ============================================ */

.early-bird-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

:root.dark-theme .early-bird-section {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%) !important;
}

/* Subtle background decoration to match site style */
.early-bird-bg-circle {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.early-bird-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.early-bird-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

/* Price Box Styling */
.deal-price-wrapper {
    text-align: center;
}

.deal-price-box {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    transform: rotate(-2deg);
    /* Playful tilt */
    transition: transform 0.3s ease;
}

.deal-price-box:hover {
    transform: rotate(0deg) scale(1.05);
}

.deal-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.deal-period {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.deal-billed {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Content Styling */
.deal-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.deal-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Progress Bar */
.deal-progress {
    margin-bottom: 2rem;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.progress-track {
    background: rgba(0, 0, 0, 0.2);
    height: 12px;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
    width: 15%;
    height: 100%;
    background: var(--accent);
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    position: relative;
}

/* Add a shimmer effect to the progress bar */
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.deal-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.guarantee-text {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   POWER FEATURES SECTION
   ============================================ */

.power-section {
    padding-bottom: 6rem;
    background: #F8FAFC;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.power-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* --- Integration Grid (Bento Style) --- */
.integration-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    /* Xero gets more space */
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.integ-box {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.integ-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Xero Specifics */
.xero-box {
    background: linear-gradient(135deg, #E6F7FF 0%, #FFFFFF 100%);
    border-color: #B3E0FF;
}

.xero-box .integ-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1.5rem;
}

.integ-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #00B7E2;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.integ-content {
    position: relative;
    z-index: 1;
}

/* Sage & QB Specifics */
.sage-box .integ-icon i {
    color: #00D600;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.qb-box .integ-icon i {
    color: #2CA01C;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.qb-box {
    background: #F9FAFB;
    border-style: dashed;
}

.coming-soon-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--text-muted);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}

.integ-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.integ-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- AI Power Row --- */
.ai-power-row {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--border);
}

.ai-header {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ai-header::before,
.ai-header::after {
    content: '';
    height: 1px;
    width: 50px;
    background: var(--border);
    display: block;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.ai-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ai-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #EFF6FF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.ai-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.ai-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   NEW PRICING STYLES (Personal vs Business)
   ============================================ */

.plan-type-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.plan-type-switch {
    position: relative;
    display: flex;
    background: #e2e8f0;
    border-radius: 50px;
    padding: 4px;
    width: 240px;
}

.plan-type-switch input[type="radio"] {
    display: none;
}

.switch-label {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    z-index: 2;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.plan-type-switch input[type="radio"]:checked+label {
    color: var(--primary);
}

.switch-selection {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: white;
    border-radius: 46px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hidden {
    display: none !important;
}

/* Range Slider Styling */
input[type=range] {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #cbd5e1;
    border-radius: 2px;
}

.store-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    background: white;
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-sm);
}

/* Animated Gradient Border Logic - Specifically for Brand Buttons */
.store-button.apple,
.store-button.google,
.app-btn.apple,
.app-btn.google {
    background: transparent !important;
    border: none !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.store-button.apple::before,
.store-button.google::before,
.app-btn.apple::before,
.app-btn.google::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -2;
    animation: border-rotate 4s linear infinite;
}

.store-button.apple::before,
.app-btn.apple::before {
    background: conic-gradient(#ffffff, #9ca3af, #4b5563, #1f2937, #9ca3af, #ffffff);
}

.store-button.google::before,
.app-btn.google::before {
    background: conic-gradient(#4285F4, #EA4335, #FBBC05, #34A853, #4285F4);
}

.store-button.apple::after,
.store-button.google::after,
.app-btn.apple::after,
.app-btn.google::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: white;
    border-radius: 10px;
    z-index: -1;
    transition: background 0.3s ease;
}

:root.dark-theme .store-button.apple::after,
:root.dark-theme .store-button.google::after,
:root.dark-theme .app-btn.apple::after,
:root.dark-theme .app-btn.google::after {
    background: #111827 !important;
}

.store-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.store-button i {
    font-size: 2rem;
    color: #000;
}

.store-button.apple:hover i {
    color: #000;
}

.store-button.google:hover i {
    color: #34A853;
}

.store-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-button-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.store-button-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000;
}

/* ============================================
   APP SUBSCRIPTION MODAL
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 420px;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    position: relative;
    z-index: 2001;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-alt);
    color: var(--text-dark);
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: #EFF6FF;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.modal-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-button-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background: var(--text-dark);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.store-button-small:hover {
    transform: translateY(-2px);
    background: black;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        padding-bottom: 4rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 4rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-image {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .integration-showcase {
        grid-template-columns: 1fr;
    }

    .ai-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* AI Lifestyle Mobile */
    .lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .chat-interface {
        margin-bottom: 1rem;
    }
}

@media (max-width: 769px) {

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background: var(--bg-light);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        align-items: flex-start;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease, background-color 0.3s ease;
        overflow-y: auto;
    }

    :root.dark-theme .nav-links {
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
        color: var(--text-dark);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-only-cta {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Typography */
    .hero {
        padding: 6rem 1rem 3rem !important;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    /* Global Section Compactness */
    section {
        padding: 3.5rem 0 !important;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Grids & Cards */
    .features-grid,
    .pain-grid,
    .testimonials-grid,
    .pricing-grid,
    .integrations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .pain-card,
    .pricing-card,
    .testimonial-card,
    .trust-category {
        padding: 1.5rem !important;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Buttons */
    .btn-large {
        width: 100%;
    }

    .hero-cta {
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .cta-buttons {
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .cta-note {
        flex-direction: column;
        gap: 0.5rem;
    }

    .store-buttons {
        width: 100%;
    }

    .store-button {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    /* Sub-desktop Nav Fix */
    @media (max-width: 1150px) {
        .nav-links {
            gap: 0.75rem;
        }

        .nav-links a {
            padding: 0.5rem 0.75rem;
            font-size: 0.85rem;
        }
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
        margin: -1rem 0;
    }

    /* Early Bird Section */
    .early-bird-section {
        padding: 4rem 1rem;
    }

    .early-bird-card {
        padding: 2rem 1.5rem;
    }

    .early-bird-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .deal-price-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .deal-price-box {
        transform: rotate(0deg);
        width: 100%;
        max-width: 280px;
        padding: 1.25rem 1rem;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .deal-amount {
        font-size: 2.75rem;
        line-height: 1.1;
    }

    .deal-content {
        width: 100%;
        box-sizing: border-box;
    }

    .deal-content h3 {
        font-size: 1.75rem;
        word-wrap: break-word;
    }

    .deal-content p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .deal-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .deal-actions .btn {
        width: 100%;
    }

    /* Interactive Workflow Mobile */
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .workflow-text {
        padding-right: 0;
    }

    .workflow-visual {
        min-height: 300px;
    }

    .workflow-stepper {
        gap: 0.75rem;
    }

    .workflow-step {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    /* Approvals Section Mobile */
    .approval-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .approval-item {
        flex-direction: column;
        align-items: center;
    }

    .approval-txt {
        text-align: center;
    }

    .diagram-wrapper {
        padding: 1.5rem 1rem;
        gap: 0.75rem;
    }

    .node {
        padding: 0.75rem 1rem;
        max-width: 220px;
        gap: 0.25rem;
    }

    .node i {
        font-size: 1.25rem;
    }

    .node span {
        font-size: 0.85rem;
    }

    .connector {
        font-size: 1rem;
        margin: 0.25rem 0;
    }

    /* Contact Form Grid */
    section>div>div[style*="grid-template-columns: 1fr 1fr"] {
        display: block !important;
    }

    .trust-badges {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }

    .trust-category {
        padding: 1rem 0.5rem !important;
        text-align: center;
        border-radius: 12px !important;
    }

    .trust-category h3 {
        font-size: 0.75rem !important;
        margin-top: 0.5rem !important;
    }

    .trust-category p {
        display: none !important;
        /* Hide description on mobile for compactness */
    }

    .trust-icon {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    /* Fix Mockup URL Overflow and Notch Rounding on Narrow Screens */
    .browser-address {
        margin: 0 10px !important;
        /* Reduce side margins */
        font-size: 10px !important;
        /* Slightly smaller text */
    }

    .web-dashboard .phone-notch {
        border-bottom-left-radius: 2px !important;
        /* Sharper notch for narrow screens */
        border-bottom-right-radius: 2px !important;
        width: 25% !important;
        /* Narrower notch to keep it from rounding off */
        height: 8px !important;
        /* Shorter notch */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        gap: 1.5rem;
    }

    .review-summary {
        gap: 2rem;
    }

    /* Early Bird Extra Narrow Screens */
    .early-bird-section {
        padding: 3rem 0.75rem;
    }

    .early-bird-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .early-bird-grid {
        gap: 1.5rem;
    }

    .deal-price-box {
        max-width: 100%;
        padding: 1rem 0.75rem;
    }

    .deal-amount {
        font-size: 2.25rem;
    }

    .deal-period {
        font-size: 1rem;
    }

    .deal-billed {
        font-size: 0.8rem;
    }

    .deal-content h3 {
        font-size: 1.5rem;
    }

    .deal-content p {
        font-size: 0.95rem;
        padding: 0;
    }

    .progress-labels {
        font-size: 0.85rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .guarantee-text {
        font-size: 0.85rem;
    }

    .guarantee-text {
        font-size: 0.85rem;
    }
}

/* ============================================
   MICRO-VIEWPORT SCALING (< 273px)
   ============================================ */
@media (max-width: 273px) {
    html {
        /* Scale content to fit 273px width */
        width: 273px !important;
        transform: scale(calc(100vw / 273));
        transform-origin: top left;
        height: auto !important;
        overflow-x: hidden;
    }

    body {
        width: 273px !important;
        overflow-x: hidden !important;
    }
}

/* ============================================
   WEB DASHBOARD MOCKUP
   ============================================ */
.web-dashboard {
    padding: 4rem 0;
    /* Reduced padding as requested */
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    color: var(--white);
    /* Ensure text is readable on the dark background */
}

.web-dashboard .section-header h2,
.web-dashboard .section-header p {
    color: var(--white);
}

.web-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: #161e2e;
    pointer-events: none;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.platforms-showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.browser-mockup-wrapper {
    flex: 1;
    min-width: 0;
}

.phone-mockup-wrapper {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.browser-mockup {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.dark-theme .browser-mockup {
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 18px 36px -18px rgba(0, 0, 0, 0.6);
}

.browser-header {
    background: rgba(0, 0, 0, 0.03);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dark-theme .browser-header {
    background: rgba(255, 255, 255, 0.03);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.browser-address {
    background: var(--bg-light);
    border-radius: 6px;
    height: 24px;
    flex-grow: 1;
    margin: 0 20px;
    font-size: 11px;
    display: flex;
    align-items: center;
    padding: 0 10px 0 15px;
    /* Added right padding for ellipsis */
    color: var(--text-muted);
    border: 1px solid var(--border);
    overflow: hidden;
    /* Prevent URL overflow */
    text-overflow: ellipsis;
    /* Truncate with dots if too long */
    white-space: nowrap;
    /* Keep URL on one line */
}

.browser-body {
    position: relative;
    line-height: 0;
}

.dashboard-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.dashboard-img.dark {
    display: none;
}

.dark-theme .dashboard-img.light {
    display: none;
}

.dark-theme .dashboard-img.dark {
    display: block;
}

/* Reusing and refining phone mockup for this section */
.web-dashboard .phone-mockup {
    transform: none;
    /* Straight as requested */
    transition: transform 0.5s ease;
    box-shadow: 20px 40px 80px rgba(0, 0, 0, 0.3);
}

.web-dashboard .phone-mockup:hover {
    transform: scale(1.02);
    /* Subtle pop instead of rotation */
}

@media (max-width: 1024px) {
    .web-dashboard {
        padding: 4rem 1rem 0;
        /* Reduced bottom padding */
    }

    .nav-links {
        gap: 0.75rem !important;
    }

    .nav-container {
        padding: 0.75rem 1rem !important;
    }

    .nav-links a {
        font-size: 0.85rem !important;
        white-space: nowrap;
    }

    /* Fix huge phone between 1024px and 966px */
    .web-dashboard .phone-mockup {
        height: auto !important;
        max-width: 180px !important;
        margin-left: auto;
        border-radius: 20px !important;
        border-width: 4px !important;
        overflow: hidden !important;
    }

    .web-dashboard .phone-mockup img {
        border-radius: 16px !important;
    }

    .web-dashboard .phone-notch {
        border-bottom-left-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
        height: 12px !important;
    }


    /* Trust Badges - Premium Badge Style */
    .trust-badges {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.5rem !important;
        padding: 1rem 0 !important;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 100px;
        /* Pill shape */
        border: 1px solid rgba(255, 255, 255, 0.05);
        margin: 0 0.5rem;
    }

    .trust-category {
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        flex: 0 1 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .trust-category h3 {
        font-size: 0.65rem !important;
        font-weight: 600 !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.8) !important;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .trust-category p {
        display: none !important;
    }

    .trust-icon {
        font-size: 1rem !important;
        margin: 0 !important;
        color: var(--primary) !important;
    }

    /* Platforms Showcase - Fix Clipping */
    .platforms-showcase {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 0 0.5rem 2rem !important;
        overflow: visible !important;
    }

    .browser-mockup-wrapper {
        flex: 2;
        min-width: 0;
        overflow: visible !important;
    }

    .phone-mockup-wrapper {
        flex: 1.1;
        min-width: 0;
        margin-top: 1rem !important;
        /* Slightly offset for depth */
        overflow: visible !important;
        position: relative;
    }

    .web-dashboard .phone-mockup {
        width: 100% !important;
        height: auto !important;
        scale: 1 !important;
        /* Avoid clipping from scale */
        transform: none !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    }

    .browser-mockup {
        width: 100% !important;
        height: auto !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    }

    .browser-header {
        padding: 4px 8px !important;
    }

    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 965px) {

    /* Mobile Navigation Collapse at 965px */
    .nav-links {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        align-items: flex-start;
    }

    :root.dark-theme .nav-links {
        background: #0F172A;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
        color: var(--text-dark);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-only-cta {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Trust Bar */
    .mobile-trust-bar {
        padding: 1.5rem 0;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.02) 100%);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: -1rem;
    }

    :root.dark-theme .mobile-trust-bar {
        background: rgba(255, 255, 255, 0.03);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .trust-bar-items {
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: 1rem;
    }

    .trust-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        color: var(--text-dark);
    }

    :root.dark-theme .trust-bar-item {
        color: #94A3B8;
    }

    .trust-bar-item i {
        font-size: 1.5rem;
        color: var(--primary);
    }

    .trust-bar-item span {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    /* Platforms Showcase - Fix Side-by-Side Clipping */
    .platforms-showcase {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 0 1rem 3rem !important;
        overflow: visible !important;
    }

    .browser-mockup-wrapper {
        flex: 1.8;
        min-width: 0;
        overflow: visible !important;
    }

    .phone-mockup-wrapper {
        flex: 1;
        max-width: 140px;
        /* Force phone to be smaller to fit nicely */
        min-width: 0;
        margin-top: 1.5rem !important;
        overflow: visible !important;
    }

    .web-dashboard .phone-mockup {
        width: 100% !important;
        height: auto !important;
        scale: 1 !important;
    }

    .browser-mockup {
        width: 100% !important;
        height: auto !important;
    }
}

/* ============================================
   COMPARISON SECTION (BUSINESS FOCUSED)
   ============================================ */
.comparison-section {
    padding: 4rem 0;
    /* Reduced from 8rem */
    background: linear-gradient(180deg, #0F172A 0%, #0B1120 100%);
    /* Deep Navy gradient */
    color: #F8FAFC;
    position: relative;
    overflow: hidden;
}

.enterprise-badge {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60A5FA;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
    animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
    }

    50% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.25);
    }

    100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
    }
}

.comparison-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    /* Reduced from 40px */
    padding: 1.5rem;
    /* Reduced from 2.5rem */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    max-width: 1050px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 1;
}

.text-success {
    color: #10B981 !important;
    /* Modern Green */
    font-weight: 700;
}

/* ============================================
   HERO ROLLING TEXT ANIMATION
   ============================================ */
.rolling-container {
    display: inline-flex;
    flex-direction: column;
    height: 1.1em;
    overflow: hidden;
    vertical-align: bottom;
    position: relative;
}

.rolling-list {
    display: flex;
    flex-direction: column;
    animation: roll 18s infinite cubic-bezier(0.76, 0, 0.24, 1);
}

.rolling-item {
    height: 1.1em;
    line-height: 1.1em;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes roll {

    0%,
    14% {
        transform: translateY(0);
    }

    16.6%,
    30.6% {
        transform: translateY(-1.1em);
    }

    33.2%,
    47.2% {
        transform: translateY(-2.2em);
    }

    49.8%,
    63.8% {
        transform: translateY(-3.3em);
    }

    66.4%,
    80.4% {
        transform: translateY(-4.4em);
    }

    83%,
    97% {
        transform: translateY(-5.5em);
    }

    98.5%,
    100% {
        transform: translateY(-6.6em);
    }
}

@media (max-width: 1024px) {
    .rolling-container {
        display: block;
        height: auto;
        overflow: visible;
        margin-top: 0.5rem;
    }

    .rolling-list {
        animation: none;
        display: block;
    }

    .rolling-item {
        display: none;
    }

    .rolling-item:first-child {
        display: block;
    }
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-radius: 16px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
    min-width: 800px;
    /* Ensure columns don't get too squashed */
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    font-weight: 700;
    color: #F8FAFC;
    background: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.comparison-table td:first-child {
    color: #F8FAFC;
    width: 20%;
}

.comparison-table td:nth-child(2) {
    background: rgba(59, 130, 246, 0.03);
    border-left: 1px solid rgba(59, 130, 246, 0.1);
    border-right: 1px solid rgba(59, 130, 246, 0.1);
}

.comparison-table td:not(:first-child) {
    text-align: center;
    color: #94A3B8;
}

.comparison-table .better {
    color: #60A5FA;
}

.comparison-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px dashed rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    text-align: center;
    color: #CBD5E1;
    font-size: 1.1rem;
    line-height: 1.6;
}

.comparison-footer strong {
    color: #60A5FA;
}

.personal-note {
    margin-top: 2rem;
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
}

.personal-note a {
    color: #60A5FA;
    text-decoration: none;
    font-weight: 500;
}

.desktop-table-only {
    display: block;
}

.mobile-table-only {
    display: none;
}

@media (max-width: 1098px) {
    .desktop-table-only {
        display: none !important;
    }

    .mobile-table-only {
        display: block !important;
    }

    .comparison-mobile-tiles.mobile-table-only {
        display: flex !important;
    }
}

/* Mobile Comparison Tiles */
.comparison-mobile-tiles {
    display: none;
    /* Hidden by default on desktop */
    flex-direction: column;
    gap: 2.5rem;
    /* Significantly increased spacing for better breathing room */
    padding: 1rem 0;
}

.comp-tile {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.comp-tile-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: #F8FAFC;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comp-tile-header i {
    color: #60A5FA;
    font-size: 0.9rem;
}

.comp-tile-list {
    padding: 0.25rem 0;
}

.comp-tile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.comp-tile-row:last-child {
    border-bottom: none;
}

.comp-tile-row.highlight {
    background: rgba(59, 130, 246, 0.08);
}

.comp-name {
    font-size: 0.85rem;
    color: #94A3B8;
}

.highlight .comp-name {
    color: #F8FAFC;
    font-weight: 700;
}

.comp-status {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94A3B8;
}

.highlight .comp-status {
    color: #60A5FA;
}

@media (max-width: 991px) {
    .comparison-table {
        font-size: 0.85rem;
        min-width: 550px;
    }
}

@media (max-width: 768px) {
    .comparison-table {
        min-width: 500px;
    }

    .comparison-table td:first-child {
        position: sticky;
        left: 0;
        background: #1e293b;
        /* Match comparison-card bg */
        z-index: 2;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    }

    .comparison-table th:first-child {
        position: sticky;
        left: 0;
        background: #252f44;
        /* Slightly darker for header */
        z-index: 3;
    }
}

/* Responsive Refinements (965px Breakpoint) */
@media (max-width: 965px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    /* Mobile Navigation Collapse */
    .nav-links {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        align-items: flex-start;
    }

    :root.dark-theme .nav-links {
        background: #0F172A;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
        color: var(--text-dark);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-only-cta {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Trust Bar */
    .mobile-trust-bar {
        padding: 1.5rem 0;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.02) 100%);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: -1rem;
    }

    :root.dark-theme .mobile-trust-bar {
        background: rgba(255, 255, 255, 0.03);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .trust-bar-items {
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: 1rem;
    }

    .trust-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        color: var(--text-dark);
    }

    :root.dark-theme .trust-bar-item {
        color: #94A3B8;
    }

    .trust-bar-item i {
        font-size: 1.5rem;
        color: var(--primary);
    }

    .trust-bar-item span {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    /* Platforms Showcase - Side by Side Perfection */
    .platforms-showcase {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 0 0.5rem 3rem !important;
        overflow: visible !important;
    }

    .browser-mockup-wrapper {
        flex: 2;
        min-width: 0;
    }

    .phone-mockup-wrapper {
        flex: 1;
        max-width: 160px;
        /* Slightly larger for better detail */
        margin-top: 2rem !important;
        min-width: 0;
    }

    .web-dashboard .phone-mockup {
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        scale: 1 !important;
        border-radius: 20px !important;
        /* Sharper */
        border-width: 4px !important;
        overflow: hidden !important;
        /* Ensure clipping */
    }

    .web-dashboard .phone-mockup img {
        border-radius: 16px !important;
        /* Proportional to frame */
        display: block;
    }

    .browser-mockup {
        width: 100% !important;
        height: auto !important;
    }
}

/* Global Utility for Mobile-Only Section */
.mobile-only {
    display: none !important;
}


/* mobile Phone Refinement (<769px) */
@media (max-width: 769px) {
    .phone-mockup-wrapper {
        flex: 0 0 22% !important;
        /* Phone stays smaller share */
        max-width: none !important;
        margin-top: 1.5rem !important;
    }

    .browser-mockup-wrapper {
        flex: 1 !important;
        /* Browser takes the rest */
    }

    .web-dashboard .phone-mockup {
        border-radius: 3vw !important;
        /* Scales with screen */
        border-width: 0.8vw !important;
    }

    .web-dashboard .phone-mockup img {
        border-radius: 2.2vw !important;
    }
}