/* Rawanix — website/assets/css/style.css
   Design tokens sourced directly from the existing, verified app logo
   (assets/rawanix_logo.svg): #0F5132 deep green background, #4ADE80
   bright green accent, white monogram. No new brand colors invented. */

:root {
  --color-primary: #0f5132;
  --color-primary-dark: #0a3a24;
  --color-primary-light: #14663f;
  --color-accent: #4ade80;
  --color-accent-dark: #22c55e;
  --color-ink: #10221a;
  --color-body: #3f5148;
  --color-muted: #6b7d74;
  --color-line: #e2e8e4;
  --color-surface: #ffffff;
  --color-surface-alt: #f5f9f6;
  --color-surface-deep: #0c3d27;
  --shadow-sm: 0 1px 2px rgba(15, 34, 26, 0.06), 0 1px 1px rgba(15, 34, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 34, 26, 0.10);
  --shadow-lg: 0 20px 48px rgba(15, 34, 26, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1160px;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn-primary { background: var(--color-accent); color: var(--color-primary-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-dark { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--color-surface-alt); color: var(--color-primary-dark); }
.btn-ghost:hover { background: var(--color-line); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: default; pointer-events: none; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-ink);
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--color-body);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { background: var(--color-surface-alt); color: var(--color-primary-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.nav-toggle:focus-visible { outline: 3px solid var(--color-accent); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: radial-gradient(1200px 480px at 15% -10%, var(--color-primary-light), var(--color-primary) 55%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 84px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.16);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--color-accent);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #fff;
  margin-bottom: 14px;
}
.hero .tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--color-accent);
  margin-bottom: 18px;
}
.hero .lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Page hero (secondary pages) ─────────────────────────── */
.page-hero {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.75rem); }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 620px; margin-bottom: 0; }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 88px 0; }
.section-alt { background: var(--color-surface-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* ── Pillars (Passenger / Driver / Admin) ───────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pillar-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-surface-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--color-primary);
}
.pillar-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pillar-card p { color: var(--color-muted); margin-bottom: 16px; font-size: 0.96rem; }

/* ── Feature grid ────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.feature-card .pillar-icon { width: 46px; height: 46px; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-card p { color: var(--color-muted); font-size: 0.92rem; margin-bottom: 0; }

/* ── Split layout (About / Passenger / Driver detail) ───── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  background: linear-gradient(160deg, var(--color-primary-light), var(--color-primary-dark));
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.split-media img { width: 46%; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--color-body);
}
.check-list svg { flex: none; margin-top: 3px; color: var(--color-accent-dark); }

/* ── App download block ─────────────────────────────────── */
.download-block {
  background: var(--color-surface-deep);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.download-block h2 { color: #fff; }
.download-block p { color: rgba(255,255,255,0.78); }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.86rem;
}
.store-badge strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.store-badge .soon-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  font-weight: 700;
}

/* ── CTA banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 52px;
  text-align: center;
  color: var(--color-primary-dark);
}
.cta-banner h2 { color: var(--color-primary-dark); }
.cta-banner .btn-dark { box-shadow: var(--shadow-md); }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card .pillar-icon { background: var(--color-surface-alt); }
.contact-card a.value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
}
.contact-card a.value:hover { color: var(--color-accent-dark); }

/* ── Legal pages ─────────────────────────────────────────── */
.legal {
  max-width: 780px;
  margin: 0 auto;
}
.legal h2 { margin-top: 2em; font-size: 1.35rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--color-body); }
.legal ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.legal .updated {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 2.4em;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--color-surface-deep);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-brand span { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.1rem; }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.94rem; color: rgba(255,255,255,0.72); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-media { order: -1; max-width: 420px; margin: 0 auto; }
  .download-block { grid-template-columns: 1fr; text-align: center; }
  .store-badges { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 64px 16px auto 16px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 2px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .nav-links a { padding: 12px 14px; }
  .nav-links.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
  .nav-toggle { display: block; }
  .nav-actions .btn-sm-desktop { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .download-block { padding: 32px 24px; }
  .cta-banner { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
