/* QuickQ static site design system */
:root {
  --bg: #05070f;
  --bg-2: #080d1c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eaf0ff;
  --muted: #9aa7c2;
  --brand: #1a7cff;
  --brand-2: #37e1ff;
  --brand-glow: rgba(26, 124, 255, 0.45);
  --radius: 16px;
  --max: 1200px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: 8px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 6px; font-size: 13px; color: var(--muted); }
.lang-switch a { padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; }
.lang-switch a.active { color: #fff; border-color: var(--brand); background: rgba(26, 124, 255, 0.16); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--brand), #0a5cd8);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--brand-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px var(--brand-glow); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(26, 124, 255, 0.28), transparent 70%),
    url("/images/hero-bg.webp") center right / cover no-repeat,
    var(--bg);
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 15, 0.55), rgba(5, 7, 15, 0.92));
}
.hero .container { position: relative; z-index: 1; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(26, 124, 255, 0.4);
  background: rgba(26, 124, 255, 0.12);
  color: #8ec4ff;
  font-size: 13px;
  margin-bottom: 24px;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }
.hero h1 { font-size: clamp(38px, 7vw, 68px); font-weight: 800; }
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 20%, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { color: var(--muted); font-size: clamp(15px, 2.2vw, 19px); margin: 18px auto 32px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { color: var(--brand-2); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; margin: 12px 0 14px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(26, 124, 255, 0.5); background: var(--surface-2); }
.card .ico { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 14.5px; margin: 0; }
.card ul { margin: 10px 0 0; padding-left: 18px; }
.card ul li { margin: 4px 0; }
.card .meta { color: var(--brand-2); font-size: 13px; margin-bottom: 14px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stats .num {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  background: linear-gradient(100deg, #fff, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats .lbl { color: var(--muted); font-size: 14px; }

.banner-grid img { border-radius: var(--radius); border: 1px solid var(--border); }

/* pricing */
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 20px 60px -30px var(--brand-glow); }
.plan .tag {
  position: absolute; top: -12px; right: 20px;
  background: linear-gradient(120deg, var(--brand), #0a5cd8);
  color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 999px;
}
.plan .price { font-size: 38px; font-weight: 800; margin: 8px 0 2px; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .old { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.plan ul li { padding-left: 22px; position: relative; margin: 8px 0; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); }
.plan .btn { margin-top: auto; width: 100%; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
th { color: #fff; background: var(--surface-2); font-weight: 600; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

/* faq */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; background: var(--surface); margin-bottom: 14px; }
.faq-item h3 { font-size: 17px; margin-bottom: 8px; }
.faq-item p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* steps */
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .n {
  flex: 0 0 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 700;
  background: rgba(26, 124, 255, 0.16); border: 1px solid rgba(26, 124, 255, 0.4); color: #9ecbff;
}

/* cta */
.cta {
  text-align: center;
  padding: 72px 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(26, 124, 255, 0.28), transparent 70%),
    url("/images/subs-bg.webp") center / cover no-repeat,
    var(--bg-2);
}
.cta h2 { font-size: clamp(24px, 4vw, 36px); }
.cta p { color: var(--muted); margin: 14px auto 26px; max-width: 560px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a, .site-footer p { color: var(--muted); font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 960px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav { height: auto; flex-wrap: wrap; padding: 12px 0; gap: 12px; }
  .nav-right { width: 100%; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 80px 0; }
}
