/* DBreeze website — same brand as the app: navy surfaces, teal primary. */
:root {
  --bg: #0a1120;
  --bg-2: #0d1828;
  --card: #111d2f;
  --card-2: #15233a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef3f8;
  --text-2: #b8c6d6;
  --muted: #8796ab;
  --primary: #3ccfbf;
  --primary-2: #5eead4;
  --primary-ink: #052b27;
  --blue: #60a5fa;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
[data-lucide], svg.lucide { width: 18px; height: 18px; stroke-width: 2; flex: none; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 var(--font);
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 24px rgba(60, 207, 191, .25); }
.btn-primary:hover { background: var(--primary-2); }
.btn-secondary { background: var(--card-2); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: rgba(60, 207, 191, .5); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-link { background: none; color: var(--text-2); height: 38px; font-weight: 500; }
.btn-link:hover { color: var(--primary); transform: none; }
.btn-store {
  height: 54px; padding: 0 22px; background: #fff; color: #000; border-radius: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.btn-store span { display: flex; flex-direction: column; text-align: left; font-size: 18px; font-weight: 650; letter-spacing: -.01em; line-height: 1.05; }
.btn-store small { font-size: 11px; font-weight: 500; letter-spacing: 0; }
.apple-logo { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn .apple-logo { width: 18px; height: 18px; }
.btn-store .apple-logo { width: 26px; height: 26px; }

/* ── Navigation ──────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 17, 32, .72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--text-2); }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links .btn { color: var(--primary-ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 0;
  background:
    radial-gradient(900px 520px at 18% -8%, rgba(60, 207, 191, .22), transparent 70%),
    radial-gradient(800px 600px at 100% 10%, rgba(96, 165, 250, .14), transparent 70%);
}
.hero-inner { text-align: center; max-width: 900px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border-strong);
  font-size: 14px; color: var(--text-2);
}
.eyebrow-tag { padding: 3px 9px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-weight: 700; font-size: 12px; }
h1 {
  margin: 22px 0 16px; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02;
  font-weight: 800; letter-spacing: -.04em;
}
.grad { background: linear-gradient(90deg, var(--primary-2), var(--primary) 45%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0 auto; max-width: 700px; font-size: clamp(17px, 2vw, 20px); color: var(--text-2); }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-cta .btn-ghost { height: 54px; }
.hero-note { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note [data-lucide], .hero-note svg { width: 15px; height: 15px; color: var(--primary); }
.hero-shot { margin: 56px auto -2px; max-width: 1080px; }

/* ── Window frame ────────────────────────────────── */
.window {
  border-radius: 14px; overflow: hidden; background: #1f2335;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.35);
  margin: 0;
}
.window-bar { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: linear-gradient(#2a2e42, #24283a); border-bottom: 1px solid rgba(0,0,0,.35); }
.window-bar.light { background: linear-gradient(#ecebe8, #e2e0dc); border-bottom-color: rgba(0,0,0,.12); }
.window-bar span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }

/* ── Engines ─────────────────────────────────────── */
.engines { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.engines-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 34px; padding-top: 22px; padding-bottom: 22px; color: var(--text-2); font-weight: 600; }
.engines-label { color: var(--muted); font-weight: 500; font-size: 14px; }
.engine { display: inline-flex; align-items: center; gap: 10px; }
.engine-mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.engine-mark.my { background: rgba(228, 142, 0, .16); color: #f0a530; }
.engine-mark.ma { background: rgba(196, 113, 237, .16); color: #c98bf0; }
.engine-mark.pg { background: rgba(59, 130, 246, .18); color: #6ea8ff; }

/* ── Sections ────────────────────────────────────── */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
h2 { margin: 12px 0 14px; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.section-head p { margin: 0; font-size: 18px; color: var(--text-2); }

/* ── Bento ───────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(60, 207, 191, .35); transform: translateY(-2px); }
.card-wide { grid-column: span 2; }
.card-full { grid-column: 1 / -1; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(60, 207, 191, .12); color: var(--primary); margin-bottom: 18px; }
.card-icon [data-lucide], .card-icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* ── Tour ────────────────────────────────────────── */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0 auto 28px; padding: 5px; width: fit-content; max-width: 100%; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.tabs button { height: 40px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); font: 600 14.5px var(--font); cursor: pointer; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.tabs button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.tour-shot { max-width: 1080px; margin: 0 auto; }
.tour-shot img { transition: opacity .2s ease; }
.tour-caption { text-align: center; color: var(--text-2); margin: 22px 0 0; font-size: 16px; }

/* ── Plans ───────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 30px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
}
.plan-featured { background: linear-gradient(180deg, rgba(60,207,191,.10), var(--card) 45%); border-color: rgba(60, 207, 191, .45); box-shadow: 0 20px 60px rgba(60, 207, 191, .08); }
.plan-badge { position: absolute; top: -12px; left: 30px; padding: 4px 12px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-size: 12px; font-weight: 700; }
.plan-head { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.plan-head h3 { margin: 0; font-size: 17px; color: var(--text); }
.plan-head .apple-logo { width: 18px; height: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.plan-price strong { font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.plan-price span { color: var(--text-2); font-size: 15px; }
.plan-sub { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.plan li [data-lucide], .plan li svg { color: var(--primary); margin-top: 3px; width: 16px; height: 16px; }
.plan .btn + .btn { margin-top: 8px; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-wrap { max-width: 820px; }
details { border-bottom: 1px solid var(--border); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 18px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--text-2); font-size: 16px; }

/* ── CTA ─────────────────────────────────────────── */
.cta { padding: 110px 0; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(60, 207, 191, .18), transparent 70%); }
.cta-inner img { margin: 0 auto 18px; border-radius: 16px; box-shadow: 0 14px 36px rgba(0,0,0,.4); }
.cta p { margin: 0; color: var(--text-2); font-size: 19px; }

/* ── Footer ──────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 44px 0 30px; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { max-width: 420px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; }
.footer-brand p a { color: var(--text-2); }
.footer-brand p a:hover, .footer-links a:hover { color: var(--primary); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.footer-copy { margin-top: 28px; color: var(--muted); font-size: 13.5px; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px;
    background: rgba(10, 17, 32, .97); border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; }
  .hero { padding-top: 48px; }
  .bento { grid-template-columns: 1fr; }
  .card-wide, .card-full { grid-column: auto; }
  .section, .cta { padding: 76px 0; }
  .tabs { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .tabs button { flex: none; }
  .hero-cta .btn { width: 100%; }
}
