/* Fudcost landing — v0.2 (visual-first) */

:root {
  --bg: #FAFAF9;
  --bg-alt: #F5F5F4;
  --surface: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #27272A;
  --muted: #71717A;
  --border: #E7E5E4;
  --accent: #EA580C;
  --accent-2: #C2410C;
  --accent-soft: #FFF7ED;
  --good: #16A34A;
  --warn: #EAB308;
  --bad: #DC2626;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 30px 80px rgba(234,88,12,0.14), 0 10px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 40px 100px rgba(0,0,0,0.14), 0 20px 40px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,249,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display:flex; align-items:center; justify-content:space-between; padding: 14px 24px; }
.logo { display:inline-flex; align-items:center; gap:10px; font-weight:800; font-size:19px; letter-spacing:-0.015em; }
.logo__mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FB923C, var(--accent));
  box-shadow: 0 0 12px rgba(234,88,12,0.5);
}
.nav__links { display:flex; gap:28px; }
.nav__links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 780px) { .nav__links { display:none; } }

/* ============== BUTTONS ============== */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding: 14px 26px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  transition: transform .12s, box-shadow .2s, background .15s;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font-family: inherit;
}
.btn--primary {
  background: linear-gradient(180deg, #F97316, var(--accent));
  color: white;
  box-shadow: 0 10px 24px rgba(234,88,12,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(234,88,12,0.45), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn--ghost { background: rgba(255,255,255,0.6); color: var(--ink-2); border-color: var(--border); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: white; }
.btn--big { padding: 16px 32px; font-size: 16px; }
.btn--xl { padding: 20px 44px; font-size: 18px; }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 70px 0 100px;
  text-align: center;
  overflow: hidden;
  min-height: 100vh;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero__orb--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #FB923C, transparent 70%);
  top: -100px; left: -150px;
}
.hero__orb--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #FBBF24, transparent 70%);
  top: 100px; right: -120px;
  animation-delay: -6s;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black, transparent);
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-30px) scale(1.1); }
}

.hero__inner { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex; align-items:center; gap:8px;
  background: rgba(255,255,255,0.8);
  color: var(--ink-2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(234,88,12,0.6);
  animation: pulse 2s infinite;
}
.pulse-dot--green { background: var(--good); box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(234,88,12,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(234,88,12,0); }
  100% { box-shadow: 0 0 0 0 rgba(234,88,12,0); }
}

.hero__title {
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--ink) 30%, #3F3F46);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title .accent {
  background: linear-gradient(135deg, #FB923C, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  margin-bottom: 36px;
  font-weight: 500;
}

.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.hero__trust {
  display:flex; gap:28px; justify-content:center; flex-wrap: wrap;
  font-size: 14px; color: var(--muted); font-weight: 500;
  margin-top: 40px;
}

/* ============== SCENE (hero visual) ============== */
.scene {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}
.scene__label {
  text-align: center;
  font-size: 13px; color: var(--muted);
  margin-top: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Phone --- */
.scene__phone { animation: fadeInUp 0.8s ease .2s both; }
.phone {
  width: 260px; margin: 0 auto;
  background: #0A0A0A;
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
  position: relative;
  aspect-ratio: 9/19;
}
.phone__notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 24px;
  background: #000; border-radius: 999px;
}
.phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1F2937, #0F172A);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  padding: 50px 14px 20px;
}
.phone__cam { height: 100%; display: flex; flex-direction: column; }
.cam-frame {
  flex: 1;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: #0B1221;
  padding: 12px;
}
.cam-corner {
  position: absolute; width: 18px; height: 18px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}
.cam-corner--tl { top: 8px; left: 8px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.cam-corner--tr { top: 8px; right: 8px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.cam-corner--bl { bottom: 8px; left: 8px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.cam-corner--br { bottom: 8px; right: 8px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }

.scan-line {
  position: absolute; left: 8px; right: 8px; top: 8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px var(--accent);
  animation: scan 2.5s ease-in-out infinite;
  z-index: 3;
}
@keyframes scan {
  0% { top: 8px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% - 10px); opacity: 0; }
}

.invoice {
  background: #FAFAF9;
  border-radius: 6px;
  padding: 10px 8px;
  font-size: 8px;
  color: #1F2937;
  line-height: 1.3;
  height: 100%;
  display: flex; flex-direction: column;
}
.invoice__header {
  display:flex; justify-content:space-between;
  border-bottom: 1px dashed #CBD5E1;
  padding-bottom: 6px; margin-bottom: 6px;
  font-weight: 800;
}
.invoice__logo { color: var(--accent); font-size: 11px; letter-spacing: 0.05em; }
.invoice__num { color: #64748B; font-weight: 600; }
.invoice__row {
  display:flex; justify-content:space-between;
  padding: 2px 0;
  opacity: 0;
  animation: rowIn .3s ease forwards;
}
.invoice__row:nth-child(2) { animation-delay: .2s; }
.invoice__row:nth-child(3) { animation-delay: .4s; }
.invoice__row:nth-child(4) { animation-delay: .6s; }
.invoice__row:nth-child(5) { animation-delay: .8s; }
.invoice__row:nth-child(6) { animation-delay: 1.0s; }
.invoice__row:nth-child(7) { animation-delay: 1.2s; }
.invoice__row--total {
  border-top: 1px dashed #CBD5E1;
  margin-top: auto;
  padding-top: 6px;
  font-weight: 800;
}
@keyframes rowIn { to { opacity: 1; } }

.cam-flash {
  position: absolute; inset: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  animation: flash 4s ease-in-out infinite;
  animation-delay: 2.5s;
}
@keyframes flash {
  0%, 95%, 100% { opacity: 0; }
  96% { opacity: 0.9; }
  98% { opacity: 0.3; }
}

.cam-shutter {
  margin-top: 10px;
  background: var(--accent);
  color: white;
  padding: 8px;
  border-radius: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(234,88,12,0.4);
}

/* --- Flow --- */
.scene__flow {
  display:flex; flex-direction:column; align-items:center; gap: 16px;
  animation: fadeInUp 0.8s ease .4s both;
}
.flow-dots { display:flex; align-items:center; gap: 6px; }
.flow-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  opacity: 0.2;
  animation: dotFlow 2s linear infinite;
}
.flow-dots span:nth-child(1) { animation-delay: 0s; }
.flow-dots span:nth-child(2) { animation-delay: .2s; }
.flow-dots span:nth-child(3) { animation-delay: .4s; }
.flow-dots span:nth-child(4) { animation-delay: .6s; }
.flow-dots span:nth-child(5) { animation-delay: .8s; }
.flow-dots span:nth-child(6) { animation-delay: 1s; }
@keyframes dotFlow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.3); }
}

.flow-badge {
  display:inline-flex; align-items:center; gap:10px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-md);
}
.flow-badge__spin {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--accent-soft);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Dash --- */
.scene__dash { animation: fadeInUp 0.8s ease .6s both; }
.dash {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  text-align: left;
}
.dash__bar {
  display:flex; align-items:center; gap:6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  position: relative;
}
.dash__bar > span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #D4D4D8;
}
.dash__bar > span:nth-child(1) { background: #EF4444; }
.dash__bar > span:nth-child(2) { background: #EAB308; }
.dash__bar > span:nth-child(3) { background: #22C55E; }
.dash__url {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--surface); border: 1px solid var(--border);
  padding: 3px 14px; border-radius: 6px;
  font-size: 12px; color: var(--muted); font-family: monospace;
}
.dash__body { padding: 24px; }

.dash__head {
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom: 20px;
}
.dash__title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.dash__live {
  display:inline-flex; align-items:center; gap:6px;
  font-size: 12px; color: var(--muted);
}

.kpis { display:grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.kpi {
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.kpi__label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; font-weight: 600; }
.kpi__value {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.kpi__delta { font-size: 11px; font-weight: 700; margin-top: 4px; }
.kpi__delta--up { color: var(--good); }
.kpi__delta--down { color: var(--bad); }

.alert {
  display:flex; gap: 12px; align-items:flex-start;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 14px 16px; border-radius: 10px;
  font-size: 13px;
  margin-bottom: 18px;
}
.alert__icon {
  flex-shrink: 0;
  background: var(--warn); color: white;
  width: 24px; height: 24px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-size: 14px; font-weight: 800;
}
.alert__reason { font-size: 12px; color: #78716C; margin-top: 2px; }
.alert--animate { animation: alertPop 3s ease-in-out infinite; }
@keyframes alertPop {
  0%, 90%, 100% { transform: scale(1); }
  45% { transform: scale(1.02); box-shadow: 0 0 0 6px rgba(234,179,8,0.1); }
}

.bars { display: flex; flex-direction: column; gap: 10px; }
.bar {
  display:grid; grid-template-columns: 1.2fr 2fr 40px;
  align-items:center; gap: 12px;
  font-size: 13px;
}
.bar__label { color: var(--ink-2); font-weight: 500; }
.bar__track {
  height: 8px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.bar__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  animation: barFill 1.2s cubic-bezier(.22,1,.36,1) .5s forwards;
}
.bar__fill--good { background: linear-gradient(90deg, #22C55E, #16A34A); }
.bar__fill--warn { background: linear-gradient(90deg, #FBBF24, #EAB308); }
.bar__fill--bad { background: linear-gradient(90deg, #F87171, var(--bad)); }
@keyframes barFill { to { width: var(--w); } }
.bar__val { font-weight: 800; text-align: right; font-feature-settings: "tnum"; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .scene { grid-template-columns: 1fr; gap: 30px; }
  .scene__flow { transform: rotate(90deg); }
  .phone { width: 220px; }
}
@media (max-width: 640px) {
  .scene__flow { transform: rotate(90deg) scale(0.8); }
  .kpis { grid-template-columns: 1fr; }
}

/* ============== TICKER ============== */
.ticker {
  background: var(--ink);
  color: white;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid #27272A;
  border-bottom: 1px solid #27272A;
}
.ticker__track {
  display: flex; gap: 60px;
  white-space: nowrap;
  animation: tickerSlide 30s linear infinite;
  font-size: 15px; font-weight: 500;
}
.ticker__track span { opacity: 0.7; }
.ticker__track b { color: var(--accent); opacity: 1; margin-left: 4px; font-weight: 800; }
@keyframes tickerSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== SECTIONS ============== */
section { padding: 100px 0; position: relative; }
.section__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900; letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.1;
}
.section__sub {
  text-align: center;
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 60px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============== PAIN (visual) ============== */
.pain { background: var(--bg-alt); }
.pain__grid {
  display:grid; grid-template-columns: repeat(4,1fr); gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.pain__card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.pain__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pain__card p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.pain__card b { color: var(--ink); font-weight: 700; }
.pain__visual {
  height: 100px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.pain__visual--docs { gap: 6px; }
.floating-doc {
  font-size: 36px;
  animation: docFloat 3s ease-in-out infinite;
  opacity: 0.5;
}
.floating-doc:nth-child(1) { animation-delay: 0s; }
.floating-doc:nth-child(2) { animation-delay: .3s; }
.floating-doc:nth-child(3) { animation-delay: .6s; }
.floating-doc:nth-child(4) { animation-delay: .9s; }
@keyframes docFloat {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-8px); opacity: 1; }
}

.clock {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--ink);
  position: relative;
}
.clock__face { position: absolute; inset: 0; }
.clock__hand {
  position: absolute; left: 50%; top: 50%;
  background: var(--ink);
  transform-origin: 50% 100%;
  border-radius: 2px;
}
.clock__hand--h {
  width: 3px; height: 20px;
  transform: translate(-50%, -100%) rotate(0deg);
  animation: hourRot 30s linear infinite;
}
.clock__hand--m {
  width: 2px; height: 28px;
  background: var(--accent);
  transform: translate(-50%, -100%) rotate(0deg);
  animation: minRot 3s linear infinite;
}
.clock__center { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; transform: translate(-50%, -50%); }
@keyframes hourRot { to { transform: translate(-50%, -100%) rotate(360deg); } }
@keyframes minRot { to { transform: translate(-50%, -100%) rotate(360deg); } }

.bad-chart { width: 160px; }
.chart-line {
  animation: drawLine 3s ease-in-out infinite;
}
@keyframes drawLine {
  0% { stroke-dashoffset: 400; }
  60%, 100% { stroke-dashoffset: 0; }
}

.alias-mess { position: relative; width: 100%; height: 100px; }
.alias-tag {
  position: absolute;
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
  animation: tagFloat 4s ease-in-out infinite;
}
.alias-tag:nth-child(1) { top: 10px; left: 10%; animation-delay: 0s; }
.alias-tag:nth-child(2) { top: 40px; left: 50%; transform: translateX(-50%); animation-delay: .6s; }
.alias-tag:nth-child(3) { top: 70px; right: 10%; animation-delay: 1.2s; }
.alias-arrow {
  position: absolute; right: 30%; top: 30px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-weight: 800; font-size: 18px;
  animation: pulse 2s infinite;
}
@keyframes tagFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}
.alias-tag:nth-child(1), .alias-tag:nth-child(3) {
  animation-name: tagFloatSide;
}
@keyframes tagFloatSide {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 880px) { .pain__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .pain__grid { grid-template-columns: 1fr; } }

/* ============== HOW (big visual flow) ============== */
.flow {
  display:flex; align-items:center; justify-content:center;
  gap: 20px;
  flex-wrap: wrap;
}
.flow__step {
  flex: 1; min-width: 220px; max-width: 280px;
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform .3s, box-shadow .3s;
}
.flow__step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.flow__visual {
  height: 140px;
  margin-bottom: 20px;
  display:flex; align-items:center; justify-content:center;
}
.flow__num {
  display:inline-block;
  font-size: 13px; font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.flow__step h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 6px; }
.flow__step p { color: var(--muted); font-size: 14px; }
.flow__arrow {
  font-size: 36px; color: var(--accent);
  font-weight: 300;
  animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: .5; }
  50% { transform: translateX(6px); opacity: 1; }
}
@media (max-width: 880px) {
  .flow__arrow { transform: rotate(90deg); }
}

/* Step 1: big phone */
.big-phone {
  width: 80px; height: 140px;
  background: #0A0A0A;
  border-radius: 16px;
  padding: 4px;
  position: relative;
  box-shadow: var(--shadow-md);
  animation: phoneTilt 3s ease-in-out infinite;
}
@keyframes phoneTilt {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
.big-phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #FB923C, var(--accent));
  border-radius: 12px;
  position: relative; overflow: hidden;
}
.big-phone__photo {
  position: absolute; inset: 12px;
  background: rgba(255,255,255,0.95);
  border-radius: 4px;
}
.photo-flash {
  position: absolute; inset: 0;
  background: white;
  opacity: 0;
  animation: flashOnce 3s ease-in-out infinite;
}
@keyframes flashOnce {
  0%, 30%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

/* Step 2: scanner */
.scanner {
  width: 120px; height: 140px;
  display:flex; align-items:center; justify-content:center;
}
.scanner__doc {
  width: 80px; height: 100px;
  background: #FAFAF9;
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 14px 10px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.scanner__line {
  height: 5px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 8px;
}
.scanner__line:nth-child(1) { width: 90%; }
.scanner__line:nth-child(2) { width: 70%; }
.scanner__line:nth-child(3) { width: 85%; }
.scanner__line:nth-child(4) { width: 60%; }
.scanner__beam {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 20px;
  background: linear-gradient(180deg, rgba(234,88,12,0.5), transparent);
  border-top: 2px solid var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: scanBeam 2s ease-in-out infinite;
}
@keyframes scanBeam {
  0% { top: -20px; }
  50% { top: 80px; }
  100% { top: -20px; }
}

/* Step 3: dashboard pop */
.dashboard-pop {
  width: 140px; height: 140px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.dashboard-pop__chart {
  display:flex; align-items:flex-end; gap: 4px;
  height: 50px;
}
.dp-bar {
  width: 12px;
  background: linear-gradient(180deg, #FB923C, var(--accent));
  border-radius: 3px 3px 0 0;
  height: var(--h);
  animation: barGrow 2s ease-in-out infinite;
  transform-origin: bottom;
}
.dp-bar:nth-child(1) { animation-delay: 0s; }
.dp-bar:nth-child(2) { animation-delay: .15s; }
.dp-bar:nth-child(3) { animation-delay: .3s; }
.dp-bar:nth-child(4) { animation-delay: .45s; }
.dp-bar:nth-child(5) { animation-delay: .6s; }
@keyframes barGrow {
  0%, 100% { transform: scaleY(0.85); }
  50% { transform: scaleY(1); }
}
.dashboard-pop__num {
  font-size: 24px; font-weight: 900;
  color: var(--good);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}

/* ============== COMPARE ============== */
.compare { background: var(--bg-alt); }
.compare__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.compare__side {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.compare__side--before { opacity: 0.7; }
.compare__side--after {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.compare__tag {
  display:inline-block;
  padding: 4px 12px;
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 24px;
}
.compare__tag--good { background: var(--accent); color: white; }
.compare__stat { margin-bottom: 24px; }
.compare__stat:last-child { margin-bottom: 0; }
.compare__num {
  font-size: 48px; font-weight: 900;
  letter-spacing: -0.04em; line-height: 1;
  font-feature-settings: "tnum";
  margin-bottom: 6px;
}
.compare__side--before .compare__num { color: var(--bad); text-decoration: line-through; text-decoration-color: rgba(220,38,38,0.3); }
.compare__side--after .compare__num { color: var(--accent); }
.compare__label { font-size: 14px; color: var(--muted); line-height: 1.4; }
.compare__arrow {
  font-size: 48px;
  color: var(--accent);
  font-weight: 300;
  animation: arrowPulse 2s ease-in-out infinite;
}
@media (max-width: 780px) {
  .compare__grid { grid-template-columns: 1fr; }
  .compare__arrow { transform: rotate(90deg); justify-self: center; }
}

/* ============== INSIDE ============== */
.inside__grid {
  display:grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.feature {
  background: var(--surface);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: default;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.feature__ico {
  font-size: 36px;
  margin-bottom: 14px;
  display:inline-block;
  transition: transform .3s;
}
.feature:hover .feature__ico { transform: scale(1.2) rotate(-8deg); }
.feature h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 14px; }
@media (max-width: 780px) { .inside__grid { grid-template-columns: 1fr; } }

/* ============== PRICE ============== */
.tariffs {
  display:grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  max-width: 1020px; margin: 0 auto;
}
.tariff {
  background: var(--surface);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.tariff:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tariff--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 20px 60px rgba(234,88,12,0.15);
  transform: translateY(-8px);
}
.tariff__badge {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background: linear-gradient(180deg, #F97316, var(--accent));
  color:white;
  padding: 6px 16px; border-radius: 999px;
  font-size:12px; font-weight:800;
  text-transform:uppercase; letter-spacing:0.06em;
  box-shadow: 0 6px 16px rgba(234,88,12,0.4);
}
.tariff__name {
  font-size:14px; font-weight:800; color:var(--accent);
  text-transform:uppercase; letter-spacing:0.08em;
  margin-bottom:14px;
}
.tariff__price { display:flex; align-items:baseline; gap:8px; margin-bottom:8px; }
.price__num { font-size:48px; font-weight:900; letter-spacing:-0.03em; font-feature-settings:"tnum"; line-height:1; }
.price__unit { font-size:14px; color:var(--muted); font-weight:500; }
.tariff__desc { color:var(--muted); font-size:14px; margin-bottom:24px; }
.tariff__list { list-style:none; display:flex; flex-direction:column; gap:12px; }
.tariff__list li { font-size:15px; padding-left:28px; position:relative; }
.tariff__list li::before {
  content:""; position:absolute; left:0; top:5px;
  width: 16px; height: 16px;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23EA580C'><path d='M13.854 3.646a.5.5 0 010 .708l-7 7a.5.5 0 01-.708 0l-3.5-3.5a.5.5 0 11.708-.708L6.5 10.293l6.646-6.647a.5.5 0 01.708 0z'/></svg>") center/10px no-repeat;
  border-radius: 50%;
}
@media (max-width: 880px) {
  .tariffs { grid-template-columns: 1fr; }
  .tariff--featured { transform: none; }
}

/* ============== CTA ============== */
.cta {
  background: linear-gradient(180deg, #0A0A0A, #1C1917);
  color: white;
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; }
.cta__orb {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(234,88,12,0.4), transparent 60%);
  filter: blur(60px);
  animation: ctaPulse 4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
.cta__inner { position: relative; z-index: 1; }
.cta__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}
.cta__title .accent {
  background: linear-gradient(135deg, #FB923C, #F97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta__sub {
  font-size: 18px;
  opacity: 0.6;
  margin-bottom: 40px;
}

/* ============== FAQ ============== */
.faq__list {
  max-width: 760px; margin: 0 auto;
  display:flex; flex-direction:column; gap: 12px;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq__item summary {
  padding: 22px 26px;
  font-weight: 600; font-size: 16px;
  cursor: pointer;
  list-style: none;
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px;
}
.faq__item summary::after {
  content:"+"; font-size: 26px; color: var(--accent); font-weight: 300;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__body {
  padding: 0 26px 22px;
  color: var(--muted); font-size: 15px; line-height: 1.6;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-alt);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display:grid; grid-template-columns: 1fr 2fr; gap: 40px;
  padding-bottom: 40px;
}
.footer__brand {
  display:flex; align-items:center; gap: 10px;
  font-weight: 800; font-size: 18px;
}
.footer__tag {
  font-size: 13px; color: var(--muted); font-weight: 400;
  margin-left: 24px; margin-top: 4px;
  width: 100%;
  flex-basis: 100%;
}
.footer__cols { display:grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer__cols h4 {
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px; color: var(--ink);
}
.footer__cols a {
  display:block; color: var(--muted); font-size: 14px;
  padding: 4px 0; transition: color .15s;
}
.footer__cols a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px; font-size: 13px; color: var(--muted);
}
@media (max-width: 780px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__cols { grid-template-columns: repeat(2,1fr); gap: 24px; }
}

/* ============== Reduce motion ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
