/* ============================================================
   Docs ONEQ · Landing Sections
   Hero · Live Demo · Agent 7 · Bento · How it works
   (extends tokens.css + landing.css)
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
  padding-top: 88px;
  padding-bottom: clamp(72px, 8vw, 128px);
}
.hero-grid-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid-layout { grid-template-columns: 1fr; gap: 40px; }
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px; border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--ink-9);
  box-shadow: var(--shadow-xs);
  font-size: 12.5px; font-weight: 600; color: var(--ink-3);
}
.hero-tag .badge {
  background: var(--accent); color: white;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
.hero-tag .arrow { color: var(--ink-5); font-size: 13px; }

.hero h1.hero-title {
  font-size: clamp(40px, 5.8vw, 84px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink-0);
  margin: 22px 0 0;
}
.hero h1.hero-title .stroke {
  display: inline-block;
  position: relative;
}
.hero h1.hero-title .stroke::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 4px;
  height: 14px;
  background: var(--accent);
  opacity: 0.32;
  z-index: -1;
  border-radius: 4px;
}
.hero p.hero-lead {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55;
  color: var(--ink-4);
  max-width: 540px;
  margin: 22px 0 0;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--ink-9); }
.hero-meta .item .v { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-0); }
.hero-meta .item .v .acc { color: var(--accent); }
.hero-meta .item .l { font-size: 12px; color: var(--ink-5); margin-top: 2px; }

/* ---------- Hero · Live chat preview ---------- */
.hero-demo {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-9);
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
  padding: 18px;
  overflow: hidden;
}
.hero-demo::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 60px;
  background: var(--grad-paper); pointer-events: none;
}
.hero-demo-titlebar {
  display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px;
  border-bottom: 1px solid var(--ink-9);
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.hero-demo-titlebar .dots { display: flex; gap: 5px; }
.hero-demo-titlebar .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-8); }
.hero-demo-titlebar .dots span:nth-child(1) { background: #3182F6; }
.hero-demo-titlebar .dots span:nth-child(2) { background: #facc15; }
.hero-demo-titlebar .dots span:nth-child(3) { background: #4ade80; }
.hero-demo-titlebar .title {
  font-size: 12px; font-weight: 600; color: var(--ink-4);
  font-family: var(--font-mono); letter-spacing: -0.01em;
  margin-left: 8px;
}
.hero-demo-titlebar .right { margin-left: auto; display: flex; gap: 6px; }
.hero-demo-titlebar .right .tab {
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 600; color: var(--ink-5);
}
.hero-demo-titlebar .right .tab.active { color: var(--brand); background: var(--brand-wash); }

.hero-demo-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative; z-index: 1;
}
.hero-demo-chat {
  display: flex; flex-direction: column; gap: 10px;
  min-height: 320px;
}
.hero-demo .chat-bubble { margin-bottom: 0; }
.hero-demo .chat-bubble.user { padding-left: 32px; }
.hero-demo .chat-bubble.agent { padding-right: 12px; }
.hero-demo .chat-bubble .body { font-size: 13.5px; padding: 12px 14px; border-radius: 16px; }
.hero-demo .chat-bubble.user .body { border-top-right-radius: 6px; }
.hero-demo .chat-bubble.agent .body { border-top-left-radius: 6px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.hero-demo .chat-steps { gap: 6px; margin: 4px 0 6px; }
.hero-demo .chat-step { font-size: 12px; gap: 8px; }
.hero-demo .chat-step .ico { width: 14px; height: 14px; }
.hero-demo .reasoning { font-size: 11.5px; padding: 8px 10px; }
.hero-demo .reasoning .label { font-size: 9px; margin-bottom: 4px; }
.hero-demo .result-tag { font-size: 10.5px; padding: 3px 8px; }
.hero-demo .action-row { padding-top: 10px; gap: 8px; }
.hero-demo .action-row .btn { height: 34px; font-size: 12px; padding: 0 12px; }

/* Doc preview panel */
.hero-demo-doc {
  background: var(--ink-10);
  border: 1px solid var(--ink-9);
  border-radius: 14px;
  padding: 14px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.hero-demo-doc-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--ink-5); margin-bottom: 10px;
  font-family: var(--font-mono);
}
.hero-demo-doc-head .file { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-weight: 600; }
.hero-demo-doc-head .file .ext { padding: 2px 6px; border-radius: 4px; background: var(--brand-wash); color: var(--brand); font-size: 9px; letter-spacing: 0.08em; }
.hero-demo-doc-head .meta { color: var(--ink-6); }

.fake-doc-body {
  background: var(--paper);
  border-radius: 10px;
  padding: 14px 16px 16px;
  border: 1px solid var(--ink-9);
  font-size: 11px; line-height: 1.5;
  color: var(--ink-3);
  position: relative;
}
.fake-doc-body h4 { margin: 0 0 8px; font-size: 12px; font-weight: 800; color: var(--ink-0); letter-spacing: -0.01em; }
.fake-line { height: 6px; background: var(--ink-9); border-radius: 3px; margin-bottom: 6px; }
.fake-line.s { width: 60%; }
.fake-line.m { width: 86%; }
.fake-line.l { width: 100%; }

/* Animated chart that appears */
.fake-chart {
  margin-top: 12px;
  height: 92px;
  display: flex; align-items: flex-end; gap: 6px;
  padding: 0 4px;
}
.fake-chart .bar {
  flex: 1; background: var(--brand);
  border-radius: 4px 4px 0 0;
  animation: barGrow 1s var(--ease-out) backwards;
  position: relative;
}
.fake-chart .bar .v {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 700; color: var(--ink-3); white-space: nowrap;
}
.fake-chart .bar:nth-child(1) { height: 38%; animation-delay: 0.1s; background: var(--brand-3); }
.fake-chart .bar:nth-child(2) { height: 56%; animation-delay: 0.2s; background: var(--brand-2); }
.fake-chart .bar:nth-child(3) { height: 78%; animation-delay: 0.3s; background: var(--brand); }
.fake-chart .bar:nth-child(4) { height: 100%; animation-delay: 0.4s; background: var(--accent); }
@keyframes barGrow { from { transform: scaleY(0); transform-origin: bottom; } }

.fake-chart-labels { display: flex; gap: 6px; padding: 0 4px; margin-top: 6px; }
.fake-chart-labels span { flex: 1; text-align: center; font-size: 9px; color: var(--ink-5); font-family: var(--font-mono); }

.diff-marker {
  position: absolute; left: -6px; top: 50%; transform: translateY(-50%);
  width: 4px; border-radius: 2px;
  background: var(--accent);
  animation: pulseLine 2s ease-in-out infinite;
}
@keyframes pulseLine { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* Floating decorations behind hero */
.hero-orbs {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(60px);
  opacity: 0.45;
}
.hero-orb.a { top: -120px; left: -80px; width: 360px; height: 360px; background: var(--brand-3); }
.hero-orb.b { top: 60%; right: -120px; width: 320px; height: 320px; background: var(--accent); opacity: 0.3; }
.hero-orb.c { bottom: -120px; left: 30%; width: 280px; height: 280px; background: var(--brand-5); opacity: 0.35; }

/* ---------- LIVE DEMO section ---------- */
.live-demo {
  background: var(--ink-10);
  border-top: 1px solid var(--ink-9);
  border-bottom: 1px solid var(--ink-9);
}
.live-demo-stage {
  background: var(--paper);
  border: 1px solid var(--ink-9);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
}
.live-demo-tabs {
  display: flex; gap: 4px; padding: 8px 8px 0;
  border-bottom: 1px solid var(--ink-9);
}
.live-demo-tabs .tab {
  padding: 10px 18px;
  font-size: 13.5px; font-weight: 700;
  color: var(--ink-5);
  border-radius: 10px 10px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  transition: all var(--dur) var(--ease-out);
  cursor: pointer;
  position: relative; top: 1px;
}
.live-demo-tabs .tab:hover { color: var(--ink-2); }
.live-demo-tabs .tab.active {
  background: var(--paper);
  color: var(--brand);
  border-color: var(--ink-9);
}
.live-demo-content {
  padding: 32px 36px 36px;
  min-height: 480px;
}

/* ---------- AGENT 7 modes section ---------- */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 960px) { .agents-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .agents-grid { grid-template-columns: 1fr; } }

.agent-tile {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-9);
  border-radius: var(--r-xl);
  padding: 24px 22px;
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
  overflow: hidden;
  text-align: left;
  display: flex; flex-direction: column;
  min-height: 200px;
}
.agent-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 45, 140, 0.18);
}
.agent-tile.active {
  background: var(--brand-ink); color: white;
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
}
.agent-tile.active .agent-icon { background: var(--accent); color: white; }
.agent-tile.active .agent-desc { color: rgba(255,255,255,0.78); }
.agent-tile.active .agent-tag { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.18); }

.agent-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-wash); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  margin-bottom: 14px;
  transition: all var(--dur) var(--ease-out);
}
.agent-tile .agent-name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.agent-tile .agent-desc { font-size: 13px; color: var(--ink-5); line-height: 1.55; margin-top: 6px; flex: 1; }
.agent-tile .agent-tag {
  margin-top: 14px; align-self: flex-start;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
  background: var(--ink-10); color: var(--ink-5);
  border: 1px solid var(--ink-9);
  letter-spacing: 0.04em;
}

/* Active agent preview pane */
.agent-preview-shell {
  background: var(--brand-ink);
  border-radius: var(--r-2xl);
  padding: 36px;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
  margin-top: 24px;
}
@media (max-width: 920px) { .agent-preview-shell { grid-template-columns: 1fr; } }
.agent-preview-shell h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.015em; margin: 14px 0 12px; line-height: 1.2; }
.agent-preview-shell p { color: rgba(255,255,255,0.78); line-height: 1.6; margin: 0 0 24px; font-size: 15px; }
.agent-preview-shell .ex-prompt {
  font-family: var(--font-mono); font-size: 13px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 18px; border-radius: 12px;
  color: rgba(255,255,255,0.9);
  position: relative;
}
.agent-preview-shell .ex-prompt::before {
  content: ">"; color: var(--accent); margin-right: 8px; font-weight: 700;
}
.agent-preview-vis {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 24px;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

/* ---------- FEATURES BENTO ---------- */
.features-bento { gap: 16px; }
.feature-card {
  position: relative; overflow: hidden;
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--ink-9);
  transition: all var(--dur) var(--ease-out);
  min-height: 240px;
  display: flex; flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 45, 140, 0.18);
}
.feature-card .fc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-wash); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.feature-card.dark { background: var(--brand-ink); color: white; border-color: rgba(255,255,255,0.08); }
.feature-card.dark .fc-icon { background: rgba(255,255,255,0.1); color: white; }
.feature-card.dark .fc-desc { color: rgba(255,255,255,0.7); }
.feature-card.accent { background: var(--accent); color: white; border-color: var(--accent); }
.feature-card.accent .fc-icon { background: rgba(255,255,255,0.18); color: white; }
.feature-card.accent .fc-desc { color: rgba(255,255,255,0.85); }

.feature-card .fc-title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.feature-card .fc-desc { font-size: 13.5px; color: var(--ink-5); line-height: 1.6; margin-top: 8px; flex: 1; }
.feature-card .fc-visual {
  margin-top: 14px; flex-shrink: 0;
}

/* Speed visual */
.speed-bar {
  display: flex; align-items: flex-end; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
}
.speed-bar .row { flex: 1; }
.speed-bar .row .label { color: rgba(255,255,255,0.6); margin-bottom: 6px; font-size: 10px; }
.speed-bar .row .meter {
  height: 8px; background: rgba(255,255,255,0.14); border-radius: 4px; overflow: hidden;
}
.speed-bar .row .meter .fill { height: 100%; background: var(--accent); border-radius: 4px; }
.speed-bar .row.us .meter .fill { width: 14%; }
.speed-bar .row.them .meter .fill { width: 100%; background: rgba(255,255,255,0.4); }
.speed-bar .row .ms { margin-top: 6px; color: white; font-weight: 700; font-size: 13px; }

/* Security visual */
.sec-stack { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 11px; }
.sec-stack .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px; border-radius: 6px;
  background: var(--ink-10); color: var(--ink-3);
}
.sec-stack .row .ok { color: var(--success); font-weight: 700; }

/* HWP native visual */
.hwp-tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.hwp-tag-row .t {
  padding: 5px 10px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  background: var(--ink-10); color: var(--ink-3); border: 1px solid var(--ink-9);
}
.hwp-tag-row .t.primary { background: var(--brand); color: white; border-color: var(--brand); }
.hwp-tag-row .t.strike { text-decoration: line-through; opacity: 0.5; }

/* ---------- HOW IT WORKS ---------- */
.how-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .how-grid { grid-template-columns: 1fr; } }
.how-step {
  background: var(--paper);
  border: 1px solid var(--ink-9);
  border-radius: var(--r-xl);
  padding: 24px 22px;
  position: relative;
}
.how-step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--brand); color: white;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  margin-bottom: 14px;
}
.how-step .t { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.how-step .d { font-size: 13.5px; color: var(--ink-5); line-height: 1.6; margin-top: 8px; }
.how-step .v {
  margin-top: 18px;
  background: var(--ink-10);
  border: 1px dashed var(--ink-8);
  border-radius: 12px;
  padding: 12px;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.55;
  min-height: 76px;
}
.how-step .v .you { color: var(--brand); font-weight: 700; }
.how-step .v .ai { color: var(--accent); font-weight: 700; }

/* ---------- Section background ---------- */
.bg-soft { background: var(--ink-10); }
.bg-paper { background: var(--paper); }
.bg-dark { background: var(--brand-ink); color: rgba(255,255,255,0.85); }
.bg-dark .heading-2, .bg-dark .heading-1, .bg-dark h2, .bg-dark h3 { color: white; }
.bg-dark .lead { color: rgba(255,255,255,0.7); }
.bg-dark .eyebrow { color: var(--accent); }

/* ============================================================
   USE CASES (B2C + Public sector tabs)
   ============================================================ */
.usecase-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}
@media (max-width: 920px) { .usecase-shell { grid-template-columns: 1fr; } }

.usecase-tabs {
  display: flex; flex-direction: column; gap: 6px;
}
@media (max-width: 920px) { .usecase-tabs { flex-direction: row; flex-wrap: wrap; } }

.usecase-tab {
  text-align: left;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--ink-9);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink-3);
  transition: all var(--dur) var(--ease-out);
  cursor: pointer;
  width: 100%;
}
.usecase-tab:hover { border-color: rgba(31, 45, 140, 0.18); transform: translateX(2px); }
.usecase-tab.active {
  background: var(--brand-ink);
  color: white;
  border-color: var(--brand-ink);
  box-shadow: var(--shadow-md);
}
.usecase-tab .ut-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink-10); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.usecase-tab.active .ut-icon { background: rgba(255,255,255,0.12); color: white; }
.usecase-tab .ut-meta { min-width: 0; flex: 1; }
.usecase-tab .ut-cat {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-5);
  margin-bottom: 4px;
}
.usecase-tab.active .ut-cat { color: var(--accent); }
.usecase-tab .ut-title { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }

.usecase-pane {
  background: var(--paper);
  border: 1px solid var(--ink-9);
  border-radius: var(--r-2xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.usecase-pane > .pane { display: none; }
.usecase-pane > .pane.active { display: block; animation: fadeUp 400ms var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.usecase-pane .pane-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.usecase-pane .pane-head .badge {
  display: inline-flex; align-items: center; padding: 4px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--r-pill);
}
.usecase-pane .pane-head .badge.b2c { background: var(--accent-soft); color: var(--accent); }
.usecase-pane .pane-head .badge.b2b { background: var(--brand-wash); color: var(--brand); }
.usecase-pane h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 6px; line-height: 1.2; }
.usecase-pane .pane-sub { color: var(--ink-5); font-size: 15px; margin: 0; }

.usecase-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}
@media (max-width: 720px) { .usecase-grid { grid-template-columns: 1fr; } }

.usecase-list {
  display: flex; flex-direction: column; gap: 12px;
}
.usecase-list .item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; line-height: 1.55;
}
.usecase-list .item .num {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px;
  background: var(--brand-wash); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; font-family: var(--font-mono);
  margin-top: 2px;
}
.usecase-list .item b { color: var(--ink-0); }

.usecase-visual {
  background: var(--ink-10);
  border: 1px solid var(--ink-9);
  border-radius: var(--r-xl);
  padding: 22px;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

.usecase-cta-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-9);
  flex-wrap: wrap;
}

/* Visual: HWP report mock */
.mock-report {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--ink-9);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 11px; line-height: 1.5; color: var(--ink-3);
  position: relative;
}
.mock-report .doc-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.1em; color: var(--brand);
  background: var(--brand-wash); padding: 3px 8px; border-radius: 4px;
  margin-bottom: 10px;
}
.mock-report h5 { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--ink-0); letter-spacing: -0.01em; }
.mock-report .doc-row { height: 6px; background: var(--ink-9); border-radius: 3px; margin-bottom: 6px; }
.mock-report .doc-row.l { width: 100%; }
.mock-report .doc-row.m { width: 82%; }
.mock-report .doc-row.s { width: 56%; }
.mock-report .doc-table {
  border-collapse: collapse; width: 100%; font-size: 10.5px;
  margin-top: 10px;
}
.mock-report .doc-table th, .mock-report .doc-table td {
  border: 1px solid var(--ink-9); padding: 5px 8px; text-align: left;
}
.mock-report .doc-table th { background: var(--ink-10); font-weight: 700; color: var(--ink-2); }
.mock-report .annot {
  position: absolute; right: -12px; top: 30%;
  background: var(--accent); color: white;
  padding: 4px 10px; border-radius: 8px;
  font-size: 10px; font-weight: 700;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.mock-report .annot::before {
  content: ""; position: absolute; left: -6px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-right-color: var(--accent);
}

/* ============================================================
   NUMBERS (counter section)
   ============================================================ */
.numbers-shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .numbers-shell { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .numbers-shell { grid-template-columns: 1fr; } }

.number-card {
  background: var(--paper);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out);
}
.number-card:hover { transform: translateY(-3px); }
.bg-dark .number-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}

.number-card .num-value {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1; color: white;
}
.number-card .num-value .suffix { font-size: 0.55em; color: var(--accent); margin-left: 4px; font-weight: 700; }
.number-card .num-label {
  font-size: 13.5px; color: rgba(255,255,255,0.7);
  margin-top: 10px; line-height: 1.5;
}
.number-card .num-trend {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent);
  font-weight: 700;
}
.number-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 130, 246, 0.2), transparent 70%);
  pointer-events: none;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1080px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--paper);
  border: 1px solid var(--ink-9);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: all var(--dur) var(--ease-out);
  position: relative;
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.price-card.featured {
  border-color: var(--brand);
  border-width: 2px;
  background: var(--brand-ink);
  color: white;
  box-shadow: var(--shadow-glow);
}
.price-card.featured .price-desc { color: rgba(255,255,255,0.7); }
.price-card.featured .price-features li { color: rgba(255,255,255,0.85); }
.price-card.featured .price-features li::before { color: var(--accent); }

.price-card .ribbon {
  position: absolute; top: -1px; right: 18px;
  padding: 4px 10px;
  background: var(--accent);
  color: white;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  border-radius: 0 0 8px 8px;
}

.price-tier {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-5);
  margin-bottom: 8px;
}
.price-card.featured .price-tier { color: var(--accent); }

.price-name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 6px; }
.price-desc { color: var(--ink-5); font-size: 13.5px; margin: 0 0 22px; line-height: 1.55; min-height: 40px; }

.price-amount {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 24px;
}
.price-amount .currency { font-size: 18px; font-weight: 700; color: var(--ink-5); }
.price-card.featured .price-amount .currency { color: rgba(255,255,255,0.7); }
.price-amount .value { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-amount .period { font-size: 13px; color: var(--ink-5); }
.price-card.featured .price-amount .period { color: rgba(255,255,255,0.7); }

.price-amount .custom { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }

.price-features {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.price-features li {
  position: relative; padding-left: 24px;
  font-size: 13.5px; line-height: 1.55; color: var(--ink-2);
}
.price-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 800;
}
.price-features li.muted { opacity: 0.5; }
.price-features li.muted::before { content: "·"; }

.price-card .btn { width: 100%; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1080px;
  margin: clamp(40px, 5vw, 56px) auto 0;
}
@media (max-width: 760px) { .about-stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .about-stats-row { grid-template-columns: 1fr; } }

.about-stats-row .stat {
  background: var(--paper);
  border: 1px solid var(--ink-9);
  border-radius: var(--r-xl);
  padding: 28px 28px 26px;
  text-align: left;
  transition: all var(--dur) var(--ease-out);
}
.about-stats-row .stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 45, 140, 0.16);
}
.about-stats-row .stat .v {
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-0);
  line-height: 1.05;
}
.about-stats-row .stat .v .acc { color: var(--accent); }
.about-stats-row .stat .l {
  font-size: 13px; color: var(--ink-5);
  margin-top: 10px;
  line-height: 1.45;
}

.about-sister {
  margin-top: clamp(28px, 3.4vw, 40px);
  max-width: 1080px;
  margin-left: auto; margin-right: auto;
  background: var(--brand-ink);
  color: white;
  border-radius: var(--r-xl);
  padding: 24px 28px;
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.about-sister::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(49, 130, 246, 0.3), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.about-sister-tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  background: rgba(49, 130, 246, 0.18);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.about-sister-name {
  flex: 1; min-width: 200px;
  font-size: 16px; font-weight: 700;
  position: relative; z-index: 1;
}
.about-sister .btn { position: relative; z-index: 1; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--ink-9);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--dur) var(--ease-out);
}
.faq-item:hover { border-color: rgba(31, 45, 140, 0.18); }
.faq-item.open {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  background: transparent;
  transition: background var(--dur);
}
.faq-q:hover { background: var(--ink-10); }
.faq-q .text {
  font-size: 16px; font-weight: 700;
  color: var(--ink-1);
  letter-spacing: -0.005em;
}
.faq-q .ico {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink-10);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-3);
  transition: all var(--dur) var(--ease-out);
}
.faq-item.open .faq-q .ico {
  background: var(--brand); color: white;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a .inner {
  padding: 0 24px 22px;
  font-size: 14.5px; line-height: 1.75;
  color: var(--ink-3);
}

/* ============================================================
   NEWS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 920px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--paper);
  border: 1px solid var(--ink-9);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--dur) var(--ease-out);
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 45, 140, 0.18);
}
.news-thumb {
  aspect-ratio: 16/9;
  background: var(--ink-9);
  position: relative;
  overflow: hidden;
}
.news-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-thumb .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-md);
  transition: all var(--dur) var(--ease-out);
}
.news-card:hover .news-thumb .play { background: var(--accent); color: white; transform: translate(-50%, -50%) scale(1.08); }

.news-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column;
  flex: 1;
}
.news-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--ink-5);
  margin-bottom: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.news-meta .date { color: var(--brand); font-weight: 700; }
.news-meta .sep { opacity: 0.4; }
.news-meta .tag { color: var(--ink-5); }
.news-title {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.01em; line-height: 1.35;
  color: var(--ink-0);
  margin: 0 0 8px;
}
.news-desc {
  font-size: 13px; line-height: 1.55;
  color: var(--ink-5);
  flex: 1;
}
.news-cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 700;
  color: var(--brand);
  margin-top: 14px;
}
.news-card:hover .news-cta { color: var(--accent); }
.news-cta .arrow { transition: transform var(--dur) var(--ease-out); }
.news-card:hover .news-cta .arrow { transform: translateX(3px); }

/* ============================================================
   FOOTER (full)
   ============================================================ */
.footer-full {
  background: var(--brand-ink);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer-full::before {
  content: ""; position: absolute; top: -40px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(85, 102, 197, 0.3), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.footer-full a {
  color: rgba(255,255,255,0.7);
  transition: color var(--dur) var(--ease-out);
}
.footer-full a:hover { color: white; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  position: relative; z-index: 1;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-block .brand-mark { font-size: 18px; }
.footer-brand-block .brand-mark .name { color: white; }
.footer-brand-block .brand-mark .name em { color: var(--accent); }
.footer-tagline {
  font-size: 14px; line-height: 1.6;
  margin: 18px 0 24px;
  max-width: 320px;
}
.footer-langs {
  display: flex; gap: 8px;
  margin-top: 18px;
}
.footer-langs .lang-toggle {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
.footer-langs .lang-toggle button { color: rgba(255,255,255,0.6); }
.footer-langs .lang-toggle button.active {
  background: rgba(255,255,255,0.16); color: white;
}

.footer-col h4 {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col li a {
  font-size: 13.5px;
}

.footer-business {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  position: relative; z-index: 1;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 720px) { .footer-business { grid-template-columns: 1fr; } }
.footer-business b { color: rgba(255,255,255,0.9); font-weight: 700; }
.footer-business .label {
  display: inline-block; min-width: 100px;
  color: rgba(255,255,255,0.4);
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-socials {
  display: flex; gap: 8px;
  align-items: flex-start;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all var(--dur) var(--ease-out);
}
.footer-socials a:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 12px;
  position: relative; z-index: 1;
}
.footer-bottom .links { display: flex; gap: 18px; }

