/* 
   Vantare Overlays Studio — Style System
   Anthropic-inspired clean, minimalist, high-end dark aesthetic.
*/

:root {
    /* Color Palette */
    --bg-base: #0b0c0e;
    --bg-surface: #121418;
    --bg-surface-elevated: #1a1d24;
    
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-muted: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 255, 255, 0.15);
    
    --text-primary: #f5f6f8;
    --text-muted: #949aab;
    --text-dimmed: #626775;
    
    --brand-primary: #ffffff;
    --brand-accent: #3b82f6; /* Subtle speed blue */
    --brand-accent-glow: rgba(59, 130, 246, 0.15);
    
    /* Layout */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --max-width: 1200px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Ambient Background Glows */
.glow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.45;
}

.glow-1 {
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.glow-2 {
    top: 15%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--brand-accent-glow) 0%, transparent 70%);
}

/* Common Layout Components */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-subtle);
}

.text-center {
    text-align: center;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(11, 12, 14, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-mono);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-primary);
    border-radius: 50%;
    display: inline-block;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: var(--bg-base);
    border: 1px solid var(--brand-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-accent);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.4rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 12rem 0 6rem 0;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-muted);
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-text {
    max-width: 640px;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 400;
}

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

.icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions a {
        width: 100%;
    }
}

/* Premium Telemetry Live Preview (CSS Component) */
.preview-container {
    width: 100%;
    max-width: 960px;
    background-color: rgba(18, 20, 24, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-muted);
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    margin-top: 2rem;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    background-color: rgba(11, 12, 14, 0.4);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-muted);
}

.preview-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dimmed);
    letter-spacing: 0.05em;
}

.preview-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.status-indicator {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.preview-content {
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 2rem;
    background: radial-gradient(80% 80% at 50% 50%, rgba(18, 20, 24, 0.3) 0%, rgba(11, 12, 14, 0.9) 100%);
}

.overlay-panel {
    background-color: rgba(18, 20, 24, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    font-family: var(--font-mono);
}

.panel-header {
    font-size: 0.75rem;
    color: var(--text-dimmed);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Leaderboard Panel */
.leaderboard-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    background-color: rgba(255, 255, 255, 0.01);
}

.leaderboard-row.active {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--brand-accent);
}

.leaderboard-row.leader {
    color: #f59e0b;
}

.leaderboard-row .gap {
    color: var(--text-muted);
}

/* Telemetry Dashboard (Center) */
.telemetry-dashboard {
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.speedometer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.speed-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.speed-unit {
    font-size: 0.75rem;
    color: var(--text-dimmed);
    margin-top: 0.2rem;
}

.gear-indicator {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-accent);
}

.rpm-bar-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.rpm-bar {
    width: 82%;
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #f59e0b 70%, #ef4444 100%);
}

.rpm-lights {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 0.5rem;
}

.rpm-lights span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--border-muted);
}

.rpm-lights span.active.green { background-color: #10b981; }
.rpm-lights span.active.yellow { background-color: #f59e0b; }
.rpm-lights span.active.red { background-color: #ef4444; box-shadow: 0 0 6px #ef4444; }

.pedal-inputs {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.pedal-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    height: 50px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    position: relative;
    justify-content: flex-end;
}

.pedal-fill {
    width: 100%;
    border-radius: 1px;
}

.throttle .pedal-fill { background-color: #10b981; }
.brake .pedal-fill { background-color: #ef4444; }

.pedal-bar span {
    font-size: 0.6rem;
    color: var(--text-dimmed);
    position: absolute;
    bottom: -16px;
}

/* Delta Panel */
.lap-time {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.delta-box {
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.delta-box.negative {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.sectors {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.sector {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}

.sector.purple { color: #a855f7; border-color: rgba(168, 85, 247, 0.2); }
.sector.green { color: #10b981; border-color: rgba(16, 185, 129, 0.2); }
.sector.yellow { color: #f59e0b; border-color: rgba(245, 158, 11, 0.2); }

@media (max-width: 900px) {
    .preview-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
}

/* Section Common Styling */
.section-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2rem;
}

.section-description.centered {
    margin: 0 auto 4rem auto;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2.5rem;
    transition: border-color 0.2s ease;
}

.problem-card:hover {
    border-color: var(--border-accent);
}

.card-icon {
    width: 42px;
    height: 42px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

/* Solution Section */
.solution-section {
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.solution-headline {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.solution-text {
    max-width: 720px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.solution-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-bullet {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.bullet-dot {
    width: 6px;
    height: 6px;
    background-color: var(--brand-accent);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .solution-headline {
        font-size: 2rem;
    }
    .solution-features {
        flex-direction: column;
        align-items: flex-start;
        max-width: 320px;
        margin: 0 auto;
        gap: 1.5rem;
    }
}

/* Inclusion Section */
.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.inclusion-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.inclusion-item {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
}

.inclusion-item:last-child {
    border-bottom: none;
}

.inclusion-num {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dimmed);
}

.inclusion-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.inclusion-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Pricing Tiers Section */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.tier-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.tier-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.tier-card.featured {
    background-color: var(--bg-surface-elevated);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.featured-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background-color: var(--text-primary);
    color: var(--bg-base);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.tier-header {
    margin-bottom: 1.5rem;
}

.tier-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    letter-spacing: -0.04em;
}

.tier-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.tier-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    min-height: 48px;
}

.tier-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex-grow: 1;
}

.tier-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tier-features li::before {
    content: "—";
    color: var(--text-dimmed);
}

/* Monetization Section */
.monetization-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.monetization-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-muted);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

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

.monetization-btn.stripe:hover {
    border-color: #635bff;
}

.monetization-btn.patreon:hover {
    border-color: #ff424d;
}

.monetization-btn.twitch:hover {
    border-color: #9146ff;
}

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

@media (max-width: 640px) {
    .monetization-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Notice Section */
.notice-box {
    background-color: rgba(245, 158, 11, 0.02);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.notice-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    color: #f59e0b;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.notice-icon {
    width: 18px;
    height: 18px;
}

.notice-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Final CTA Section */
.cta-section {
    padding: 10rem 0;
    background: radial-gradient(60% 60% at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 100%);
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 640px) {
    .cta-title {
        font-size: 2rem;
    }
    .cta-actions {
        flex-direction: column;
    }
    .cta-actions a {
        width: 100%;
    }
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dimmed);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-dimmed);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

@media (max-width: 640px) {
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Micro-animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.animate-pulse {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
