/* ============================================
   SHARED STYLES FOR ALL SLOTVFX PAGES
   ============================================ */
:root {
    --color-bg: #07080c;
    --color-surface: #0d0f16;
    --color-surface-2: #141720;
    --color-surface-3: #1a1d2b;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(255, 255, 255, 0.12);
    --color-text: #e8eaed;
    --color-text-secondary: #8b90a0;
    --color-text-muted: #5a5f72;
    --color-primary: #6366f1;
    --color-primary-glow: rgba(99, 102, 241, 0.4);
    --color-accent: #a78bfa;
    --color-accent-2: #f472b6;
    --color-success: #34d399;
    --color-warning: #fbbf24;
    --gradient-hero: linear-gradient(135deg, #6366f1 0%, #a78bfa 30%, #f472b6 60%, #fb923c 100%);
    --gradient-card: linear-gradient(145deg, rgba(99, 102, 241, 0.08) 0%, rgba(167, 139, 250, 0.04) 100%);
    --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(99, 102, 241, 0.12);
    color: var(--color-accent);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ============================================
   BACKGROUND GLOW
   ============================================ */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-glow::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: rgba(7, 8, 12, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

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

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

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

.nav-cta {
    padding: 10px 22px;
    border-radius: 100px;
    background: var(--color-primary);
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--color-primary-glow);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 30px var(--color-primary-glow);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 12px;
    line-height: 1.6;
}

.footer h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   PAGE CONTENT STYLES
   ============================================ */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 17px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.page-content {
    padding: 60px 0 120px;
    position: relative;
    z-index: 1;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

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

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

.card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

/* Prose / Long-form content */
.prose {
    max-width: 760px;
    margin: 0 auto;
}

.prose h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 48px 0 16px;
    letter-spacing: -0.02em;
}

.prose h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 32px 0 12px;
}

.prose p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.prose ul,
.prose ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.prose li {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
    list-style: disc;
}

.prose ol li {
    list-style: decimal;
}

.prose a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.prose code {
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--color-surface-3);
    color: var(--color-accent);
}

.prose pre {
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    overflow-x: auto;
    margin-bottom: 16px;
}

.prose pre code {
    background: none;
    padding: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Timeline (for changelog) */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-entry {
    position: relative;
    margin-bottom: 48px;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 12px var(--color-primary-glow);
}

.timeline-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-entry h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-entry p,
.timeline-entry li {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.timeline-entry ul {
    padding-left: 20px;
    margin-top: 8px;
}

.timeline-entry li {
    list-style: disc;
    margin-bottom: 4px;
}

/* Form styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--color-primary-glow);
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.team-member {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-surface-3);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.team-member h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-member p {
    font-size: 13px;
    color: var(--color-text-secondary);
}

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

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

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

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

    .breadcrumb {
        padding: 10px 0;
    }

    .faq-section {
        padding: 40px 0;
    }
}

/* ── Breadcrumb Navigation ── */
.breadcrumb {
    padding: 14px 0;
    font-size: 13px;
    color: var(--color-text-muted);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb li+li::before {
    content: "›";
    color: var(--color-text-muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb .current {
    color: var(--color-text);
    font-weight: 500;
}

/* ── FAQ Section ── */
.faq-section {
    padding: 80px 0 64px;
    position: relative;
}

.faq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent-2), transparent);
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-header h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.faq-header p {
    font-size: 15px;
    color: var(--color-text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-grid {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(167, 139, 250, 0.02) 100%);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.2);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(167, 139, 250, 0.03) 100%);
}

.faq-item.open {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.05);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(167, 139, 250, 0.04) 100%);
}

.faq-item.open::before {
    opacity: 1;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    letter-spacing: -0.01em;
    line-height: 1.4;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #fff;
}

.faq-question .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-surface-3);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question .faq-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-text-muted);
    stroke-width: 2;
    fill: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(0deg);
}

.faq-item.open .faq-question .faq-icon {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-item.open .faq-question .faq-icon svg {
    stroke: var(--color-accent);
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-inner p {
    padding: 0 24px 20px 24px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    margin-left: 24px;
    margin-right: 24px;
    padding-left: 0;
    padding-right: 0;
}

/* ── FAQ Responsive ── */
@media (max-width: 768px) {
    .faq-section {
        padding: 48px 0 40px;
    }

    .faq-header h2 {
        font-size: 24px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .faq-answer-inner p {
        padding: 0 18px 16px;
        margin-left: 18px;
        margin-right: 18px;
    }
}