/* CrossDriver Files — product site.
   Design tokens follow www.crossdriver.com (primary #3567ff, slate greys, lavender hero,
   orange accent, black header, dark footer). No JavaScript; works with a strict CSP
   (default-src 'none'; style-src 'self'; img-src 'self'). */

:root {
  --blue: #3567ff;
  --blue-dark: #2450d8;
  --blue-soft: #e7eeff;
  --orange-1: #ff8a00;
  --orange-2: #ff5a3d;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --panel: #f8fafc;
  --footer: #141518;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(15, 35, 95, 0.18), 0 6px 18px rgba(15, 35, 95, 0.08);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 10; background: #000; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand .product { padding-left: 14px; border-left: 1px solid #ffffff33; font-size: 16px; letter-spacing: .2px; }
.site-nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.site-nav a { color: #cbd5e1; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.lang-switch { display: flex; gap: 2px; font-size: 13px; border: 1px solid #ffffff33; border-radius: 999px; padding: 3px; }
.lang-switch a { color: #cbd5e1; padding: 3px 10px; border-radius: 999px; }
.lang-switch a[aria-current] { background: #fff; color: #000; font-weight: 600; }
.lang-switch a:hover { text-decoration: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 12px;
  font-weight: 650; font-size: 17px; line-height: 1; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(53, 103, 255, .35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 9px; box-shadow: none; }
.btn svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; text-align: center; padding: 72px 0 0;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(53, 103, 255, .18), transparent 70%),
    radial-gradient(800px 420px at 0% 30%, rgba(255, 138, 0, .10), transparent 70%),
    linear-gradient(180deg, var(--blue-soft) 0%, #f5f8ff 62%, #fff 100%);
}
.badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 650; color: #fff;
  background: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 100%); box-shadow: 0 6px 16px rgba(255, 90, 61, .3);
}
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.08; letter-spacing: -1.5px; color: var(--ink); margin: 22px auto 18px; max-width: 980px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue) 0%, #7b5cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: #475569; max-width: 760px; margin: 0 auto 32px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .fineprint { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.hero .fineprint span + span::before { content: "·"; margin: 0 10px; color: #94a3b8; }
.hero-shot { margin: 56px auto 0; max-width: 1180px; padding: 0 28px; }
.hero-shot img { border-radius: 16px; box-shadow: var(--shadow); }
/* The window's empty lower part fades into the page. */
.hero-shot { max-height: 700px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }

/* ---------------------------------------------------------------- highlights strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; text-align: center; }
.strip li { font-size: 14.5px; color: #334155; font-weight: 600; }
.strip li b { display: block; font-size: 24px; color: var(--blue); margin-bottom: 6px; font-weight: 600; }

/* ---------------------------------------------------------------- sections */
section.block { padding: 104px 0; }
section.tint { background: var(--panel); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.eyebrow { display: block; color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -.8px; color: var(--ink); margin: 0 0 16px; }
.section-head p { color: #475569; font-size: 19px; margin: 0; }

.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .text { order: 2; }
.feature h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; letter-spacing: -.5px; color: var(--ink); margin: 0 0 16px; }
.feature p { color: #475569; margin: 0 0 18px; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 30px; margin: 10px 0; color: #334155; }
.feature li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.shot { position: relative; }
.shot img { border-radius: 14px; box-shadow: var(--shadow); }
.shot::before {
  content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 28px; z-index: -1;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}
.feature.flip .shot::before { inset: 8% 8% -6% -6%; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: #eef2ff; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }

/* ---------------------------------------------------------------- keyboard */
.keys { background: radial-gradient(1000px 500px at 80% 0%, #1e3a8a 0%, transparent 60%), #0b1022; color: #e2e8f0; }
.keys h2, .keys .section-head p { color: #fff; }
.keys .section-head p { color: #cbd5e1; }
.keygrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.key { background: #111a35; border: 1px solid #ffffff14; border-radius: 16px; padding: 22px 22px 20px; }
.key kbd {
  display: inline-block; min-width: 46px; padding: 9px 12px; margin: 0 6px 6px 0; text-align: center;
  font: 650 17px/1 system-ui, -apple-system, sans-serif; color: #0f172a; background: linear-gradient(180deg, #fff 0%, #e2e8f0 100%);
  border-radius: 9px; box-shadow: 0 3px 0 #94a3b8, 0 6px 14px rgba(0, 0, 0, .35);
}
.key span { display: block; margin-top: 12px; color: #cbd5e1; font-size: 15px; }
.keys .note { text-align: center; margin-top: 40px; color: #94a3b8; font-size: 15px; }

/* ---------------------------------------------------------------- formats */
.formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.formats span {
  padding: 12px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink);
  box-shadow: 0 4px 10px rgba(15, 35, 95, .05);
}
.formats span.hot { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--blue) 0%, #7b5cff 100%); }

/* ---------------------------------------------------------------- trust cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.card b { display: block; font-size: 30px; color: var(--blue); margin-bottom: 8px; }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------------------------------------------------------------- dark showcase */
.dark-show { background: linear-gradient(180deg, #0b1022 0%, #1b1f4a 100%); color: #fff; text-align: center; padding: 104px 0 0; overflow: hidden; }
.dark-show h2 { color: #fff; }
.dark-show p { color: #cbd5e1; font-size: 19px; margin: 0 0 48px; }
.dark-show img { max-width: 1100px; margin: 0 auto -6px; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 80px rgba(123, 92, 255, .35); }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #475569; margin: 12px 0 0; }

/* ---------------------------------------------------------------- final call to action */
.cta { text-align: center; padding: 96px 0; background: linear-gradient(135deg, #2450d8 0%, #3567ff 45%, #7b5cff 100%); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: #e0e7ff; font-size: 19px; margin: 0 0 32px; }
.cta .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.cta .meta { margin-top: 18px; font-size: 14px; color: #c7d2fe; }

/* ---------------------------------------------------------------- footer (as www.crossdriver.com) */
.site-footer { background: var(--footer); color: #cbd5e1; padding: 64px 0 28px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.site-footer h4 { color: #fff; font-size: 16px; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 10px 0; }
.site-footer a { color: #cbd5e1; }
.site-footer .legal { border-top: 1px solid #ffffff1f; margin-top: 44px; padding-top: 22px; text-align: center; color: #94a3b8; font-size: 13.5px; }
.site-footer .legal p { margin: 6px 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .lang-switch { margin-left: auto; }
  .strip ul { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .text { order: 0; }
  .keygrid, .cards { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .brand .product { display: none; }
  .header-download { display: none; }
  section.block { padding: 72px 0; }
  .keygrid, .cards { grid-template-columns: 1fr; }
  .strip ul { grid-template-columns: repeat(2, 1fr); }
}
