:root {
    --bg-deep: #0b0f19;
    --bg-surface: #131826;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #9d50ff; /* Temple Purple */
    --accent-hover: #8b3dff;
    --accent-glow: rgba(157, 80, 255, 0.4);
    --accent-subtle: rgba(157, 80, 255, 0.1);
    --border: rgba(148, 163, 184, 0.12);
    --font-body: "Inter", sans-serif;
    --font-display: "Plus Jakarta Sans", sans-serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    scroll-behavior: smooth; /* Smooth scrolling for the nav links */
}

body {
    background-color: var(--bg-deep);
    background-image: radial-gradient(circle at 30% 0%, #1d1638 0%, transparent 50%);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

#bg-canvas { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -1; 
    pointer-events: none; 
}

/* TOP NAVBAR */
.navbar-top { 
    display: flex; justify-content: flex-start; align-items: center; 
    padding: 1.5rem 4rem; max-width: 1440px; margin: 0 auto; width: 100%;
}

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon { 
    background: var(--accent-subtle); border: 1px solid rgba(157, 80, 255, 0.4); 
    box-shadow: 0 0 16px var(--accent-glow); width: 32px; height: 32px; 
    border-radius: 8px; display: flex; align-items: center; justify-content: center; 
}
.logo-icon svg { width: 20px; fill: var(--accent); }
.logo-text { font-size: 1.25rem; font-weight: 800; text-shadow: 0 0 15px rgba(157, 80, 255, 0.5); }

/* FLOATING SIDE NAVBAR */
.nav-links {
    position: fixed; right: 1.5rem; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 0.75rem; align-items: center;
    background: rgba(19, 24, 38, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0.75rem; border-radius: 100px; border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); z-index: 2000;
}

.nav-links a, .account-btn {
    color: var(--text-secondary); text-decoration: none; width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    transition: all 0.3s ease; position: relative; background: transparent; border: none; cursor: pointer;
}

.nav-links a:hover, .account-btn:hover { color: var(--text-primary); background: var(--accent-subtle); }
.nav-links a.active { color: #ffffff; background: var(--accent); box-shadow: 0 0 15px var(--accent-glow); }

/* Tooltips */
.nav-links a::after, .account-btn::after {
    content: attr(data-label); position: absolute; right: 130%; background: var(--bg-surface);
    color: var(--text-primary); padding: 6px 12px; border-radius: 8px; font-size: 0.75rem;
    font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: 0.2s;
    border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.nav-links a:hover::after, .account-btn:hover::after { opacity: 1; }

/* HERO SECTION */
/* HERO SECTION */
.hero { 
    display: grid; 
    /* Changed grid scale to make the right (video) side substantially bigger */
    grid-template-columns: 1fr 2fr; 
    align-items: center; 
    padding: 6rem 4rem; 
    max-width: 1700px; /* Widened to allow a larger video showcase */
    margin: 0 auto; 
    gap: 2rem; 
}
.badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 2rem;
}
.badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); }

.hero-title { 
    font-family: var(--font-display); font-size: 5.5rem; font-weight: 900; 
    line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 1.5rem; 
}
.purple-accent { color: var(--accent); text-shadow: 0 0 40px rgba(157, 80, 255, 0.3); }

.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.6; max-width: 500px; margin-bottom: 2.5rem; }

/* BUTTONS */
.btn { 
    border: none; cursor: pointer; font-family: var(--font-body); font-weight: 600; 
    display: inline-flex; align-items: center; gap: 0.5rem; transition: 0.2s;
    text-decoration: none; justify-content: center;
}
.btn-purple { background: var(--accent); color: #fff; box-shadow: 0 4px 20px var(--accent-glow); }
.btn-purple:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 25px rgba(157, 80, 255, 0.5); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--bg-surface); border-color: var(--text-secondary); }

.btn-nav { padding: 0.6rem 1.25rem; border-radius: 8px; }
.btn-main { padding: 1rem 1.75rem; border-radius: 12px; font-size: 1.05rem; }

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
    filter: grayscale(0.5);
}

.hero-cta { display: flex; align-items: center; gap: 1.25rem; }
.platform-list { font-size: 0.85rem; color: var(--text-muted); }

/* SOCIAL PROOF */
.social-proof { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; }
.avatars { display: flex; align-items: center; }
.avatar {
    width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: white;
    font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg-deep); margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.social-text { font-size: 0.85rem; color: var(--text-muted); }
.social-text strong { color: var(--text-primary); font-weight: 600; }

.media-placeholder { 
    aspect-ratio: 16 / 9; background: transparent; border: 1px dashed rgba(255, 255, 255, 0.15); 
    border-radius: 18px; display: flex; align-items: center; justify-content: center; 
    color: var(--text-muted); font-size: 0.95rem; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* FEATURE SLIDE */
.feature-slide { padding: 10rem 4rem; max-width: 1100px; margin: 0 auto; text-align: center; }
.slide-title { font-family: var(--font-display); font-size: 4rem; font-weight: 800; margin-bottom: 1.5rem; }
.slide-subtitle { font-size: 1.25rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; line-height: 1.6; }
.gif-container {
    background: var(--bg-surface); border: 1px solid var(--border); border-radius: 20px;
    overflow: hidden; margin-top: 4rem; box-shadow: 0 40px 100px rgba(0,0,0,0.4); position: relative;
}
.window-chrome {
    background: rgba(255,255,255,0.03); padding: 12px 20px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 10px;
}
.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.window-title { font-size: 0.75rem; color: var(--text-muted); flex: 1; text-align: center; font-family: monospace; }
.feature-gif { width: 100%; display: block; }

/* MODELS SECTION */
.models-section { padding: 6rem 4rem; max-width: 1440px; margin: 0 auto; }
.models-grid { 
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 1.5rem; margin-top: 4rem; 
}
.model-card {
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.5rem; transition: all 0.3s ease; position: relative;
}
.model-card:hover {
    transform: translateY(-5px); border-color: var(--hover-color, var(--accent));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); background: rgba(255, 255, 255, 0.04);
}

/* PRICING SECTION */
.pricing-section { padding: 6rem 4rem 10rem; max-width: 1440px; margin: 0 auto; }
.pricing-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; 
}
.plan-card {
    background: var(--bg-surface); border: 1px solid var(--border); border-radius: 24px;
    padding: 2.5rem 2rem; position: relative; display: flex; flex-direction: column; transition: 0.3s ease;
}
.plan-card:hover { transform: translateY(-8px); border-color: var(--text-secondary); }
.plan-card.pro-plan { border-color: var(--accent); box-shadow: 0 0 40px var(--accent-subtle); }
.plan-card.pro-plan:hover { box-shadow: 0 0 60px var(--accent-glow); }
.plan-badge {
    position: absolute; top: -14px; right: 2rem; background: var(--accent); color: white;
    font-size: 0.85rem; font-weight: 700; padding: 6px 16px; border-radius: 999px;
    box-shadow: 0 4px 12px var(--accent-glow);
}
.plan-name { font-size: 1.35rem; font-weight: 600; color: var(--text-secondary); }
.plan-price { font-size: 3.5rem; font-weight: 900; font-family: var(--font-display); line-height: 1; margin: 1rem 0 0.5rem; color: white; }
.plan-features { list-style: none; margin-top: 2rem; flex-grow: 1; display: flex; flex-direction: column; gap: 1rem; }
.plan-features li { display: flex; align-items: center; font-size: 0.95rem; color: var(--text-primary); }

/* SUBPAGE SECTIONS */
.download-section { 
    padding: 8rem 4rem; max-width: 1200px; margin: 0 auto; min-height: 80vh;
}

.download-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; margin-top: 4rem;
}

.download-card {
    background: var(--bg-surface); border: 1px solid var(--border);
    border-radius: 24px; padding: 3rem 2rem; text-align: center;
    transition: 0.3s ease; display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.download-card:hover { transform: translateY(-8px); border-color: var(--text-secondary); }

.os-icon { 
    width: 80px; height: 80px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.03); border-radius: 20px; margin-bottom: 1rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 3rem; }
    .hero-title { font-size: 4.5rem; }
    .slide-title { font-size: 3rem; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { right: 0.5rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    .navbar-top { padding: 1.5rem 2rem; }
    .hero, .feature-slide, .models-section, .pricing-section { padding: 4rem 2rem; }
    .pricing-grid { grid-template-columns: 1fr; }
}