/* QuickQ static site design system */
:root {
  --navy-900: #05102b;
  --navy-800: #0a1c46;
  --navy-700: #10306f;
  --blue-500: #1668ff;
  --cyan-400: #22d3ee;
  --ink: #0d1b33;
  --body: #4a5a75;
  --line: #e3e9f4;
  --surface: #ffffff;
  --surface-soft: #f4f7fd;
  --radius: 16px;
  --shadow-sm: 0 6px 20px rgba(11, 38, 92, 0.07);
  --shadow-md: 0 18px 48px rgba(11, 38, 92, 0.12);
  --grad: linear-gradient(120deg, var(--blue-500), var(--cyan-400));
  --maxw: 1180px;
  --font: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--body); }
.section { padding: 84px 0; }
.section-soft { background: var(--surface-soft); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-500); font-weight: 700; margin-bottom: 12px;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.16rem; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 22px; margin-left: 14px; flex: 1; flex-wrap: wrap; }
.nav-links a { font-size: .95rem; font-weight: 600; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-500); border-color: var(--blue-500); }
.nav-side { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 6px; font-size: .85rem; font-weight: 600; }
.lang-switch a { padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--body); }
.lang-switch a.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(22,104,255,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(22,104,255,.34); }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }

/* hero */
.hero {
  background: radial-gradient(120% 130% at 12% 0%, var(--navy-700) 0%, var(--navy-900) 62%);
  color: #dce6f8; padding: 92px 0 96px; overflow: hidden;
}
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.1rem; max-width: 34em; color: #b9c9e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-stats { display: flex; gap: 38px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats strong { display: block; color: #fff; font-size: 1.7rem; }
.hero-stats span { font-size: .86rem; color: #93a8cd; }
.hero-media img { border-radius: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.42); }

.page-hero {
  background: radial-gradient(110% 130% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 60%);
  color: #b9c9e6; padding: 72px 0; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 46em; margin: 0 auto; }
.crumbs { font-size: .84rem; color: #8ba1c9; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.8; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 20px; box-shadow: var(--shadow-md); }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 16px;
  border-radius: 50%; background: var(--grad);
}

/* pricing */
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--blue-500); box-shadow: 0 20px 46px rgba(22,104,255,.18); }
.plan .tag {
  position: absolute; top: -13px; left: 28px; background: var(--grad); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em;
}
.price { font-size: 2.3rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.price small { font-size: .9rem; font-weight: 600; color: var(--body); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.plan li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.plan .btn { margin-top: auto; }

/* steps / faq / tables */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 62px; margin-bottom: 30px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq p { margin: 12px 0 0; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
th { background: var(--surface-soft); color: var(--ink); font-weight: 700; }

.cta {
  background: var(--grad); color: #fff; border-radius: 24px; padding: 56px 40px; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 40em; margin: 0 auto 24px; }
.cta .btn-primary { background: #fff; color: var(--navy-800); box-shadow: none; }

/* footer */
.site-footer { background: var(--navy-900); color: #93a8cd; padding: 64px 0 30px; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; margin-bottom: 12px; }
.footer-brand img { width: 30px; height: 30px; }

@media (max-width: 900px) {
  .hero-grid, .split, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav { height: auto; flex-wrap: wrap; padding: 14px 0; }
  .nav-links { order: 3; width: 100%; margin-left: 0; gap: 16px; }
  .section { padding: 60px 0; }
}
