/* Platuva website. Same colours as the app. */
:root {
  --bg: #0b0c0e;
  --bg-2: #101215;
  --surface: #14161a;
  --surface-2: #1b1e23;
  --border: #262a31;
  --text: #f2f3f5;
  --muted: #9aa0a9;
  --gold: #f4b740;
  --on-gold: #1a1300;
  --green: #34c77b;
  --red: #ff5a5f;
  --blue: #3d7bff;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; }
h1 span { color: var(--gold); }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; max-width: 820px; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--gold); color: var(--on-gold); font-weight: 700;
  text-decoration: none; border: 1px solid var(--gold);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #ffc85e; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(11,12,14,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.brand img { border-radius: 8px; }
.brand.small { font-size: 16px; }
.links { display: none; gap: 24px; margin-left: 8px; }
.links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-actions .ghost { display: none; }
.lang { background: none; border: 1px solid var(--border); color: var(--muted); border-radius: 10px; height: 40px; min-width: 44px; font: 600 14px var(--font); cursor: pointer; }
.lang:hover { color: var(--text); }
@media (min-width: 900px) { .links { display: flex; } .nav-actions .ghost { display: inline-flex; } }

/* Hero */
.hero { padding: 56px 0 32px; background: radial-gradient(1200px 500px at 80% -10%, rgba(244,183,64,.12), transparent 60%); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } .hero { padding: 88px 0 40px; } }
.eyebrow { color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 19px; margin-top: 20px; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
.integ { margin-top: 48px; text-align: center; color: var(--muted); font-size: 14px; }
.integ span { display: inline-block; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; }

/* Product mock */
.mock { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.mock-bar span { margin-left: 8px; }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px; min-width: 0; }
.kpi small { display: block; color: var(--muted); font-size: 12px; }
.kpi b { display: block; font-size: clamp(14px, 1.45vw, 19px); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi em { font-style: normal; font-size: 12px; }
.pos, .up { color: var(--green); }
.down { color: var(--red); }
.alert-card { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,90,95,.08); border: 1px solid rgba(255,90,95,.35); border-radius: 12px; padding: 12px; }
.alert-card b { display: block; font-size: 14px; }
.alert-card small { color: var(--muted); font-size: 12.5px; }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex: none; }
.dot.red { background: var(--red); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 8px 4px 0; border-bottom: 1px solid var(--border); }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(var(--blue), rgba(61,123,255,.5)); }
.bars i:nth-child(2n) { background: linear-gradient(var(--gold), rgba(244,183,64,.5)); }
.matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q { display: flex; justify-content: space-between; align-items: center; border-radius: 10px; padding: 10px 12px; font-size: 13px; border: 1px solid; }
.q span { font-weight: 800; font-size: 16px; }
.q.star { color: var(--gold); border-color: rgba(244,183,64,.4); background: rgba(244,183,64,.08); }
.q.puzzle { color: var(--green); border-color: rgba(52,199,123,.4); background: rgba(52,199,123,.08); }
.q.horse { color: #7aa5ff; border-color: rgba(61,123,255,.4); background: rgba(61,123,255,.08); }
.q.dog { color: var(--red); border-color: rgba(255,90,95,.4); background: rgba(255,90,95,.08); }

/* Sections */
.section { padding: 88px 0; }
.section.alt, .band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band { padding: 72px 0; }
.band h2 { margin-bottom: 32px; }
.section h2 { margin-bottom: 36px; }
.grid3 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card, .feat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card p, .feat p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.feat .ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(244,183,64,.12); color: var(--gold); font-weight: 800; margin-bottom: 14px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps li > span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); margin-top: 8px; }

/* Pricing */
.billing { display: inline-flex; border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.billing button { background: none; border: 0; color: var(--muted); font: 600 15px var(--font); padding: 10px 16px; border-radius: 9px; cursor: pointer; min-height: 40px; }
.billing button.on { background: var(--surface-2); color: var(--text); }
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 20px 60px rgba(244,183,64,.1); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 21px; }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 6px; min-height: 48px; }
.plan .price { margin: 18px 0 4px; font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan .note { color: var(--muted); font-size: 13px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.plan .btn { margin-top: auto; width: 100%; }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin-top: 12px; }

/* CTA + footer */
.cta-band { padding: 88px 0; text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(244,183,64,.14), transparent 70%); }
.cta-band h2 { margin: 0 auto; }
.cta-band p { color: var(--muted); margin: 14px auto 0; max-width: 560px; }
.foot { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot small { margin-left: auto; }
@media (max-width: 640px) { .foot small { margin-left: 0; } }
