/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background-color: #ffffff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Enhanced Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    position: relative;
}

/* Brand Section */
.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.nav-brand .logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

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

.nav-brand h2 {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Hide mobile menu toggle by default */
.mobile-menu-toggle {
    display: none;
}

/* Medium screen navigation adjustments */
@media (max-width: 1000px) {
    .nav-menu .nav-link[href="/"],
    .nav-menu .nav-link[href="/contact.html"] {
        display: none;
    }
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

.nav-link:hover::after {
    width: 20px;
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, rgba(148, 163, 184, 0.3), transparent);
    margin: 0 8px;
}

/* Enhanced Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(79, 70, 229, 0.35);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translate(2px, -2px);
}

.nav-cta {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-secondary {
    background: transparent;
    color: #4f46e5;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #4f46e5;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.2rem;
    border-radius: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 3rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 120px; /* Account for navbar height */
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.mobile-nav-link:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

.mobile-nav-link:hover::after {
    width: 40px;
}

/* Full Height Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #0f172a;
    letter-spacing: -0.04em;
    line-height: 1.1;
    max-width: 900px;
}

/* Hero Section - Optimized for Performance */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #4f46e5 50%, #7c3aed 100%);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Performance optimizations */
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.08) 0%, transparent 45%);
    /* Simplified animation with reduced duration */
    animation: float 15s ease-in-out infinite;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /* Simplified animation */
    animation: patternMove 20s linear infinite;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

/* Additional mesh gradient overlay - simplified */
.hero .mesh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
    /* Performance optimizations */
    will-change: auto;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateZ(0); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-10px) translateZ(0); 
        opacity: 0.8;
    }
}

@keyframes patternMove {
    0% { transform: translateX(0) translateY(0) translateZ(0); }
    100% { transform: translateX(30px) translateY(30px) translateZ(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    /* Simplified animation */
    animation: fadeInUp 0.8s ease-out 0.2s both;
    /* Performance optimizations */
    will-change: auto;
    transform: translateZ(0);
}

.hero-content h1 {
    /* Simplified animation */
    animation: textReveal 0.8s ease-out 0.4s both;
}

.hero-content .hero-subtitle {
    /* Simplified animation */
    animation: textReveal 0.8s ease-out 0.6s both;
}

.hero-content .hero-cta {
    /* Simplified animation */
    animation: textReveal 0.8s ease-out 0.8s both;
}

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

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

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 2.5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Simplified glow effect */
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    /* Simplified animation */
    animation: textReveal 0.8s ease-out 0.4s both;
    position: relative;
    /* Performance optimizations */
    will-change: auto;
    transform: translateZ(0);
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    border-radius: 2px;
    /* Simplified animation */
    animation: expandWidth 1.5s ease-out 0.8s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 120px; }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 4rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    /* Simplified animation */
    animation: fadeInUp 0.8s ease-out 0.6s both;
    position: relative;
    /* Performance optimizations */
    will-change: auto;
    transform: translateZ(0);
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    border-radius: 1px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    /* Simplified animation */
    animation: fadeInUp 0.8s ease-out 0.8s both;
    /* Performance optimizations */
    will-change: auto;
    transform: translateZ(0);
}

.hero-cta .btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #4f46e5;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0) translateZ(0);
    /* Performance optimizations */
    will-change: transform;
}

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

.hero-cta .btn-primary:hover {
    transform: translateY(-4px) scale(1.01) translateZ(0);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.hero-cta .btn-primary:hover::before {
    left: 100%;
}

.hero-cta .btn-primary:active {
    transform: translateY(-2px) scale(1.005) translateZ(0);
}

/* Floating elements - simplified and reduced */
.hero .floating-element-1 {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    /* Simplified animation */
    animation: floatElement 10s ease-in-out infinite;
    z-index: 1;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

.hero .floating-element-2 {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    /* Simplified animation */
    animation: floatElement 15s ease-in-out infinite reverse;
    z-index: 1;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

@keyframes floatElement {
    0%, 100% { 
        transform: translateY(0px) translateZ(0); 
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-20px) translateZ(0); 
        opacity: 0.4;
    }
}

/* Particle effects - reduced count and simplified */
.hero .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    /* Simplified animation */
    animation: particleFloat 12s linear infinite;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

/* Reduced particle count from 9 to 5 */
.hero .particle:nth-child(1) { left: 15%; animation-delay: 0s; animation-duration: 15s; }
.hero .particle:nth-child(2) { left: 35%; animation-delay: 3s; animation-duration: 18s; }
.hero .particle:nth-child(3) { left: 55%; animation-delay: 6s; animation-duration: 16s; }
.hero .particle:nth-child(4) { left: 75%; animation-delay: 9s; animation-duration: 17s; }
.hero .particle:nth-child(5) { left: 85%; animation-delay: 12s; animation-duration: 19s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0) translateZ(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: translateY(80vh) scale(1) translateZ(0);
    }
    80% {
        opacity: 1;
        transform: translateY(20vh) scale(1) translateZ(0);
    }
    100% {
        transform: translateY(0vh) scale(0) translateZ(0);
        opacity: 0;
    }
}

/* Responsive hero adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        margin-bottom: 3rem;
    }
    
    .hero-cta .btn-primary {
        min-width: 240px;
        padding: 18px 32px;
        font-size: 1.1rem;
    }
    
    /* Hide floating elements on mobile for better performance */
    .floating-element-1,
    .floating-element-2 {
        display: none;
    }
    
    /* Reduce particle count on mobile */
    .hero .particle:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 5vw, 1.3rem);
    }
    
    .hero-cta .btn-primary {
        min-width: 200px;
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    /* Hide all particles on very small screens */
    .hero .particles {
        display: none;
    }
}

/* How It Works */
.how-it-works {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
}

.step {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
    transition: left 0.8s ease;
}

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

.step:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.15);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border-radius: 24px;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.step p {
    color: #64748b;
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Responsive styles for How It Works section */
@media (max-width: 1024px) {
    .steps {
        gap: 2.5rem;
    }
    
    .step {
        padding: 3rem 1.5rem;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .step h3 {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }
    
    .step p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .step {
        padding: 2.5rem 2rem;
    }
    
    .step-number {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }
    
    .step h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .step p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .steps {
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .step {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        border-radius: 20px;
    }
    
    .step h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .step p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Features */
.features {
    background: white;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.feature {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

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

.feature-icon {
    margin-bottom: 2rem;
    color: #4f46e5;
}

.feature-icon svg {
    width: 64px;
    height: 64px;
}

.feature h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.feature p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Why Section */
.why-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.why-section .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.benefit {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

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

.benefit:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.benefit h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.benefit p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Final CTA */
.final-cta {
    background: radial-gradient(ellipse at center, #4f46e5 0%, #1e1b4b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite;
}

.final-cta > .container {
    position: relative;
    z-index: 1;
}

.final-cta .section-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: white;
}

.final-cta p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 100px 0 40px;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 6rem;
    margin-bottom: 4rem;
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-brand-text h3 {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.footer-brand-text p {
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
}

.footer-description {
    max-width: 280px;
}

.footer-description p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 1rem;
}

.footer-btn {
    align-self: flex-start;
    padding: 14px 24px;
    font-size: 0.9rem;
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    margin-bottom: 2rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.footer-column-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
    transition: left 0.6s ease;
}

.footer-link:hover::before {
    left: 100%;
}

.footer-link:hover {
    color: #e2e8f0;
    background: rgba(79, 70, 229, 0.1);
    transform: translateX(4px);
}

.footer-link svg {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    color: #4f46e5;
}

.footer-link:hover svg {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
    margin-bottom: 3rem;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom-left p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.footer-legal-link:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
}

.footer-separator {
    color: #475569;
    font-size: 0.8rem;
}

/* Social Links */
.footer-bottom-right {
    display: flex;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.3);
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Error Page Styles */
.error-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.error-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
}

.error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.error-icon {
    margin-bottom: 1.5rem;
    color: #4f46e5;
    animation: float 6s ease-in-out infinite;
}

.error-icon svg {
    filter: drop-shadow(0 8px 20px rgba(79, 70, 229, 0.3));
}

.error-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -0.05em;
    line-height: 1.1;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-message {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.error-help {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 700px;
    margin: 0 auto;
}

.error-help h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #0f172a;
    font-weight: 600;
}

.help-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.help-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: #4f46e5;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
    flex: 1;
    min-width: 0;
}

.help-link:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.15);
}

.help-link svg {
    color: #4f46e5;
    transition: transform 0.3s ease;
}

.help-link:hover svg {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .navbar .container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .navbar .container {
        padding: 0 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Ensure mobile menu takes full screen */
    .mobile-menu {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    /* Steps responsive styles moved to dedicated section above */
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature {
        padding: 3rem 2rem;
    }
    
    .benefits {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefit {
        padding: 3rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .final-cta h2 {
        font-size: 2.5rem;
    }
    
    .final-cta p {
        font-size: 1.2rem;
    }
    
    section {
        min-height: 100vh;
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar .container {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
    
    .feature, .benefit {
        padding: 2rem 1.5rem;
    }
    
    .mobile-menu-content {
        padding: 2rem 1rem;
    }
    
    .mobile-nav-link {
        font-size: 1.3rem;
    }
    
    section {
        min-height: auto;
        padding: 4rem 0;
    }
}

/* Error Page Responsive Styles */
@media (max-width: 768px) {
    .error-section {
        height: 100vh;
        padding: 80px 0 20px 0;
    }
    
    .error-content {
        max-height: calc(100vh - 100px);
        padding: 0 16px;
    }
    
    .error-title {
        font-size: 2.2rem;
    }
    
    .error-message {
        font-size: 0.95rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .help-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .help-link {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-section {
        height: 100vh;
        padding: 80px 0 16px 0;
    }
    
    .error-content {
        max-height: calc(100vh - 96px);
        padding: 0 12px;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
    
    .error-icon svg {
        width: 70px;
        height: 70px;
    }
    
    .error-help {
        padding: 1rem 0.75rem;
    }
    
    .error-help h3 {
        font-size: 1rem;
    }
    
    .error-actions {
        gap: 0.5rem;
    }
    
    .help-links {
        gap: 0.5rem;
    }
}

/* Performance optimizations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .hero .floating-element-1,
    .hero .floating-element-2,
    .hero .particle,
    .hero-content h1,
    .hero-content .hero-subtitle,
    .hero-content .hero-cta {
        animation: none;
        transform: none;
    }
    
    .hero-content h1::after {
        animation: none;
        width: 120px;
    }
}

/* Additional performance optimizations */
.hero {
    /* Force GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    
    /* Reduce repaints and layout thrashing */
    contain: layout style paint;
    
    /* Optimize for animations */
    will-change: auto;
    
    /* Prevent layout shifts */
    min-height: 100vh;
    box-sizing: border-box;
}

/* Optimize all animated elements */
.hero * {
    /* Prevent layout thrashing */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    
    /* Optimize transforms */
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
}

/* Optimize animations for better performance */
@media (prefers-reduced-motion: no-preference) {
    .hero::before,
    .hero::after,
    .hero .floating-element-1,
    .hero .floating-element-2,
    .hero .particle {
        /* Use transform3d for better GPU acceleration */
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
    }
}