/* QRTamm marketing + legal site — "Light Luxury" to match the app. */
:root {
  --bg: #f1f4ff;
  --surface: #ffffff;
  --text: #11183a;
  --text-soft: #4a5680;
  --text-faint: #8b95bf;
  --accent: #5a7cff;
  --accent-soft: #eaefff;
  --border: #e3e8fb;
  --grad: linear-gradient(120deg, #28c6fd 0%, #5a7cff 52%, #a65afd 100%);
  --grad-header: linear-gradient(135deg, #101a5c 0%, #160f44 55%, #26124e 100%);
  --shadow: 0 18px 50px -24px rgba(34, 44, 110, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(34, 44, 110, 0.4);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 22px; }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 18, 64, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: #fff; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: #c7cdf5; font-weight: 600; font-size: 14.5px; }
.nav-links a:hover { color: #fff; text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--grad-header);
  color: #fff;
  border-radius: 0 0 34px 34px;
  padding: 72px 0 86px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--grad);
}
.hero-logo { width: 92px; height: 92px; border-radius: 24px; margin: 0 auto 22px; box-shadow: 0 20px 50px -18px rgba(0,0,0,0.6); }
.hero h1 { font-size: clamp(34px, 6vw, 54px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.08; }
.hero h1 .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: #c7cdf5; font-size: clamp(16px, 2.4vw, 20px); max-width: 620px; margin: 18px auto 0; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15.5px;
  padding: 15px 26px; border-radius: 16px; border: 0; cursor: pointer;
  transition: transform .15s cubic-bezier(.2, .7, .3, 1), box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: scale(.95); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -12px rgba(90, 124, 255, 0.7); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: #bfe8ff; background: rgba(40, 198, 253, 0.14); border: 1px solid rgba(40,198,253,0.3);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }

/* ---------- Sections ---------- */
section.block { padding: 70px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.4px; }
.section-head p { color: var(--text-soft); margin-top: 12px; font-size: 16.5px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.card .ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  font-size: 24px; background: var(--accent-soft); margin-bottom: 16px;
}
.card h3 { font-size: 18px; font-weight: 700; }
.card p { color: var(--text-soft); font-size: 14.5px; margin-top: 8px; }

/* ---------- "No traps" comparison ---------- */
.traps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.trap-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.trap-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.trap-card .bad { display: flex; align-items: center; gap: 9px; color: #e0453b; font-weight: 800; font-size: 12.5px; letter-spacing: .5px; text-transform: uppercase; }
.trap-card .x { width: 22px; height: 22px; border-radius: 7px; background: rgba(224,69,59,.12); color: #e0453b; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.trap-card .bad-text { color: var(--text-faint); font-size: 14px; margin: 8px 0 16px; }
.trap-card .good { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15.5px; color: var(--text); }
.trap-card .check { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.trap-card .good-text { color: var(--text-soft); font-size: 14.5px; margin-top: 6px; }

/* ---------- Ownership banner ---------- */
.own { background: var(--grad-header); color: #fff; border-radius: var(--radius); padding: 48px 34px; text-align: center; position: relative; overflow: hidden; }
.own::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }
.own h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -0.4px; }
.own h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.own p { color: #c7cdf5; max-width: 620px; margin: 14px auto 0; }
.own .row { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.own .row b { color: #fff; }
.own .row span { color: #c7cdf5; font-size: 14.5px; font-weight: 600; }

/* privacy strip */
.privacy-strip { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px 34px; text-align: center; }
.privacy-strip h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; }
.privacy-strip h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.privacy-strip p { color: var(--text-soft); max-width: 640px; margin: 12px auto 0; }

/* ---------- Legal pages ---------- */
.legal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 44px 40px; margin: 40px auto; max-width: 800px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -0.4px; }
.legal .updated { color: var(--text-faint); font-size: 14px; margin-top: 6px; margin-bottom: 26px; }
.legal h2 { font-size: 20px; font-weight: 700; margin-top: 30px; margin-bottom: 8px; color: var(--text); }
.legal h3 { font-size: 16px; font-weight: 700; margin-top: 18px; }
.legal p, .legal li { color: var(--text-soft); font-size: 15.5px; }
.legal ul { margin: 8px 0 8px 22px; }
.legal li { margin: 5px 0; }
.legal .lead { font-size: 16.5px; color: var(--text); }
.legal strong { color: var(--text); }
.note { background: var(--accent-soft); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 16px; font-size: 14.5px; color: var(--text-soft); margin: 16px 0; }
.fill { background: #fff7e6; border: 1px dashed #e0b052; border-radius: 10px; padding: 2px 8px; color: #9a6b12; font-weight: 600; }
.back { display: inline-block; margin-top: 8px; font-weight: 600; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.qa { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.qa h3 { font-size: 16.5px; font-weight: 700; }
.qa p { color: var(--text-soft); margin-top: 6px; font-size: 15px; }

/* ---------- Footer ---------- */
footer { background: var(--grad-header); color: #c7cdf5; margin-top: 60px; padding: 46px 0 30px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; align-items: flex-start; }
footer .brand { color: #fff; }
footer .f-links { display: flex; gap: 26px; flex-wrap: wrap; }
footer .f-links a { color: #c7cdf5; font-weight: 600; font-size: 14.5px; }
footer .f-links a:hover { color: #fff; }
footer .copy { width: 100%; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 26px; padding-top: 20px;
  font-size: 13px; color: #8e97cf; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Motion (matches the app's subtle press + content pop) ---------- */
.card, .trap-card { transition: transform .18s ease, box-shadow .25s ease; }
.card:hover, .trap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Reveal-on-scroll — only active when JS is on, so content is always visible otherwise. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: .07s; }
.js .reveal:nth-child(3) { transition-delay: .14s; }
.js .reveal:nth-child(4) { transition-delay: .21s; }
.js .reveal:nth-child(5) { transition-delay: .28s; }
.js .reveal:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .trap-card:hover { transform: none; }
}

@media (max-width: 620px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .legal { padding: 30px 22px; }
}
