/* SkilTrip.com — brand: frosted glass over road photography (matches app) */
:root {
  --bg: #0d1117;
  --panel: rgba(20, 26, 34, 0.62);
  --panel-border: rgba(255, 255, 255, 0.14);
  --text-hi: rgba(255, 255, 255, 0.96);
  --text-mid: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.55);
  --accent: #e8a33d; /* road-trip amber */
  --accent-soft: rgba(232, 163, 61, 0.16);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-mid);
  line-height: 1.6;
}

/* ---- nav ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 28px;
  background: rgba(13, 17, 23, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--panel-border);
}
nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
nav .brand img { width: 30px; height: 30px; border-radius: 7px; }
nav .brand span { color: var(--text-hi); font-weight: 700; font-size: 17px; letter-spacing: 0.2px; }
nav .links { margin-left: auto; display: flex; gap: 4px; }
nav .links a {
  color: var(--text-mid); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: 8px; transition: 0.15s;
}
nav .links a:hover { color: var(--text-hi); background: rgba(255,255,255,0.08); }
nav .links a.cta {
  color: #1a1206; background: var(--accent); font-weight: 600;
}
nav .links a.cta:hover { background: #f0b154; }

/* ---- hero ---- */
.hero {
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 80px;
  background:
    linear-gradient(rgba(13,17,23,0.55), rgba(13,17,23,0.82)),
    url("assets/hero.jpg") center/cover no-repeat;
}
.hero .badge {
  width: 104px; height: 104px; border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  margin-bottom: 26px;
}
.hero h1 {
  color: var(--text-hi); font-size: clamp(38px, 6vw, 62px); font-weight: 800;
  letter-spacing: -0.5px; line-height: 1.08;
}
.hero .tag {
  margin: 18px auto 8px; max-width: 620px;
  font-size: clamp(17px, 2.4vw, 21px); color: var(--text-mid);
}
.hero .cta-row { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; text-decoration: none;
  font-size: 16px; font-weight: 600; transition: 0.15s;
}
.btn.primary { background: var(--accent); color: #1a1206; }
.btn.primary:hover { background: #f0b154; transform: translateY(-1px); }
.btn.ghost {
  color: var(--text-hi); background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
}
.btn.ghost:hover { background: rgba(255,255,255,0.16); }

/* ---- sections ---- */
section { padding: 84px 24px; max-width: 1080px; margin: 0 auto; }
section h2 {
  color: var(--text-hi); font-size: clamp(26px, 4vw, 36px); font-weight: 750;
  text-align: center; margin-bottom: 14px; letter-spacing: -0.3px;
}
section .sub { text-align: center; max-width: 640px; margin: 0 auto 48px; font-size: 16.5px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px; padding: 26px;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.card h3 { color: var(--text-hi); font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; }
.card .glyph { font-size: 26px; margin-bottom: 12px; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
.split img { width: 100%; border-radius: 18px; box-shadow: 0 16px 50px rgba(0,0,0,0.5); }
.split h2 { text-align: left; }
.split p { margin-top: 12px; font-size: 16px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---- content pages ---- */
.page { max-width: 780px; margin: 0 auto; padding: 130px 24px 80px; }
.page h1 { color: var(--text-hi); font-size: 34px; margin-bottom: 8px; }
.page h2 { color: var(--text-hi); font-size: 21px; margin: 38px 0 10px; }
.page h3 { color: var(--text-hi); font-size: 16.5px; margin: 22px 0 6px; }
.page p, .page li { font-size: 15.5px; margin: 8px 0; }
.page ul { padding-left: 22px; }
.page a { color: var(--accent); }
.page .note {
  background: var(--accent-soft); border: 1px solid rgba(232,163,61,0.35);
  border-radius: 10px; padding: 14px 18px; font-size: 14.5px; margin: 18px 0;
  color: var(--text-mid);
}
.dl-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 14px; padding: 20px 24px; margin: 14px 0;
}
.dl-card .os { font-size: 26px; }
.dl-card .info { flex: 1; }
.dl-card .info b { color: var(--text-hi); display: block; font-size: 16.5px; }
.dl-card .info span { font-size: 13.5px; color: var(--text-dim); }
.dl-card a.btn { padding: 10px 20px; font-size: 14.5px; }
.dl-card .soon { color: var(--text-dim); font-size: 14px; font-style: italic; }

.qa { margin: 26px 0; }
.qa .q { color: var(--text-hi); font-weight: 650; font-size: 16px; }
.qa .a { margin-top: 4px; font-size: 15px; }

footer {
  border-top: 1px solid var(--panel-border);
  padding: 36px 24px; text-align: center; font-size: 13.5px; color: var(--text-dim);
}
footer a { color: var(--text-dim); margin: 0 12px; text-decoration: none; }
footer a:hover { color: var(--text-hi); }

/* ---- Our Story ---- */
.story .story-block { margin-bottom: 72px; }
.story .story-block h2 {
  color: var(--text-hi); font-size: 26px; font-weight: 700;
  margin-bottom: 16px; letter-spacing: -0.2px;
}
.story .story-block p { font-size: 16.5px; margin: 12px 0; max-width: 65ch; }
.story-img {
  width: 100%; border-radius: 16px; margin-top: 24px;
  box-shadow: 0 14px 44px rgba(0,0,0,0.45);
}
.feature-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.feature-duo .feat-tag { color: var(--accent); font-size: 14px; font-weight: 600; margin: 0 0 8px; }
@media (max-width: 680px) { .feature-duo { grid-template-columns: 1fr; } }
.closing {
  text-align: center; padding: 72px 24px; margin: 40px -24px 0;
  background:
    linear-gradient(rgba(13,17,23,0.78), rgba(13,17,23,0.88)),
    url("assets/story3.jpg") center/cover no-repeat;
  border-radius: 20px;
}
.closing-line { color: var(--text-hi); font-size: clamp(20px, 3.4vw, 27px); font-weight: 650; line-height: 1.4; }
.closing-toast { color: var(--text-mid); font-size: 17px; margin: 16px 0 30px; font-style: italic; }

/* ---- screenshot carousels (app.html) ---- */
.carousel { position: relative; margin-top: 30px; }
.car-viewport { overflow: hidden; border-radius: 16px; }
.car-track { display: flex; transition: transform .45s ease; }
@media (prefers-reduced-motion: reduce) { .car-track { transition: none; } }
.slide { min-width: 100%; margin: 0; text-align: center; }
.slide img {
  max-width: 100%; max-height: 58vh; margin: 0 auto; display: block;
  border-radius: 14px; border: 1px solid var(--panel-border);
  box-shadow: 0 10px 32px rgba(0,0,0,0.35);
}
.slide figcaption {
  max-width: 640px; margin: 18px auto 4px; font-size: 15px;
  line-height: 1.55; color: var(--text-mid); text-align: left;
}
.slide figcaption b { color: var(--text-hi); }
.car-btn {
  position: absolute; top: 34%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--panel-border);
  background: var(--panel); color: var(--text-hi);
  font-size: 26px; line-height: 1; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.car-btn.prev { left: -14px; } .car-btn.next { right: -14px; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.car-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: var(--text-dim); opacity: .45; cursor: pointer;
}
.car-dot.on { background: var(--accent); opacity: 1; }
@media (max-width: 560px) { .car-btn { display: none; } }

/* ---- mobile adaptivity ---- */
@media (max-width: 760px) {
  nav { padding: 10px 16px; }
  /* keep nav short enough for a phone — aux links live in the footer */
  nav .links a[href="help.html"],
  nav .links a[href="privacy.html"],
  nav .links a.cta { display: none; }
  nav .links a { padding: 7px 10px; font-size: 13.5px; }
  .hero { padding: 96px 20px 64px; }
  .hero .badge { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(26px, 7.5vw, 36px); line-height: 1.14; }
  .hero .tag { font-size: 16.5px; }
}
