/* Belastingmate — website styles. Apple dark theme: near-black, restrained,
   system type, translucent chrome, size-specific tracking, spring-ish feedback. */

:root {
  color-scheme: dark;

  --brand: #2dd4bf;
  --brand-deep: #14b8a6;
  --brand-dim: #0f766e;
  --accent: #ff9f0a;

  --bg: #000000;
  --bg-elev: #0a0a0c;
  --card: rgba(255, 255, 255, 0.055);
  --card-solid: #131316;
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --text-dim: #98989d;
  --text-faint: #6e6e73;
  --hairline: rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(0, 0, 0, 0.68);
  --radius: 20px;
}

/* Apple's marketing pages stay dark regardless of system theme — this site
   does too, on purpose. If you'd rather follow the system, swap this block
   for a `prefers-color-scheme: light` variant of the tokens above. */

* { 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;
  font-family: -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
img { max-width: 100%; display: block; }

.wrap { width: min(1120px, 92vw); margin: 0 auto; }

/* Typography — tighten as it grows, comfortable leading on body. */
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.024em; margin: 0 0 .4em; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2.6rem, 6.6vw, 4.8rem); letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.028em; }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 2.1vw, 1.32rem); color: var(--text-dim); line-height: 1.5; font-weight: 400; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }

/* Nav — translucent floating chrome, content scrolls under. */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 52px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); font-size: .96rem; }
.brand img { width: 22px; height: 22px; border-radius: 6px; }
.nav .spacer { flex: 1; }
.nav a.link { color: var(--text-dim); font-size: .88rem; font-weight: 400; }
.nav a.link:hover { color: var(--text); }
.nav .btn { padding: 7px 16px; font-size: .86rem; }
@media (max-width: 640px) { .nav a.link { display: none; } }

/* Buttons — feedback on press, snappy. */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 980px; font-weight: 500; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  will-change: transform;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--brand); color: #00201c; box-shadow: 0 8px 24px rgba(45,212,191,.22); }
.btn-primary:hover { background: var(--brand-deep); color: #00201c; }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--card-border); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.hero .cta-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero .cta-row { justify-content: center; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 13px; border-radius: 980px; font-size: .82rem; font-weight: 500;
  color: var(--brand); background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.22);
}

.hero-glow {
  position: absolute; inset: -30% 20% auto -20%; height: 620px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(45,212,191,.16), transparent 72%);
  filter: blur(30px); z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }

/* Device mockup */
.device {
  width: min(300px, 78vw); aspect-ratio: 300 / 620; margin: 0 auto;
  border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a2a2e, #0c0c0e);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.device .screen {
  width: 100%; height: 100%; border-radius: 35px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #14312e, #0a1a18 65%, #050d0c);
  display: flex; flex-direction: column; color: #fff;
}
.device .screen .status { display: flex; justify-content: space-between; font-size: .68rem; padding: 12px 18px 0; opacity: .6; font-weight: 500; }
.device .screen .big { padding: 22px 20px 0; }
.device .screen .big .lbl { font-size: .78rem; opacity: .55; }
.device .screen .big .amt { font-size: 2.05rem; font-weight: 700; letter-spacing: -0.025em; margin-top: 3px; color: var(--brand); }
.device .screen .sheet {
  margin-top: 18px; flex: 1; background: #0d0f11; color: var(--text);
  border-radius: 24px 24px 35px 35px; padding: 18px 16px; border-top: 1px solid rgba(255,255,255,.06);
}
.device .row { display: flex; justify-content: space-between; align-items: center; padding: 11px 6px; border-bottom: 1px solid var(--hairline); }
.device .row:last-child { border-bottom: none; }
.device .row .k { font-weight: 500; font-size: .9rem; }
.device .row .s { font-size: .72rem; color: var(--text-faint); }
.device .row .v { font-weight: 600; color: var(--brand); font-size: .9rem; }

/* Sections */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Feature cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-elev);
  padding: 26px 24px;
  transition: background .2s ease;
}
.card:hover { background: #111114; }
.icon {
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--brand); margin-bottom: 16px;
}
.icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--text-dim); font-size: .93rem; margin: 0; line-height: 1.5; }

/* Plus / pricing */
.plus {
  background: linear-gradient(155deg, #0f2624, #06110f 60%, #000);
  border: 1px solid var(--card-border);
  color: var(--text); border-radius: 28px; padding: 48px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  position: relative; overflow: hidden;
}
.plus::before {
  content: ""; position: absolute; inset: -40% 40% auto -10%; height: 400px;
  background: radial-gradient(closest-side, rgba(45,212,191,.16), transparent 70%);
  pointer-events: none;
}
.plus > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .plus { grid-template-columns: 1fr; padding: 32px; } }
.plus h2 { color: var(--text); }
.plus .price { font-size: 3.2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.plus .price small { font-size: 1rem; font-weight: 400; color: var(--text-dim); }
.plus ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.plus li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-dim); }
.plus li strong { color: var(--text); }
.plus li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--brand); }

/* Callout / disclaimer */
.note {
  border: 1px solid var(--card-border); background: var(--card);
  border-radius: 18px; padding: 20px 22px; color: var(--text-dim); font-size: .92rem;
}
.note strong { color: var(--text); }

/* Footer */
footer { border-top: 1px solid var(--hairline); padding: 44px 0 60px; color: var(--text-faint); }
.foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.foot .spacer { flex: 1; }
.foot a { color: var(--text-dim); font-size: .88rem; }
.foot a:hover { color: var(--text); }

/* Legal (privacy / terms) pages */
.legal { padding: 52px 0 90px; }
.legal .wrap { max-width: 740px; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
.legal h2 { font-size: 1.38rem; margin-top: 1.9em; color: var(--text); }
.legal h3 { font-size: 1.06rem; margin-top: 1.3em; }
.legal p, .legal li { color: var(--text-dim); }
.legal ul { padding-left: 1.2em; }
.legal li { margin: .3em 0; }
.legal .updated { color: var(--text-faint); font-size: .9rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .93rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.legal th { color: var(--text-dim); font-weight: 600; }
.toc { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 18px 22px; margin: 24px 0; }
.toc strong { color: var(--text); }
.toc ul { margin: 0; }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
  .btn:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
