/*
   aigents.lv — Premium Light Theme v3
   Brand: Slate Graphite #2B3436 + Teal #0D9488
   Layout: Full landing page with trust blocks
*/

:root {
    --bg-main:        #F4F6F5;
    --bg-card:        #FFFFFF;
    --bg-tint:        #EEF2F1;
    --border:         rgba(43, 52, 54, 0.09);
    --border-hover:   rgba(43, 52, 54, 0.2);
    --text-primary:   #1A2527;
    --text-secondary: #4A5E61;
    --text-muted:     #86A0A4;
    --brand:          #2B3436;
    --brand-mid:      #3D5052;
    --brand-light:    rgba(43, 52, 54, 0.07);
    --teal:           #0D9488;
    --teal-light:     rgba(13, 148, 136, 0.1);
    --teal-border:    rgba(13, 148, 136, 0.25);
    --emerald:        #059669;
    --emerald-light:  rgba(5, 150, 105, 0.1);
    --red:            #DC2626;
    --red-light:      rgba(220, 38, 38, 0.08);
    --red-border:     rgba(220, 38, 38, 0.2);
    --yellow:         #D97706;
    --yellow-light:   rgba(217, 119, 6, 0.08);
    --yellow-border:  rgba(217, 119, 6, 0.2);
    --font-heading:   'Outfit', sans-serif;
    --font-body:      'Inter', sans-serif;
    --ease:           cubic-bezier(0.4, 0, 0.2, 1);
    --transition:     all 0.3s var(--ease);
    --shadow-xs:      0 1px 3px rgba(26,37,39,0.05);
    --shadow-sm:      0 2px 10px rgba(26,37,39,0.07), 0 1px 3px rgba(26,37,39,0.04);
    --shadow-md:      0 4px 24px rgba(26,37,39,0.08), 0 2px 8px rgba(26,37,39,0.04);
    --shadow-lg:      0 12px 48px rgba(26,37,39,0.1), 0 4px 16px rgba(26,37,39,0.05);
    --radius-sm:      8px;
    --radius:         14px;
    --radius-lg:      20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── Glow orbs ──────────────────────────────── */
.bg-glow { position: fixed; width: 800px; height: 800px; border-radius: 50%; filter: blur(140px); z-index: -1; pointer-events: none; }
.bg-glow-1 { background: radial-gradient(circle, rgba(13,148,136,0.06) 0%, transparent 70%); top: -200px; right: -200px; }
.bg-glow-2 { background: radial-gradient(circle, rgba(5,150,105,0.05) 0%, transparent 70%); bottom: 100px; left: -200px; }

/* ─── Container ──────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── HEADER ─────────────────────────────────── */
header {
    padding: 10px 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow-xs);
}
.header-container { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 96px; width: auto; transition: opacity 0.2s ease; }
.logo-img:hover { opacity: 0.75; }
.header-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; padding: 8px 14px; border-radius: var(--radius-sm); transition: var(--transition); }
.nav-link:hover { color: var(--brand); background: var(--brand-light); }

/* ─── BUTTONS ────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-heading); font-size: 15px; font-weight: 600; padding: 13px 26px; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); border: none; text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; }
.btn-sm { font-size: 13px; padding: 9px 18px; }
.btn-full { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%); color: #fff; box-shadow: 0 2px 10px rgba(43,52,54,0.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(43,52,54,0.35); }
.btn-glow::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(255,255,255,0.18) 0%, transparent 70%); opacity: 0; transition: opacity 0.3s; }
.btn-glow:hover::after { opacity: 1; }
.btn-secondary { background: transparent; border: 1.5px solid var(--border-hover); color: var(--text-primary); }
.btn-secondary:hover { background: var(--brand-light); border-color: var(--brand); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-secondary); font-size: 14px; padding: 11px 20px; }
.btn-outline:hover { background: var(--bg-tint); }

/* ─── CARD base ──────────────────────────────── */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ─── SECTIONS ───────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); background: var(--teal-light); border: 1px solid var(--teal-border); padding: 5px 14px; border-radius: 30px; margin-bottom: 16px; }
.section-title { font-family: var(--font-heading); font-size: 38px; font-weight: 800; letter-spacing: -1px; color: var(--brand); margin-bottom: 14px; line-height: 1.15; }
.section-subtitle { font-size: 17px; color: var(--text-secondary); max-width: 580px; margin: 0 auto; line-height: 1.7; }

/* ─── HERO ───────────────────────────────────── */
.hero-section { padding: 80px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: flex-start; }
.hero-content { display: flex; flex-direction: column; }

.badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--teal); background: var(--teal-light); border: 1px solid var(--teal-border); padding: 7px 16px; border-radius: 30px; margin-bottom: 24px; width: fit-content; }

h1 { font-family: var(--font-heading); font-size: 52px; font-weight: 900; line-height: 1.08; letter-spacing: -2px; color: var(--brand); margin-bottom: 20px; }
h1 em { font-style: italic; color: var(--teal); }

.subtitle { font-size: 17px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 32px; }

.hero-checks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-secondary); }
.check-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--emerald-light); color: var(--emerald); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; border: 1px solid rgba(5,150,105,0.25); }

/* ─── FORM CARD ──────────────────────────────── */
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.form-card h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.form-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 22px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.input-group { display: flex; flex-direction: column; }
.input-group label { font-size: 11px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px; }
.input-group input { background: var(--bg-main); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; font-family: var(--font-body); font-size: 14.5px; color: var(--text-primary); transition: var(--transition); }
.input-group input::placeholder { color: var(--text-muted); }
.input-group input:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px var(--teal-light); }
.error-msg { color: var(--red); font-size: 12px; margin-top: 4px; display: none; }
.form-footer-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-top: 14px; }

/* ─── HERO PREVIEW ───────────────────────────── */
.hero-preview { position: sticky; top: 90px; }
.preview-label { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 10px; text-align: center; text-transform: uppercase; letter-spacing: 0.8px; }
.preview-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; padding: 0; }
.preview-header { background: var(--bg-tint); padding: 12px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.preview-dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
.preview-dots span:nth-child(1) { background: #FF5F57; }
.preview-dots span:nth-child(2) { background: #FEBC2E; }
.preview-dots span:nth-child(3) { background: #28C840; }
.preview-title { font-size: 12px; color: var(--text-muted); }
.preview-body { padding: 28px; }

.audit-score-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 24px; }
.audit-score { text-align: center; padding: 14px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.audit-score.critical { background: var(--red-light); border-color: var(--red-border); }
.audit-score.warning  { background: var(--yellow-light); border-color: var(--yellow-border); }
.audit-score.good     { background: var(--emerald-light); border-color: rgba(5,150,105,0.2); }
.score-num { font-family: var(--font-heading); font-size: 28px; font-weight: 800; line-height: 1; }
.audit-score.critical .score-num { color: var(--red); }
.audit-score.warning  .score-num { color: var(--yellow); }
.audit-score.good     .score-num { color: var(--emerald); }
.score-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; line-height: 1.3; }

.finding-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.finding { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid transparent; }
.finding.critical { background: var(--red-light); border-color: var(--red-border); }
.finding.warning  { background: var(--yellow-light); border-color: var(--yellow-border); }
.finding.good     { background: var(--emerald-light); border-color: rgba(5,150,105,0.2); }
.finding-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.finding.critical .finding-dot { background: var(--red); }
.finding.warning  .finding-dot { background: var(--yellow); }
.finding.good     .finding-dot { background: var(--emerald); }
.finding strong { font-size: 13px; font-weight: 600; display: block; margin-bottom: 2px; color: var(--text-primary); }
.finding p { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }

/* ─── STATS BAR ──────────────────────────────── */
.stats-section { background: var(--brand); padding: 48px 0; }
.stats-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.stat-block { text-align: center; padding: 16px 48px; flex: 1; min-width: 160px; }
.stat-number { font-family: var(--font-heading); font-size: 42px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; margin-bottom: 8px; }
.stat-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.4; }
.stat-divider { width: 1px; height: 64px; background: rgba(255,255,255,0.12); }

/* ─── FEATURES GRID ──────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: var(--transition); }
.feature-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card-highlight { background: linear-gradient(145deg, var(--brand) 0%, var(--brand-mid) 100%); border-color: transparent; }
.feature-card.feature-card-highlight h3 { color: #fff; }
.feature-card.feature-card-highlight p { color: rgba(255,255,255,0.75); }
.feature-card.feature-card-highlight .feature-checks li { color: rgba(255,255,255,0.85); }
.feature-card.feature-card-highlight .feature-checks li::before { color: rgba(255,255,255,0.6); }
.feature-icon { font-size: 32px; margin-bottom: 18px; }
.feature-card h3 { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 18px; }
.feature-checks { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.feature-checks li { font-size: 13px; color: var(--text-secondary); padding-left: 16px; position: relative; }
.feature-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-size: 11px; font-weight: 700; top: 1px; }

/* ─── CASE STUDY ─────────────────────────────── */
.case-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 28px; align-items: flex-start; }
.case-findings { display: flex; flex-direction: column; gap: 28px; }
.findings-group { display: flex; flex-direction: column; gap: 10px; }
.findings-group-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; padding: 5px 12px; border-radius: 30px; width: fit-content; margin-bottom: 4px; }
.critical-label { background: var(--red-light); color: #B91C1C; border: 1px solid var(--red-border); }
.warning-label  { background: var(--yellow-light); color: #92400E; border: 1px solid var(--yellow-border); }
.good-label     { background: var(--emerald-light); color: #065F46; border: 1px solid rgba(5,150,105,0.2); }
.case-finding-card { display: flex; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; transition: var(--transition); }
.case-finding-card:hover { box-shadow: var(--shadow-sm); }
.case-finding-card.critical { border-left: 4px solid var(--red); }
.case-finding-card.warning  { border-left: 4px solid var(--yellow); }
.cf-icon { font-size: 26px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.cf-title { font-size: 15px; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.cf-desc  { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }
.cf-code  { margin-top: 8px; background: var(--bg-tint); border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; font-family: monospace; font-size: 12px; color: var(--text-muted); font-style: italic; }

.good-findings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.good-finding { display: flex; align-items: flex-start; gap: 10px; background: var(--emerald-light); border: 1px solid rgba(5,150,105,0.18); border-radius: var(--radius-sm); padding: 14px 16px; }
.good-check { width: 20px; height: 20px; border-radius: 50%; background: var(--emerald); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.good-finding strong { font-size: 13px; font-weight: 600; display: block; margin-bottom: 2px; color: var(--brand); }
.good-finding p { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }

/* ─── CASE SIDEBAR ───────────────────────────── */
.case-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.sidebar-header { font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.sidebar-stat { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sidebar-num { font-family: var(--font-heading); font-size: 32px; font-weight: 900; line-height: 1; min-width: 44px; }
.critical-num { color: var(--red); }
.warning-num  { color: var(--yellow); }
.good-num     { color: var(--emerald); }
.sidebar-label { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }
.sidebar-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.sidebar-meta-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; }
.sidebar-meta-label { color: var(--text-muted); }
.sidebar-meta-val { font-weight: 600; color: var(--text-primary); }
.critical-text { color: var(--red) !important; }
.good-text     { color: var(--emerald) !important; }
.sidebar-cta { background: var(--brand); border-color: transparent; }
.sidebar-cta-text { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 14px; line-height: 1.4; }
.sidebar-cta .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.sidebar-cta .btn-primary:hover { background: rgba(255,255,255,0.92); }
.sidebar-pdf { border: 1px dashed var(--border-hover); }
.pdf-preview-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #fff; background: var(--brand); display: inline-block; padding: 3px 8px; border-radius: 4px; margin-bottom: 10px; }
.pdf-preview-title { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.pdf-preview-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.pdf-preview-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pill { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 30px; }
.pill-red { background: var(--red-light); color: #B91C1C; border: 1px solid var(--red-border); }

/* ─── HOW IT WORKS ───────────────────────────── */
.steps-grid { display: flex; align-items: center; gap: 12px; }
.step-card { flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: var(--transition); }
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-num { font-family: var(--font-heading); font-size: 13px; font-weight: 800; color: var(--teal); letter-spacing: 1px; margin-bottom: 12px; }
.step-icon { font-size: 36px; margin-bottom: 16px; }
.step-card h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.step-arrow { font-size: 24px; color: var(--text-muted); flex-shrink: 0; font-weight: 300; padding: 0 4px; }

/* ─── BOTTOM CTA ─────────────────────────────── */
.section-cta { padding: 96px 0; }
.cta-box { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 60%, #2E5456 100%); border-radius: var(--radius-lg); padding: 64px 56px; display: flex; align-items: center; gap: 48px; box-shadow: var(--shadow-lg); }
.cta-content { flex: 1; }
.cta-box h2 { font-family: var(--font-heading); font-size: 34px; font-weight: 800; color: #fff; margin-bottom: 10px; line-height: 1.2; }
.cta-box > .cta-content > p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.cta-inputs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cta-inputs input { flex: 1; min-width: 180px; background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); padding: 13px 16px; font-family: var(--font-body); font-size: 14.5px; color: #fff; }
.cta-inputs input::placeholder { color: rgba(255,255,255,0.4); }
.cta-inputs input:focus { outline: none; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.18); }
.cta-box .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.cta-box .btn-primary:hover { background: rgba(255,255,255,0.92); }
.cta-box .form-footer-note { color: rgba(255,255,255,0.5); justify-content: flex-start; }
.cta-visual { flex-shrink: 0; }
.cta-badge-big { width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cta-badge-num { font-family: var(--font-heading); font-size: 36px; font-weight: 900; color: #fff; line-height: 1; }
.cta-badge-text { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; font-weight: 600; }

/* ─── FOOTER ─────────────────────────────────── */
footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 32px 0; text-align: center; font-size: 13px; color: var(--text-muted); }
.footer-container { display: flex; flex-direction: column; gap: 6px; }

/* ─── REPORT DASHBOARD (hidden) ──────────────── */
.audit-report { padding: 60px 0; animation: fadeUp 0.5s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.hidden { display: none !important; }

.report-header-card { padding: 28px 32px; margin-bottom: 24px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%); border-color: transparent; }
.report-meta-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 24px; align-items: center; }
.meta-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.55); font-weight: 700; display: block; margin-bottom: 6px; }
.meta-value { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #fff; word-break: break-all; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 16px; margin-bottom: 24px; }
.kpi-card { display: flex; gap: 18px; padding: 24px; align-items: flex-start; }
.kpi-icon { font-size: 26px; line-height: 1; }
.kpi-info h3 { font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.kpi-value { font-family: var(--font-heading); font-size: 28px; font-weight: 800; line-height: 1.1; margin-bottom: 4px; color: var(--brand); }
.kpi-status { font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; display: inline-block; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }
.kpi-card.critical .kpi-status { background: var(--red-light); color: #B91C1C; }
.kpi-card.excellent .kpi-status { background: var(--emerald-light); color: #047857; }
.kpi-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.report-content-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 24px; }
.report-left, .report-right { display: flex; flex-direction: column; gap: 24px; }
.section-card { padding: 28px; }
.section-card h2 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 18px; border-left: 4px solid var(--teal); padding-left: 14px; color: var(--brand); }
.bullet-list { list-style: none; }
.bullet-list li { position: relative; padding-left: 18px; margin-bottom: 12px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.bullet-list li::before { content: "●"; position: absolute; left: 0; color: var(--teal); font-size: 10px; top: 5px; }
.bullet-list.red-bullet li::before { color: var(--red); }
.bullet-list.compact li { margin-bottom: 8px; }
.desc-text { font-size: 13.5px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
code { background: var(--bg-tint); color: #B91C1C; padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 13px; border: 1px solid var(--border); }
.stats-bar-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 20px 0; background: var(--bg-tint); padding: 20px 16px; border-radius: 10px; border: 1px solid var(--border); }
.bar-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.bar-label { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; line-height: 1.4; }
.bar-num { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--brand); }
.table-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.search-input-wrapper { position: relative; flex: 1; }
.search-input-wrapper svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-input-wrapper input { width: 100%; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 16px 10px 40px; color: var(--text-primary); font-size: 14px; transition: var(--transition); font-family: var(--font-body); }
.search-input-wrapper input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-light); }
.filter-buttons { display: flex; gap: 8px; }
.filter-btn { background: var(--bg-card); border: 1.5px solid var(--border); color: var(--text-secondary); padding: 8px 16px; border-radius: 8px; font-size: 13px; cursor: pointer; font-family: var(--font-heading); font-weight: 600; transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.table-container { width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13.5px; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
th { background: var(--bg-tint); color: var(--brand); font-family: var(--font-heading); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-main); }
.summary-card { padding: 28px; background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-tint) 100%); border-left: 4px solid var(--red); }
.summary-card h2 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin-bottom: 14px; color: var(--brand); }
.summary-status { margin-bottom: 14px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.status-label { color: var(--text-secondary); }
.status-value.red-status { background: var(--red-light); color: #B91C1C; font-weight: 700; padding: 3px 10px; border-radius: 4px; border: 1px solid var(--red-border); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.status-value.yellow-status { background: var(--yellow-light); color: #92400E; font-weight: 700; padding: 3px 10px; border-radius: 4px; border: 1px solid var(--yellow-border); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.status-value.excellent-status { background: var(--emerald-light); color: #047857; font-weight: 700; padding: 3px 10px; border-radius: 4px; border: 1px solid rgba(5,150,105,0.2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.summary-text { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.6; }
.quick-audit-list { display: flex; flex-direction: column; gap: 14px; }
.audit-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.audit-item .bullet { font-size: 14px; margin-top: -1px; flex-shrink: 0; }
.audit-item p { color: var(--text-secondary); margin-top: 2px; line-height: 1.5; }
.guide-card { padding: 28px; }
.guide-card h2 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--brand); }
.accordion { display: flex; flex-direction: column; gap: 8px; }
.accordion-item { border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg-card); overflow: hidden; transition: var(--transition); }
.accordion-title { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 13.5px; user-select: none; color: var(--brand); transition: var(--transition); }
.accordion-title:hover { background: var(--bg-tint); }
.accordion-title .arrow { font-size: 10px; color: var(--text-muted); transition: transform 0.3s ease; }
.accordion-content { padding: 0 18px; max-height: 0; overflow: hidden; transition: all 0.3s cubic-bezier(0,1,0,1); color: var(--text-secondary); font-size: 13.5px; border-top: 1px solid transparent; }
.accordion-item.active { border-color: var(--teal-border); }
.accordion-item.active .accordion-title { background: var(--teal-light); color: var(--teal); }
.accordion-item.active .accordion-title .arrow { transform: rotate(180deg); color: var(--teal); }
.accordion-item.active .accordion-content { padding: 14px 18px 18px; max-height: 500px; border-top-color: var(--border); transition: all 0.3s cubic-bezier(1,0,1,0); line-height: 1.6; }
pre { background: var(--bg-tint); border: 1px solid var(--border); border-radius: 6px; padding: 12px; margin-top: 10px; overflow-x: auto; }
pre code { background: none; color: var(--text-primary); padding: 0; font-size: 12.5px; border: none; }
.list-link, .table-link { color: var(--teal); text-decoration: none; font-weight: 500; }
.list-link:hover, .table-link:hover { text-decoration: underline; }
.sub-pill { display: inline-block; font-size: 11px; background: var(--bg-tint); color: var(--text-muted); padding: 1px 7px; border-radius: 30px; border: 1px solid var(--border); margin-left: 4px; }
.anchor-cell { font-size: 12px; color: var(--text-secondary); }
.margin-top { margin-top: 24px; }

/* ─── MODALS ─────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(26,37,39,0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-card { max-width: 480px; width: 90%; position: relative; padding: 36px; border-radius: var(--radius-lg); transform: translateY(16px); transition: transform 0.3s ease; box-shadow: var(--shadow-lg); }
.modal-overlay.active .modal-card { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--bg-tint); border: 1px solid var(--border); color: var(--text-secondary); font-size: 18px; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); line-height: 1; }
.modal-close:hover { background: var(--brand-light); color: var(--brand); }
.modal-card h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; margin-bottom: 8px; color: var(--brand); }
.modal-card p { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
.progress-card { max-width: 480px; width: 90%; text-align: center; padding: 48px 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.progress-card h2 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--brand); }
.loader-spinner { width: 48px; height: 48px; border: 3px solid var(--border); border-top-color: var(--teal); border-radius: 50%; animation: spin 0.9s linear infinite; margin: 0 auto 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.progress-steps { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 320px; margin: 0 auto; }
.step-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-secondary); transition: var(--transition); }
.step-item.completed { color: var(--teal); font-weight: 500; }
.step-item.pending { opacity: 0.4; }
.success-overlay { position: fixed; inset: 0; background: rgba(26,37,39,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: center; z-index: 1100; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.success-overlay.active { opacity: 1; pointer-events: auto; }
.success-card { text-align: center; max-width: 440px; padding: 52px 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--emerald-light); border: 2px solid var(--emerald); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.success-card h2 { font-family: var(--font-heading); font-size: 24px; margin-bottom: 10px; color: var(--brand); }
.success-card p { color: var(--text-secondary); font-size: 14px; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .case-grid { grid-template-columns: 1fr; }
    .case-sidebar { position: static; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-preview { position: static; }
    .report-content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    h1 { font-size: 36px; letter-spacing: -1px; }
    .section-title { font-size: 28px; }
    .header-nav { display: none; }
    .steps-grid { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .stats-row { flex-direction: column; }
    .stat-divider { width: 80%; height: 1px; }
    .cta-box { flex-direction: column; gap: 32px; padding: 40px 28px; }
    .good-findings-grid { grid-template-columns: 1fr; }
    .report-meta-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .form-grid { grid-template-columns: 1fr; }
    .cta-inputs { flex-direction: column; }
    .cta-inputs input, .cta-inputs .btn { width: 100%; }
}
