:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a855f7;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --secondary: #10b981;
    --secondary-light: #34d399;
    --dark: #0f0f23;
    --dark-secondary: #1e1e3f;
    --dark-tertiary: #2d2d5a;
    --light: #ffffff;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(124, 58, 237, 0.4);
    --shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 4px 10px -2px rgba(0, 0, 0, 0.2);
    --glow: 0 0 30px rgba(124, 58, 237, 0.2);
    --ai-gradient: linear-gradient(135deg, #7c3aed 0%, #f59e0b 50%, #10b981 100%);
}

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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: radial-gradient(ellipse at top, #1e1e3f 0%, #0f0f23 50%, #000000 100%);
    color: var(--light);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: aurora 20s ease-in-out infinite;
}

@keyframes aurora {
    0%, 100% { 
        background: 
            radial-gradient(circle at 15% 25%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
            radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.1) 0%, transparent 60%),
            radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    }
    50% { 
        background: 
            radial-gradient(circle at 25% 75%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
            radial-gradient(circle at 75% 25%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
            radial-gradient(circle at 40% 60%, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Header Styles */
header {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 2.5rem;
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.4));
    animation: iconPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.4)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.6)); }
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.12) 0%, rgba(245, 158, 11, 0.05) 40%, transparent 70%);
    z-index: -1;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.03em;
    filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.3));
    animation: titleGlow 6s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.3)); }
    to { filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.5)); }
}

.hero p {
    font-size: 1.5rem;
    max-width: 900px;
    margin: 0 auto 4rem;
    color: var(--gray-200);
    font-weight: 400;
    line-height: 1.6;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.badge {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ai-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--glow), var(--shadow);
}

.badge:hover::before {
    opacity: 0.1;
}

.badge-icon {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.badge span:last-child {
    position: relative;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 3rem;
    margin: 6rem 0;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 3rem;
    padding: 2px;
    background: var(--ai-gradient);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

.features::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5rem;
    color: var(--light);
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(124, 58, 237, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: var(--glow), var(--shadow);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.4));
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.feature-card p {
    color: var(--gray-200);
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Call to Action */
.cta {
    text-align: center;
    padding: 8rem 0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--light);
    letter-spacing: -0.03em;
}

.cta p {
    color: var(--gray-200);
    margin-bottom: 4rem;
    font-size: 1.375rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.email-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.email-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ai-gradient);
    opacity: 0.05;
    border-radius: 1.5rem;
}

.email-input {
    flex: 1;
    padding: 1.25rem 1.75rem;
    border: none;
    border-radius: 1rem;
    background: transparent;
    color: var(--light);
    font-size: 1.1rem;
    outline: none;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.email-input::placeholder {
    color: var(--gray-400);
}

.notify-btn {
    background: var(--ai-gradient);
    color: var(--light);
    border: none;
    border-radius: 1rem;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.notify-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light), var(--secondary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow), var(--shadow);
}

.notify-btn span {
    position: relative;
    z-index: 1;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--surface);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 0;
    max-width: 520px;
    width: 100%;
    box-shadow: var(--shadow), 0 0 100px rgba(124, 58, 237, 0.4);
    transform: scale(0.9);
    animation: modalSlideIn 0.4s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ai-gradient);
    opacity: 0.08;
    border-radius: 25px;
}

.modal-header {
    text-align: center;
    padding: 3.5rem 2.5rem 1.5rem;
    position: relative;
    z-index: 1;
}

.success-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: bounce 0.6s ease-out 0.2s;
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--light);
    margin: 0;
}

.modal-body {
    padding: 0 2.5rem 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.modal-body p {
    color: var(--gray-200);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.modal-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 15px;
    font-size: 0.95rem;
    color: var(--gray-100);
    font-weight: 500;
}

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

.modal-footer {
    padding: 0 2.5rem 3.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.modal-close-btn {
    background: var(--ai-gradient);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.modal-close-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light), var(--secondary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-close-btn:hover::before {
    opacity: 1;
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(124, 58, 237, 0.5);
}

.modal-close-btn span {
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    60% {
        transform: translateY(-6px);
    }
}

/* Footer */
footer {
    margin-top: auto;
    padding: 5rem 0 4rem;
    border-top: 1px solid var(--border);
    text-align: center;
    backdrop-filter: blur(20px);
}

.copyright {
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
    
    .badges {
        gap: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 2rem;
        min-height: 280px;
    }
    
    .feature-card h3 {
        font-size: 1.375rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .features {
        padding: 6rem 0;
        margin: 4rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .cta {
        padding: 6rem 0;
    }
    
    .cta h2 {
        font-size: 2.25rem;
    }
    
    .email-form {
        flex-direction: column;
        gap: 1rem;
        max-width: 450px;
    }
    
    .notify-btn {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .feature-card {
        padding: 2rem;
        min-height: 250px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

.floating {
    animation: float 10s ease-in-out infinite;
}

/* Mouse cursor effect for feature cards */
.feature-card {
    cursor: pointer;
}

.feature-card:hover {
    --x: 50%;
    --y: 50%;
}

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

/* Selection color */
::selection {
    background: rgba(124, 58, 237, 0.4);
    color: var(--light);
}