/* Base Styles */
:root {
    /* Light Theme (default) */
    --primary-color: #0F52BA; /* Deeper blue */
    --primary-dark: #0A3A8C; /* Darker blue */
    --primary-light: #3B7AD3; /* Lighter blue */
    --secondary-color: #2E4057; /* Dark slate blue */
    --secondary-dark: #1C2B3A; /* Darker slate */
    --accent-color: #F59E0B;
    --text-color: #1F2937;
    --light-text: #6B7280;
    --background: #FFFFFF;
    --light-background: #F9FAFB;
    --dark-background: #111827;
    --border-color: #E5E7EB;
    --card-background: #F9FAFB;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --nav-background: rgba(255, 255, 255, 0.95);
    --footer-background: var(--dark-background);
    --footer-text: #FFFFFF;
    --hero-gradient: linear-gradient(135deg, var(--light-background) 0%, #EEF2FF 100%);
    --benefits-gradient: linear-gradient(135deg, #F9FAFB 0%, #EEF2FF 100%);
    --waitlist-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #3B7AD3; /* Lighter blue */
    --primary-dark: #0F52BA; /* Deeper blue */
    --primary-light: #5A94E5; /* Even lighter blue */
    --secondary-color: #4A6282; /* Lighter slate blue */
    --secondary-dark: #2E4057; /* Dark slate blue */
    --accent-color: #FBBF24;
    --text-color: #F9FAFB;
    --light-text: #D1D5DB;
    --background: #111827;
    --light-background: #1F2937;
    --dark-background: #030712;
    --border-color: #374151;
    --card-background: #1F2937;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --nav-background: rgba(17, 24, 39, 0.95);
    --footer-background: #030712;
    --footer-text: #F9FAFB;
    --hero-gradient: linear-gradient(135deg, #111827 0%, #1E3A8A 100%);
    --benefits-gradient: linear-gradient(135deg, #111827 0%, #1E3A8A 100%);
    --waitlist-gradient: linear-gradient(135deg, #4F46E5 0%, #312E81 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--background);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.form-error {
    color: var(--error-color, #e74c3c);
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: rgba(231, 76, 60, 0.1);
    transition: all 0.3s ease;
}

/* Customer Types Horizontal Scroll */
.customer-types-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 1rem;
    overflow: hidden;
    position: relative;
}

.customer-types-scroll {
    display: flex;
    overflow-x: hidden; /* Changed from auto to hidden to force the animation */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 1rem 0;
    gap: 1rem;
    width: max-content; /* Ensure it takes the full width of all items */
    animation: scroll 20s linear infinite;
}

.customer-types-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.customer-types-scroll::after {
    content: "";
    padding-right: 1rem; /* Add some space at the end */
}

.customer-type {
    flex: 0 0 auto;
    padding: 0.5rem 1.5rem;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 2rem;
    font-weight: 500;
    color: var(--primary-color);
    white-space: nowrap;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

[data-theme="dark"] .customer-type {
    background-color: rgba(129, 140, 248, 0.2);
}

.customer-type:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes scroll {
    0% {
        transform: translateX(20%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
header {
    padding: 1.25rem 2rem;
    background: linear-gradient(90deg, #1a1576 0%, #4548d4 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-link {
    color: white;
    text-decoration: none;
}

/* .logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
} */

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

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* color: white; */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.theme-toggle .light-icon,
.theme-toggle .dark-icon {
    position: absolute;
    transition: var(--transition);
}

/* Show/hide appropriate icon based on theme */
[data-theme="dark"] .theme-toggle .dark-icon {
    opacity: 0;
    transform: translateY(10px);
}

[data-theme="dark"] .theme-toggle .light-icon {
    opacity: 1;
    transform: translateY(0);
}

body:not([data-theme="dark"]) .theme-toggle .light-icon {
    opacity: 0;
    transform: translateY(10px);
}

body:not([data-theme="dark"]) .theme-toggle .dark-icon {
    opacity: 1;
    transform: translateY(0);
}

.nav-links.active {
    background-color: #1a1576;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0.75rem;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    /* color: var(--text-color); */
    transition: var(--transition);
}

.nav-links a:hover {
    /* color: var(--text-color); */
    background-color: rgba(255, 255, 255, 0.08);
}

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

.nav-links a.active {
    /* color: var(--text-color); */
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.12);
}

.nav-links a.active::after {
    width: 100%;
    /* color: var(--text-color); */
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 1.5rem;
    height: 0.125rem;
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    padding: 6rem 2rem;
    /* background: var(--hero-gradient); */
    background-color: linear-gradient(90deg, #1a1576 0%, #4548d4 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0) 70%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0) 70%);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.highlight {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 auto 2rem;
    max-width: 850px;
    perspective: 1000px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: none;
    min-width: 180px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

[data-theme="dark"] .badge {
    background-color: rgba(31, 41, 55, 0.7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}



.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.badge:hover .badge-icon {
    transform: scale(1.05);
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.15rem;
    letter-spacing: 0;
}

.badge-desc {
    font-size: 0.7rem;
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.badge:hover .badge-desc {
    opacity: 1;
}

/* Badge icons - monochromatic */
.badge-icon {
    color: var(--text-color);
    opacity: 0.7;
}

[data-theme="dark"] .badge-icon {
    color: var(--light-text);
    opacity: 0.9;
}

.badge:hover .badge-icon {
    opacity: 1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-bottom: 2rem;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background-color: var(--background);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.section-header p {
    color: var(--light-text);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    max-width: 1500px;
    margin: 0 auto;
    justify-content: center;
    padding: 0 1rem;
}

.feature-card {
    width: 300px;
    padding: 2.75rem 2rem;
    background-color: var(--card-background);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 350px; /* Fixed height for all cards */
    display: grid;
    grid-template-rows: auto auto 1fr;
    align-items: start;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(99, 102, 241, 0.08);
    margin: 0 auto 1.5rem;
    color: var(--primary-dark);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    justify-self: center;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

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

.feature-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: -0.01em;
    position: relative;
    justify-self: center;
}

.feature-card p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 90%;
    align-self: start;
    justify-self: center;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Benefits Section */
.benefits {
    padding: 6rem 2rem;
    background: var(--benefits-gradient);
    position: relative;
    overflow: hidden;
}

/* Escrow Services Section */
.escrow-services {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

body:not([data-theme="dark"]) .escrow-services {
    color: var(--text-color);
    background: var(--light-background);
}

body:not([data-theme="dark"]) .escrow-card {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body:not([data-theme="dark"]) .escrow-card h3 {
    color: var(--primary-dark);
}

body:not([data-theme="dark"]) .escrow-card p {
    color: var(--light-text);
}

body:not([data-theme="dark"]) .escrow-features li {
    color: var(--text-color);
}

body:not([data-theme="dark"]) .escrow-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

body:not([data-theme="dark"]) .escrow-features li i {
    color: var(--primary-color);
}

.escrow-services .container {
    max-width: 1200px;
    margin: 0 auto;
}

.escrow-industries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.escrow-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.escrow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.escrow-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.escrow-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.escrow-card p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.escrow-features {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.escrow-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.escrow-features li i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.escrow-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.escrow-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.escrow-cta p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.escrow-cta .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* Escrow Page Specific Styles */
.escrow-hero {
    min-height: 60vh;
    padding: 8rem 2rem 6rem;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.escrow-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDIwIDAgTCAwIDAgTCAwIDIwIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIgLz48L3N2Zz4=');
    opacity: 0.3;
}

.escrow-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.escrow-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.escrow-hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.escrow-process {
    padding: 6rem 2rem;
    background-color: var(--light-background);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: calc(10% + 2rem);
    right: calc(10% + 2rem);
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
}

.escrow-cta-section {
    padding: 4rem 2rem;
    background-color: var(--background);
}

.benefits {
    padding: 6rem 2rem;
    background: var(--benefits-gradient);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    padding: 2.75rem 2rem;
    background-color: var(--card-background);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

.benefit-content p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(99, 102, 241, 0.08);
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
}

.benefit-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

.benefit-item:hover .benefit-icon::after {
    opacity: 1;
}

.benefit-list {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.benefit-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.5;
    padding: 0.4rem 0;
    transition: all 0.2s ease;
}

.benefit-list li:hover {
    transform: translateX(3px);
}

.benefit-list li i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    background: rgba(16, 185, 129, 0.08);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.benefit-content p {
    color: var(--light-text);
}

/* Waitlist Section */
.waitlist {
    padding: 6rem 2rem;
    background: var(--waitlist-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.waitlist::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.waitlist::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.waitlist-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.waitlist-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.waitlist-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.waitlist-content p {
    margin-bottom: 2rem;
}

.waitlist-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.form-row {
    width: 100%;
    display: flex;
    justify-content: center;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    align-items: center;
}

.form-group {
    position: relative;
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

.waitlist-form input[type="email"] {
    padding: 1rem 1.5rem 1rem 3rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: 100%;
}

.waitlist-form .btn {
    min-width: 180px;
}



.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    width: 100%;
    max-width: 90%;
    justify-content: center;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.text-link {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.text-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .text-link {
    color: var(--primary-light);
}

.waitlist-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.waitlist-success {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
}

/* Footer */
footer {
    padding: 5rem 2rem 2rem;
    background-color: var(--footer-background);
    color: var(--footer-text);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-light), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column a {
    display: block;
    margin-bottom: 0.75rem;
    color: #D1D5DB;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-column a:hover {
    color: white;
    padding-left: 8px;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
    opacity: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.125rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-column a:hover::before {
    width: 4px;
    opacity: 1;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 0.875rem;
    color: #9CA3AF;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background);
        padding: 1.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .nav-links.active {
        display: flex;
        background-color: #1a1576;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .badge {
        padding: 0.75rem 1rem;
        min-width: auto;
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
        border-left-width: 3px;
    }
    
    .badge-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .badge-title {
        font-size: 0.9rem;
    }
    
    .badge-desc {
        font-size: 0.75rem;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
    
    .checkbox-group label {
        font-size: 0.8rem;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .feature-cards,
    .benefits-container {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .waitlist-form {
        flex-direction: row;
    }
    
    .waitlist-form input {
        flex: 1;
    }
}
