/* ============================================================
   CooBasa marketing + legal website
   Shared styles. Brand: navy #0E1A35, gold #F5C04A,
   Plus Jakarta Sans. Static site — no build step.
   ============================================================ */
:root {
  --navy: #0E1A35;
  --navy-2: #16224a;
  --gold: #F5C04A;
  --gold-dark: #e0a92e;
  --ink: #14203c;
  --muted: #5b6478;
  --bg: #ffffff;
  --bg-soft: #F4F1EA;
  --line: #e7e3d8;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: #fff;
}
.site-header .container {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}
.brand { display: flex; align-items: center; font-weight: 800; font-size: 20px; text-decoration: none; color: #fff; }
.brand img { width: 32px; height: 32px; border-radius: 8px; margin-right: 10px; }
.brand span { color: var(--gold); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; color: #dfe3ee; font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: #fff; }
.site-nav .btn { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 15px; transition: transform .08s ease, background .15s ease;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---- Hero ---- */
.hero { background: var(--navy); color: #fff; padding: 64px 0 96px; position: relative; overflow: hidden; }
.hero .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 14px 0 18px; font-weight: 800; max-width: 14ch; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: #c7cde0; max-width: 46ch; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; }
.hero-badges div { min-width: 110px; }
.hero-badges b { display: block; font-size: 26px; color: var(--gold); }
.hero-badges small { color: #aeb6cd; font-size: 13px; }

/* ---- Sections ---- */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--gold-dark); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 10px 0 12px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---- Steps / cards ---- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
}
.card .num {
  width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.soft .card { background: #fff; }

/* ---- Audience split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { border-radius: 20px; padding: 36px 32px; }
.panel.dark { background: var(--navy); color: #fff; }
.panel.gold { background: linear-gradient(160deg, #FCE7BE, #F7D488); color: var(--navy); }
.panel h3 { font-size: 24px; margin: 0 0 6px; }
.panel ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.panel li { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 15px; }
.panel li::before { content: "✓"; color: var(--gold-dark); font-weight: 800; }
.panel.dark li::before { color: var(--gold); }

/* ---- CTA band ---- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 14px; }
.cta-band p { color: #c7cde0; margin: 0 auto 26px; max-width: 46ch; }

/* ---- Footer ---- */
.site-footer { background: #0a142c; color: #aeb6cd; padding: 56px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.site-footer a { color: #aeb6cd; text-decoration: none; display: block; margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---- Legal / content pages ---- */
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: #33405c; font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal .placeholder {
  background: #FFF6E0; border: 1px dashed var(--gold-dark); color: #7a5c14;
  padding: 2px 8px; border-radius: 6px; font-weight: 600; font-size: 14px;
}
.legal .toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin: 0 0 32px; }
.legal .toc a { color: var(--navy); text-decoration: none; display: block; margin: 6px 0; font-weight: 600; }
.legal .toc a:hover { text-decoration: underline; }

/* ---- FAQ ---- */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin: 12px 0; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold-dark); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid-3, .split, .footer-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    position: absolute; top: 68px; left: 0; right: 0; background: var(--navy);
    padding: 20px; border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-toggle { display: block; margin-left: auto; }
}

/* ============================================================
   Landing v2 — inspired by co-tasker.com structure
   ============================================================ */

/* App store buttons */
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: #000; color: #fff; border-radius: 12px; padding: 10px 16px; min-width: 150px;
}
.store-btn svg { flex: 0 0 auto; }
.store-btn small { display: block; font-size: 10px; opacity: .8; line-height: 1; }
.store-btn b { display: block; font-size: 15px; line-height: 1.2; }
.hero .store-btn { background: #fff; color: #000; }

/* Service icon grid */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-chip {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 18px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: transform .1s ease, box-shadow .15s ease;
}
.cat-chip:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(14,26,53,.08); }
.cat-chip .emoji {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}

/* Featured showcase */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.show-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  padding: 26px 24px;
}
.show-card .emoji { font-size: 30px; }
.show-card h3 { margin: 12px 0 6px; font-size: 19px; }
.show-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* trade pill list */
.trade-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.trade-pills a {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink);
}
.trade-pills a:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

/* Benefit modules (alternating) */
.benefit { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.benefit + .benefit { margin-top: 64px; }
.benefit .art {
  border-radius: 20px; min-height: 260px; background: linear-gradient(150deg, var(--navy), var(--navy-2));
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 64px;
}
.benefit.rev .txt { order: 2; }
.benefit.rev .art { order: 1; }
.benefit h3 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; }
.benefit p { color: var(--muted); font-size: 17px; margin: 0; }

/* Trust & safety */
.trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; }
.trust-card .ic {
  width: 46px; height: 46px; border-radius: 12px; background: #FCF3DC; color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.trust-card h3 { margin: 0 0 8px; font-size: 18px; }
.trust-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Locations */
.loc-list { display: flex; flex-wrap: wrap; gap: 10px; }
.loc-list span {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--ink);
}

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .showcase, .trust-list { grid-template-columns: 1fr; }
  .benefit { grid-template-columns: 1fr; }
  .benefit.rev .txt { order: 1; } .benefit.rev .art { order: 2; }
}
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Icons (Tabler, MIT) + phone mockup — replaces emoji
   ============================================================ */
.cat-chip .emoji svg { width: 26px; height: 26px; stroke: var(--gold); }
.show-ic {
  width: 52px; height: 52px; border-radius: 14px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.show-ic svg { width: 26px; height: 26px; stroke: var(--gold); }
.trust-card .ic svg { width: 24px; height: 24px; stroke: var(--gold-dark); }
.step-ic {
  width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step-ic svg { width: 22px; height: 22px; stroke: var(--gold); }
.benefit .art svg { width: 84px; height: 84px; stroke: var(--gold); }
.eyebrow-ic { display: inline-flex; vertical-align: -3px; margin-right: 6px; }
.eyebrow-ic svg { width: 16px; height: 16px; stroke: currentColor; }

/* Hero two-column with phone */
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }
.phone-wrap { display: flex; justify-content: center; }

.phone {
  width: 270px; height: 560px; background: #0a1024; border-radius: 42px; padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45); border: 2px solid rgba(255,255,255,.08); position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 20px; background: #0a1024; border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-screen {
  background: var(--bg-soft); border-radius: 32px; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
}
.ps-header { background: var(--navy); color: #fff; padding: 34px 18px 18px; }
.ps-header .ps-eyebrow { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.ps-header h4 { margin: 6px 0 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 6px; padding: 18px 14px 8px; }
.ps-cat { text-align: center; font-size: 9.5px; font-weight: 600; color: var(--ink); }
.ps-cat .c {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 6px;
}
.ps-cat .c svg { width: 22px; height: 22px; stroke: var(--gold); }
.ps-nav {
  margin-top: auto; background: #fff; display: flex; justify-content: space-around;
  padding: 12px 0 16px; border-top: 1px solid var(--line);
}
.ps-nav svg { width: 20px; height: 20px; stroke: #9aa2b4; }
.ps-fab {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold);
  display: flex; align-items: center; justify-content: center; margin-top: -22px;
  box-shadow: 0 6px 14px rgba(245,192,74,.5);
}
.ps-fab svg { width: 22px; height: 22px; stroke: var(--navy); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .phone-wrap { margin-top: 36px; }
}
.legal details.lang-version { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin: 12px 0; background: #fff; }
.legal details.lang-version summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.faq details ul { margin: 0 0 16px; color: var(--muted); }
.legal.fine-print h2 { font-size: 15px; margin-top: 20px; }
.legal.fine-print p { font-size: 13px; line-height: 1.6; }
