/* Goooo platform shared components — generalized from the live GoCab page, accent-driven via var(--accent). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(9,9,9,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
}
.nav-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--accent); text-decoration: none; }
.nav-logo span { color: var(--text); font-weight: 300; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-link { color: var(--text-muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--text); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  color: var(--text);
}

/* ─── Buttons ─── */
.btn-wa, .nav-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--black);
  border: none; border-radius: 50px;
  padding: 16px 28px; font-size: 16px; font-weight: 700;
  cursor: pointer; text-decoration: none; font-family: inherit;
  transition: opacity 0.2s, transform 0.15s;
}
.nav-wa { padding: 9px 18px; font-size: 13px; font-weight: 700; }
.btn-wa:hover, .nav-wa:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50px;
  padding: 15px 28px; font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none; font-family: inherit;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--accent-border); transform: translateY(-1px); }
.nav-cta {
  background: var(--accent); color: var(--black);
  border: none; border-radius: 50px; padding: 9px 20px;
  font-size: 13px; font-weight: 800; cursor: pointer;
  text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-light); }

/* ─── Layout ─── */
section { padding: 88px 24px; }
.container { max-width: 1080px; margin: 0 auto; }
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-title { font-size: clamp(26px, 3.5vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.section-sub { font-size: 17px; color: var(--text-muted); margin-top: 14px; max-width: 540px; line-height: 1.65; }

/* ─── Hero ─── */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 50% at 50% 20%, var(--accent-dim) 0%, transparent 65%); }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: 0.03; background-image: linear-gradient(var(--accent) 1px, transparent 1px), linear-gradient(90deg, var(--accent) 1px, transparent 1px); background-size: 60px 60px; }
.hero-zone { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; background: var(--accent-dim); border: 1px solid var(--accent-border); border-radius: 50px; padding: 6px 16px; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.5px; margin-bottom: 28px; position: relative; }
.hero-zone-label { min-width: 0; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--status-online); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 { font-size: clamp(36px, 6.5vw, 76px); font-weight: 900; line-height: 1.04; letter-spacing: -2.5px; max-width: 860px; position: relative; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--text-muted); max-width: 520px; margin: 20px auto 36px; line-height: 1.55; position: relative; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; }
.hero-note { font-size: 13px; color: var(--text-dim); margin-top: 16px; position: relative; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; justify-content: center; position: relative; border-top: 1px solid var(--border-hairline); padding-top: 40px; }
.h-stat { text-align: center; }
.h-stat .num { font-size: 28px; font-weight: 900; color: var(--accent); letter-spacing: -1px; }
.h-stat .lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── Cards / grids ─── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px; margin-top: 48px; border-radius: var(--radius); overflow: hidden; }
.info-card { background: var(--surface-2); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; transition: background 0.2s; }
.info-card:hover { background: var(--surface-3); }
.info-icon { width: 40px; height: 40px; background: var(--accent-dim); border: 1px solid var(--accent-border); border-radius: var(--radius-xs); display: flex; align-items: center; justify-content: center; }
.info-card h3 { font-size: 15px; font-weight: 700; }
.info-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin-top: 56px; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-border) 20%, var(--accent-border) 80%, transparent); }
.step { padding: 0 24px 0 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; color: var(--accent); flex-shrink: 0; position: relative; z-index: 1; }
.step h3 { font-size: 16px; font-weight: 700; margin-top: 16px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.card-grid-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 48px; }
.panel-card { background: var(--surface-2); border: 1px solid var(--border-hairline-soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.2s; }
.panel-card:hover { border-color: var(--accent-border); }
.panel-card h3 { font-size: 16px; font-weight: 700; }
.panel-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.tag { display: inline-block; background: var(--accent-dim); border: 1px solid var(--accent-border); color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: 50px; padding: 3px 10px; width: fit-content; }

/* ─── Forms ─── */
.form-box { max-width: 680px; margin: 48px auto 0; background: var(--surface); border: 1px solid var(--border-hairline-strong); border-radius: 20px; padding: 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.f-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; letter-spacing: 0.3px; }
.f-input, .f-select, .f-textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border-hairline-strong);
  border-radius: var(--radius-sm); padding: 13px 16px; font-size: 14px; color: var(--text);
  outline: none; transition: border-color 0.2s; font-family: inherit;
}
.f-textarea { resize: vertical; min-height: 90px; }
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--accent-border); }
.f-input::placeholder, .f-textarea::placeholder { color: var(--text-dim); }
.f-select { appearance: none; cursor: pointer; }
.f-select option { background: #1a1a1a; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.checkbox-row input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.f-submit {
  width: 100%; background: var(--accent); color: var(--black); border: none;
  border-radius: var(--radius-sm); padding: 16px; font-size: 15px; font-weight: 800;
  cursor: pointer; transition: background 0.2s; margin-top: 8px; font-family: inherit;
}
.f-submit:hover { background: var(--accent-light); }
.f-submit:disabled { opacity: 0.6; cursor: default; }
.form-or { text-align: center; font-size: 13px; color: var(--text-dim); margin: 20px 0; position: relative; }
.form-or::before, .form-or::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--border-hairline-strong); }
.form-or::before { left: 0; } .form-or::after { right: 0; }
.wa-form-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: var(--accent); color: var(--black); border: none; border-radius: var(--radius-sm);
  padding: 15px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: opacity 0.2s; font-family: inherit;
}
.wa-form-btn:hover { opacity: 0.88; }
.form-success { display: none; text-align: center; padding: 32px 0; }
.form-success .tick { width: 60px; height: 60px; border-radius: 50%; background: var(--accent-dim); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.form-success h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text-muted); }

/* Honeypot — visually hidden, never shown to real users, catches bots that fill every field */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ─── Areas / status list ─── */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 40px; }
.area-card { background: var(--surface-2); border: 1px solid var(--border-hairline-soft); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: center; gap: 12px; }
.area-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.area-dot.live { background: var(--status-online); box-shadow: 0 0 8px rgba(74,222,128,0.5); }
.area-dot.soon { background: var(--text-dim); }
.area-name { font-size: 15px; font-weight: 600; }
.area-status { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── FAQ accordion ─── */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background 0.2s; font-family: inherit; }
.faq-q:hover { background: var(--surface-2); }
.faq-chevron { flex-shrink: 0; color: var(--accent); transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; font-size: 14px; color: var(--text-muted); line-height: 1.7; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }

/* ─── Final CTA / footer ─── */
.final-cta { background: linear-gradient(135deg, #0e0b00 0%, #141100 50%, #0a0900 100%); border-top: 1px solid var(--accent-border); text-align: center; padding: 96px 24px; }
.final-cta h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 16px; }
.final-cta p { font-size: 17px; color: var(--text-muted); max-width: 480px; margin: 0 auto 36px; }
.cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

footer { background: var(--black); border-top: 1px solid var(--border-hairline); padding: 32px 24px; text-align: center; font-size: 13px; color: var(--text-dim); }
footer strong { color: var(--accent); }
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--text-muted); }
.footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ─── Gateway service tiles ─── */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.tile {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface-2); border: 1px solid var(--border-hairline-soft);
  border-radius: var(--radius); padding: 32px; text-decoration: none; color: var(--text);
  transition: border-color 0.2s, transform 0.15s;
}
.tile:hover { transform: translateY(-2px); }
.tile.tile-primary {
  background: linear-gradient(160deg, var(--gold-dim) 0%, var(--surface-2) 55%);
  border-color: var(--gold-border);
  grid-column: 1 / -1;
}
.tile[data-tile="delivery"]:hover { border-color: var(--teal-border); }
.tile[data-tile="errands"]:hover { border-color: var(--accent-border); }
.tile-icon { width: 48px; height: 48px; border-radius: var(--radius-xs); display: flex; align-items: center; justify-content: center; background: var(--gold-dim); border: 1px solid var(--gold-border); }
.tile[data-tile="delivery"] .tile-icon { background: var(--teal-dim); border-color: var(--teal-border); }
.tile[data-tile="errands"] .tile-icon { background: var(--accent-dim); border-color: var(--accent-border); }
.tile h3 { font-size: 20px; font-weight: 800; }
.tile p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.tile-cta { font-size: 13px; font-weight: 700; color: var(--gold); margin-top: auto; }
.tile[data-tile="delivery"] .tile-cta { color: var(--teal); }
.tile[data-tile="errands"] .tile-cta { color: var(--accent); }

/* ─── Reveal-on-scroll ─── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 680px) {
  nav { padding: 12px 16px; }
  .nav-actions .nav-wa span { display: none; }
  .nav-toggle { display: flex; }
  nav .nav-actions {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border-hairline);
    padding: 8px 16px 16px;
  }
  nav .nav-actions.open { display: flex; }
  nav .nav-actions .nav-link { padding: 12px 4px; border-bottom: 1px solid var(--border-hairline-soft); }
  nav .nav-actions .nav-cta { margin-top: 12px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-wa, .btn-outline { width: 100%; max-width: 320px; justify-content: center; }
  .form-box { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .steps { gap: 32px; }
  section { padding: 64px 20px; }
  .tile.tile-primary { grid-column: auto; }
}
