/* ProMapper Shared Styles — subpages */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0f;
    --bg-card: #111118;
    --bg-card-hover: #16161f;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --accent-secondary: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --gradient-1: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-2: linear-gradient(135deg, #06b6d4, #3b82f6);
    --gradient-3: linear-gradient(135deg, #8b5cf6, #ec4899);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
}

/* NAV */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 24px;
    transition: all 0.4s ease;
}
.site-header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-brand span { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a[aria-current="page"] { color: var(--text-primary); }
.nav-cta {
    background: var(--gradient-1); color: white; padding: 10px 24px;
    border-radius: 100px; text-decoration: none; font-size: 0.875rem; font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }

/* PAGE HERO (smaller for subpages) */
.page-hero {
    padding: 140px 24px 60px;
    text-align: center;
    position: relative;
}
.page-hero::before {
    content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none; opacity: 0.3;
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
    line-height: 1.1; letter-spacing: -0.03em; max-width: 700px; margin: 0 auto 16px;
}
.page-hero .subtitle {
    font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto;
}
.gradient-text {
    background: var(--gradient-1); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.breadcrumb {
    font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ARTICLE CONTENT */
.article { max-width: 760px; margin: 0 auto; padding: 0 24px 120px; }
.article h2 {
    font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em;
    margin: 48px 0 16px; line-height: 1.2;
}
.article h3 {
    font-size: 1.25rem; font-weight: 700; margin: 36px 0 12px; line-height: 1.3;
}
.article p { color: var(--text-secondary); margin-bottom: 20px; font-size: 1.05rem; }
.article strong { color: var(--text-primary); }
.article ul, .article ol {
    color: var(--text-secondary); margin: 0 0 20px 24px; font-size: 1.05rem;
}
.article li { margin-bottom: 8px; }
.article a { color: var(--accent); text-decoration: none; }
.article a:hover { text-decoration: underline; }
a.btn-primary { color: white; text-decoration: none; }
.article img {
    width: 100%; border-radius: 16px; margin: 32px 0;
    border: 1px solid var(--border);
}
.article blockquote {
    border-left: 3px solid var(--accent); padding: 16px 24px;
    background: var(--bg-card); border-radius: 0 12px 12px 0;
    margin: 24px 0; color: var(--text-secondary); font-style: italic;
}
.article .callout {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 24px; margin: 24px 0;
}
.article .callout-title {
    font-weight: 700; color: var(--accent); font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px;
}
.article table {
    width: 100%; border-collapse: collapse; margin: 24px 0;
    font-size: 0.95rem;
}
.article th {
    text-align: left; padding: 12px 16px; background: var(--bg-card);
    border-bottom: 1px solid var(--border); font-weight: 600; font-size: 0.85rem;
}
.article td {
    padding: 12px 16px; border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}
.article .step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--gradient-1); color: white; font-weight: 700;
    font-size: 0.85rem; margin-right: 12px; flex-shrink: 0;
}

/* FAQ */
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
    padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1rem;
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    transition: background 0.2s;
}
.faq-item summary:hover { background: var(--bg-card-hover); }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--accent); }
.faq-item[open] summary::after { content: '-'; }
.faq-item .faq-answer {
    padding: 0 24px 20px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7;
}

/* CTA BANNER */
.cta-banner {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; padding: 48px; text-align: center; margin: 48px 0;
}
.cta-banner h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 24px; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--gradient-1); color: white; padding: 14px 28px;
    border-radius: 14px; text-decoration: none; font-size: 1rem; font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }

/* FOOTER */
.site-footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 48px 24px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.footer-brand span { font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
    .article { padding: 0 20px 80px; }
}
