/* AI Report page (templates/ai_report.html). A versioned static file, cached for a year,
   instead of 28 KB of CSS repeated in every copy of the page. */
/* ── RESET & GLOBALS ───────────────────────────────────────── */
.ar-page { font-family: 'Inter', sans-serif; }
.ar-page *, .ar-page *::before, .ar-page *::after { box-sizing: border-box; }

/* ── HERO ──────────────────────────────────────────────────── */
.ar-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 24px 80px;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34,197,94,0.12) 0%, transparent 60%), #060b18;
}
.ar-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2322c55e' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.ar-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 800;
    color: #22c55e;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.ar-badge span { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.ar-hero h1 {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 860px;
    margin: 0 auto 20px;
}
.ar-hero h1 em { font-style: normal; color: #22c55e; }
.ar-hero .ar-sub {
    font-size: clamp(15px, 2vw, 18px);
    color: #64748b;
    max-width: 560px;
    line-height: 1.75;
    margin: 0 auto 40px;
}

/* ── HERO GENERATE BOX ─────────────────────────────────────── */
.hero-gen-box {
    background: rgba(13,24,41,0.9);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 32px 36px;
    max-width: 580px;
    width: 100%;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(34,197,94,0.08);
    position: relative;
    z-index: 1;
    margin: 0 auto;
}
.hero-gen-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.hero-gen-input {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 18px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color 0.2s;
    font-family: inherit;
}
.hero-gen-input::placeholder { text-transform: none; font-weight: 400; color: #475569; font-size: 14px; letter-spacing: 0; }
.hero-gen-input:focus { outline: none; border-color: #22c55e; background: rgba(34,197,94,0.04); }
.hero-gen-btn {
    background: #22c55e;
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    padding: 14px 22px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 7px;
}
.hero-gen-btn:hover { background: #16a34a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(34,197,94,0.3); }
.hero-gen-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.hero-gen-note {
    font-size: 12px;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hero-gen-note a { color: #22c55e; }
.hero-gen-note > span { text-align: center; }
.hero-gen-note + .hero-gen-note { margin-top: 8px; }

@keyframes spin { to { transform: rotate(360deg); } }
/* Report state (progress, blocked, failed, ready) is the shared .sba-rs card. */
.gen-state { display: none; }
/* Result */
.gen-result { display: none; }
.gen-success {
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.gen-success-text { flex: 1; min-width: 140px; }
.gen-success-text strong { color: #f1f5f9; font-size: 14px; display: block; margin-bottom: 2px; }
.gen-success-text span { color: #64748b; font-size: 12px; }
.gen-dl { background: #22c55e; color: #000; border-radius: 8px; padding: 9px 18px; font-size: 13px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ── STATS BAR ─────────────────────────────────────────────── */
.stats-bar {
    background: rgba(13,24,41,0.7);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 28px 24px;
}
.stats-bar-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 12px 20px;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 32px; font-weight: 900; color: #22c55e; letter-spacing: -0.03em; display: block; }
.stat-lbl { font-size: 12px; color: #64748b; font-weight: 600; margin-top: 2px; }

/* ── PDF PREVIEW MOCK ──────────────────────────────────────── */
.preview-section {
    padding: 100px 24px;
    background: #060b18;
}
.preview-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.preview-copy { }
.preview-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #22c55e;
    margin-bottom: 14px;
}
.preview-copy h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    color: #f1f5f9;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 20px;
}
.preview-copy p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 28px;
}
.preview-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.preview-bullets li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #94a3b8; }
.preview-bullets li .bul-icon { width: 22px; height: 22px; border-radius: 50%; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.preview-bullets li .bul-icon svg { width: 11px; height: 11px; }
.preview-bullets li strong { color: #f1f5f9; }

/* The PDF Mock */
.pdf-mock {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.4s ease;
    font-family: 'Inter', sans-serif;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.pdf-mock:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }

.pdf-header {
    background: #0f1e36;
    padding: 18px 22px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pdf-header-left { }
.pdf-ticker { font-size: 22px; font-weight: 900; color: #fff; letter-spacing: 0.04em; }
.pdf-company { font-size: 10px; color: #64748b; margin-top: 2px; font-weight: 500; }
.pdf-date { font-size: 9px; color: #475569; text-align: right; }
.pdf-logo { font-size: 8px; color: #22c55e; font-weight: 800; letter-spacing: 0.08em; }

/* Score Gauge */
.pdf-score-section {
    padding: 16px 22px;
    border-bottom: 1px solid #f1f5f9;
}
.pdf-score-label { font-size: 9px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.pdf-score-row { display: flex; align-items: center; gap: 14px; }
.pdf-score-num { font-size: 36px; font-weight: 900; color: #16a34a; line-height: 1; }
.pdf-score-right { flex: 1; }
.pdf-gauge-track { height: 10px; background: #f1f5f9; border-radius: 5px; overflow: hidden; margin-bottom: 6px; }
.pdf-gauge-fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, #dc2626 0%, #f59e0b 40%, #22c55e 75%); width: 78%; }
.pdf-gauge-labels { display: flex; justify-content: space-between; font-size: 8px; color: #94a3b8; }
.pdf-verdict { display: inline-block; background: #dcfce7; color: #16a34a; font-size: 9px; font-weight: 800; padding: 3px 10px; border-radius: 20px; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Scorecard */
.pdf-scorecard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid #f1f5f9;
}
.pdf-sc-item { padding: 10px 10px; border-right: 1px solid #f1f5f9; }
.pdf-sc-item:last-child { border-right: none; }
.pdf-sc-label { font-size: 7px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.pdf-sc-val { font-size: 12px; font-weight: 800; color: #1e293b; }
.pdf-sc-sub { font-size: 7px; color: #94a3b8; margin-top: 2px; }

/* Sections */
.pdf-section { border-left: 3px solid #22c55e; margin: 10px 12px; padding: 8px 10px; background: #f8fafc; border-radius: 0 6px 6px 0; }
.pdf-section.orange { border-left-color: #f97316; }
.pdf-section.blue { border-left-color: #3b82f6; }
.pdf-section.red { border-left-color: #ef4444; }
.pdf-section-title { font-size: 9px; font-weight: 800; color: #1e293b; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.pdf-section-tag { display: inline-block; font-size: 7px; font-weight: 800; padding: 2px 7px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 5px; }
.pdf-section-tag.good { background: #dcfce7; color: #16a34a; }
.pdf-section-tag.neutral { background: #fef3c7; color: #d97706; }
.pdf-section-tag.bad { background: #fee2e2; color: #dc2626; }
.pdf-section-bullet { font-size: 7.5px; color: #64748b; line-height: 1.5; }
.pdf-section-bullet::before { content: '→ '; color: #22c55e; font-weight: 700; }
.pdf-footer { background: #0f1e36; padding: 8px 22px; font-size: 7px; color: #334155; text-align: center; }

/* ── WHY SECTION ───────────────────────────────────────────── */
.why-section {
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 100px 24px;
}
.why-inner { max-width: 1100px; margin: 0 auto; }
.why-inner h2 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 900;
    color: #f1f5f9;
    text-align: center;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}
.why-inner > p {
    text-align: center;
    color: #64748b;
    font-size: 16px;
    max-width: 540px;
    margin: 0 auto 60px;
    line-height: 1.7;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.why-card {
    background: rgba(13,24,41,0.7);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px 26px;
    transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover { border-color: rgba(34,197,94,0.2); transform: translateY(-2px); }
.why-num {
    font-size: 48px;
    font-weight: 900;
    color: rgba(34,197,94,0.15);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}
.why-card h3 { font-size: 17px; font-weight: 800; color: #f1f5f9; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: #64748b; line-height: 1.75; }
.why-card .why-tag {
    display: inline-block;
    background: rgba(239,68,68,0.1);
    color: #f87171;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.why-card .why-tag.green { background: rgba(34,197,94,0.1); color: #22c55e; }
.why-card .why-tag.yellow { background: rgba(250,204,21,0.1); color: #facc15; }

/* ── SECTION EXPLORER ──────────────────────────────────────── */
.explorer-section { padding: 100px 24px; background: #060b18; }
.explorer-inner { max-width: 1100px; margin: 0 auto; }
.explorer-inner h2 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 900;
    color: #f1f5f9;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.explorer-inner > p { color: #64748b; font-size: 15px; margin-bottom: 40px; max-width: 540px; line-height: 1.7; }
.explorer-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}
.explorer-tabs { display: flex; flex-direction: column; gap: 6px; }
.exp-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(13,24,41,0.5);
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
}
.exp-tab:hover { border-color: rgba(255,255,255,0.12); background: rgba(13,24,41,0.8); }
.exp-tab.active { border-color: rgba(34,197,94,0.35); background: rgba(34,197,94,0.05); }
.exp-tab .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.exp-tab .dot.green { background: #22c55e; }
.exp-tab .dot.blue { background: #3b82f6; }
.exp-tab .dot.yellow { background: #facc15; }
.exp-tab .dot.purple { background: #a855f7; }
.exp-tab .dot.orange { background: #f97316; }
.exp-tab .dot.pink { background: #ec4899; }
.exp-tab .tab-label { font-size: 13px; font-weight: 700; color: #94a3b8; transition: color 0.15s; }
.exp-tab.active .tab-label { color: #f1f5f9; }
.exp-tab .tab-num { font-size: 10px; color: #475569; margin-left: auto; font-weight: 600; }

.explorer-panel {
    background: rgba(13,24,41,0.7);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 32px;
    min-height: 420px;
}
.exp-content { display: none; }
.exp-content.active { display: block; }
.exp-content-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.exp-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.exp-icon.green { background: rgba(34,197,94,0.12); }
.exp-icon.blue { background: rgba(59,130,246,0.12); }
.exp-icon.yellow { background: rgba(250,204,21,0.12); }
.exp-icon.purple { background: rgba(168,85,247,0.12); }
.exp-icon.orange { background: rgba(249,115,22,0.12); }
.exp-icon.pink { background: rgba(236,72,153,0.12); }
.exp-content h3 { font-size: 20px; font-weight: 800; color: #f1f5f9; margin-bottom: 4px; }
.exp-content .exp-sub { font-size: 13px; color: #64748b; }
.exp-content > p { font-size: 14px; color: #94a3b8; line-height: 1.8; margin-bottom: 24px; }
.exp-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.exp-metric {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px;
}
.exp-metric-label { font-size: 10px; color: #64748b; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 6px; font-weight: 600; }
.exp-metric-val { font-size: 18px; font-weight: 800; color: #f1f5f9; margin-bottom: 2px; }
.exp-metric-sub { font-size: 10px; color: #475569; }
.exp-bullets { display: flex; flex-direction: column; gap: 8px; }
.exp-bullet { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #94a3b8; }
.exp-bullet::before { content: '→'; color: #22c55e; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── HOW IT WORKS ──────────────────────────────────────────── */
.how-section {
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 100px 24px;
}
.how-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.how-inner h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; color: #f1f5f9; letter-spacing: -0.03em; margin-bottom: 12px; }
.how-inner > p { color: #64748b; font-size: 15px; margin-bottom: 60px; }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; position: relative; }
.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,197,94,0.3), transparent);
}
.step { text-align: center; }
.step-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(34,197,94,0.08);
    border: 2px solid rgba(34,197,94,0.25);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px; font-weight: 900; color: #22c55e;
    position: relative; z-index: 1;
}
.step h4 { font-size: 15px; font-weight: 800; color: #f1f5f9; margin-bottom: 8px; }
.step p { font-size: 13px; color: #64748b; line-height: 1.65; }

/* ── PLANS ─────────────────────────────────────────────────── */
.plans-section { padding: 100px 24px; background: #060b18; }
.plans-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.plans-inner h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; color: #f1f5f9; letter-spacing: -0.03em; margin-bottom: 12px; }
.plans-inner > p { color: #64748b; font-size: 15px; margin-bottom: 48px; }
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    text-align: left;
}
.plan-c {
    background: rgba(13,24,41,0.8);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 24px 20px;
    transition: border-color 0.2s;
}
.plan-c.featured { border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.04); }
.plan-badge-c { font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #22c55e; margin-bottom: 10px; display: block; }
.plan-name-c { font-size: 20px; font-weight: 900; color: #f1f5f9; margin-bottom: 3px; }
.plan-price-c { font-size: 12px; color: #64748b; margin-bottom: 16px; }
.plan-reports-c { font-size: 16px; font-weight: 800; color: #f1f5f9; margin-bottom: 4px; }
.plan-detail-c { font-size: 11px; color: #64748b; line-height: 1.55; margin-bottom: 18px; }
.plan-cta-c {
    display: block; text-align: center; padding: 9px; border-radius: 8px;
    font-size: 12px; font-weight: 800; text-decoration: none; transition: opacity 0.15s;
}
.plan-cta-c.acc { background: #22c55e; color: #000; }
.plan-cta-c.sec { background: rgba(255,255,255,0.06); color: #94a3b8; border: 1px solid rgba(255,255,255,0.08); }
.plan-cta-c:hover { opacity: 0.85; }

/* ── BOTTOM CTA ─────────────────────────────────────────────── */
.bottom-cta-ar {
    background: linear-gradient(135deg, rgba(34,197,94,0.07) 0%, rgba(34,197,94,0.02) 100%);
    border-top: 1px solid rgba(34,197,94,0.15);
    padding: 100px 24px;
    text-align: center;
}
.bottom-cta-ar h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: #f1f5f9; letter-spacing: -0.03em; margin-bottom: 14px; }
.bottom-cta-ar p { color: #64748b; font-size: 16px; max-width: 480px; margin: 0 auto 40px; line-height: 1.7; }
.bottom-gen-wrap { max-width: 520px; margin: 0 auto; }
.bottom-gen-row { display: flex; gap: 10px; }
.bottom-gen-row input { flex: 1; background: rgba(13,24,41,0.9); border: 1.5px solid rgba(255,255,255,0.1); border-radius: 12px; color: #f1f5f9; font-size: 15px; font-weight: 700; padding: 14px 18px; letter-spacing: 0.06em; text-transform: uppercase; font-family: inherit; transition: border-color 0.2s; }
.bottom-gen-row input::placeholder { text-transform: none; font-weight: 400; color: #475569; font-size: 13px; letter-spacing: 0; }
.bottom-gen-row input:focus { outline: none; border-color: #22c55e; }
.bottom-gen-row button { background: #22c55e; color: #000; border: none; border-radius: 12px; font-size: 14px; font-weight: 800; padding: 14px 22px; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 7px; white-space: nowrap; transition: all 0.15s; }
.bottom-gen-row button:hover { background: #16a34a; box-shadow: 0 8px 24px rgba(34,197,94,0.3); }
.bottom-gen-note { font-size: 12px; color: #475569; margin-top: 12px; }
.bottom-gen-note a { color: #22c55e; }

/* ── PREVIEW CARD NEW ELEMENTS ──────────────────────────────── */
.pc-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.pc-cat-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; padding: 9px 10px; }
.pc-cat-label { font-size: 9px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 5px; }
.pc-cat-bar-track { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; margin-bottom: 4px; }
.pc-cat-bar-fill { height: 100%; border-radius: 2px; }
.pc-cat-val { font-size: 11px; font-weight: 800; color: #f1f5f9; }
.pc-fv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.pc-fv-col { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 9px; text-align: center; }
.pc-fv-label { font-size: 9px; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.pc-fv-price { font-size: 14px; font-weight: 900; margin-bottom: 1px; }
.pc-section-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pc-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 4px 10px; font-size: 10px; font-weight: 700; }
.pc-pill.good  { background: rgba(34,197,94,0.1);  color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.pc-pill.neutral { background: rgba(250,204,21,0.1); color: #facc15; border: 1px solid rgba(250,204,21,0.2); }
.pc-pill.bad   { background: rgba(248,113,113,0.1); color: #f87171; border: 1px solid rgba(248,113,113,0.2); }
.pc-pill.unknown { background: rgba(148,163,184,0.08); color: #94a3b8; border: 1px solid rgba(148,163,184,0.15); }
.pc-section-label { font-size: 8px; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 7px; }
.pc-eq-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; padding: 5px 12px; font-size: 11px; font-weight: 800; margin-bottom: 8px; }
.pc-conf-row { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #64748b; }
.pc-conf-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.pc-conf-fill { height: 100%; background: linear-gradient(90deg, #3b82f6, #a855f7); border-radius: 2px; }

/* ── UPDATED SCORECARD (5 cols) ─────────────────────────────── */
.pdf-scorecard { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid #f1f5f9; }

/* ── CATEGORY SCORE BAR STRIP ───────────────────────────────── */
.pdf-cat-strip { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid #f1f5f9; }
.pdf-cat-cell { padding: 7px 6px; border-right: 1px solid #f1f5f9; text-align: center; }
.pdf-cat-cell:last-child { border-right: none; }
.pdf-cat-name { font-size: 6px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; }
.pdf-cat-pct { font-size: 10px; font-weight: 800; }
.pdf-cat-mini { height: 3px; background: #f1f5f9; border-radius: 2px; overflow: hidden; margin-top: 3px; }
.pdf-cat-mini-fill { height: 100%; border-radius: 2px; }

/* ── FADE IN ────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── FUNDAMENTALS VIDEO SECTION ─────────────────────────────── */
.hf-video-section {
    padding: 80px 24px;
    background: #080e1d;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.hf-video-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 58fr 42fr;
    gap: 48px;
    align-items: flex-start;
}
.hf-video-player-wrap { display: flex; flex-direction: column; gap: 0; }
.hf-video-player {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 14px;
    border: 1px solid rgba(34,197,94,0.18);
    background: #000;
    display: block;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.08), 0 24px 64px rgba(0,0,0,0.55);
    object-fit: cover;
}
.hf-video-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 4px;
}
.hf-v-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.28);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 10px;
    font-weight: 800;
    color: #22c55e;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: fit-content;
}
.hf-v-badge span { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; animation: hf-pulse 1.6s ease-in-out infinite; }
@keyframes hf-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }
.hf-v-h2 {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.hf-v-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.75;
}
.hf-v-bullets { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.hf-v-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.55;
}
.hf-v-bullets li svg { flex-shrink: 0; margin-top: 2px; color: #22c55e; }
.hf-v-ctas { display: flex; flex-direction: column; gap: 10px; }
.hf-v-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #22c55e;
    color: #060b18;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .15s;
    font-family: 'Inter', sans-serif;
}
.hf-v-btn-primary:hover { background: #16a34a; transform: translateY(-1px); }
.hf-v-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #22c55e;
    border: 1.5px solid rgba(34,197,94,0.35);
    border-radius: 12px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    font-family: 'Inter', sans-serif;
}
.hf-v-btn-secondary:hover { border-color: #22c55e; background: rgba(34,197,94,0.06); }
.hf-v-sample-link {
    text-align: center;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hf-v-sample-link:hover { color: #94a3b8; }
.hf-v-entitle {
    font-size: 12px;
    color: #374151;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 14px;
}
@media (max-width: 900px) {
    .hf-video-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .preview-inner { grid-template-columns: 1fr; }
    .pdf-mock { transform: none !important; }
    .explorer-layout { grid-template-columns: 1fr; }
    .explorer-tabs { flex-direction: row; flex-wrap: wrap; }
    .exp-tab { flex: 1; min-width: 120px; flex-direction: column; align-items: flex-start; gap: 6px; }
    .exp-tab .tab-num { margin-left: 0; }
    .steps-grid { grid-template-columns: repeat(2,1fr); }
    .steps-grid::before { display: none; }
}
@media (max-width: 600px) {
    .ar-hero { padding: 80px 16px 60px; min-height: auto; }
    .hero-gen-box { padding: 22px 16px; }
    .hero-gen-row { flex-direction: column; }
    .stats-bar-inner { flex-direction: column; gap: 0; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .stat-item:last-child { border-bottom: none; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .plans-grid { grid-template-columns: 1fr 1fr; }
    .bottom-gen-row { flex-direction: column; }
}
