/* DrivePath — shared styles */
:root {
  --blue: #1c2bec;
  --blue-dark: #0e18a8;
  --blue-deep: #091070;
  --yellow: #ffd60a;
  --red: #e63946;
  --ink: #0b0e2a;
  --muted: #5a6072;
  --paper: #f6f7fb;
  --card: #ffffff;
  --line: #e6e8f0;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(11, 14, 42, 0.12);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-cta {
  background: var(--blue); color: #fff !important; padding: 10px 20px;
  border-radius: 999px; font-weight: 700;
}
.nav-cta:hover { background: var(--blue-dark); }
@media (max-width: 800px) { .nav-links li:not(:last-child) { display: none; } }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 1.05rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(28, 43, 236, 0.35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px rgba(255, 214, 10, 0.35); }
.badge-appstore img { height: 54px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 55%, var(--blue-deep) 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero .container {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 0;
}
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.hero h1 .hl { color: var(--yellow); }
.hero .sub { margin-top: 20px; font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); max-width: 34rem; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-rating { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.hero-rating .stars { color: var(--yellow); letter-spacing: 2px; }
.hero-chips { margin: 28px 0 48px; display: flex; gap: 10px; flex-wrap: wrap; list-style: none; }
.hero-chips li {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 15px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}
.hero-phone { align-self: end; }
.hero-phone img {
  width: min(340px, 80%); margin: 0 auto; border-radius: 36px 36px 0 0;
  box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.45);
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .sub, .hero-chips, .hero-actions { margin-left: auto; margin-right: auto; justify-content: center; }
}

/* ---------- Stats strip ---------- */
.stats { background: var(--ink); color: #fff; padding: 22px 0; }
.stats .container { display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; text-align: center; }
.stats strong { display: block; font-size: 1.35rem; color: var(--yellow); }
.stats span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.section-lead { margin-top: 14px; color: var(--muted); font-size: 1.08rem; max-width: 44rem; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Feature grid ---------- */
.features-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: rgba(28, 43, 236, 0.08); margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- Screenshots ---------- */
.shots { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.shots .eyebrow { color: var(--yellow); }
.shots .section-lead { color: rgba(255, 255, 255, 0.85); }
.shots-track {
  margin-top: 48px; display: grid; grid-auto-flow: column; grid-auto-columns: min(260px, 70vw);
  gap: 22px; overflow-x: auto; padding: 10px 4px 26px; scroll-snap-type: x mandatory;
}
.shots-track::-webkit-scrollbar { height: 8px; }
.shots-track::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.3); border-radius: 999px; }
.shot { scroll-snap-align: start; }
.shot img { border-radius: 26px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4); }
.shot figcaption { margin-top: 14px; font-size: 0.9rem; font-weight: 600; text-align: center; color: rgba(255, 255, 255, 0.9); }

/* ---------- Steps ---------- */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  position: relative;
}
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Guides ---------- */
.guides-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 10px; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.guide-card .tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.guide-card h3 { font-size: 1.08rem; line-height: 1.35; }
.guide-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.guide-card .more { font-weight: 700; color: var(--blue); font-size: 0.92rem; }
@media (max-width: 900px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .guides-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 42px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-list details {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px; margin-bottom: 14px;
}
.faq-list summary { font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.3rem; color: var(--blue); font-weight: 800; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin-top: 12px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; text-align: center; border-radius: 28px; padding: 72px 32px;
  margin: 0 24px;
}
.cta-band .app-icon { width: 88px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.cta-band p { margin: 14px auto 30px; color: rgba(255, 255, 255, 0.88); max-width: 36rem; }
.cta-band .hl { color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); margin-top: 88px; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--yellow); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; margin-bottom: 12px; }
.footer-brand img { width: 32px; border-radius: 8px; }
.footer-desc { font-size: 0.9rem; max-width: 22rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 42px; padding-top: 22px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Guide article pages ---------- */
.article-hero { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; padding: 64px 0; }
.article-hero .crumbs { font-size: 0.85rem; margin-bottom: 18px; }
.article-hero .crumbs a { color: var(--yellow); }
.article-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; max-width: 46rem; }
.article-hero .meta { margin-top: 16px; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 0; }
.article > p, .article li { font-size: 1.05rem; color: #2c3145; }
.article h2 { font-size: 1.55rem; margin: 44px 0 16px; letter-spacing: -0.01em; }
.article h3 { font-size: 1.2rem; margin: 30px 0 12px; }
.article p { margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 10px; }
.article img.inline-shot { width: min(320px, 100%); margin: 28px auto; border-radius: 24px; box-shadow: var(--shadow); }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; }
.article th, .article td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.article th { background: var(--ink); color: #fff; font-size: 0.85rem; letter-spacing: 0.04em; }
.article tr:nth-child(even) td { background: #fff; }
.answer-box {
  background: #fff; border-left: 5px solid var(--yellow); border-radius: 0 14px 14px 0;
  padding: 20px 24px; margin: 26px 0; box-shadow: var(--shadow); font-size: 1.05rem;
}
.tip-box {
  background: rgba(28, 43, 236, 0.06); border: 1px solid rgba(28, 43, 236, 0.18);
  border-radius: 14px; padding: 18px 22px; margin: 26px 0; font-size: 0.98rem;
}
.tip-box strong { color: var(--blue); }
.article-cta {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff;
  border-radius: 22px; padding: 38px 32px; margin: 48px 0; text-align: center;
}
.article-cta h2 { margin: 0 0 10px; color: #fff; }
.article-cta p { color: rgba(255, 255, 255, 0.88); }
.related { margin: 48px 0 0; }
.related h2 { font-size: 1.3rem; }
.related ul { list-style: none; margin: 16px 0 0; }
.related li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.related li::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
