/* ============================================================
   Niveau Pro — Landing page
   White bg · cyan accent · Satoshi + JetBrains Mono
   ============================================================ */
:root {
  --bg: #ffffff;
  --surface-2: #f5f7f9;
  --surface-3: #eef1f4;
  --ink: #0f1722;
  --ink-2: #44505f;
  --ink-3: #7d8896;
  --border: #e6eaef;
  --border-2: #d8dee5;

  --accent: #0891b2;
  --accent-700: #0e7490;
  --accent-600: #0a9bc4;
  --accent-50: #e7f6fa;
  --accent-soft: #f0fafc;
  --ink-deep: #0b2530;   /* deep teal-ink for dark sections */

  --r: 14px;
  --r-sm: 9px;
  --r-lg: 22px;
  --r-pill: 999px;

  --font: "Satoshi", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --shadow-sm: 0 1px 2px rgba(15,23,34,.05), 0 2px 6px rgba(15,23,34,.05);
  --shadow: 0 8px 24px rgba(15,23,34,.08);
  --shadow-lg: 0 24px 60px rgba(15,23,34,.14);
  --shadow-cyan: 0 14px 34px rgba(8,145,178,.26);

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-700);
}
.muted { color: var(--ink-3); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px; border-radius: var(--r-sm);
  font-family: var(--font); font-weight: 700; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-cyan); }
.btn.primary:hover { background: var(--accent-600); transform: translateY(-1px); }
.btn.primary:active { transform: translateY(0); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--border-2); }
.btn.ghost:hover { border-color: var(--ink-3); background: var(--surface-2); }
.btn.sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn.lg { height: 56px; padding: 0 30px; font-size: 17px; }
.btn.onDark { background: #fff; color: var(--ink-deep); box-shadow: none; }
.btn.onDark:hover { background: var(--accent-50); transform: translateY(-1px); }
.btn.ghostDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn.ghostDark:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------------- Header ---------------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, #fff 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hdr.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(15,23,34,.02); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-name { font-weight: 900; font-size: 21px; letter-spacing: -.03em; }
.brand-name b { color: var(--accent); font-weight: 900; }
.hdr-nav { display: flex; align-items: center; gap: 32px; }
.hdr-nav a { font-size: 15.5px; font-weight: 600; color: var(--ink-2); transition: color .14s; }
.hdr-nav a:hover { color: var(--ink); }
.hdr-cta { display: flex; align-items: center; gap: 12px; }
.hdr-login { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.hdr-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 74px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 78% 8%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(40% 40% at 8% 30%, #f3f9fb 0%, transparent 55%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 60px; }
.hero .sub { font-size: 20px; color: var(--ink-2); margin-top: 22px; max-width: 30ch; }
.hero-form { display: flex; gap: 10px; margin-top: 32px; max-width: 460px; }
.hero-form input {
  flex: 1; height: 56px; padding: 0 18px; border-radius: var(--r-sm);
  border: 1px solid var(--border-2); font-family: var(--font); font-size: 16px; color: var(--ink);
  outline: none; transition: border-color .15s, box-shadow .15s; background: #fff; min-width: 0;
}
.hero-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-50); }
.hero-form input::placeholder { color: var(--ink-3); }
.hero-note { margin-top: 16px; font-size: 14.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px;
  border-radius: var(--r-pill); background: #fff; border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.pill svg { width: 15px; height: 15px; color: var(--accent); }

.hero-visual { position: relative; }

/* ---------------- Browser mockup ---------------- */
.browser {
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-2); display: block; }
.browser-url { margin-left: 10px; flex: 1; height: 26px; border-radius: 7px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; padding: 0 11px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.browser-url b { color: var(--ink-2); font-weight: 600; }

/* Mini app inside mockup */
.mini { display: grid; grid-template-columns: 56px 1fr; height: 420px; background: var(--surface-2); }
.mini-sb { background: #fff; border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; padding: 14px 0; gap: 16px; }
.mini-sb .logo-tile { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.mini-sb .nav-ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-3); }
.mini-sb .nav-ic.on { background: var(--accent-50); color: var(--accent-700); }
.mini-sb .nav-ic svg { width: 18px; height: 18px; }
.mini-main { padding: 16px 18px; overflow: hidden; }
.mini-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mini-h h4 { font-size: 16px; }
.mini-h .b { height: 28px; padding: 0 12px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 13px; }
.mini-stat { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 11px; }
.mini-stat .v { font-family: var(--mono); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.mini-stat .l { font-size: 10.5px; color: var(--ink-3); margin-top: 1px; }
.mini-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-bottom: 1px solid var(--border); }
.mini-row:last-child { border-bottom: 0; }
.mini-time { font-family: var(--mono); font-size: 12px; font-weight: 700; width: 38px; color: var(--ink-2); }
.mini-bar { width: 3px; align-self: stretch; border-radius: 3px; }
.mini-txt { flex: 1; min-width: 0; }
.mini-txt b { font-size: 12.5px; font-weight: 700; display: block; }
.mini-txt span { font-size: 11px; color: var(--ink-3); }
.mini-chip { font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 999px; }

.float-card {
  position: absolute; background: #fff; border: 1px solid var(--border);
  border-radius: 13px; box-shadow: var(--shadow); padding: 12px 14px;
  display: flex; align-items: center; gap: 11px;
}
.float-card .fc-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card b { font-size: 13.5px; }
.float-card span { font-size: 11.5px; color: var(--ink-3); display: block; }
.float-sms { right: -26px; top: 56px; animation: floaty 5s ease-in-out infinite; }
.float-ok { left: -30px; bottom: 50px; animation: floaty 6s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------------- Trust strip ---------------- */
.trust { padding: 40px 0 8px; }
.trust-in { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-item .n { font-family: var(--mono); font-weight: 700; font-size: 30px; letter-spacing: -.03em; color: var(--ink); }
.trust-item .n b { color: var(--accent); }
.trust-item .t { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.trust-sep { width: 1px; height: 40px; background: var(--border); }

/* ---------------- Section scaffold ---------------- */
section.band { padding: 96px 0; }
.sec-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: 42px; margin-top: 14px; }
.sec-head p { font-size: 19px; color: var(--ink-2); margin-top: 18px; }

/* ---------------- Features ---------------- */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feat-row + .feat-row { margin-top: 110px; }
.feat-row.flip .feat-visual { order: -1; }
.feat-copy .ftag { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--accent-50); color: var(--accent-700); font-weight: 700; font-size: 13.5px; }
.feat-copy .ftag svg { width: 16px; height: 16px; }
.feat-copy h3 { font-size: 32px; margin: 20px 0 16px; }
.feat-copy p { font-size: 18px; color: var(--ink-2); }
.feat-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 13px; }
.feat-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 16px; color: var(--ink); font-weight: 550; }
.feat-list svg { width: 21px; height: 21px; color: var(--accent); flex: none; margin-top: 1px; }
.feat-visual {
  border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface-2);
  box-shadow: var(--shadow); overflow: hidden; padding: 24px;
}

/* mini agenda + clients + reminder visuals */
.mv-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.mv-head { padding: 13px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.mv-head b { font-size: 14.5px; }
.mv-li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.mv-li:last-child { border-bottom: 0; }
.mv-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.mv-li .info { flex: 1; min-width: 0; }
.mv-li .info b { font-size: 13.5px; display: block; }
.mv-li .info span { font-size: 12px; color: var(--ink-3); }

/* reminder chat bubbles */
.chat { display: flex; flex-direction: column; gap: 12px; padding: 6px 4px; }
.bubble { max-width: 80%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; box-shadow: var(--shadow-sm); }
.bubble.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.bubble.in { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.bubble .meta { display: block; font-size: 11px; margin-top: 5px; opacity: .7; font-family: var(--mono); }
.bubble.out .meta { color: #eafaff; }

/* ---------------- How it works ---------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.step .num { font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--accent); border: 1.5px solid var(--accent-50); background: var(--accent-50); width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px; }
.step h4 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--ink-2); }

/* ---------------- Testimonials ---------------- */
.tband { background: var(--surface-2); }
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.quote .stars { display: flex; gap: 2px; color: #f5a524; margin-bottom: 14px; }
.quote .stars svg { width: 17px; height: 17px; }
.quote p { font-size: 16.5px; color: var(--ink); line-height: 1.55; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote .who .mv-av { width: 42px; height: 42px; }
.quote .who b { font-size: 14.5px; display: block; }
.quote .who span { font-size: 13px; color: var(--ink-3); }

/* ---------------- Pricing ---------------- */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; }
.plan.hot { border-color: var(--accent); box-shadow: var(--shadow-cyan); position: relative; }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 999px; font-family: var(--mono); letter-spacing: .04em; }
.plan h4 { font-size: 19px; }
.plan .desc { font-size: 14.5px; color: var(--ink-3); margin-top: 6px; min-height: 40px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.plan .price .amt { font-family: var(--mono); font-weight: 700; font-size: 44px; letter-spacing: -.03em; }
.plan .price .per { font-size: 15px; color: var(--ink-3); }
.plan .price-note { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 1px; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: 0; padding: 24px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; text-align: left; font-family: var(--font); font-size: 19px; font-weight: 700; color: var(--ink); }
.faq-q svg { width: 22px; height: 22px; color: var(--accent); flex: none; transition: transform .25s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 24px; font-size: 16.5px; color: var(--ink-2); }

/* ---------------- CTA band ---------------- */
.cta { background: var(--ink-deep); color: #fff; border-radius: 28px; padding: 70px 40px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% -10%, rgba(8,145,178,.5) 0%, transparent 60%); }
.cta-in { position: relative; }
.cta h2 { font-size: 44px; color: #fff; }
.cta p { font-size: 19px; color: #c5d6dc; margin-top: 18px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 14px; color: #93acb5; }

/* ---------------- Footer ---------------- */
.ft { padding: 70px 0 40px; border-top: 1px solid var(--border); margin-top: 96px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ft-brand p { font-size: 15px; color: var(--ink-3); margin-top: 16px; max-width: 30ch; }
.ft-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; margin-bottom: 16px; font-family: var(--mono); }
.ft-col a { display: block; font-size: 15px; color: var(--ink-2); padding: 6px 0; }
.ft-col a:hover { color: var(--accent-700); }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); font-size: 14px; color: var(--ink-3); flex-wrap: wrap; gap: 12px; }

/* ---------------- Reveal anim (fail-open: transform-only, never hides content) ---------------- */
.reveal { transform: translateY(20px); transition: transform .6s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; transition: none; } .float-sms, .float-ok { animation: none; } }

/* ---------------- Responsive ---------------- */
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .hero h1 { font-size: 46px; }
  .hero-grid, .feat-row, .feat-row.flip { grid-template-columns: 1fr; gap: 40px; }
  .feat-row.flip .feat-visual { order: 0; }
  .steps, .quotes, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 420px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hdr-nav, .hdr-login { display: none; }
  .hdr-burger { display: block; }
  .sec-head h2 { font-size: 34px; }
  .cta h2 { font-size: 34px; }
  .float-sms { right: 0; }
  .float-ok { left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 37px; }
  .hero-form { flex-direction: column; }
  .hero-form .btn { width: 100%; }
  section.band { padding: 68px 0; }
  .trust-in { gap: 26px; }
  .trust-sep { display: none; }
  .ft-grid { grid-template-columns: 1fr; }
  .cta { padding: 50px 22px; border-radius: 20px; }
}
