:root {
    --primary: #00d2ff;
    --primary-alt: #3a7bd5;
    --bg-dark: #0a0c10;
    --bg-card: #151921;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-blue: rgba(0, 210, 255, 0.1);
    --accent-purple: rgba(147, 51, 234, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --grid-color: rgba(255, 255, 255, 0.03);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.05), transparent 80%),
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Nav */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.btn-glow:hover::after {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

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

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.mockup-container {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mockup-img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* Features */
.features {
    padding: 50px 0;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-blue);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.bg-blue {
    background: var(--accent-blue);
}

.bg-teal {
    background: rgba(20, 184, 166, 0.1);
}

.bg-purple {
    background: var(--accent-purple);
}

/* Steps (9router style) */
.get-started {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.centered {
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.step-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: monospace;
}

.mock-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.8rem;
    margin: 0.2rem;
}

.mock-progress {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Download Section */
.cta-section {
    padding: 50px 0;
}

.cta-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
    padding: 4rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.version-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.version-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.version-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.v-tag {
    font-weight: 700;
    color: var(--primary);
}

.v-info {
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.v-dl {
    font-size: 1.5rem;
    color: green;
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stats Badge */
.stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.icon-sm {
    width: 16px;
    height: 16px;
}

/* 3D Tilt Effect (Static) */
.hero-visual {
    perspective: 1000px;
    display: flex;
    justify-content: flex-end;
}

.tilt-card {
    transform: rotateY(-18deg) rotateX(8deg);
    /* Static tilt */
    transform-style: preserve-3d;
    max-width: 650px;
    /* Larger size */
}

.mockup-container {
    position: relative;
    padding: 8px;
    /* Less background */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    /* More rounded */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.4);
}

.mockup-img {
    width: 100%;
    border-radius: 28px;
    /* More rounded */
    display: block;
    transform: translateZ(10px);
}

/* Icons in cards */
.feature-icon i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.step-box i {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

.v-dl i {
    width: 24px;
    height: 24px;
}

/* 404 Section */
#not-found i {
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-actions {
        justify-content: center;
    }

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

    .version-item {
        grid-template-columns: 1fr auto;
        text-align: center;
        gap: 0.5rem;
    }

    .v-info {
        display: none;
    }

    .hero-content p {
        margin: 0 auto 2.5rem auto;
    }
}

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

    .container {
        padding-inline: 1.5rem;
    }

    .hero {
        padding-top: 30px;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    .feature-card,
    .step-card {
        padding: 1.5rem;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
    }

    .cta-card h2 {
        font-size: 1.8rem;
        letter-spacing: -0.5px;
    }

    .cta-card h2 span {
        display: block;
    }

    .grid-3 {
        gap: 1.25rem;
    }
}

/* Studio Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    color: var(--text-main);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s forwards;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    margin: 3rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.studio-thumb {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    display: block;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}