/* ===========================================================
   StartGo Mobility — shared stylesheet
   Deep navy + white, electric blue + cyan accents, mobile-first.
   =========================================================== */

:root {
  --navy-900: #06101f;
  --navy-800: #0b1c3d;
  --navy-700: #122a52;
  --navy-600: #1a3a6b;
  --blue: #2f6bff;
  --blue-light: #5e8bff;
  --cyan: #22d3ee;
  --white: #ffffff;
  --ink: #0b1c3d;
  --muted: #7c8aa8;
  --muted-light: #aeb9d6;
  --line: #e4e9f5;
  --bg-soft: #f6f8fd;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 50px -20px rgba(11, 28, 61, 0.35);
  --shadow-card: 0 10px 30px -14px rgba(11, 28, 61, 0.25);
  --max-width: 1180px;
  --font-head: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  color: var(--navy-800);
}
p { margin: 0 0 1em 0; color: var(--muted); }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: #0e7490;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge.research {
  background: rgba(47, 107, 255, 0.1);
  color: var(--blue);
}
.badge.pending {
  background: rgba(124, 138, 168, 0.15);
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  box-shadow: 0 12px 28px -10px rgba(47, 107, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(47, 107, 255, 0.65); }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-ghost {
  background: var(--bg-soft);
  color: var(--navy-800);
}
.btn-ghost:hover { background: var(--line); }
.btn-disabled {
  background: var(--bg-soft);
  color: var(--muted);
  cursor: not-allowed;
  border-color: var(--line);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 16, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
}
.nav-brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted-light);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}
@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--navy-900);
    padding: 18px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 20%, rgba(47, 107, 255, 0.35), transparent 45%),
              radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.25), transparent 50%),
              linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(6, 16, 31, 0.6));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  margin-bottom: 0.4em;
}
.hero p.lead {
  color: var(--muted-light);
  font-size: 1.1rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
}

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-header p { color: var(--muted-light); max-width: 620px; margin: 0 auto; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head .badge { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { margin-bottom: 0; font-size: 0.93rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.step-num {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
}

/* ---------- Split (image/text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse .split-media { grid-template-columns: 1fr; order: initial; }
  .split { grid-template-columns: 1fr; }
}
.split-media {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.split-media img { border-radius: var(--radius-md); }

/* ---------- Callout / CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--muted-light); max-width: 560px; margin: 0 auto 24px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Notice boxes ---------- */
.notice {
  border-left: 4px solid var(--blue);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--navy-700);
  margin: 20px 0;
}
.notice.warn { border-left-color: #f59e0b; }
.notice strong { color: var(--navy-900); }

/* ---------- Table ---------- */
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--navy-800); font-family: var(--font-head); }
td { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-800);
  font-family: var(--font-head);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--blue); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 10px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-900);
  color: var(--muted-light);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-family: var(--font-head); margin-bottom: 12px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
footer h4 { color: var(--white); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer a { color: var(--muted-light); font-size: 0.9rem; }
footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.tag {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--navy-700);
}
.app-icon-preview {
  width: 96px; height: 96px;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}
