@import url('/assets/tokens.css');

/* Morphindex — Cardlyy design system clone */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080808;
  --s1: #111111;
  --s2: #181818;
  --b1: #222222;
  --b2: #2e2e2e;
  --b3: #3a3a3a;
  --t1: #ffffff;
  --t2: #999999;
  --t3: #555555;
  --accent: #3D9EFF;
  --accent-hi: #5DAEFF;
  --accent-soft: rgba(61, 158, 255, 0.12);
  --accent-border: rgba(61, 158, 255, 0.25);
  --mono: ui-monospace, Menlo, Consolas, monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--t1);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 12%, rgba(255,165,100,.07), transparent 65%),
    radial-gradient(ellipse 50% 50% at 92% 28%, rgba(255,185,125,.05), transparent 65%),
    radial-gradient(ellipse 45% 45% at 10% 62%, rgba(255,150,100,.04), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ── HEADER ── */
header {
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: calc(100% - 32px);
  max-width: 1100px;
  padding: 16px 14px 16px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: rgba(24,24,27,.8);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.05);
}

.logo {
  justify-self: start;
  font-size: 21px; font-weight: 700; letter-spacing: -.5px;
}
.logo span { color: var(--t3); font-weight: 400; }

.header-center {
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.header-link {
  padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--t2);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.header-link:hover { color: var(--t1); background: rgba(255,255,255,.05); }

.header-nav {
  justify-self: end;
  display: flex; align-items: center; gap: 6px;
}
.header-link-login {
  padding: 8px 6px;
  font-size: 13.5px; font-weight: 500;
  color: var(--t1);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,.45);
}
.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: #fff; color: #000;
  border-radius: 10px;
  font-size: 13.5px; font-weight: 600;
  transition: transform .15s ease, background .2s;
}
.header-cta:hover { background: #f1f1f1; transform: translateY(-1px); }

.header-burger { display: none; color: var(--t1); }

header.is-hidden {
  transform: translate(-50%, calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border: none;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  padding: 20px;
  background: var(--bg2);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--t1);
  border-radius: 8px;
}

.mobile-nav-link {
  padding: 14px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--t2);
  border-radius: 10px;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--t1);
}

.mobile-nav-cta {
  margin-top: 12px;
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
  background: #fff;
  color: #080808;
  border-radius: 12px;
}

body.mobile-nav-open {
  overflow: hidden;
}

/* ── HERO ── */
.hero {
  padding: 190px 48px 90px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 700; letter-spacing: -2.5px; line-height: 1.08;
  margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--t3); }
.hero p { font-size: 16px; color: var(--t2); line-height: 1.7; margin-bottom: 36px; }

.hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #000;
  padding: 15px 32px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: transform .2s, opacity .2s;
}
.hero-btn:hover { transform: translateY(-2px); opacity: .9; }
.hero-btn svg { width: 16px; height: 16px; }
.hero-note { margin-top: 14px; font-size: 12px; color: var(--t3); }

/* Hero doodles */
.hero-doodle {
  position: absolute;
  width: 132px; height: 132px;
  border-radius: 28px;
  background: radial-gradient(circle at top, rgba(255,255,255,.06), transparent 62%);
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}
.hero-doodle.left { right: calc(100% + 68px); top: 204px; transform: rotate(-8deg); }
.hero-doodle.right { left: calc(100% + 68px); top: 286px; transform: rotate(7deg); }
.hero-doodle-card, .hero-doodle-chip, .hero-doodle-chart, .hero-doodle-dot { position: absolute; display: block; }
.hero-doodle-card { left: 23px; top: 24px; width: 56px; height: 72px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); }
.hero-doodle-chart { left: 28px; top: 28px; width: 76px; height: 76px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.08); }

/* Hero decos */
.hero-decos-mobile { display: contents; }

.hero-card-deco, .hero-stats-deco {
  position: absolute; top: 50%; pointer-events: none;
}
.hero-card-deco {
  right: calc(100% + 40px);
  transform: translateY(-44%) scale(0.72) rotate(-2deg);
  transform-origin: right center;
}
.hero-stats-deco {
  left: calc(100% + 40px);
  transform: translateY(-50%) scale(0.96) rotate(2deg);
  transform-origin: left center;
  display: flex; flex-direction: column; gap: 16px;
}

.ex-result-card {
  width: 240px;
  background: linear-gradient(160deg, #141414, #0c0c0c);
  border: 1px solid var(--b2);
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.85), 0 0 0 1px rgba(61,158,255,.08);
  text-align: left;
}
.ex-result-head {
  font-size: 9px; font-weight: 600; color: var(--accent);
  display: flex; align-items: center; gap: 5px; margin-bottom: 12px;
}
.ex-result-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ex-result-score { font-size: 36px; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.ex-result-score span { font-size: 14px; color: var(--t3); font-weight: 500; }
.ex-result-potential {
  font-size: 11px; color: var(--t2); margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--b1);
}
.ex-result-potential strong { color: var(--accent); font-weight: 700; }
.ex-result-bars { display: flex; flex-direction: column; gap: 8px; }
.ex-result-bars > div {
  display: grid; grid-template-columns: 72px 1fr 28px;
  align-items: center; gap: 8px;
  font-size: 10px; color: var(--t2);
}
.ex-result-bars > div > span:last-child { text-align: right; color: var(--t1); font-size: 10px; font-weight: 600; }
.ex-result-bar { height: 4px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; }
.ex-result-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

.deco-rate, .deco-notif {
  background: linear-gradient(160deg, #161616, #111);
  border: 1px solid var(--b2);
  border-radius: 16px;
  padding: 14px 15px;
  width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
}
.deco-rate-label { font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--t3); margin-bottom: 10px; }
.deco-rate-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 10px; }
.deco-rate-val { font-size: 26px; font-weight: 700; letter-spacing: -1px; }
.deco-rate-desc { font-size: 8.5px; color: var(--t3); text-align: right; line-height: 1.5; }
.deco-rate-bar-track { width: 100%; height: 5px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; }
.deco-rate-bar-fill { height: 100%; width: 72%; background: linear-gradient(to right, rgba(61,158,255,.5), rgba(93,174,255,.85)); border-radius: 99px; }

.deco-notif { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.deco-notif-avatar { width: 30px; height: 30px; border-radius: 50%; background: #2a2a3a; border: 1px solid var(--b2); display: grid; place-items: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.deco-notif-title { font-size: 10.5px; font-weight: 600; }
.deco-notif-sub { font-size: 9px; color: var(--t3); }
.deco-notif-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(61,158,255,.2); flex-shrink: 0; }

@keyframes deco-float-b { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-2px)} }
.deco-w2 { animation: deco-float-b 3.8s ease-in-out infinite; }
.deco-w3 { animation: deco-float-b 4.1s ease-in-out infinite 1s; }

/* ── LOGO STRIP ── */
.logo-strip { padding: 20px 0 36px; overflow: hidden; }
.logo-strip-label { text-align: center; font-size: 13px; color: var(--t2); margin-bottom: 20px; padding: 0 24px; }
.logo-strip-label strong { color: var(--t1); }
.logo-strip-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-strip-track {
  display: flex; gap: 12px; width: max-content;
  animation: marquee 30s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.strip-badge {
  padding: 8px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  color: var(--t2);
  white-space: nowrap;
}

/* ── FEATURES STRIP ── */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1100px; margin: 0 auto 48px;
  padding: 0 24px;
}
.feat {
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.feat:hover { border-color: rgba(255,255,255,.14); transform: translateY(-3px); }
.feat-visual {
  height: 130px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent);
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
}
.feat-body { padding: 18px 20px 22px; }
.feat-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.3px; }
.feat-body p { font-size: 13px; color: var(--t2); line-height: 1.5; }

.mock-tap { position: relative; width: 100px; height: 110px; display: flex; align-items: center; justify-content: center; }
.mock-tap-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(180deg, #1c1c1e, #0f1011);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 2;
}
.mock-tap-num { font-size: 22px; font-weight: 700; letter-spacing: -1px; }
.mock-tap-lbl { font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.mock-tap-wave {
  position: absolute; width: 60px; height: 60px;
  border: 1.5px solid rgba(61,158,255,.45); border-radius: 50%;
  animation: tap-pulse 2.6s ease-out infinite;
}
.mock-tap-wave:nth-child(2) { animation-delay: .9s; }
@keyframes tap-pulse {
  0% { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

.mock-id {
  width: 116px; padding: 9px 8px;
  background: #111; border: 1px solid #2a2a2a; border-radius: 12px;
  text-align: center;
}
.mock-id-avatar-wrap { width: 32px; height: 32px; margin: 0 auto 5px; }
.mock-id-avatar {
  width: 100%; height: 100%; border-radius: 50%;
  background: #1a1a1a; border: 1px solid var(--b2);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.mock-id-name { font-size: 10px; font-weight: 500; }
.mock-id-badge {
  display: inline-flex; margin-top: 3px; padding: 1px 5px;
  border-radius: 999px; font-size: 6.5px; font-weight: 600;
  border: 1px solid rgba(61,158,255,.25); color: var(--accent);
}
.mock-id-title { font-size: 6.5px; color: #9a9a9a; margin-top: 4px; }
.mock-id-desc { font-size: 7.5px; color: #ddd; margin-top: 1.5px; }

.mock-stat {
  width: 176px; padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08); border-radius: 13px;
}
.mock-stat-lbl { font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.mock-stat-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 7px; }
.mock-stat-num { font-size: 24px; font-weight: 700; letter-spacing: -1px; }
.mock-stat-trend { font-size: 8.5px; font-weight: 700; color: var(--accent); background: rgba(61,158,255,.12); padding: 2.5px 6px; border-radius: 999px; }
.mock-stat-spark { width: 100%; height: 20px; }

/* ── SHOWCASE ── */
.showcase { max-width: 1100px; margin: 0 auto; padding: 0 24px 80px; }
.showcase-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  margin-bottom: 80px;
}
.showcase-row--reverse .showcase-copy { order: 2; }
.showcase-row--reverse .showcase-visual { order: 1; }
.showcase-tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); display: block; margin-bottom: 12px; }
.showcase-copy h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px; }
.showcase-copy p { font-size: 15px; color: var(--t2); line-height: 1.65; }

.showcase-card, .dash-mock, .showcase-plan {
  background: #111; border: 1px solid #2a2a2a; border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 48px rgba(0,0,0,.5);
}
.sc-head { font-size: 11px; color: var(--accent); display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.sc-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.sc-score { font-size: 3rem; font-weight: 700; margin-bottom: 20px; }
.sc-score span { font-size: 1rem; color: var(--t3); }
.sc-rows { display: flex; flex-direction: column; gap: 10px; }
.sc-rows > div { display: grid; grid-template-columns: 80px 1fr 32px; align-items: center; gap: 10px; font-size: 12px; color: var(--t2); }
.sc-bar { height: 5px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; }
.sc-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

.plan-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--b1);
}
.plan-item:last-child { border-bottom: none; }
.plan-item--hi .plan-rank { background: rgba(61,158,255,.15); color: var(--accent); }
.plan-rank { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.06); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.plan-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.plan-item span { font-size: 12px; color: var(--t3); }

.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.dash-k { font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 4px; }
.dash-v { font-size: 1.5rem; font-weight: 700; }
.dash-up { color: var(--accent); }
.dash-chart svg { width: 100%; height: auto; }

/* ── PAPERSTAT ── */
.paperstat { padding: 0 24px; margin-bottom: 48px; }
.paperstat-track { position: relative; }
.paperstat-pin { padding: 60px 0 40px; text-align: center; }
.paperstat-title { font-size: clamp(24px, 4vw, 36px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 12px; }
.paperstat-sub { font-size: 15px; color: var(--t2); max-width: 480px; margin-inline: auto; }

/* ── CAROUSEL ── */
.examples { padding: 0 0 60px; text-align: center; }
.examples h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 700; letter-spacing: -1px; margin-bottom: 8px; }
.examples-sub { font-size: 14px; color: var(--t2); margin-bottom: 32px; }
.carousel-outer { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); margin-bottom: 32px; }
.carousel-track { display: flex; gap: 16px; width: max-content; animation: carousel 35s linear infinite; }
.carousel-track:hover { animation-play-state: paused; }
@keyframes carousel { to { transform: translateX(-50%); } }

.ex-card-slide {
  width: 180px; flex-shrink: 0;
  background: #111; border: 1px solid #2a2a2a; border-radius: 18px;
  padding: 20px 16px; text-align: center;
}
.ex-card-slide--analysis { width: 200px; }
.ecs-mesh {
  width: 48px; height: 56px; margin: 0 auto 10px;
  background: rgba(61,158,255,.06); border: 1px solid rgba(61,158,255,.15);
  border-radius: 12px; display: grid; place-items: center;
}
.ecs-mesh svg { width: 32px; height: auto; }
.ecs-av { width: 40px; height: 40px; border-radius: 50%; background: #2a2a3a; margin: 0 auto 10px; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.ecs-name { font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.ecs-score { font-size: 28px; font-weight: 700; margin-bottom: 6px; line-height: 1; }
.ecs-score span { font-size: 14px; color: var(--t3); font-weight: 500; }
.ecs-pillar {
  font-size: 10px; font-weight: 600; color: var(--accent);
  padding: 3px 8px; border-radius: 999px;
  background: rgba(61,158,255,.1); border: 1px solid rgba(61,158,255,.2);
  display: inline-block; margin-bottom: 6px;
}
.ecs-pillar--weak { color: #ffb347; background: rgba(255,179,71,.1); border-color: rgba(255,179,71,.25); }
.ecs-meta { font-size: 11px; color: var(--t3); }
.examples-cta {
  display: inline-flex; padding: 12px 24px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: background .2s;
}
.examples-cta:hover { background: rgba(255,255,255,.1); }

/* ── BUILDER ── */
#builder { padding: 0 48px 100px; max-width: 1200px; margin: 0 auto; }
.builder-head { text-align: center; margin-bottom: 40px; }
.builder-head h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 10px; }
.builder-head p { color: var(--t2); font-size: 15px; }
.builder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

.builder-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 28px;
}
.bf-group { margin-bottom: 20px; }
.bf-group label { display: block; font-size: 12px; font-weight: 600; color: var(--t2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.bf-upload {
  border: 2px dashed rgba(255,255,255,.12);
  border-radius: 14px; padding: 32px 20px;
  text-align: center; color: var(--t2);
}
.bf-upload svg { width: 32px; height: 32px; margin-bottom: 12px; opacity: .5; }
.bf-upload span { display: block; font-size: 14px; font-weight: 500; color: var(--t1); margin-bottom: 4px; }
.bf-upload small { font-size: 12px; color: var(--t3); }
.bf-group input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; color: var(--t1); font-family: inherit; font-size: 14px;
}
.bf-submit {
  display: block; width: 100%; padding: 14px;
  background: #fff; color: #000;
  border-radius: 12px; font-size: 15px; font-weight: 600;
  text-align: center; margin-top: 8px;
  transition: opacity .2s;
}
.bf-submit:hover { opacity: .9; }
.bf-legal { font-size: 11px; color: var(--t3); margin-top: 12px; line-height: 1.5; }

.builder-preview {
  background: #111; border: 1px solid #2a2a2a; border-radius: 20px; padding: 24px;
  position: sticky; top: 100px;
}
.bp-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); margin-bottom: 16px; }
.bp-card { background: #0a0a0a; border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.bp-score { font-size: 2.5rem; font-weight: 700; margin-bottom: 4px; }
.bp-score span { font-size: 1rem; color: var(--t3); }
.bp-potential { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.bp-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.bp-bars div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: center; font-size: 11px; color: var(--t2); }
.bp-bars i { display: block; height: 4px; background: var(--accent); border-radius: 99px; grid-column: 2; }
.bp-plan-preview { font-size: 12px; color: var(--t2); padding-top: 12px; border-top: 1px solid var(--b1); }
.bp-plan-preview strong { display: block; color: var(--t1); margin-bottom: 4px; }
.bp-progress { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--t3); }
.bp-progress-bar { flex: 1; height: 4px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; }
.bp-progress-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

/* ── PILIERS ── */
.piliers { max-width: 1100px; margin: 0 auto; padding: 0 24px 80px; }
.piliers-header { text-align: center; margin-bottom: 40px; }
.piliers-tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 12px; }
.piliers-header h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 12px; }
.piliers-header p { font-size: 15px; color: var(--t2); max-width: 520px; margin-inline: auto; line-height: 1.6; }

.piliers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.pilier-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 22px 18px;
  position: relative;
}
.pilier-card--weak { border-color: rgba(255,179,71,.25); background: rgba(255,179,71,.04); }
.pilier-icon { font-size: 20px; color: var(--accent); margin-bottom: 12px; }
.pilier-card--weak .pilier-icon { color: #ffb347; }
.pilier-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.3px; }
.pilier-card p { font-size: 12px; color: var(--t2); line-height: 1.5; margin-bottom: 16px; min-height: 54px; }
.pilier-bar { height: 4px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.pilier-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.pilier-card--weak .pilier-bar i { background: #ffb347; }
.pilier-val { font-size: 18px; font-weight: 700; }

.piliers-projection {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  background: linear-gradient(160deg, rgba(61,158,255,.08), rgba(61,158,255,.02));
  border: 1px solid rgba(61,158,255,.2);
  border-radius: 20px; padding: 32px 40px;
  max-width: 560px; margin: 0 auto 12px;
}
.proj-current, .proj-target { text-align: center; }
.proj-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); margin-bottom: 6px; }
.proj-score { font-size: 2.5rem; font-weight: 700; letter-spacing: -2px; line-height: 1; }
.proj-score--hi { color: var(--accent); }
.proj-arrow { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.proj-arrow svg { width: 64px; height: auto; }
.proj-delta { font-size: 13px; font-weight: 700; color: var(--accent); }
.piliers-proj-note { text-align: center; font-size: 12px; color: var(--t3); max-width: 480px; margin-inline: auto; }

/* ── INTEGRATIONS ── */
.integrations { max-width: 1100px; margin: 0 auto; padding: 0 24px 80px; }
.integrations-header { text-align: center; margin-bottom: 40px; }
.integrations-header h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 700; letter-spacing: -1px; margin-bottom: 10px; }
.integrations-header p { color: var(--t2); font-size: 15px; }
.integrations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.int-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 24px 20px; text-align: center;
}
.int-icon { font-size: 28px; margin-bottom: 12px; }
.int-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.int-card p { font-size: 12px; color: var(--t2); line-height: 1.45; }

/* ── PRICING ── */
.pricing { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; text-align: center; }
.pricing h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 700; letter-spacing: -1px; margin-bottom: 8px; }
.pricing-sub { color: var(--t2); font-size: 15px; margin-bottom: 32px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.price-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 28px;
}
.price-card--hi { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.price-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.price-card h3 { font-size: 15px; font-weight: 700; }
.badge { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); background: rgba(61,158,255,.12); padding: 3px 8px; border-radius: 6px; }
.price-amt { font-size: 2.25rem; font-weight: 700; letter-spacing: -1px; margin: 12px 0 16px; }
.price-amt small { font-size: .45em; font-weight: 500; color: var(--t3); }
.price-card ul { margin-bottom: 24px; }
.price-card li { font-size: 13px; color: var(--t2); padding: 6px 0 6px 20px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.btn-outline, .btn-white {
  display: block; width: 100%; padding: 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-align: center;
}
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.15); color: var(--t1); }
.btn-white { background: #fff; color: #000; }

/* ── FAQ ── */
.faq { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }
.faq-header { text-align: center; margin-bottom: 32px; }
.faq-header h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 700; letter-spacing: -1px; line-height: 1.15; }
.faq-title-2 { display: block; color: var(--t3); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #111; border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(255,255,255,.16); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--t1);
}
.faq-icon { width: 18px; height: 18px; color: var(--t3); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 20px 18px; font-size: 14px; color: var(--t2); line-height: 1.6; }

/* ── FINAL + FOOTER ── */
.final { text-align: center; padding: 60px 24px 80px; }
.final h2 { font-size: clamp(22px, 3.5vw, 28px); font-weight: 700; letter-spacing: -1px; margin-bottom: 10px; }
.final p { color: var(--t2); margin-bottom: 28px; font-size: 15px; }

.footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 32px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1100px; margin: 0 auto;
}
.footer nav { display: flex; gap: 24px; }
.footer nav a { font-size: 13px; color: var(--t2); }
.footer nav a:hover { color: var(--t1); }
.footer > p { font-size: 13px; color: var(--t3); width: 100%; text-align: center; margin-top: 8px; }

/* ── RESPONSIVE ── */
@media (min-width: 1101px) { .hero-doodle { display: none; } }

@media (max-width: 1100px) {
  .hero { display: flex; flex-direction: column; align-items: center; padding-top: 160px; }
  .hero-decos-mobile {
    display: flex; flex-direction: row; justify-content: center; align-items: center;
    gap: 24px; order: 10; margin-top: 48px; width: 100%; pointer-events: none;
  }
  .hero-card-deco {
    position: static; width: 160px; height: auto;
    transform: scale(0.72) rotate(-3deg); transform-origin: top left;
  }
  .hero-stats-deco {
    position: static; width: 136px; height: 118px;
    transform: scale(0.66) rotate(3deg); transform-origin: top left;
  }
}

@media (max-width: 980px) {
  .header-center { display: none; }
  .header-link-login { display: none; }
  .features { grid-template-columns: 1fr; }
  .showcase-row, .showcase-row--reverse { grid-template-columns: 1fr; }
  .showcase-row--reverse .showcase-copy, .showcase-row--reverse .showcase-visual { order: unset; }
  .builder-grid { grid-template-columns: 1fr; }
  .builder-preview { position: static; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .piliers-grid { grid-template-columns: repeat(2, 1fr); }
  .piliers-projection { flex-direction: column; gap: 16px; padding: 28px 24px; }
  .proj-arrow svg { transform: rotate(90deg); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
}

@media (max-width: 760px) {
  header {
    width: calc(100% - 16px); top: 10px;
    padding: 5px 5px 5px 14px; border-radius: 14px;
    grid-template-columns: 1fr auto auto;
  }
  .logo { font-size: 17px; }
  .header-burger { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; }
  .header-cta { padding: 7px 12px; font-size: 12.5px; }
  .hero { padding: 140px 20px 60px; }
  .integrations-grid { grid-template-columns: 1fr; }
  .piliers-grid { grid-template-columns: 1fr; }
  .pilier-card p { min-height: auto; }
  #builder { padding: 0 20px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track, .logo-strip-track, .mock-tap-wave, .deco-w2, .deco-w3, .sc-live { animation: none !important; }
}

:focus-visible {
  outline: 2px solid #3D9EFF;
  outline-offset: 2px;
}
