/* ─────────────────────────────────────────────────────────────
   RideSetter — Deep navy theme
   Background: #0a1628 | Accent: #0066ff | Text: #ffffff
   ───────────────────────────────────────────────────────────── */

:root {
  --bg:        #0a1628;
  --bg-mid:    #0f1e35;
  --bg-card:   #0d1a2e;
  --accent:    #0066ff;
  --accent-lo: #0052cc;
  --accent-glow: rgba(0, 102, 255, 0.25);
  --silver:    #9aaabf;
  --white:     #ffffff;
  --off-white: #e8edf5;
  --text-muted: rgba(255,255,255,0.45);
  --border:    rgba(255,255,255,0.08);
  --glass-bg:  rgba(10,22,40,0.75);
  --glass-border: rgba(255,255,255,0.1);

  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* RideSetter logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  text-decoration: none;
}

.logo-trident {
  display: flex;
  align-items: center;
}

.nav-logo-text {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-ride {
  background: linear-gradient(to bottom, #e8ecf2 0%, #9aaabf 50%, #c8d0dc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #9aaabf;
}

.logo-setter {
  color: var(--accent);
}

.logo-tagline {
  color: var(--accent);
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: -0.15rem;
  font-weight: 600;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

/* Auth buttons */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-login {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  transition: color 0.2s;
}

.btn-login:hover { color: var(--white); }

.btn-signup {
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-signup:hover { background: var(--accent-lo); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { width: 24px; height: 24px; fill: var(--white); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  text-align: left;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(2,8,20,0.95) 0%,
    rgba(2,8,20,0.6) 50%,
    rgba(2,8,20,0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 4rem) 6% 0;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-headline .blue { color: var(--accent); }

.hero-subtext {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

.btn-primary {
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--accent-lo);
  transform: translateY(-1px);
}

.btn-outline {
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

/* Play icon SVG in outline button */
.play-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* ── SEARCH BAR ── */
.search-bar {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 2rem auto 0;
  width: 100%;
  padding: 0 6%;
}

.search-panel {
  display: flex;
  align-items: center;
  background: #071a33;
  border: 1px solid var(--accent);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.search-field:last-of-type { border-right: none; }

.search-icon {
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.search-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.search-input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  cursor: pointer;
}

.search-input::placeholder { color: var(--text-muted); }

.search-submit {
  padding: 1rem 2rem;
  background: var(--accent);
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
  border-radius: 0;
}

.search-submit:hover { background: var(--accent-lo); }

/* Trust badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* ── PLATFORM SECTION (two-column cards) ── */
.platform-section {
  padding: 6rem 0;
  background: var(--bg);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
  max-width: 100px;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0;
}

.platform-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.card-bg-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.card-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
}

.platform-card h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.card-eyebrow {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.platform-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 340px;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* Rider card — electric blue overlay */
.card-riders .card-gradient {
  background: linear-gradient(
    to top,
    rgba(0,102,255,0.85) 0%,
    rgba(0,102,255,0.3) 50%,
    transparent 100%
  );
}

/* Owner card — dark overlay with coral accent on button */
.card-owners .card-gradient {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.35) 55%,
    transparent 100%
  );
}

.btn-card-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-card-blue:hover { background: var(--accent-lo); }

.btn-card-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-card-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 7rem 0;
  background: var(--bg-mid);
}

.hiw-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hiw-sub {
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 4rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.step-number {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: -0.75rem;
  align-self: flex-start;
}

.step-icon {
  width: 72px;
  height: 72px;
  background: var(--bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── TRUST BAR ── */
.trust-bar {
  padding: 5rem 0;
  background: #071a2e;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.trust-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 300;
}

/* ── FOOTER ── */
.site-footer {
  background: #040f1d;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-logo-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 320px; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .search-panel { flex-wrap: wrap; }
  .search-field { border-right: none; border-bottom: 1px solid var(--border); flex: 1 1 40%; }
  .search-submit { width: 100%; justify-content: center; border-radius: 0 0 14px 14px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; }
  .footer-top { flex-direction: column; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .steps-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.25rem; }
  .search-panel { flex-direction: column; }
}