/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000000;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dim: rgba(255, 255, 255, 0.3);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.06);
    --glow: rgba(255, 255, 255, 0.04);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    filter: saturate(1.3) brightness(1.05) contrast(1.03);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.95);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
    border-radius: var(--radius);
}

.btn-yt {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
    gap: 10px;
}

.btn-yt:hover {
    background: #cc0000;
    border-color: #cc0000;
    transform: translateY(-1px);
}

.btn-yt svg {
    width: 20px;
    height: 20px;
}

.btn-download {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
    padding: 16px 40px;
    font-size: 16px;
    border-radius: var(--radius);
    opacity: 0.3;
    pointer-events: none;
    transition: all 0.4s ease;
}

.btn-download.unlocked {
    opacity: 1;
    pointer-events: auto;
}

.btn-download.unlocked:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}

/* ===== Background Elements ===== */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    background: var(--glow);
    pointer-events: none;
}

.glow-orb-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    filter: blur(150px);
}

.glow-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    filter: blur(120px);
}

.glow-orb-3 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: -150px;
    filter: blur(140px);
}

.glow-orb-4 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    right: -100px;
    filter: blur(120px);
}

.glow-orb-5 {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(160px);
}

.glow-orb-6 {
    width: 400px;
    height: 400px;
    top: 0;
    right: -100px;
    filter: blur(130px);
}

.glow-orb-7 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -150px;
    filter: blur(140px);
}

.glow-orb-8 {
    width: 700px;
    height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(180px);
    background: rgba(255, 255, 255, 0.03);
}

.dot-grid {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.5;
    pointer-events: none;
}

.line-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
}

.section-bg,
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-preview {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card-bg);
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* ===== Stats ===== */
.stats-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-suffix {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Sections ===== */
.features-section,
.showcase-section,
.specs-section,
.download-section {
    position: relative;
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Feature Cards ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    position: relative;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(255,255,255,0.03), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--border-light);
    background: var(--card-hover);
    transform: translateY(-2px);
}

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

.feature-card-large {
    grid-column: span 3;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
}

/* ===== Showcase ===== */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.showcase-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card-bg);
    transition: all 0.3s ease;
    aspect-ratio: 16 / 10;
}

.showcase-item:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.showcase-large {
    grid-column: span 2;
    aspect-ratio: 16 / 8;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== Specs ===== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spec-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    transition: all 0.3s ease;
}

.spec-card:hover {
    border-color: var(--border-light);
    background: var(--card-hover);
}

.spec-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.spec-icon svg {
    width: 100%;
    height: 100%;
}

.spec-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.spec-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== Download Section ===== */
.download-section {
    text-align: center;
    padding: 140px 0;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.download-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    min-width: 360px;
    transition: all 0.3s ease;
}

.download-step.completed {
    border-color: rgba(255, 255, 255, 0.2);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-number.done {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
}

.step-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.download-meta {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-dim);
}

.download-meta .dot {
    opacity: 0.3;
}

.download-lock-msg {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 12px;
    transition: opacity 0.3s ease;
}

/* Checkmark animation */
.checkmark-icon {
    display: none;
}

.step-number.done .checkmark-icon {
    display: block;
}

.step-number.done .step-num-text {
    display: none;
}

/* ===== FAQ Section ===== */
.faq-section {
    position: relative;
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.faq-grid {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

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

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-dim);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-column: span 2;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-large {
        grid-column: span 1;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .features-section,
    .showcase-section,
    .specs-section,
    .download-section,
    .faq-section {
        padding: 80px 0;
    }

    .download-step {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .stat-number, .stat-suffix {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}
