/* Accessibility - Skip to content link */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 9999;
    padding: var(--space-2) var(--space-4);
    background: #2563EB;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}

.skip-to-content:focus {
    left: 8px;
    outline: 3px solid #1D4ED8;
    outline-offset: 2px;
}

:root {
    /* 8px Spacing Grid System */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;

    /* Typography Scale */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    --text-5xl: 48px;

    /* Line Heights */
    --line-height-tight: 1.3;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;

    /* Shadow System - Elevation */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);

    /* Shadow System - Focus Rings */
    --focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.2);
    --focus-ring-error: 0 0 0 3px rgba(239, 68, 68, 0.2);
    --focus-ring-success: 0 0 0 3px rgba(16, 185, 129, 0.2);

    /* Shadow System - Colored Shadows */
    --shadow-primary: 0 4px 12px rgba(37, 99, 235, 0.3);
    --shadow-primary-lg: 0 6px 20px rgba(37, 99, 235, 0.5);
    --shadow-danger: 0 4px 12px rgba(239, 68, 68, 0.3);
    --shadow-success: 0 4px 12px rgba(16, 185, 129, 0.4);

    /* Color System - Brand & Semantic Colors */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #DBEAFE;
    --primary-hover: #1e40af;

    --success: #10B981;
    --success-light: #D1FAE5;
    --success-dark: #065F46;

    --warning: #F59E0B;
    --warning-light: #FEF3C7;

    --error: #EF4444;
    --error-light: #FEE2E2;
    --error-dark: #991B1B;

    /* Gray Scale */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Text Colors */
    --text-primary: var(--gray-900);
    --text-secondary: #4B5563;
    --text-muted: #6B7280;

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-card: #FFFFFF;

    /* Button System Colors (now using color variables) */
    --btn-primary-bg: var(--primary);
    --btn-primary-hover: var(--primary-dark);
    --btn-primary-active: var(--primary-hover);
    --btn-secondary-border: var(--gray-200);
    --btn-secondary-hover-bg: var(--gray-100);
    --btn-secondary-hover-border: var(--primary);
    --btn-danger-bg: var(--error);
    --btn-danger-hover: #dc2626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--text-base);
    line-height: var(--line-height-normal);
    color: #333;
    background-color: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================================
   BUTTON SYSTEM - Standardized Buttons
   ==================================== */

/* Base Button Styles */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s ease;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Primary Button - Main CTAs */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--space-2) var(--space-4);
    background: var(--btn-primary-bg);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover:not(:disabled) {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-primary:active:not(:disabled) {
    background: var(--btn-primary-active);
    transform: translateY(0) scale(0.98);
    box-shadow: var(--shadow);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Primary Button Loading State */
.btn-primary.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: btn-spinner 0.6s linear infinite;
}

/* Secondary Button - Less prominent actions */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--space-2) var(--space-4);
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--btn-secondary-border);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover:not(:disabled) {
    background: var(--btn-secondary-hover-bg);
    border-color: var(--btn-secondary-hover-border);
    color: var(--btn-primary-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Danger Button - Destructive actions */
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--space-2) var(--space-4);
    background: var(--btn-danger-bg);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover:not(:disabled) {
    background: var(--btn-danger-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-danger);
}

.btn-danger:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

/* Button Sizes */
.btn-large {
    padding: 20px var(--space-6);
    font-size: var(--text-lg);
}

.btn-small {
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-sm);
}

/* Text Button - Minimal style */
.btn-text {
    background: transparent;
    border: none;
    color: var(--btn-primary-bg);
    padding: var(--space-1) var(--space-2);
    font-weight: 500;
    text-decoration: none;
}

.btn-text:hover:not(:disabled) {
    background: var(--btn-secondary-hover-bg);
    text-decoration: underline;
}

/* Button Spinner Animation */
@keyframes btn-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Navbar */
.navbar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 85px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo .logo-full {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo .logo:hover,
.nav-logo .logo-full:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-login {
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-sm);
    background: var(--btn-primary-bg);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.btn-login:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--gray-700);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Slide-out */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: white;
    z-index: 1101;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1); /* Custom shadow for slide-out menu */
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-logo {
    height: 50px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: var(--text-4xl);
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.mobile-menu-close:hover {
    color: var(--gray-900);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: var(--space-3);
    gap: 0;
}

.mobile-menu-links a {
    padding: var(--space-2) 0;
    color: var(--gray-700);
    text-decoration: none;
    font-size: var(--text-lg);
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s;
}

.mobile-menu-links a:hover {
    color: var(--primary);
}

.btn-login-mobile {
    margin-top: 20px;
    width: 100%;
    padding: var(--space-2) var(--space-4);
    background: var(--btn-primary-bg);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.btn-login-mobile:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Hero Section - Modern Two-Column Layout */
.hero {
    background: #ffffff;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    padding: var(--space-10) var(--space-3) var(--space-8);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--space-6);
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--space-3);
    line-height: var(--line-height-tight);
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--space-5);
    line-height: 1.6;
    color: var(--gray-600);
}

.hero-cta {
    margin-bottom: var(--space-2);
}

/* Hero-specific button enhancement */
.hero .btn-primary {
    box-shadow: var(--shadow-primary);
}

.hero .btn-primary:hover:not(:disabled) {
    box-shadow: var(--shadow-primary-lg);
}

.hero-note {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--gray-500);
    margin-top: var(--space-2);
}

/* Hero Visual - Icon Flow */
.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
}

.demo-flow {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    max-width: 520px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    transition: transform 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-4px);
}

.flow-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.flow-step:hover .flow-icon {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.flow-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
    line-height: 1.3;
}

.flow-arrow {
    font-size: 1.25rem;
    color: var(--primary);
    opacity: 0.5;
    animation: slide-arrow 2s ease-in-out infinite;
}

@keyframes slide-arrow {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.5;
    }
    50% {
        transform: translateX(4px);
        opacity: 0.8;
    }
}

.demo-tagline {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tagline-icon {
    font-size: 1.2rem;
}

.tagline-text {
    font-size: var(--text-sm);
    font-weight: 700;
    color: white;
}
    right: -20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: var(--space-2) var(--space-3);
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    font-size: var(--text-xs);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.badge-icon {
    font-size: 1rem;
}

/* Stats Section (moved from hero) */
.stats-section {
    background: var(--gray-50);
    padding: var(--space-8) var(--space-3);
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: var(--space-4);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--gray-200);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 40px 20px 45px;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 25px;
    color: var(--gray-800);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.feature-card p {
    color: var(--gray-500);
    line-height: 1.4;
    font-size: 0.85rem;
}

/* Pricing Section */
.pricing {
    padding: 30px 20px 35px;
    background: white;
}

.pricing h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: var(--gray-800);
}

.pricing-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: var(--space-3);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 3px;
    box-shadow: var(--shadow-lg);
}

.pricing-badge, .best-value {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: var(--text-sm);
    font-weight: 600;
}

.best-value {
    background: #059669;
}

.pricing-header h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.pricing-price {
    margin-bottom: 4px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
}

.price-period {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.pricing-savings {
    color: #059669;
    font-weight: 600;
    font-size: 11px;
    margin-bottom: 8px;
}

.pricing-features {
    list-style: none;
    margin: 12px 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    padding: 5px 0;
    color: var(--gray-600);
    font-size: 0.8rem;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 9px;
    margin-top: 10px;
    font-size: 14px;
}

/* Testimonials / Social Proof Section */
.testimonials {
    background: linear-gradient(180deg, white 0%, var(--gray-50) 100%);
    padding: var(--space-10) var(--space-3);
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.testimonials-header h2 {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1200px;
    margin: 0 auto var(--space-10);
}

.testimonial-card {
    background: white;
    padding: var(--space-6);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.testimonial-rating {
    margin-bottom: var(--space-3);
}

.star {
    color: #fbbf24;
    font-size: var(--text-xl);
}

.testimonial-text {
    font-size: var(--text-base);
    line-height: var(--line-height-relaxed);
    color: var(--gray-700);
    margin-bottom: var(--space-4);
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--gray-200);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.author-title {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.social-proof-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-6);
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-light);
}

.proof-stat {
    text-align: center;
}

.proof-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-1);
    line-height: 1;
}

.proof-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: var(--space-8) var(--space-3) var(--space-6);
    border-top: 1px solid var(--gray-800);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto var(--space-6);
}

.footer-section {
    min-width: 0; /* Prevent grid blowout */
}

.footer-brand {
    max-width: 350px;
}

.footer-section h4 {
    color: white;
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.footer-section p {
    color: var(--gray-400);
    margin-bottom: var(--space-2);
    line-height: var(--line-height-relaxed);
    font-size: var(--text-sm);
}

.footer-tagline {
    color: var(--gray-500);
    font-size: var(--text-sm);
    font-style: italic;
    margin-top: var(--space-4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: var(--text-sm);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(2px);
}

.footer-divider {
    height: 1px;
    background: var(--gray-800);
    margin: var(--space-6) 0 var(--space-4);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: var(--text-xs);
    margin: 0;
}

.footer-powered {
    color: var(--gray-600);
    font-size: var(--text-xs);
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-logo .logo {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-logo .logo {
        height: 60px;
    }

    /* Hero - Stack to single column on mobile */
    .hero {
        padding: var(--space-6) var(--space-3);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
    }

    .btn-primary,
    .btn-large {
        width: 100%;
        max-width: 320px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-demo-card {
        max-width: 100%;
    }

    /* Stats Section - Stack on mobile */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-3);
    }

    .stat-card {
        padding: var(--space-3);
        grid-column: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* Override tablet 2-column layout - all cards full width on mobile */
    .stat-card:last-child {
        grid-column: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .stat-number {
        font-size: var(--text-4xl);
    }

    .features h2, .pricing h2 {
        font-size: var(--text-4xl);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }

    /* Hide desktop nav links on mobile */
    .nav-links {
        display: none;
    }

    /* Adjust logo size on mobile */
    .nav-logo .logo-full {
        height: 60px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }

    .footer-section {
        min-width: 100%;
    }
}

/* Auth Modal */
.auth-modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.auth-modal.hidden {
    display: none;
}

.auth-modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.auth-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: var(--text-3xl);
    font-weight: bold;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.auth-modal-close:hover {
    color: #333;
}

.auth-form h2 {
    margin-bottom: 24px;
    color: #333;
    font-size: var(--text-2xl);
}

.form-group {
    margin-bottom: var(--space-3);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: var(--text-sm);
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--focus-ring);
}

.auth-error {
    background-color: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: var(--text-sm);
}

.auth-error.hidden {
    display: none;
}

.auth-form button[type="submit"] {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: var(--text-sm);
}

.auth-switch a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: var(--text-sm);
    font-weight: 500;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--gray-200);
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray-500);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: -2px;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-tab:hover {
    color: var(--primary);
}

/* Auth Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: var(--text-sm);
    margin-bottom: 30px;
}

/* Google Button */
.btn-google {
    width: 100%;
    padding: 12px;
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
}

.btn-google:hover {
    background: var(--gray-50);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Auth Divider */
.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: var(--gray-400);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* Auth Button */
.btn-auth {
    width: 100%;
    padding: 14px;
    font-size: var(--text-sm);
    background: var(--btn-primary-bg);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.btn-auth:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Auth Success Message */
.auth-success {
    background-color: #d1fae5;
    color: #065f46;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: var(--text-sm);
    text-align: center;
}

.auth-success.hidden {
    display: none;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--gray-400);
    font-size: var(--text-xs);
}

/* Auth Note */
.auth-note {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-500);
    font-size: var(--text-sm);
    line-height: var(--line-height-normal);
}

/* Auth Modal Header */
.auth-modal-content h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--gray-800);
    font-size: var(--text-2xl);
}


/* Problem Solution Section */
.problem-solution {
    padding: 50px 20px 60px;
    background: white;
}

.problem-solution h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 35px;
    color: var(--gray-800);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 950px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.comparison-card.old-way {
    border: 3px solid var(--error);
}

.comparison-card.new-way {
    border: 3px solid var(--success);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.comparison-card h3 {
    font-size: 1.25rem;
    margin-bottom: 18px;
    color: var(--gray-800);
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card ul li {
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-card ul li:last-child {
    border-bottom: none;
    padding-top: 15px;
    font-size: 1.05rem;
}

/* How It Works Section */
.how-it-works {
    padding: var(--space-8) var(--space-3);
    background: var(--gray-50);
}

.how-it-works h2 {
    text-align: center;
    font-size: var(--text-5xl);
    margin-bottom: var(--space-2);
    color: var(--gray-900);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: var(--text-xl);
    color: var(--gray-600);
    margin-bottom: var(--space-6);
    font-weight: 400;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: var(--space-3);
    max-width: 1400px;
    margin: 0 auto var(--space-6) auto;
    align-items: center;
}

.step {
    background: white;
    padding: var(--space-5);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: var(--space-2);
    display: block;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0 auto var(--space-3);
    box-shadow: var(--shadow-primary);
}

.step h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
    color: var(--gray-900);
    font-weight: 600;
}

.step p {
    color: var(--gray-600);
    line-height: var(--line-height-relaxed);
    font-size: var(--text-base);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
    opacity: 0.6;
    animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% {
        opacity: 0.4;
        transform: translateX(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(4px);
    }
}

.how-it-works-cta {
    text-align: center;
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--gray-200);
}

.how-it-works-cta .btn-primary {
    font-size: var(--text-lg);
    padding: var(--space-3) var(--space-6);
}

.cta-subtext {
    margin-top: var(--space-2);
    color: var(--gray-600);
    font-size: var(--text-sm);
}

/* Responsive Styles for New Sections */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .step-arrow {
        display: none;
    }

    .step-icon {
        font-size: 2.5rem;
    }

    /* Footer - Tablet responsive */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    /* Hero - Tablet adjustments */
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .hero-content {
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    /* Demo - Tablet adjustments */
    .demo-screenshot {
        max-width: 400px;
    }

    .demo-floating-badge {
        right: -10px;
        font-size: 0.65rem;
        padding: 6px var(--space-2);
    }

    /* Testimonials - Tablet adjustments */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .social-proof-stats {
        gap: var(--space-4);
        flex-wrap: wrap;
    }

    .proof-number {
        font-size: 2rem;
    }

    /* Stats - Two columns on tablet */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    /* Stats Section - Enhanced mobile styling for very small screens */
    .stats-section {
        padding: var(--space-6) var(--space-3);
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-4); /* Increased spacing between stats */
        max-width: 100%;
    }

    .stat-card {
        padding: var(--space-4) var(--space-3);
        grid-column: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* Ensure all cards are full width on very small screens */
    .stat-card:last-child {
        grid-column: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .stat-icon {
        font-size: 2rem; /* Reduced from 2.5rem for small screens */
        margin-bottom: var(--space-1);
    }

    .stat-number {
        font-size: 1.75rem; /* Further reduced from 2rem for small screens */
        margin-bottom: var(--space-1);
    }

    .stat-label {
        font-size: 0.875rem; /* Slightly smaller text */
        line-height: 1.4;
    }

    /* Comparison Grid - Enhanced mobile styling */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4); /* Increased gap from 24px to 32px for better separation */
        max-width: 100%;
    }

    .comparison-card {
        padding: var(--space-3); /* Reduced from 25px to 24px for mobile */
    }

    .comparison-card h3 {
        font-size: 1.125rem; /* Reduced from 1.25rem for mobile */
        margin-bottom: var(--space-2); /* Consistent spacing */
    }

    .comparison-card ul li {
        font-size: 0.875rem; /* Reduced from 0.95rem for mobile */
        line-height: 1.6; /* Improved line height for readability */
        padding: var(--space-1) 0; /* Consistent spacing */
    }

    .comparison-card ul li:last-child {
        font-size: 0.95rem; /* Slightly larger for emphasis, reduced from 1.05rem */
        padding-top: var(--space-2);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .step-arrow {
        display: none;
    }

    .step {
        padding: var(--space-4);
    }

    .step-icon {
        font-size: 2rem;
    }

    .step h3 {
        font-size: var(--text-xl);
    }

    .step p {
        font-size: var(--text-sm);
    }

    .problem-solution h2,
    .how-it-works h2 {
        font-size: var(--text-3xl);
    }

    /* Testimonials - Mobile adjustments */
    .testimonials-header h2 {
        font-size: var(--text-3xl);
    }

    .testimonial-card {
        padding: var(--space-4);
    }

    .social-proof-stats {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-4);
    }

    .proof-number {
        font-size: 1.75rem;
    }

    /* Demo Flow - Mobile adjustments */
    .demo-flow {
        gap: var(--space-1);
        padding: var(--space-2);
        max-width: 100%;
    }

    .flow-icon {
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
    }

    .flow-label {
        font-size: 0.625rem;
    }

    .flow-arrow {
        font-size: 1rem;
    }

    .demo-tagline {
        padding: 6px var(--space-2);
    }

    .tagline-text {
        font-size: 0.7rem;
    }

    /* Footer - Mobile responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-1);
    }
}
