/* ═══════════════════════════════════════════════
   BRIEFS — Design System
   Dark #080812 | Accent #6366f1 | Text #e2e8f0
═══════════════════════════════════════════════ */
:root {
  --bg: #080812;
  --bg2: #0f0f1e;
  --bg3: #161626;
  --card: #12121f;
  --border: #1e1e35;
  --border2: #2a2a45;
  --text: #e2e8f0;
  --muted: #8892a4;
  --faint: #4a5568;
  --accent: #6366f1;
  --accent2: #818cf8;
  --accent-glow: rgba(99,102,241,0.15);
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --cyan: #06b6d4;
  --purple: #a855f7;
  --gold: #eab308;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── TYPOGRAPHY ───────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h3 { font-size: 1.125rem; font-weight: 700; }
h4 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.gradient-text { background: linear-gradient(135deg, #818cf8, #6366f1, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.text-red { color: var(--red); }
.text-accent { color: var(--accent2); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
strong { font-weight: 700; }

/* ── LAYOUT ───────────────────────────────────── */
.max-w { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.max-w-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── NAV ──────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(8,8,18,0.88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.nav-logo { font-size: 20px; font-weight: 900; letter-spacing: -0.04em; }
.nav-logo span { color: var(--accent2); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { color: var(--muted); font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 6px; transition: all 0.15s; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── BUTTONS ──────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; transition: all 0.15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
.btn-primary:hover { background: #5254e8; box-shadow: 0 0 24px rgba(99,102,241,0.35); transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--border2); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--accent2); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border2); }
.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 6px; }
.btn-full { width: 100%; justify-content: center; }

/* ── CARDS ────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.card-p { padding: 24px; }
.card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-header h3 { font-size: 14px; font-weight: 700; }
.card-body { padding: 20px; }
.card-glow { border-color: rgba(99,102,241,0.3); box-shadow: 0 0 40px rgba(99,102,241,0.08); }
.card-highlight { border-color: var(--accent); background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(6,182,212,0.03)); }

/* ── BADGES ───────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.badge-accent { background: rgba(99,102,241,0.15); color: var(--accent2); border: 1px solid rgba(99,102,241,0.25); }
.badge-green { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.badge-amber { background: rgba(245,158,11,0.12); color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }
.badge-cyan { background: rgba(6,182,212,0.12); color: #22d3ee; border: 1px solid rgba(6,182,212,0.25); }
.badge-purple { background: rgba(168,85,247,0.12); color: #c084fc; border: 1px solid rgba(168,85,247,0.25); }
.badge-live { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.badge-live::before { content:''; width:6px; height:6px; border-radius:50%; background:#22c55e; animation: pulse 2s infinite; }

/* ── TAGS ─────────────────────────────────────── */
.tag { display: inline-block; background: rgba(99,102,241,0.1); color: var(--accent2); border: 1px solid rgba(99,102,241,0.2); border-radius: 4px; padding: 2px 8px; font-size: 11px; font-weight: 700; }

/* ── FORMS ────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.form-control { width: 100%; background: var(--bg3); border: 1px solid var(--border2); border-radius: 8px; padding: 10px 14px; color: var(--text); font-size: 14px; transition: border-color 0.15s; }
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.form-control::placeholder { color: var(--faint); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── HERO ─────────────────────────────────────── */
.hero { padding: 120px 0 80px; position: relative; overflow: hidden; text-align: center; }
.hero-glow { position: absolute; width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 65%); top: -200px; left: 50%; transform: translateX(-50%); pointer-events: none; z-index: 0; }
.hero-glow2 { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,0.07) 0%, transparent 65%); bottom: 0; right: 10%; pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; }
.hero-title { margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 40px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 60px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 28px; font-weight: 800; background: linear-gradient(135deg, var(--accent2), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hero-divider { width: 1px; height: 40px; background: var(--border); }

/* ── DEMO BRIEF ───────────────────────────────── */
.demo-wrap { max-width: 820px; margin: 0 auto; }
.demo-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.demo-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tg-bubble { display: flex; align-items: flex-start; gap: 14px; background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 12px; }
.tg-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--cyan)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; color: #fff; }
.tg-content { flex: 1; }
.tg-name { font-size: 12px; font-weight: 700; color: var(--accent2); margin-bottom: 6px; }
.tg-user { background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.15); border-radius: 12px; padding: 10px 16px; margin-bottom: 12px; font-size: 14px; color: var(--muted); font-style: italic; }
.brief-section { margin-bottom: 12px; border-left: 2px solid var(--border2); padding-left: 14px; }
.brief-section-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.brief-section-content { font-size: 14px; line-height: 1.6; color: var(--text); }
.tg-time { font-size: 11px; color: var(--faint); text-align: right; margin-top: 8px; }

/* ── HOW IT WORKS ─────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.step-card { background: var(--bg3); border: 1px solid var(--border); padding: 28px 24px; position: relative; }
.step-card:first-child { border-radius: 12px 0 0 12px; }
.step-card:last-child { border-radius: 0 12px 12px 0; }
.step-num { font-size: 48px; font-weight: 900; color: var(--border2); letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px; }
.step-card h3 { font-size: 15px; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.step-arrow { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--border2); display: flex; align-items: center; justify-content: center; font-size: 12px; z-index: 1; }

/* ── FEATURES ─────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.feature-card { background: var(--bg3); border: 1px solid var(--border); padding: 32px; }
.feature-card:nth-child(1) { border-radius: 12px 0 0 0; }
.feature-card:nth-child(2) { border-radius: 0 12px 0 0; }
.feature-card:nth-child(3) { border-radius: 0 0 0 12px; }
.feature-card:nth-child(4) { border-radius: 0 0 12px 0; }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-tag { display: inline-block; background: rgba(99,102,241,0.1); color: var(--accent2); border: 1px solid rgba(99,102,241,0.2); border-radius: 4px; padding: 2px 8px; font-size: 11px; font-weight: 700; margin-bottom: 12px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── PRICING ──────────────────────────────────── */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 48px; }
.toggle-track { width: 44px; height: 24px; background: var(--bg3); border: 1px solid var(--border2); border-radius: 12px; cursor: pointer; position: relative; transition: background 0.2s; }
.toggle-track.on { background: var(--accent); }
.toggle-knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.toggle-track.on .toggle-knob { transform: translateX(20px); }
.toggle-label { font-size: 14px; color: var(--muted); }
.toggle-label.active { color: var(--text); font-weight: 600; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.pricing-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; }
.pricing-card.highlight { border-color: var(--accent); background: linear-gradient(160deg, rgba(99,102,241,0.08), var(--card) 60%); }
.pricing-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 14px; border-radius: 999px; letter-spacing: .05em; white-space: nowrap; }
.pricing-icon { font-size: 24px; margin-bottom: 12px; }
.pricing-name { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.pricing-price { font-size: 42px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 20px; font-weight: 700; vertical-align: top; margin-top: 8px; }
.pricing-price sub { font-size: 14px; color: var(--muted); font-weight: 500; }
.pricing-annual { font-size: 12px; color: var(--green); margin-bottom: 24px; height: 18px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { font-size: 13px; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: flex-start; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── TESTIMONIALS ─────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.testimonial-metric { font-size: 28px; font-weight: 900; background: linear-gradient(135deg, var(--accent2), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--border); padding-top: 14px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--purple)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; color: #fff; flex-shrink: 0; }
.testimonial-name { font-size: 13px; font-weight: 700; }
.testimonial-role { font-size: 12px; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; cursor: pointer; font-size: 15px; font-weight: 600; transition: background 0.15s; user-select: none; }
.faq-q:hover { background: rgba(255,255,255,0.02); }
.faq-icon { font-size: 18px; color: var(--muted); transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent2); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 20px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 14px; }
.faq-item.open .faq-a { max-height: 200px; }

/* ── CTA SECTION ──────────────────────────────── */
.cta-section { text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 600px; height: 300px; border-radius: 50%; background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: var(--muted); max-width: 480px; margin: 0 auto 36px; }
.cta-fine { font-size: 12px; color: var(--faint); margin-top: 16px; }

/* ── FOOTER ───────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-logo { font-size: 18px; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 8px; }
.footer-logo span { color: var(--accent2); }
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link { font-size: 13px; color: var(--muted); transition: color 0.15s; }
.footer-link:hover { color: var(--text); }

/* ── LOGIN ────────────────────────────────────── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 40px; width: 100%; max-width: 420px; }
.auth-logo { font-size: 22px; font-weight: 900; letter-spacing: -0.04em; text-align: center; margin-bottom: 8px; }
.auth-logo span { color: var(--accent2); }
.auth-sub { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.auth-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.auth-footer { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }
.auth-footer a { color: var(--accent2); }

/* ── DASHBOARD LAYOUT ─────────────────────────── */
.cab-layout { display: flex; min-height: 100vh; }
.cab-sidebar { width: 240px; flex-shrink: 0; background: var(--bg2); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.cab-logo { padding: 20px; border-bottom: 1px solid var(--border); font-size: 18px; font-weight: 900; letter-spacing: -0.04em; }
.cab-logo span { color: var(--accent2); }
.cab-user { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.cab-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--cyan)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: #fff; flex-shrink: 0; }
.cab-user-name { font-size: 13px; font-weight: 700; }
.cab-user-role { font-size: 11px; color: var(--muted); }
.cab-nav { flex: 1; padding: 12px; }
.cab-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--muted); transition: all 0.15s; margin-bottom: 2px; }
.cab-nav-item:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.cab-nav-item.active { color: var(--text); background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.2); }
.cab-nav-icon { font-size: 16px; width: 20px; text-align: center; }
.cab-nav-section { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); padding: 16px 12px 6px; }
.cab-sidebar-bottom { padding: 16px; border-top: 1px solid var(--border); }
.cab-logout { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 8px 12px; border-radius: 6px; transition: color 0.15s; }
.cab-logout:hover { color: var(--red); }
.cab-main { flex: 1; overflow-y: auto; min-width: 0; }
.cab-topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; border-bottom: 1px solid var(--border); background: var(--bg2); position: sticky; top: 0; z-index: 10; }
.cab-breadcrumb { font-size: 14px; font-weight: 600; }
.cab-topbar-right { display: flex; align-items: center; gap: 12px; }
.cab-content { padding: 28px; }
.page-header { margin-bottom: 28px; }
.page-header h1 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.page-header p { font-size: 14px; color: var(--muted); }

/* ── DASHBOARD KPI ────────────────────────────── */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.kpi-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px; display: flex; align-items: flex-start; gap: 14px; }
.kpi-card.accent { border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.06); }
.kpi-card.green { border-color: rgba(34,197,94,0.25); background: rgba(34,197,94,0.05); }
.kpi-card.amber { border-color: rgba(245,158,11,0.25); background: rgba(245,158,11,0.05); }
.kpi-card.cyan { border-color: rgba(6,182,212,0.25); background: rgba(6,182,212,0.05); }
.kpi-icon { font-size: 22px; margin-top: 1px; }
.kpi-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.kpi-value { font-size: 26px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.kpi-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ── DASHBOARD GRID ───────────────────────────── */
.dash-grid { display: grid; grid-template-columns: 1fr 360px; gap: 16px; }
.dash-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ── BRIEF SECTIONS ───────────────────────────── */
.brief-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.brief-command { font-family: 'JetBrains Mono', 'Fira Code', monospace; background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2); border-radius: 6px; padding: 4px 10px; font-size: 13px; color: var(--accent2); }
.brief-section-row { padding: 14px 20px; border-bottom: 1px solid var(--border); }
.brief-section-row:last-child { border-bottom: none; }
.brief-section-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.brief-section-text { font-size: 14px; line-height: 1.65; }

/* ── DAILY BRIEF ──────────────────────────────── */
.daily-points { display: flex; flex-direction: column; }
.daily-point { display: flex; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.daily-point:last-child { border-bottom: none; }
.daily-point-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.daily-point-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 3px; }
.daily-point-text { font-size: 14px; line-height: 1.6; }

/* ── REPORT VIEWER ────────────────────────────── */
.report-hero { background: linear-gradient(135deg, var(--bg2), var(--bg3)); border-bottom: 1px solid var(--border); padding: 48px; }
.report-header { max-width: 800px; }
.report-watermark { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); margin-bottom: 20px; }
.report-title { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.report-sub { font-size: 16px; color: var(--muted); }
.report-meta { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.report-meta span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.report-body { max-width: 800px; margin: 0 auto; padding: 48px; }
.report-section { margin-bottom: 40px; }
.report-section h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.report-section p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.report-section ul { list-style: none; }
.report-section li { font-size: 14px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.report-section li::before { content: '→'; color: var(--accent2); font-weight: 700; flex-shrink: 0; }

/* ── HISTORY LIST ─────────────────────────────── */
.brief-list { display: flex; flex-direction: column; gap: 8px; }
.brief-list-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; transition: border-color 0.15s; }
.brief-list-item:hover { border-color: var(--border2); }
.brief-type-badge { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.brief-type-meeting { background: rgba(99,102,241,0.12); }
.brief-type-daily { background: rgba(245,158,11,0.12); }
.brief-list-title { font-size: 14px; font-weight: 600; flex: 1; }
.brief-list-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; }
.brief-speed { font-size: 11px; color: var(--green); font-weight: 600; }

/* ── PROFILE EDITOR ───────────────────────────── */
.profile-section { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.profile-section:last-child { border-bottom: none; }
.profile-section h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.profile-section-desc { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 5px 12px; font-size: 13px; }
.chip-remove { color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; }
.chip-remove:hover { color: var(--red); }
.chip-add { background: transparent; border: 1px dashed var(--border2); color: var(--muted); border-radius: 6px; padding: 5px 12px; font-size: 13px; cursor: pointer; transition: all 0.15s; }
.chip-add:hover { border-color: var(--accent); color: var(--accent2); }

/* ── SETTINGS ─────────────────────────────────── */
.settings-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border); }
.settings-row:last-child { border-bottom: none; }
.settings-label { font-size: 14px; font-weight: 600; }
.settings-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.toggle-sm { width: 36px; height: 20px; background: var(--bg3); border: 1px solid var(--border2); border-radius: 10px; cursor: pointer; position: relative; transition: background 0.2s; flex-shrink: 0; }
.toggle-sm.on { background: var(--accent); border-color: var(--accent); }
.toggle-sm::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.toggle-sm.on::after { transform: translateX(16px); }

/* ── CONTAINER ────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--accent2); margin-bottom: 12px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 540px; margin: 0 auto 48px; }
.btn-xl { padding: 18px 40px; font-size: 17px; border-radius: 12px; }
.btn-xs { padding: 5px 10px; font-size: 11px; border-radius: 4px; }

/* ── HERO (additional) ────────────────────────── */
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); border-radius: 999px; padding: 6px 16px; font-size: 12px; font-weight: 600; color: var(--accent2); margin-bottom: 28px; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.hero-note { font-size: 12px; color: var(--faint); margin-top: -44px; }

/* ── PROOF BAR ────────────────────────────────── */
.proof-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; background: var(--bg2); }
.proof-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap; }
.proof-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.proof-metric { font-size: 18px; font-weight: 900; background: linear-gradient(135deg, var(--accent2), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.proof-name { font-size: 11px; color: var(--muted); text-align: center; }

/* ── DEMO TELEGRAM ────────────────────────────── */
.demo-section { padding: 96px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.demo-telegram { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; max-width: 640px; margin: 0 auto; }
.tg-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border); }
.tg-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--cyan)); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #fff; flex-shrink: 0; }
.tg-name { font-size: 14px; font-weight: 700; }
.tg-status { font-size: 11px; color: var(--green); }
.tg-messages { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.tg-msg { max-width: 82%; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.tg-msg-out { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; font-family: 'JetBrains Mono', monospace; }
.tg-msg-in { background: rgba(255,255,255,0.06); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; width: 100%; max-width: 100%; }
.tg-typing { display: flex; align-items: center; gap: 4px; padding: 14px 18px; width: 60px; }
.tg-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1.4s infinite; }
.tg-typing span:nth-child(2) { animation-delay: 0.2s; }
.tg-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%,80%,100%{transform:translateY(0)}40%{transform:translateY(-8px)} }
.tg-brief-msg { padding: 16px; }
.tg-brief-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.tg-brief-time { font-size: 11px; color: var(--green); font-weight: 600; }
.tg-brief-company { font-size: 12px; color: var(--muted); margin-bottom: 12px; }

/* ── FEATURES SECTION ─────────────────────────── */
.features-section { padding: 96px 0; }
.feature-card-tagged { position: relative; }

/* ── STEPS SECTION ────────────────────────────── */
.steps-section { padding: 96px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.step-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── PRICING SECTION ──────────────────────────── */
.pricing-section { padding: 96px 0; }
.pricing-toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 48px; }
.toggle-label { font-size: 14px; color: var(--muted); }
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg3); border: 1px solid var(--border2); border-radius: 24px; transition: 0.2s; }
.toggle-slider:before { content: ''; position: absolute; height: 16px; width: 16px; left: 3px; bottom: 3px; background: var(--muted); border-radius: 50%; transition: 0.2s; }
input:checked + .toggle-slider { background: var(--accent); border-color: var(--accent); }
input:checked + .toggle-slider:before { transform: translateX(20px); background: #fff; }
.badge-save { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); border-radius: 4px; padding: 2px 6px; font-size: 10px; font-weight: 700; }
.pricing-card-featured { border-color: var(--accent); background: linear-gradient(160deg, rgba(99,102,241,0.08), var(--card) 60%); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 14px; border-radius: 999px; letter-spacing: .05em; white-space: nowrap; }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--border); }
.pricing-feature:last-child { border-bottom: none; }
.pricing-feature svg { color: var(--green); flex-shrink: 0; margin-top: 1px; }

/* ── TESTIMONIALS SECTION ─────────────────────── */
.testimonials-section { padding: 96px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── FAQ SECTION ──────────────────────────────── */
.faq-section { padding: 96px 0; }
.faq-container { max-width: 720px; }
.faq-item { cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-size: 15px; font-weight: 600; }
.faq-chevron { transition: transform 0.2s; color: var(--muted); flex-shrink: 0; }
.faq-open .faq-chevron { transform: rotate(180deg); color: var(--accent2); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; font-size: 14px; color: var(--muted); line-height: 1.7; padding: 0 20px; }
.faq-open .faq-answer { max-height: 300px; padding: 0 20px 18px; }

/* ── CTA SECTION ──────────────────────────────── */
.cta-section { padding: 96px 0; text-align: center; }
.cta-inner { position: relative; }
.cta-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px; }
.cta-sub { font-size: 16px; color: var(--muted); margin-bottom: 36px; }
.cta-note { font-size: 13px; color: var(--faint); margin-top: 16px; }
.cta-link { color: var(--accent2); }

/* ── FOOTER (additional) ──────────────────────── */
.footer-tagline { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 11px; color: var(--faint); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }

/* ── AUTH (additional) ────────────────────────── */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: var(--bg); }
.auth-logo { font-size: 24px; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 32px; }
.auth-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 40px; width: 100%; max-width: 420px; }
.auth-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.form-input { width: 100%; background: var(--bg3); border: 1px solid var(--border2); border-radius: 8px; padding: 10px 14px; color: var(--text); font-size: 14px; transition: border-color 0.15s; }
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.form-input::placeholder { color: var(--faint); }
.auth-demo-hint { margin-top: 16px; padding: 12px; background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.15); border-radius: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.auth-demo-hint strong { color: var(--accent2); }
.auth-footer { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }
.auth-link { color: var(--accent2); }
.auth-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #f87171; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }

/* ── DASHBOARD LAYOUT (new class names) ───────── */
.dash-layout { display: flex; min-height: 100vh; }
.sidebar { width: 240px; flex-shrink: 0; background: var(--bg2); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar-logo { padding: 20px; font-size: 18px; font-weight: 900; letter-spacing: -0.04em; border-bottom: 1px solid var(--border); display: block; }
.sidebar-nav { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--muted); transition: all 0.15s; }
.sidebar-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.sidebar-link-active { color: var(--text) !important; background: rgba(99,102,241,0.12) !important; border: 1px solid rgba(99,102,241,0.2); }
.sidebar-footer { padding: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sidebar-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--cyan)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; color: #fff; flex-shrink: 0; }
.sidebar-user-info { min-width: 0; }
.sidebar-user-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-tier { font-size: 11px; color: var(--muted); }
.sidebar-logout { color: var(--muted); padding: 6px; border-radius: 6px; transition: color 0.15s; flex-shrink: 0; }
.sidebar-logout:hover { color: var(--red); }
.dash-main { flex: 1; overflow-y: auto; min-width: 0; display: flex; flex-direction: column; }
.dash-topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; border-bottom: 1px solid var(--border); background: var(--bg2); position: sticky; top: 0; z-index: 10; }
.dash-topbar-left { display: flex; align-items: center; gap: 10px; }
.dash-topbar-right { display: flex; align-items: center; gap: 12px; }
.breadcrumb { font-size: 14px; font-weight: 600; color: var(--text); }
.breadcrumb-link { color: var(--muted); }
.breadcrumb-link:hover { color: var(--text); }
.streak-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); border-radius: 6px; color: var(--amber); }
.dash-content { padding: 28px; flex: 1; }

/* ── DASHBOARD SECTIONS ───────────────────────── */
.dash-section { margin-bottom: 32px; }
.dash-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-section-title { font-size: 16px; font-weight: 700; }
.dash-section-badge { font-size: 12px; color: var(--muted); }
.dash-section-link { font-size: 13px; color: var(--accent2); font-weight: 600; }
.dash-section-link:hover { text-decoration: underline; }
.dash-section-filters { display: flex; gap: 6px; }

/* ── KPI STRIP ────────────────────────────────── */
.kpi-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.kpi-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.kpi-card-alert { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.04); }
.kpi-value { font-size: 28px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.kpi-label { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ── DAILY BRIEF CARD ─────────────────────────── */
.daily-brief-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.daily-point { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.daily-point:last-child { border-bottom: none; }
.daily-point-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.daily-point-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 4px; }
.daily-point-text { font-size: 14px; line-height: 1.65; color: var(--text); }

/* ── BRIEF LIST ───────────────────────────────── */
.brief-list { display: flex; flex-direction: column; gap: 8px; }
.brief-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; transition: border-color 0.15s; cursor: pointer; }
.brief-item:hover { border-color: var(--border2); }
.brief-item-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.brief-icon-meeting { background: rgba(99,102,241,0.12); }
.brief-icon-daily { background: rgba(245,158,11,0.12); }
.brief-icon-lg { width: 52px; height: 52px; border-radius: 12px; font-size: 22px; }
.brief-item-body { flex: 1; min-width: 0; }
.brief-item-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.brief-item-meta { font-size: 12px; color: var(--muted); }
.brief-time-badge { color: var(--green); font-weight: 600; }
.brief-item-arrow { color: var(--faint); flex-shrink: 0; }

/* ── BRIEF DETAIL ─────────────────────────────── */
.brief-detail-header { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.brief-detail-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.brief-detail-meta { font-size: 13px; color: var(--muted); }
.brief-sections { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.brief-section-card { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.brief-section-num { font-size: 28px; font-weight: 900; color: var(--border2); line-height: 1; flex-shrink: 0; width: 28px; }
.brief-section-body { flex: 1; }
.brief-section-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent2); margin-bottom: 8px; }
.brief-section-content { font-size: 14px; line-height: 1.7; color: var(--text); }
.brief-detail-actions { display: flex; gap: 12px; margin-top: 28px; }

/* ── REPORTS ──────────────────────────────────── */
.report-list { display: flex; flex-direction: column; gap: 10px; }
.report-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; }
.report-item-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.report-item-sub { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.report-item-meta { font-size: 11px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.report-public-badge { background: rgba(34,197,94,0.1); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); border-radius: 4px; padding: 2px 6px; font-size: 10px; font-weight: 700; }
.report-private-badge { background: rgba(100,100,120,0.1); color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; font-size: 10px; font-weight: 700; }
.reports-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.report-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.report-card-header { display: flex; align-items: center; justify-content: space-between; }
.report-card-icon { font-size: 22px; }
.report-card-title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.report-card-sub { font-size: 13px; color: var(--muted); }
.report-card-sections { display: flex; flex-wrap: wrap; gap: 6px; }
.report-section-chip { font-size: 11px; background: rgba(99,102,241,0.08); color: var(--accent2); border: 1px solid rgba(99,102,241,0.15); border-radius: 4px; padding: 3px 8px; }
.report-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.report-card-meta { font-size: 12px; color: var(--faint); }
.report-card-actions { display: flex; gap: 6px; }
.report-private-note { font-size: 11px; color: var(--faint); }
.reports-upgrade-cta { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: rgba(99,102,241,0.05); border: 1px solid rgba(99,102,241,0.15); border-radius: 12px; }
.reports-upgrade-icon { font-size: 24px; }
.reports-upgrade-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.reports-upgrade-sub { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── PRIORITIES ───────────────────────────────── */
.priorities-list { display: flex; flex-direction: column; gap: 8px; }
.priority-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.priority-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 6px; }
.priority-num { width: 22px; height: 22px; border-radius: 50%; background: rgba(99,102,241,0.12); color: var(--accent2); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── PROFILE ──────────────────────────────────── */
.profile-note { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: rgba(6,182,212,0.05); border: 1px solid rgba(6,182,212,0.15); border-radius: 10px; font-size: 13px; color: var(--muted); margin-bottom: 28px; line-height: 1.5; }
.profile-note svg { flex-shrink: 0; color: var(--cyan); margin-top: 1px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-field { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.profile-field-wide { grid-column: 1 / -1; }
.profile-field-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.profile-field-value { font-size: 14px; color: var(--text); }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: center; }
.metric-card-warn { border-color: rgba(245,158,11,0.25); background: rgba(245,158,11,0.04); }
.metric-value { font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }
.metric-label { font-size: 12px; color: var(--muted); margin-top: 4px; }
.competitor-list { display: flex; flex-wrap: wrap; gap: 8px; }
.competitor-chip { display: flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--card); border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-weight: 600; }
.competitor-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.stakeholder-list { display: flex; flex-direction: column; gap: 10px; }
.stakeholder-card { display: flex; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; }
.stakeholder-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--purple)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0; }
.stakeholder-name { font-size: 14px; font-weight: 700; }
.stakeholder-role { font-size: 12px; color: var(--accent2); margin-bottom: 4px; }
.stakeholder-notes { font-size: 13px; color: var(--muted); }

/* ── SETTINGS ─────────────────────────────────── */
.settings-list { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.settings-row:last-child { border-bottom: none; }
.settings-row-label { flex: 1; }
.settings-row-title { font-size: 14px; font-weight: 600; }
.settings-row-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.settings-row-value { font-size: 14px; color: var(--muted); }
.settings-value-chip { background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 600; }
.settings-note { font-size: 12px; color: var(--faint); margin-top: 10px; }
.settings-note code { background: var(--bg3); padding: 1px 6px; border-radius: 4px; font-size: 12px; }
.plan-badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.plan-badge-strategic { background: rgba(99,102,241,0.12); color: var(--accent2); border: 1px solid rgba(99,102,241,0.2); }
.plan-badge-executive { background: rgba(6,182,212,0.1); color: #22d3ee; border: 1px solid rgba(6,182,212,0.2); }
.plan-badge-advisory { background: rgba(168,85,247,0.1); color: #c084fc; border: 1px solid rgba(168,85,247,0.2); }

/* ── FILTER CHIPS ─────────────────────────────── */
.filter-chip { padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--muted); background: transparent; border: 1px solid var(--border); cursor: pointer; transition: all 0.15s; }
.filter-chip:hover { border-color: var(--border2); color: var(--text); }
.filter-chip-active { background: rgba(99,102,241,0.1); color: var(--accent2); border-color: rgba(99,102,241,0.25); }
.empty-cta { text-align: center; padding: 40px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.empty-cta-icon { font-size: 32px; margin-bottom: 12px; }
.empty-cta-text { font-size: 15px; font-weight: 600; margin-bottom: 16px; }

/* ── REPORT PAGE ──────────────────────────────── */
.report-hero { background: linear-gradient(135deg, var(--bg2), var(--bg3)); border-bottom: 1px solid var(--border); padding: 60px 0; }
.report-hero-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--accent2); margin-bottom: 16px; }
.report-hero-title { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.report-hero-sub { font-size: 17px; color: var(--muted); margin-bottom: 16px; }
.report-hero-meta { font-size: 13px; color: var(--faint); margin-bottom: 20px; }
.report-hero-actions { display: flex; gap: 10px; }
.report-body { padding: 60px 0; }
.report-container { display: grid; grid-template-columns: 200px 1fr; gap: 48px; }
.report-toc { position: sticky; top: 80px; height: fit-content; }
.report-toc-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.report-toc-item { display: block; font-size: 13px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border); transition: color 0.15s; }
.report-toc-item:hover { color: var(--text); }
.report-sections { display: flex; flex-direction: column; gap: 40px; }
.report-section { padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.report-section:last-child { border-bottom: none; }
.report-section-num { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent2); margin-bottom: 8px; }
.report-section-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.report-section-placeholder { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.report-placeholder-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 10px; }
.report-placeholder-note { font-size: 12px; color: var(--faint); font-style: italic; }
.report-cta { padding: 80px 0; background: var(--bg2); border-top: 1px solid var(--border); text-align: center; }
.report-cta-title { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.report-cta-sub { font-size: 15px; color: var(--muted); margin-bottom: 28px; }

/* ── SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ── ANIMATIONS ───────────────────────────────── */
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0}to{opacity:1} }
@keyframes glow { 0%,100%{box-shadow:0 0 20px rgba(99,102,241,0.15)}50%{box-shadow:0 0 40px rgba(99,102,241,0.3)} }
.fu { animation: fadeUp 0.5s ease both; }
.fu2 { animation: fadeUp 0.5s 0.1s ease both; }
.fu3 { animation: fadeUp 0.5s 0.2s ease both; }
.pulse { animation: pulse 2s infinite; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(n) { border-radius: 0; }
  .feature-card:first-child { border-radius: 12px 12px 0 0; }
  .feature-card:last-child { border-radius: 0 0 12px 12px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card:nth-child(1) { border-radius: 12px 0 0 0; }
  .step-card:nth-child(2) { border-radius: 0 12px 0 0; }
  .step-card:nth-child(3) { border-radius: 0 0 0 12px; }
  .step-card:nth-child(4) { border-radius: 0 0 12px 0; }
  .step-arrow { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  h1 { font-size: 2rem; }
  .hero { padding: 80px 0 60px; }
  .section { padding: 64px 0; }
  .cab-sidebar { width: 56px; }
  .cab-user { justify-content: center; }
  .cab-user-name, .cab-user-role { display: none; }
  .cab-nav-item span:not(.cab-nav-icon) { display: none; }
  .cab-nav-item { justify-content: center; padding: 12px; }
  .cab-sidebar-bottom .cab-logout span { display: none; }
  .cab-logo { font-size: 14px; padding: 14px; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card:nth-child(n) { border-radius: 0; }
  .step-card:first-child { border-radius: 12px 12px 0 0; }
  .step-card:last-child { border-radius: 0 0 12px 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .report-hero, .report-body { padding: 24px; }
  .hero-proof { gap: 20px; }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  position: relative;
  display: inline-flex;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.lang-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}
.lang-btn-sm {
  padding: 4px 8px;
  font-size: 0.8rem;
  border-radius: 6px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 9999;
  flex-direction: column;
  gap: 2px;
}
.lang-dropdown-up {
  top: auto;
  bottom: calc(100% + 6px);
}

.lang-switcher.lang-open .lang-dropdown {
  display: flex;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: none;
  background: transparent;
  border-radius: 7px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: left;
  width: 100%;
  transition: background 0.12s, color 0.12s;
}
.lang-option:hover {
  background: var(--surface-2);
  color: var(--text);
}
.lang-option-active {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}
.lang-name {
  flex: 1;
}

/* ============================================================
   RTL SUPPORT (Arabic)
   ============================================================ */
[dir="rtl"] .sidebar {
  border-right: none;
  border-left: 1px solid var(--border);
}
[dir="rtl"] .brief-section-card {
  flex-direction: row-reverse;
}
[dir="rtl"] .brief-item-arrow svg {
  transform: rotate(180deg);
}
[dir="rtl"] .daily-point {
  flex-direction: row-reverse;
}
[dir="rtl"] .sidebar-footer-actions {
  flex-direction: row-reverse;
}
[dir="rtl"] .dash-section-header {
  flex-direction: row-reverse;
}
[dir="rtl"] .brief-item {
  flex-direction: row-reverse;
}
[dir="rtl"] .settings-row {
  flex-direction: row-reverse;
}
[dir="rtl"] .profile-note {
  flex-direction: row-reverse;
}
[dir="rtl"] .stakeholder-card {
  flex-direction: row-reverse;
}
[dir="rtl"] .tg-msg-out {
  margin-left: 0;
  margin-right: auto;
  border-radius: 18px 18px 18px 4px;
}
[dir="rtl"] .tg-msg-in {
  margin-right: 0;
  margin-left: auto;
  border-radius: 18px 18px 4px 18px;
}
[dir="rtl"] .nav-actions {
  flex-direction: row-reverse;
}
[dir="rtl"] .hero-actions {
  flex-direction: row-reverse;
}
[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}
