:root {
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent-color: #2997ff;
    --danger-color: #ff453a;
    --success-color: #30d158;
    --border-color: #333;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.alert {
    background: rgba(30, 209, 88, 0.1);
    border: 1px solid var(--success-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: var(--success-color);
}

.alert strong {
    display: block;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    margin-bottom: 4rem;
    animation: slideUp 0.8s ease-out;
}

h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Prerequisites */
.checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.checklist li {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    /* Align icon to top */
    border: 1px solid var(--border-color);
}

.checklist .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    /* Slight adjustment for alignment */
}

.checklist .list-content {
    display: flex;
    flex-direction: column;
}

.checklist .list-content strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #fff;
}

.checklist .list-content span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Steps */
.step-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.8;
    min-width: 3rem;
}

.step-content h3 {
    margin-bottom: 0.8rem;
    color: #fff;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.step-content a {
    color: var(--danger-color);
}

.step-image {
    width: 100%;
    /* max-width: 400px; */
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    display: block;
}

.note {
    font-size: 0.9rem;
    color: var(--accent-color) !important;
    margin-top: 0.5rem;
}

/* Video Section */
.video {
    margin-bottom: 4rem;
    animation: slideUp 0.8s ease-out;
    text-align: center;
}

.video video,
.video iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    /* Maintain aspect ratio for iframe */
    height: auto;
    /* Allow height to adjust based on width */
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

/* FAQ */
.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .step-card {
        flex-direction: column;
        gap: 0.5rem;
    }

    .step-number {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
}

/* AI Glow Overlay */
/* AI Glow Overlay */
.ai-glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    /* Initial state */
    box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
    animation: aiGlow 4s ease-in-out infinite;
}

@keyframes aiGlow {
    0% {
        box-shadow: inset 0 10px 20px -5px rgba(255, 0, 255, 0),
            inset 0 -10px 20px -5px rgba(0, 255, 255, 0);
    }

    50% {
        /* Reference Image Style: Top Pink/Magenta, Bottom Cyan/Blue */
        /* PC: Smaller spread to avoid blocking content */
        box-shadow: inset 0 15px 30px -5px rgba(255, 50, 150, 0.6),
            /* Top Pink */
            inset 0 -15px 30px -5px rgba(0, 200, 255, 0.6);
        /* Bottom Cyan */
    }

    100% {
        box-shadow: inset 0 10px 20px -5px rgba(255, 0, 255, 0),
            inset 0 -10px 20px -5px rgba(0, 255, 255, 0);
    }
}

/* Mobile optimization for glow */
@media (max-width: 600px) {
    .ai-glow-overlay {
        animation: aiGlowMobile 3s ease-in-out infinite;
    }

    @keyframes aiGlowMobile {
        0% {
            box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
        }

        50% {
            /* Mobile: Thicker, more vibrant glow matching the reference image */
            box-shadow: inset 0 20px 40px -5px rgba(255, 50, 150, 0.8),
                /* Top Pink */
                inset 0 -20px 40px -5px rgba(0, 200, 255, 0.8),
                /* Bottom Cyan */
                inset 10px 0 30px -10px rgba(150, 50, 255, 0.4),
                /* Side blend */
                inset -10px 0 30px -10px rgba(150, 50, 255, 0.4);
            /* Side blend */
        }

        100% {
            box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
        }
    }
}

/* Startup Wind Animation */
.startup-wind-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10000;
    /* Above everything */
    /* Gradient matching the AI colors: Transparent -> Pink -> Cyan -> Transparent */
    /* Opacity set to ~0.3 as requested */
    /* Diffused gradient: wider spread of colors */
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 50, 150, 0.1) 5%,
            rgba(255, 50, 150, 0.3) 20%,
            rgba(0, 200, 255, 0.3) 80%,
            rgba(0, 200, 255, 0.1) 95%,
            transparent 100%);
    transform: translateX(100%);
    /* Start off-screen right */
    animation: startupWind 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    /* Add a blur for a softer 'wind' feel */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Fade out top and bottom */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

@keyframes startupWind {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}