/* === MODERN TECHY LANDING PAGE STYLES === */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === DESIGN TOKENS === */
:root {
    /* Color Palette - Zenso-Inspired Light Theme */
    --primary-bg-start: #E8F5F7;        /* Light blue - light backgrounds */
    --primary-bg-end: #DFF0F3;          /* Slightly deeper blue - for primary areas */
    --secondary-bg: #F3F4F6;            /* Light gray - for secondary backgrounds, cards */
    --accent-color: #6B7280;            /* Soft blue-gray - for accent buttons, highlights */
    --dark-base: #1F2937;               /* Dark charcoal - for headers, primary text */
    --light-surface: #E8F5F7;           /* Light blue surface */
    --surface-light: #FDFDFD;           /* Warm white - subtle backgrounds */
    --surface-medium: #E5E7EB;          /* Warm neutral - medium surface */
    --text-primary: #1F2937;            /* Dark charcoal for primary text */
    --text-secondary: rgba(31, 41, 55, 0.85); /* Dark charcoal with transparency */
    --text-muted: #6B7280;              /* Medium gray for muted text */

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-none: 0px;

    /* Elevation/Shadows */
    --elevation-1: 0 1px 3px rgba(0, 0, 0, 0.1);
    --elevation-2: 0 4px 12px rgba(0, 0, 0, 0.1);
    --elevation-3: 0 8px 24px rgba(0, 0, 0, 0.15);

    /* Focus ring */
    --focus-ring: 0 0 0 3px rgba(15, 164, 175, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Smoked Glass Effects - Performance Optimized */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-hover: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-blur: blur(6px);
    --glass-blur-light: blur(3px);
    --glass-blur-heavy: blur(8px);

    /* Subtle Background Color Palette */
    --bg-warm: #FFFBF7;              /* Barely warm white (peachy) */
    --bg-cool: #F8FAFB;              /* Barely cool white (blue) */
    --bg-sage: #F9FAF9;              /* Barely sage white (green) */
    --bg-cream: #FFFDF8;             /* Barely cream white (yellow) */
    --bg-neutral: #E8F5F7;           /* Light blue background */

    /* Enhanced Interactive Colors */
    --interactive-bg: #F6F8FA;       /* Subtle interactive background */
    --interactive-hover: #F0F4F8;    /* Hover state background */
    --border-soft: #E8ECEF;          /* Soft border color */
    --border-medium: #D1D9E0;        /* Medium border color */
}

/* === DARK MODE DESIGN TOKENS === */
body.dark-mode {
    --primary-bg-start: #1F2937;        /* Dark charcoal for dark mode backgrounds */
    --primary-bg-end: #111827;          /* Darker charcoal for dark mode gradients */
    --secondary-bg: #374151;            /* Medium gray for contrast */
    --accent-color: #9CA3AF;            /* Light gray for accents */
    --light-surface: #1F2937;           /* Dark charcoal surface */
    --surface-light: #374151;           /* Medium gray light surface */
    --surface-medium: #4B5563;          /* Lighter gray medium surface */
    --text-primary: #F9FAFB;            /* Very light text for dark backgrounds */
    --text-secondary: #E5E7EB;          /* Light gray for secondary text */
    --text-muted: #9CA3AF;              /* Medium gray for muted text */

    /* Dark mode elevation with adjusted opacity */
    --elevation-1: 0 1px 3px rgba(0, 0, 0, 0.3);
    --elevation-2: 0 4px 12px rgba(0, 0, 0, 0.4);
    --elevation-3: 0 8px 24px rgba(0, 0, 0, 0.5);

    /* Dark mode focus ring */
    --focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.6);

    /* Dark mode glass effects */
    --glass-bg: rgba(31, 41, 55, 0.75);
    --glass-bg-hover: rgba(31, 41, 55, 0.85);
    --glass-border: rgba(75, 85, 99, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Dark mode subtle backgrounds */
    --bg-warm: #262626;              /* Dark warm background */
    --bg-cool: #1F2632;              /* Dark cool background */
    --bg-sage: #232625;              /* Dark sage background */
    --bg-cream: #282621;             /* Dark cream background */
    --bg-neutral: #242629;           /* Dark neutral background */

    /* Dark mode interactive colors */
    --interactive-bg: #374151;       /* Dark interactive background */
    --interactive-hover: #4B5563;    /* Dark hover state */
    --border-soft: #374151;          /* Dark soft border */
    --border-medium: #4B5563;        /* Dark medium border */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-neutral);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    transition: var(--transition-normal);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(107, 114, 128, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(31, 41, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(156, 163, 175, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% {
        transform: translateX(-2px) translateY(-2px);
        opacity: 1;
    }
    100% {
        transform: translateX(2px) translateY(2px);
        opacity: 0.8;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #003135;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #003135 0%, #024950 50%, #0FA4AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    background: linear-gradient(135deg, #003135 0%, #024950 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: #003135;
}

p {
    margin-bottom: 1rem;
    color: rgba(0, 49, 53, 0.85);
    font-weight: 400;
    line-height: 1.7;
}

/* Modern Tech-Style Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--dark-base) 50%, #111827 100%);
    color: white;
    box-shadow:
        0 8px 25px rgba(31, 41, 55, 0.25),
        0 4px 12px rgba(31, 41, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-base) 0%, #111827 50%, #0F172A 100%);
    box-shadow:
        0 12px 35px rgba(31, 41, 55, 0.35),
        0 6px 20px rgba(31, 41, 55, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow:
        0 6px 20px rgba(31, 41, 55, 0.3),
        0 3px 10px rgba(31, 41, 55, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    border: 2px solid rgba(107, 114, 128, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 4px 15px rgba(107, 114, 128, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--accent-color);
    color: var(--dark-base);
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(107, 114, 128, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 18px 36px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 14px;
    letter-spacing: 0.02em;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Enhanced Google Button */
.btn-google {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
    color: #1f2937;
    border: 2px solid rgba(15, 23, 42, 0.12);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(15, 23, 42, 0.08),
        0 2px 8px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-google::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(66, 133, 244, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-google:hover {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 0.98) 100%);
    border-color: rgba(66, 133, 244, 0.25);
    color: #0f172a;
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(66, 133, 244, 0.15),
        0 6px 16px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.btn-google:hover::before {
    opacity: 1;
}

.btn-google i {
    color: #4285f4;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-google:hover i {
    color: #1a73e8;
    transform: scale(1.1);
}

/* Modern Glassmorphism Navigation */
.navbar {
    background: rgba(175, 221, 229, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(175, 221, 229, 0.12);
    box-shadow:
        0 8px 32px rgba(0, 49, 53, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(175, 221, 229, 0.12);
    border-bottom: 1px solid rgba(175, 221, 229, 0.2);
    box-shadow:
        0 12px 40px rgba(0, 49, 53, 0.2),
        0 4px 16px rgba(0, 49, 53, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #003135;
    transition: all 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.02);
}

.nav-brand i {
    color: #0FA4AF;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(0, 49, 53, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #024950);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-links a:hover {
    color: #003135;
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgba(0, 49, 53, 0.9);
}

/* Modern Hero Section */
.hero {
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 164, 175, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(2deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h1 {
    margin-bottom: 1.75rem;
    line-height: 1.1;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(0, 49, 53, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(0, 49, 53, 0.95);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 49, 53, 0.15);
    box-shadow:
        0 4px 15px rgba(0, 49, 53, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.feature-badge:nth-child(1) { animation-delay: 0.2s; }
.feature-badge:nth-child(2) { animation-delay: 0.4s; }
.feature-badge:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(0, 49, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 1);
}

.feature-badge i {
    color: #0FA4AF;
    font-size: 16px;
}

/* Modern Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1.2s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-mockup {
    position: relative;
    transform: rotate(-3deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

.laptop-frame {
    background: linear-gradient(145deg, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 24px 48px;
    border-radius: 24px;
    box-shadow: 
        0 25px 80px rgba(10, 26, 47, 0.25),
        0 10px 40px rgba(10, 26, 47, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 49, 53, 0.1);
    margin-bottom: 20px;
    position: relative;
}

.laptop-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(15, 164, 175, 0.5);
}

.laptop-screen {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 24px;
    width: 420px;
    height: 280px;
    position: relative;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.editor-preview {
    height: 100%;
    overflow: hidden;
}

.editor-header {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    height: 44px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.editor-header::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 
        16px 0 0 #f59e0b,
        32px 0 0 #10b981;
}

.section-preview h3 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 8px;
    letter-spacing: 0.05em;
}

.item-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
}

.item-preview:hover {
    padding-left: 8px;
    background: rgba(15, 164, 175, 0.05);
    border-radius: 8px;
}

.item-preview .price {
    color: #0FA4AF;
    font-weight: 700;
    font-size: 15px;
}

.phone-frame {
    position: absolute;
    right: -90px;
    top: 40px;
    background: linear-gradient(145deg, #1e293b, #334155);
    padding: 24px 12px 28px;
    border-radius: 32px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: rotate(8deg);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-screen {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 16px;
    width: 130px;
    height: 220px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 0 15px rgba(0, 0, 0, 0.03);
}

.phone-content h4 {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 4px;
    letter-spacing: 0.05em;
}

.mobile-item {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
    padding: 2px 0;
}

.mobile-item .price {
    color: #0FA4AF;
    font-weight: 700;
}

/* Modern Features Section */
.features {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 30%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(0, 49, 53, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 48px 36px;
    border-radius: 24px;
    border: 1px solid rgba(175, 221, 229, 0.3);
    box-shadow:
        0 12px 40px rgba(0, 49, 53, 0.15),
        0 4px 16px rgba(0, 49, 53, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
    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;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 49, 53, 0.2),
        0 8px 24px rgba(0, 49, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(15, 164, 175, 0.4);
}

.feature-icon {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, rgba(15, 164, 175, 0.2) 0%, rgba(2, 73, 80, 0.3) 100%);
    border: 2px solid rgba(15, 164, 175, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2.2rem;
    color: #0FA4AF;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 24px rgba(15, 164, 175, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(15, 164, 175, 0.4), rgba(46, 204, 113, 0.3));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-4px) scale(1.1);
    background: linear-gradient(135deg, rgba(15, 164, 175, 0.3) 0%, rgba(2, 73, 80, 0.4) 100%);
    border-color: rgba(15, 164, 175, 0.5);
    color: #024950;
    box-shadow:
        0 12px 32px rgba(15, 164, 175, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-card h3 {
    color: #003135;
    margin-bottom: 20px;
    font-size: 1.35rem;
    font-weight: 700;
}

.feature-card p {
    color: rgba(0, 49, 53, 0.85);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 400;
}

/* Modern Pricing Section */
.pricing {
    padding: 120px 0;
    background: 
        linear-gradient(135deg, rgba(248, 249, 250, 0.02) 0%, rgba(233, 236, 239, 0.05) 100%),
        radial-gradient(circle at 70% 30%, rgba(15, 164, 175, 0.03) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 49, 53, 0.3), transparent);
}

.pricing .section-header h2 {
    color: #003135;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 
        0 12px 40px rgba(10, 26, 47, 0.08),
        0 4px 16px rgba(10, 26, 47, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 164, 175, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(10, 26, 47, 0.12),
        0 8px 24px rgba(10, 26, 47, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border: 2px solid rgba(15, 164, 175, 0.6);
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow:
        0 16px 50px rgba(15, 164, 175, 0.15),
        0 6px 20px rgba(15, 164, 175, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
    box-shadow: 
        0 24px 70px rgba(15, 164, 175, 0.2),
        0 10px 30px rgba(15, 164, 175, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.popular-badge {
    position: absolute;
    top: 24px;
    right: -32px;
    background: linear-gradient(135deg, #964734, #7a3a2b);
    color: white;
    padding: 10px 44px;
    transform: rotate(45deg);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 15px rgba(15, 164, 175, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 20px 0;
}

.currency {
    font-size: 1.5rem;
    color: #7f8c8d;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
}

.period {
    font-size: 1rem;
    color: #7f8c8d;
}

.pricing-header p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.pricing-features {
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px 0;
}

.feature i {
    color: #27ae60;
    width: 16px;
}

.feature span {
    color: #2c3e50;
    font-weight: 500;
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background: #ffffff;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-video {
    position: relative;
}

.video-placeholder {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    opacity: 0.8;
}

.video-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.demo-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--light-surface);
    border-radius: var(--radius-large);
    padding: var(--space-lg);
    box-shadow: var(--elevation-1);
    border: 1px solid var(--surface-medium);
    transition: var(--transition-normal);
}

.demo-feature:hover {
    box-shadow: var(--elevation-2);
    transform: translateY(-2px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-bg));
    color: var(--light-surface);
    border-radius: var(--radius-none);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--elevation-1);
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: var(--text-lg);
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Modern CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg-end) 100%);
    color: var(--light-surface);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.cta::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.cta-content p {
    color: rgba(189, 195, 199, 0.9);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-note {
    margin-top: 24px;
    font-size: 0.95rem;
    color: rgba(149, 165, 166, 0.8);
    font-weight: 500;
}

/* Modern Footer */
.footer {
    background: 
        linear-gradient(135deg, rgba(44, 62, 80, 0.98), rgba(52, 73, 94, 0.95)),
        radial-gradient(circle at 80% 20%, rgba(15, 164, 175, 0.05) 0%, transparent 50%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    border-top: 1px solid rgba(0, 49, 53, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand i {
    color: #27ae60;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #27ae60;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(15, 164, 175, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #0FA4AF;
    border-radius: 50%;
    border: 1px solid rgba(15, 164, 175, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
}

.social-links a:hover {
    background: rgba(15, 164, 175, 0.25);
    border-color: rgba(15, 164, 175, 0.6);
    color: #024950;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(15, 164, 175, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* === UNIFIED MODAL DESIGN SYSTEM === */

/* Modal Backdrop */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(15, 164, 175, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(46, 204, 113, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(10, 26, 47, 0.8) 0%, rgba(26, 43, 66, 0.9) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow-y: auto;
    padding: 20px;
    animation: modalBackdropFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalBackdropFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }
}

/* Base Modal Content */
.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 49, 53, 0.2);
    border-radius: 24px;
    box-shadow: 
        0 32px 80px rgba(10, 26, 47, 0.25),
        0 16px 40px rgba(10, 26, 47, 0.15),
        0 8px 20px rgba(10, 26, 47, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: modalContentSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

@keyframes modalContentSlideIn {
    from {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Auth Modal Variants */
.auth-modal {
    max-width: 480px;
    margin: 60px auto;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

.auth-modal.enhanced-signup {
    max-width: 720px;
    margin: 20px auto;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

/* Modal Content Glassmorphism Effect */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    z-index: 1;
}

.modal-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    z-index: 1;
}

/* Modal Header with Consistent Glassmorphism */
.modal-header {
    background: 
        linear-gradient(135deg, rgba(10, 26, 47, 0.95) 0%, rgba(26, 43, 66, 0.9) 50%, rgba(42, 59, 82, 0.85) 100%),
        radial-gradient(circle at 20% 20%, rgba(15, 164, 175, 0.15) 0%, transparent 50%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: #003135;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    border-bottom: 1px solid rgba(0, 49, 53, 0.15);
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.modal-header::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 164, 175, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: headerFloat 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes headerFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #003135 0%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(0, 49, 53, 0.8);
    font-weight: 400;
    position: relative;
    z-index: 2;
    line-height: 1.4;
}

/* Enhanced Close Button */
.close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(0, 49, 53, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 49, 53, 0.2);
    border-radius: 12px;
    color: rgba(0, 49, 53, 0.9);
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    transform: scale(1.05) rotate(90deg);
    box-shadow: 
        0 8px 20px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.close:active {
    transform: scale(0.95) rotate(90deg);
}

/* Modal Body with Consistent Styling */
.modal-body {
    padding: 48px 40px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%),
        radial-gradient(circle at 80% 80%, rgba(15, 164, 175, 0.03) 0%, transparent 50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
}

.modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 164, 175, 0.2), transparent);
    z-index: 1;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    text-shadow: none;
}

.form-group input {
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98) !important;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    font-family: inherit;
    color: #2c3e50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: rgba(44, 62, 80, 0.5);
    font-weight: 400;
}

.form-group input:hover {
    border-color: rgba(15, 164, 175, 0.3);
    box-shadow: 0 4px 12px rgba(10, 26, 47, 0.15);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(15, 164, 175, 0.5);
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 2px 8px rgba(15, 164, 175, 0.15), 0 0 0 2px rgba(15, 164, 175, 0.1);
    transform: none;
}

/* === INPUT WITH VALIDATION ICONS === */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon input {
    padding-right: 45px !important;
    width: 100%;
}

.validation-icon {
    position: absolute;
    right: 15px;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.input-with-icon input:valid ~ .validation-icon {
    opacity: 1;
    color: #27ae60;
}

.input-with-icon input:valid ~ .validation-icon::before {
    content: '✓';
    font-weight: bold;
}

.input-with-icon input:invalid:not(:placeholder-shown) ~ .validation-icon {
    opacity: 1;
    color: #e74c3c;
}

.input-with-icon input:invalid:not(:placeholder-shown) ~ .validation-icon::before {
    content: '✕';
    font-weight: bold;
}

/* Password requirements - visible by default */
.password-requirements {
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(52, 152, 219, 0.05);
    border-left: 3px solid rgba(52, 152, 219, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.password-requirements.visible {
    display: block;
}

.password-requirements small {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50 !important;
    font-size: 13px;
}

.password-requirements small i {
    color: rgba(52, 152, 219, 0.7);
}

.password-requirements.valid {
    background: rgba(39, 174, 96, 0.05);
    border-left-color: rgba(39, 174, 96, 0.5);
}

.password-requirements.valid small {
    color: #27ae60 !important;
}

.password-requirements.valid small i {
    color: #27ae60;
}

/* === SECURITY SECTION === */
.security-section {
    margin: 24px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.03) 0%, rgba(15, 164, 175, 0.05) 100%);
    border: 1px solid rgba(15, 164, 175, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.security-label i {
    color: #0FA4AF;
    font-size: 16px;
}

/* === TRUST BADGES === */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    justify-content: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.05) 0%, rgba(46, 204, 113, 0.08) 100%);
    border: 1px solid rgba(39, 174, 96, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #27ae60;
    transition: all 0.3s ease;
}

.trust-badge i {
    font-size: 14px;
}

.trust-badge:hover {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08) 0%, rgba(46, 204, 113, 0.12) 100%);
    border-color: rgba(39, 174, 96, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.15);
}

/* === WHAT HAPPENS NEXT SECTION === */
.what-next-section {
    margin: 24px 0 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
    border: 1px solid rgba(15, 164, 175, 0.15);
    border-radius: 12px;
}

.what-next-section h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #0FA4AF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.what-next-section h4 i {
    font-size: 18px;
}

.next-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.next-steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #2c3e50;
    padding-left: 4px;
}

.next-steps li i {
    color: #27ae60;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* === ENHANCED ERROR MESSAGES === */
.error-message {
    margin: 0 0 20px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fdf2f2 0%, #fee 100%);
    border: 1px solid #e74c3c;
    border-left: 4px solid #e74c3c;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.error-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-content i {
    color: #e74c3c;
    font-size: 20px;
    flex-shrink: 0;
}

.error-content span {
    color: #c0392b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* === ENHANCED SUCCESS MESSAGES === */
.success-message {
    margin: 0 0 20px 0;
    padding: 0;
    background: linear-gradient(135deg, #f2fdf2 0%, #e8f8e8 100%);
    border: 1px solid #27ae60;
    border-left: 4px solid #27ae60;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.15);
    overflow: hidden;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

.success-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}

.success-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: successPulse 1s ease-out;
}

.success-icon i {
    color: white;
    font-size: 22px;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-text {
    flex: 1;
}

.success-text strong {
    display: block;
    color: #27ae60;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.success-text p {
    margin: 0;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.5;
}

.success-progress {
    height: 4px;
    background: rgba(39, 174, 96, 0.2);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%);
    width: 0;
    animation: progressFill 3s linear forwards;
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    margin: 20px 0;
    padding: 16px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
    border: 1px solid rgba(15, 164, 175, 0.1);
    border-radius: 12px;
}

/* Hide old checkmark span */
.checkmark {
    display: none !important;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: #2c3e50 !important;
    font-size: 14px;
    line-height: 1.6;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    position: relative;
}

.checkbox-label:hover {
    background-color: rgba(15, 164, 175, 0.03);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

/* Custom checkbox box */
.checkbox-box {
    position: relative;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid rgba(15, 164, 175, 0.4);
    border-radius: 4px;
    background: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.checkbox-label:hover .checkbox-box {
    border-color: rgba(15, 164, 175, 0.7);
    box-shadow: 0 0 0 3px rgba(15, 164, 175, 0.1);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-box {
    background: linear-gradient(135deg, #0FA4AF 0%, #024950 100%);
    border-color: #0FA4AF;
    box-shadow: 0 2px 8px rgba(15, 164, 175, 0.3);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-box::after {
    content: '\2713';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label input[type="checkbox"]:focus ~ .checkbox-box {
    border-color: #0FA4AF;
    box-shadow: 0 0 0 3px rgba(15, 164, 175, 0.2);
}

.checkbox-text {
    flex: 1;
    line-height: 1.6;
}

/* Required badge */
.required-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.text-muted {
    color: #7f8c8d;
    font-size: 13px;
}

.forgot-link {
    color: rgba(15, 164, 175, 0.9);
    text-decoration: none;
    font-weight: 500;
    text-align: right;
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.forgot-link:hover {
    color: rgba(41, 128, 185, 1);
    opacity: 1;
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #2c3e50 !important;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.auth-footer a {
    color: rgba(15, 164, 175, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: rgba(41, 128, 185, 1);
}

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

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(44, 62, 80, 0.15), transparent);
    z-index: 1;
}

.auth-divider span {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    color: rgba(44, 62, 80, 0.6);
    padding: 8px 24px;
    border-radius: 20px;
    border: 1px solid rgba(44, 62, 80, 0.08);
    position: relative;
    z-index: 2;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 
        0 4px 12px rgba(44, 62, 80, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* === RESPONSIVE MODAL DESIGN === */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .laptop-frame {
        padding: 15px 15px 30px;
        transform: rotate(0deg);
    }
    
    .laptop-screen {
        width: 100%;
        max-width: 350px;
        height: 200px;
    }
    
    .phone-frame {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    /* Mobile Modal Responsive Design */
    .modal {
        padding: 10px;
    }
    
    .auth-modal {
        margin: 10px auto;
        max-width: none;
        width: calc(100% - 20px);
        border-radius: 20px;
    }
    
    .auth-modal.enhanced-signup {
        margin: 10px auto;
        width: calc(100% - 20px);
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 24px 20px;
        text-align: center;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-subtitle {
        font-size: 0.85rem;
        margin-top: 6px;
    }
    
    .close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 32px 20px;
    }
    
    .auth-footer {
        margin: 32px -20px -32px;
        padding: 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Extra Small Screen Modal Optimizations */
    .modal {
        padding: 5px;
    }
    
    .auth-modal,
    .auth-modal.enhanced-signup {
        width: calc(100% - 10px);
        margin: 5px auto;
        border-radius: 16px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px 16px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-subtitle {
        font-size: 0.8rem;
    }
    
    .close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 24px 16px;
    }
    
    .form-group input,
    .form-group select {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .btn {
        padding: 16px 24px;
        font-size: 15px;
    }
    
    .btn-large {
        padding: 18px 28px;
        font-size: 16px;
    }
    
    .auth-footer {
        margin: 24px -16px -24px;
        padding: 16px;
        font-size: 12px;
    }
    
    .form-options {
        padding: 16px;
        gap: 12px;
    }
    
    .checkbox-label {
        font-size: 13px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.pricing-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus {
    outline: 3px solid rgba(15, 164, 175, 0.3);
    outline-offset: 2px;
}

/* === ENHANCED REGISTRATION FORM STYLES === */

.enhanced-form {
    max-width: 100%;
    position: relative;
}

/* Enhanced Form Sections */
.enhanced-form .form-section {
    margin-bottom: 40px;
    padding: 32px 28px 24px;
    background: 
        linear-gradient(135deg, rgba(248, 249, 250, 0.4) 0%, rgba(241, 245, 249, 0.3) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enhanced-form .form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 164, 175, 0.3), transparent);
    z-index: 1;
}

.enhanced-form .form-section:hover {
    background: 
        linear-gradient(135deg, rgba(248, 249, 250, 0.6) 0%, rgba(241, 245, 249, 0.5) 100%);
    border-color: rgba(15, 164, 175, 0.15);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(15, 23, 42, 0.08),
        0 4px 12px rgba(15, 164, 175, 0.05);
}

.enhanced-form .form-section:last-of-type {
    margin-bottom: 24px;
    border-bottom: none;
}

/* Enhanced Section Headers */
.enhanced-form .form-section h3 {
    color: #0f172a !important;
    font-size: 1.15rem;
    margin-bottom: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: none !important;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
}

.enhanced-form .form-section h3::before {
    content: '';
    width: 6px;
    height: 24px;
    background: linear-gradient(135deg, #3498db 0%, #024950 50%, #003135 100%);
    border-radius: 3px;
    box-shadow: 
        0 4px 12px rgba(15, 164, 175, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
}

.enhanced-form .form-section h3::after {
    content: '';
    width: 2px;
    height: 16px;
    background: rgba(15, 164, 175, 0.3);
    border-radius: 1px;
    margin-left: -8px;
}

/* Enhanced Form Rows */
.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 0;
    align-items: flex-start;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
    min-width: 200px;
}

/* Equal width for first and last name fields */
.form-row .form-group:first-child,
.form-row .form-group:nth-child(2) {
    flex: 1 1 0; /* Equal flex basis */
}

/* Email and phone fields should have equal space */
.form-row .form-group:has(input[name="email"]) {
    flex: 1;
    min-width: 200px; /* Ensure email field has enough space */
}

.form-row .form-group:has(input[type="tel"]) {
    flex: 1;
    min-width: 180px; /* Ensure phone field has enough space */
}

.form-row .form-group:has(input[name="zip"]) {
    flex: 0 0 120px; /* Fixed width for ZIP */
    max-width: 120px;
}

.form-row .form-group:has(input[name="state"]) {
    flex: 0 0 100px; /* Fixed width for state */
    max-width: 100px;
}

/* Specific field targeting for consistent sizing */
#signup-phone {
    min-width: 180px; /* Ensure phone placeholder fits */
}

#signup-zip {
    max-width: 120px;
}

#signup-state {
    max-width: 100px;
}

/* More specific targeting for form rows */
.form-section .form-row:nth-child(2) .form-group:nth-child(2) { /* Phone field */
    flex: 2;
    min-width: 180px;
}

.form-section .form-row:nth-child(4) .form-group:nth-child(2) { /* State field */
    flex: 0 0 100px;
    max-width: 100px;
}

.form-section .form-row:nth-child(4) .form-group:nth-child(3) { /* ZIP field */
    flex: 0 0 120px;
    max-width: 120px;
}

.enhanced-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98) !important;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    font-family: inherit;
    color: #2c3e50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    box-sizing: border-box;
}

.enhanced-form select:focus {
    outline: none;
    border-color: rgba(15, 164, 175, 0.5);
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 2px 8px rgba(15, 164, 175, 0.15), 0 0 0 2px rgba(15, 164, 175, 0.1);
    transform: none;
}

.password-requirements {
    margin-top: 6px;
    padding: 8px 12px;
    background: rgba(15, 164, 175, 0.05);
    border-radius: 6px;
    border-left: 3px solid rgba(15, 164, 175, 0.3);
}

.password-requirements small {
    color: #2c3e50 !important;
    font-size: 12px;
    font-weight: 500;
}

.enhanced-form input[type="tel"],
.enhanced-form input[type="text"],
.enhanced-form input[type="email"],
.enhanced-form input[type="password"] {
    background: rgba(255, 255, 255, 0.1);
    color: #2c3e50;
}

.enhanced-form input[type="tel"]:focus,
.enhanced-form input[type="text"]:focus,
.enhanced-form input[type="email"]:focus,
.enhanced-form input[type="password"]:focus {
    background: rgba(255, 255, 255, 0.2);
}

.enhanced-form .checkbox-label {
    margin-bottom: 12px;
}

.enhanced-form .checkbox-label:last-child {
    margin-bottom: 0;
}

/* URGENT FIX: Override accessibility-fixes.css issues */
.auth-form .form-group label,
.enhanced-form .form-group label {
    color: #2c3e50 !important;
    text-shadow: none !important;
    background: none !important;
    opacity: 1 !important;
}

.auth-form .form-group input,
.enhanced-form .form-group input,
.auth-form select,
.enhanced-form select {
    background: rgba(255, 255, 255, 0.98) !important;
    color: #2c3e50 !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    opacity: 1 !important;
    box-sizing: border-box !important;
}

.auth-form .checkbox-label,
.enhanced-form .checkbox-label {
    color: #2c3e50 !important;
    opacity: 1 !important;
}

.auth-form .enhanced-form .form-section h3 {
    color: #2c3e50 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.auth-form .password-requirements small {
    color: #2c3e50 !important;
    opacity: 1 !important;
}

.auth-footer p,
.auth-footer {
    color: #2c3e50 !important;
    opacity: 1 !important;
}

.modal-content {
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure signup modal scrolls properly and password fields are visible */
#sign-up-modal .modal-content {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 30px;
    box-sizing: border-box;
}

/* Ensure all form sections have proper spacing and visibility */
#sign-up-modal .form-section {
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure form elements don't overflow */
#sign-up-modal input,
#sign-up-modal select,
#sign-up-modal textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Prevent layout shift when validation messages appear */
#sign-up-modal .form-group {
    position: relative;
    min-height: 80px; /* Reserve space for input and potential error message */
}

#sign-up-modal .form-row {
    align-items: flex-start; /* Align items to top to prevent vertical shift */
}

/* Style for invalid inputs without affecting layout */
#sign-up-modal input:invalid,
#sign-up-modal select:invalid,
#sign-up-modal textarea:invalid {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

/* Disable browser validation bubble */
#sign-up-modal input:invalid,
#sign-up-modal select:invalid,
#sign-up-modal textarea:invalid {
    box-shadow: none;
}

/* Remove default browser validation UI */
#sign-up-modal input::-webkit-validation-bubble,
#sign-up-modal select::-webkit-validation-bubble,
#sign-up-modal textarea::-webkit-validation-bubble {
    display: none !important;
}

#sign-up-modal input:valid,
#sign-up-modal select:valid {
    border-color: #28a745;
}

/* Ensure form rows maintain structure even with validation */
#sign-up-modal .form-row .form-group {
    flex: 1;
    min-width: 0;
    margin-bottom: 0; /* Remove bottom margin to prevent spacing issues */
}

/* Custom validation message styling */
#sign-up-modal .validation-message,
#sign-up-modal .error-text {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 12px;
    color: #dc3545;
    margin: 0;
    padding: 2px 0;
    display: none;
}

#sign-up-modal input:invalid ~ .validation-message,
#sign-up-modal input:invalid ~ .error-text {
    display: block;
}

/* Ensure consistent form group spacing */
#sign-up-modal .form-section .form-group {
    margin-bottom: 20px;
}

#sign-up-modal .form-section .form-row .form-group {
    margin-bottom: 0;
}

/* Keep form row spacing consistent */
#sign-up-modal .form-section .form-row {
    margin-bottom: 20px;
    gap: 15px;
}

/* MODERN SIGN IN MODAL REDESIGN */
/* Modern glassmorphism Sign In modal styling */
#sign-in-modal .auth-modal {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%),
        radial-gradient(circle at 30% 70%, rgba(15, 164, 175, 0.03) 0%, transparent 50%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(15, 164, 175, 0.15);
    border-radius: 20px;
    box-shadow: 
        0 25px 80px rgba(10, 26, 47, 0.15),
        0 10px 40px rgba(15, 164, 175, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    max-width: 460px;
    margin: 50px auto;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#sign-in-modal .auth-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 164, 175, 0.3), transparent);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced modal header with modern gradient */
#sign-in-modal .modal-header {
    background: 
        linear-gradient(135deg, rgba(26, 43, 66, 0.95) 0%, rgba(42, 59, 82, 0.9) 50%, rgba(52, 73, 94, 0.85) 100%),
        radial-gradient(circle at 80% 20%, rgba(15, 164, 175, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 164, 175, 0.2);
    padding: 32px 36px;
    position: relative;
    overflow: hidden;
}

#sign-in-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db 0%, #024950 50%, #003135 100%);
    box-shadow: 0 2px 8px rgba(15, 164, 175, 0.3);
}

#sign-in-modal .modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #003135;
    background: linear-gradient(135deg, #003135 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

#sign-in-modal .modal-header .close {
    color: rgba(0, 49, 53, 0.8);
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

#sign-in-modal .modal-header .close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Enhanced modal body with premium styling */
#sign-in-modal .modal-body {
    padding: 42px 36px;
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%),
        radial-gradient(circle at 70% 30%, rgba(15, 164, 175, 0.02) 0%, transparent 50%);
    border-radius: 0 0 20px 20px;
    position: relative;
}

#sign-in-modal .modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 164, 175, 0.15), transparent);
}

/* Modern form styling */
#sign-in-modal .auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#sign-in-modal .form-group {
    position: relative;
    min-height: 80px;
}

#sign-in-modal .form-group label {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    text-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.01em;
}

#sign-in-modal .form-group label::before {
    content: '';
    width: 3px;
    height: 16px;
    background: linear-gradient(135deg, #3498db, #024950);
    border-radius: 1.5px;
    opacity: 0.7;
}

#sign-in-modal .form-group input {
    padding: 16px 18px;
    border: 1.5px solid rgba(15, 164, 175, 0.2);
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%),
        radial-gradient(circle at 20% 80%, rgba(15, 164, 175, 0.01) 0%, transparent 50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    color: #2c3e50 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(15, 164, 175, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    width: 100%;
    box-sizing: border-box;
}

#sign-in-modal .form-group input::placeholder {
    color: rgba(44, 62, 80, 0.5);
    font-weight: 400;
}

#sign-in-modal .form-group input:hover {
    border-color: rgba(15, 164, 175, 0.4);
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow: 
        0 6px 20px rgba(15, 164, 175, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

#sign-in-modal .form-group input:focus {
    outline: none;
    border-color: rgba(15, 164, 175, 0.6);
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 
        0 8px 25px rgba(15, 164, 175, 0.15),
        0 0 0 3px rgba(15, 164, 175, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Modern form options styling */
#sign-in-modal .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 8px 0 24px 0;
}

#sign-in-modal .checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: #2c3e50 !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

#sign-in-modal .checkbox-label:hover {
    color: #1e293b !important;
}

#sign-in-modal .checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #0FA4AF;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

#sign-in-modal .forgot-link {
    color: rgba(15, 164, 175, 0.9) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(15, 164, 175, 0.05);
    border: 1px solid rgba(15, 164, 175, 0.15);
}

#sign-in-modal .forgot-link:hover {
    color: #024950 !important;
    background: rgba(15, 164, 175, 0.1);
    border-color: rgba(15, 164, 175, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 164, 175, 0.15);
}

/* Enhanced button styling */
#sign-in-modal .btn-primary {
    background: 
        linear-gradient(135deg, #3498db 0%, #024950 50%, #003135 100%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    color: white;
    padding: 18px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(15, 164, 175, 0.25),
        0 4px 12px rgba(15, 164, 175, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

#sign-in-modal .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#sign-in-modal .btn-primary:hover::before {
    left: 100%;
}

#sign-in-modal .btn-primary:hover {
    background: 
        linear-gradient(135deg, #024950 0%, #003135 50%, #16527a 100%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    box-shadow: 
        0 12px 35px rgba(15, 164, 175, 0.35),
        0 6px 20px rgba(15, 164, 175, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

#sign-in-modal .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(15, 164, 175, 0.3),
        0 3px 10px rgba(15, 164, 175, 0.2);
}

/* Enhanced divider styling */
#sign-in-modal .auth-divider {
    position: relative;
    text-align: center;
    margin: 32px 0;
}

#sign-in-modal .auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 164, 175, 0.2), transparent);
    z-index: 1;
}

#sign-in-modal .auth-divider span {
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    color: rgba(44, 62, 80, 0.7);
    padding: 0 24px;
    position: relative;
    z-index: 2;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Enhanced Google button styling */
#sign-in-modal .btn-google {
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%),
        radial-gradient(circle at 20% 80%, rgba(66, 133, 244, 0.02) 0%, transparent 50%);
    color: #1f2937;
    border: 1.5px solid rgba(218, 220, 224, 0.6);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

#sign-in-modal .btn-google::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(66, 133, 244, 0.08), transparent);
    transition: left 0.4s ease;
}

#sign-in-modal .btn-google:hover::before {
    left: 100%;
}

#sign-in-modal .btn-google:hover {
    background: 
        linear-gradient(180deg, rgba(248, 249, 250, 0.98) 0%, rgba(243, 244, 246, 0.95) 100%);
    border-color: rgba(66, 133, 244, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

#sign-in-modal .btn-google i {
    color: #4285f4;
    font-size: 18px;
}

/* Enhanced auth footer */
#sign-in-modal .auth-footer {
    margin-top: 36px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 164, 175, 0.15);
    position: relative;
}

#sign-in-modal .auth-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 164, 175, 0.2), transparent);
}

#sign-in-modal .auth-footer p {
    color: rgba(44, 62, 80, 0.8) !important;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

#sign-in-modal .auth-footer a {
    color: rgba(15, 164, 175, 0.9) !important;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(15, 164, 175, 0.05);
    margin-left: 4px;
}

#sign-in-modal .auth-footer a:hover {
    color: #024950 !important;
    background: rgba(15, 164, 175, 0.1);
    transform: translateY(-1px);
}

/* Input validation styling */
#sign-in-modal input:invalid {
    border-color: rgba(220, 53, 69, 0.5);
    background: 
        linear-gradient(180deg, rgba(255, 248, 248, 0.98) 0%, rgba(254, 242, 242, 0.95) 100%);
    box-shadow: 
        0 4px 15px rgba(220, 53, 69, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#sign-in-modal input:valid {
    border-color: rgba(34, 197, 94, 0.4);
    background: 
        linear-gradient(180deg, rgba(248, 255, 248, 0.98) 0%, rgba(240, 253, 244, 0.95) 100%);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #sign-in-modal .auth-modal {
        margin: 20px;
        max-width: none;
        width: calc(100% - 40px);
    }
    
    #sign-in-modal .modal-header {
        padding: 24px 20px;
    }
    
    #sign-in-modal .modal-body {
        padding: 30px 20px;
    }
    
    #sign-in-modal .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    #sign-in-modal .auth-modal {
        margin: 10px;
        width: calc(100% - 20px);
    }
    
    #sign-in-modal .modal-header {
        padding: 20px 16px;
    }
    
    #sign-in-modal .modal-body {
        padding: 24px 16px;
    }
    
    #sign-in-modal .modal-header h2 {
        font-size: 1.5rem;
    }
}

/* Disable browser validation bubble for all modals */
.modal input::-webkit-validation-bubble,
.modal select::-webkit-validation-bubble,
.modal textarea::-webkit-validation-bubble {
    display: none !important;
}

#sign-up-modal .form-row {
    width: 100%;
    box-sizing: border-box;
}

#sign-up-modal .form-group {
    width: 100%;
    box-sizing: border-box;
}

/* Specifically target password fields to ensure visibility */
#sign-up-modal .form-group:has(input[name="password"]),
#sign-up-modal .form-group:has(input[name="confirmPassword"]) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.modal-body {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure form fields maintain consistent sizing */
.form-row .form-group input,
.form-row .form-group select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Fix rounded corners and background issues */
.auth-modal,
.auth-modal.enhanced-signup {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* === MODAL ANIMATIONS & MICRO-INTERACTIONS === */

/* Modal Show Animation */
.modal.show {
    display: block;
    animation: modalShow 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalShow {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }
}

.modal.show .modal-content {
    animation: modalContentShow 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

@keyframes modalContentShow {
    from {
        transform: translateY(30px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Ensure modal content opacity after animation */
.modal.show .modal-content {
    opacity: 1 !important;
}

/* Modal Hide Animation */
.modal.hide {
    animation: modalHide 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalHide {
    from {
        opacity: 1;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }
    to {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
}

.modal.hide .modal-content {
    animation: modalContentHide 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalContentHide {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }
}

/* Enhanced Button Loading States */
.btn.loading {
    pointer-events: none;
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: buttonSpinner 1s linear infinite;
}

@keyframes buttonSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Submission Success States */
.form-group.success input,
.form-group.success select {
    border-color: rgba(34, 197, 94, 0.5) !important;
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.98) 0%, rgba(236, 252, 240, 0.95) 100%) !important;
    box-shadow: 
        0 4px 16px rgba(34, 197, 94, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.form-group.success label::after {
    background: #22c55e !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.5) !important;
}

/* Mobile responsiveness for enhanced form */
@media (max-width: 768px) {
    .auth-modal.enhanced-signup {
        margin: 10px;
        max-width: none;
        width: calc(100% - 20px);
    }
    
    .modal-body {
        padding: 32px 20px;
    }
    
    .enhanced-form .form-section {
        margin-bottom: 28px;
        padding: 24px 20px 20px;
    }
    
    .enhanced-form .form-section h3 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        flex: none;
        max-width: none;
        min-width: 0;
        margin-bottom: 20px;
    }
    
    .form-row .form-group:last-child {
        margin-bottom: 0;
    }
    
    /* Ensure all fields have consistent width on mobile */
    .form-group input,
    .enhanced-form select {
        width: 100%;
        max-width: 100%;
    }
    
    .form-options {
        padding: 12px;
        gap: 8px;
        margin: 16px 0;
    }

    /* Mobile checkbox improvements */
    .checkbox-label {
        padding: 10px;
        font-size: 13px;
    }

    .checkbox-box {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
        border-width: 2.5px;
    }

    .checkbox-label input[type="checkbox"]:checked ~ .checkbox-box::after {
        font-size: 15px;
    }

    .required-badge {
        font-size: 9px;
        padding: 2px 6px;
        margin-left: 6px;
    }

    .text-muted {
        font-size: 12px;
        display: block;
        margin-top: 2px;
    }

    /* Mobile optimization for new elements */
    .trust-badges {
        gap: 8px;
        margin: 16px 0;
    }

    .trust-badge {
        padding: 6px 10px;
        font-size: 11px;
    }

    .trust-badge i {
        font-size: 12px;
    }

    .what-next-section {
        padding: 16px;
        margin: 20px 0 12px;
    }

    .what-next-section h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .next-steps li {
        font-size: 13px;
        gap: 8px;
    }

    .next-steps li i {
        font-size: 14px;
    }

    .security-section {
        padding: 16px;
        margin: 20px 0;
    }

    .security-label {
        font-size: 13px;
    }

    .error-message,
    .success-message {
        margin: 0 0 16px 0;
    }

    .error-content,
    .success-content {
        padding: 14px 16px;
        gap: 10px;
    }

    .success-icon {
        width: 38px;
        height: 38px;
    }

    .success-icon i {
        font-size: 18px;
    }

    .success-text strong {
        font-size: 15px;
    }

    .success-text p {
        font-size: 13px;
    }

    /* Ensure input fields are mobile-friendly */
    .input-with-icon input {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 14px 45px 14px 14px !important;
    }

    .validation-icon {
        right: 12px;
        font-size: 16px;
    }
    
    .checkbox-label {
        font-size: 13px;
        padding: 6px 0;
    }
}

/* === FINAL MODAL SYSTEM ENHANCEMENTS === */

/* Custom Checkmark Span Compatibility */
.checkbox-label .checkmark {
    display: none !important;
}

/* Enhanced Checkbox States with Checkmark */
.checkbox-label input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #3498db 0%, #024950 100%);
    border-color: #024950;
    box-shadow: 
        0 4px 12px rgba(15, 164, 175, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

/* Fix for Sign-In Modal Form Options Layout */
.auth-form .form-options:has(.forgot-link) {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin-top: 8px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.auth-form .form-options:has(.forgot-link)::before {
    display: none !important;
}

.auth-form .form-options:has(.forgot-link) .checkbox-label {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.auth-form .form-options:has(.forgot-link) .forgot-link {
    margin: 0 !important;
    align-self: auto !important;
}

/* Modal Focus Trap Enhancement */
.modal[aria-hidden="false"] {
    display: block;
}

.modal[aria-hidden="true"] {
    display: none;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .modal-content {
        border: 3px solid #000;
    }
    
    .modal-header {
        border-bottom: 2px solid #000;
    }
    
    .form-group input,
    .form-group select {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .modal,
    .modal-content,
    .btn,
    .form-group input,
    .form-group select,
    .checkbox-label input[type="checkbox"],
    .close {
        animation: none !important;
        transition: none !important;
    }
    
    .modal-header::after {
        animation: none !important;
    }
}

/* Print Styles for Modals */
@media print {
    .modal {
        display: none !important;
    }
}

/* === DARK MODE TOGGLE STYLES === */
.dark-mode-toggle-landing {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
    user-select: none;
}

.dark-mode-toggle-landing i {
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition-fast);
}

.dark-mode-toggle-landing:hover i {
    color: var(--text-primary);
}

.toggle-switch-landing {
    position: relative;
    width: 44px;
    height: 22px;
}

.toggle-switch-landing input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-landing {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: var(--transition-normal);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.slider-landing:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 1px;
    background-color: var(--light-surface);
    transition: var(--transition-normal);
    border-radius: 50%;
    box-shadow: var(--elevation-1);
}

input:checked + .slider-landing {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

input:checked + .slider-landing:before {
    transform: translateX(22px);
}

/* === DARK MODE STYLES === */

/* Dark Mode Body */
body.dark-mode {
    background: linear-gradient(135deg, var(--surface-light) 0%, var(--primary-bg-end) 25%, var(--secondary-bg) 50%, var(--primary-bg-end) 75%, var(--surface-light) 100%);
    color: var(--text-primary);
}

body.dark-mode::before {
    background:
        radial-gradient(circle at 20% 80%, rgba(175, 221, 229, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(2, 73, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(150, 71, 52, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.04) 100%);
}

/* Dark Mode Navigation */
.dark-mode .navbar {
    background: rgba(0, 49, 53, 0.95);
    border-bottom: 1px solid var(--surface-medium);
}

.dark-mode .nav-links a {
    color: var(--text-primary);
}

.dark-mode .nav-links a:hover {
    color: var(--surface-medium);
}

/* Dark Mode Buttons */
.dark-mode .btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-bg));
    color: var(--light-surface);
    border-color: var(--accent-color);
}

.dark-mode .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-bg), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: var(--elevation-3);
}

.dark-mode .btn-outline {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: rgba(175, 221, 229, 0.1);
}

.dark-mode .btn-outline:hover {
    background: var(--text-primary);
    color: var(--light-surface);
}

/* Dark Mode Hero Section */
.dark-mode .hero h1 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--surface-medium) 50%, var(--primary-bg-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .hero h2 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--surface-medium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .hero-subtitle,
.dark-mode p {
    color: var(--text-secondary);
}

/* Dark Mode Cards and Sections */
.dark-mode .demo-feature {
    background: var(--light-surface);
    border-color: var(--surface-medium);
    color: var(--text-primary);
}

.dark-mode .demo-feature:hover {
    box-shadow: var(--elevation-2);
    border-color: var(--accent-color);
}

.dark-mode .step-content h4 {
    color: var(--text-primary);
}

.dark-mode .step-content p {
    color: var(--text-secondary);
}

/* Dark Mode CTA Section */
.dark-mode .cta {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg-end) 100%);
    color: var(--light-surface);
}

/* Dark Mode Footer */
.dark-mode footer {
    background: var(--light-surface);
    color: var(--text-primary);
    border-top: 1px solid var(--surface-medium);
}

/* Dark Mode Modals */
.dark-mode .modal-content {
    background: var(--light-surface);
    border-color: var(--surface-medium);
    color: var(--text-primary);
}

.dark-mode .modal-header {
    background: linear-gradient(135deg, var(--surface-light) 0%, var(--primary-bg-start) 100%);
    border-bottom-color: var(--surface-medium);
}

.dark-mode .modal-body {
    background: linear-gradient(135deg, rgba(0, 49, 53, 0.98) 0%, rgba(2, 73, 80, 0.95) 100%);
}

.dark-mode .form-group input,
.dark-mode .form-group select {
    background: var(--surface-light);
    border-color: var(--surface-medium);
    color: var(--text-primary);
}

.dark-mode .form-group input:focus,
.dark-mode .form-group select:focus {
    border-color: var(--accent-color);
    box-shadow: var(--focus-ring);
}

.dark-mode .form-group label {
    color: var(--text-primary);
}

/* Dark Mode Close Button */
.dark-mode .close {
    background: rgba(175, 221, 229, 0.1);
    border-color: var(--surface-medium);
    color: var(--text-primary);
}

.dark-mode .close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}