/* ============================================================
   AFK Phone — Landing Page Styles
   ============================================================ */

:root {
  --bg: #0b0e1a;
  --bg-2: #0f1424;
  --bg-3: #141a2e;
  --surface: #161d33;
  --surface-2: #1b2340;
  --border: #263056;
  --text: #eef2ff;
  --muted: #9aa6c9;
  --muted-2: #6b779d;
  --primary: #6d5efc;
  --primary-2: #8b7bff;
  --accent: #22d3ee;
  --accent-2: #34e3b0;
  --danger: #ff5d73;
  --grad: linear-gradient(120deg, #6d5efc 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(109,94,252,.18), rgba(34,211,238,.18));
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  --shadow-glow: 0 0 40px -8px rgba(109,94,252,.5);
  --maxw: 1160px;
  --font: 'Kanit', 'Sarabun', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}
.container-narrow { max-width: 820px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Buttons ===== */
.btn {
  --pad-y: .8em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  padding: var(--pad-y) 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: 0 0 46px -6px rgba(109,94,252,.75); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.03);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--primary-2); background: rgba(109,94,252,.1); }
.btn-apk {
  background: linear-gradient(120deg, #34e3b0 0%, #16b98a 100%);
  color: #06231a;
  font-weight: 600;
  box-shadow: 0 0 34px -8px rgba(52,227,176,.6);
}
.btn-apk:hover { transform: translateY(-2px); box-shadow: 0 0 40px -4px rgba(52,227,176,.85); }
.btn-apk svg { flex: 0 0 auto; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1em 1.9em; font-size: 1.06rem; }
.btn-block { width: 100%; }

.link { color: var(--accent); border-bottom: 1px dashed rgba(34,211,238,.5); }
.link:hover { color: var(--accent-2); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11,14,26,.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .55rem; font-size: 1.35rem; }
.brand-logo { font-size: 1.5rem; }
.brand-name { font-weight: 700; letter-spacing: -.02em; }
.brand-accent { color: var(--accent); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav-link {
  padding: .5rem .85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .96rem;
  font-weight: 400;
  transition: color .18s, background .18s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav .btn-primary { color: #fff; margin-left: .4rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; }
.hero-scene {
  position: absolute; inset: 0;
  background: url("../assets/hero-bg.svg") center / cover no-repeat;
  z-index: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 15% 10%, rgba(109,94,252,.28), transparent 60%),
    radial-gradient(600px 380px at 85% 30%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(500px 500px at 60% 90%, rgba(52,227,176,.10), transparent 60%);
  z-index: 1;
  opacity: .8;
}
/* seamless fade into the next section */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 140px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(52,227,176,.1);
  border: 1px solid rgba(52,227,176,.3);
  color: var(--accent-2);
  font-size: .88rem;
  margin-bottom: 1.3rem;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(52,227,176,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,227,176,.55); }
  70% { box-shadow: 0 0 0 10px rgba(52,227,176,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,227,176,0); }
}
.hero-title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1.1rem; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 540px; margin-bottom: 1.8rem; }
.hero-sub strong { color: var(--accent); font-weight: 500; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; color: var(--muted); font-size: .95rem; }

/* Hero illustration */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-art {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.45));
  animation: float 6s ease-in-out infinite;
}

/* Phone mockup (legacy, kept for reuse) */
.phone-mock {
  position: relative;
  width: 270px;
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #1a2238, #0d1120);
  border-radius: 38px;
  border: 1px solid var(--border);
  padding: 12px;
  box-shadow: var(--shadow), var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 20px;
  background: #0d1120;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone-screen {
  height: 100%;
  background: radial-gradient(120% 80% at 50% 0%, #182136, #0b0f1c);
  border-radius: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.screen-topbar {
  display: flex; align-items: center; gap: .5rem;
  padding: 26px 14px 10px;
  font-size: .74rem; color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.green { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }
.screen-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-tile {
  height: 76px; border-radius: 12px;
  background: linear-gradient(120deg, rgba(109,94,252,.5), rgba(34,211,238,.4));
  position: relative; overflow: hidden;
}
.game-tile::after {
  content: "🎮"; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 2rem;
}
.stat-row {
  display: flex; justify-content: space-between;
  font-size: .76rem; color: var(--muted);
  padding: 3px 0; border-bottom: 1px dashed rgba(255,255,255,.06);
}
.stat-row b { color: var(--text); font-weight: 500; }
.stat-row b.ok { color: var(--accent-2); }
.bot-log {
  margin-top: 4px; font-size: .68rem; color: var(--muted-2);
  font-family: 'Sarabun', monospace; line-height: 1.7;
}
.floaty {
  position: absolute;
  background: rgba(22,29,51,.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .85rem;
  font-weight: 400;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  animation: float 5s ease-in-out infinite;
}
.floaty-1 { top: 12%; left: -6%; color: var(--accent); animation-delay: .5s; }
.floaty-2 { top: 48%; right: -10%; color: var(--accent-2); animation-delay: 1.4s; }
.floaty-3 { bottom: 8%; left: -2%; color: var(--primary-2); animation-delay: .9s; }

/* ===== Stats ===== */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; padding: 40px 22px;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ===== Sections ===== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: .9rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: .7rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: .8rem; }
.section-desc { color: var(--muted); font-size: 1.05rem; }

/* ===== Cards / grids ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.feature { padding: 30px 26px; transition: transform .2s, border-color .2s; }
.feature:hover { transform: translateY(-5px); border-color: var(--primary); }
.feature-ico {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.6rem;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.feature h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ===== Why AFKPhone ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-media img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.why-content h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 1.6rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.why-list li {
  position: relative;
  padding-left: 40px;
  font-size: 1.08rem;
  color: var(--text);
  min-height: 26px;
  display: flex;
  align-items: center;
}
.why-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(52,227,176,.14);
  color: var(--accent-2);
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 700;
}

/* ===== Steps ===== */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.step-num {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.2rem; color: #fff;
  background: var(--grad);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-glow);
}
.step h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Setup extras: store buttons + note */
.setup-extra {
  margin-top: 42px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.store-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: .7rem 1.4rem; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .18s, border-color .18s, box-shadow .2s;
}
.store-btn:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow); }
.store-ico { color: var(--accent-2); display: grid; place-items: center; }
.store-ico svg { display: block; }
.store-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-txt small { font-size: .72rem; color: var(--muted); }
.store-txt b { font-size: 1.05rem; font-weight: 600; }
.setup-note { color: var(--muted); text-align: center; }

/* ===== Pricing ===== */
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin: 0 auto 42px;
  position: relative;
  left: 50%; transform: translateX(-50%);
}
.bt-opt {
  border: 0; background: none; cursor: pointer;
  font-family: var(--font); color: var(--muted);
  padding: .6rem 1.3rem; border-radius: 999px;
  font-size: .96rem; transition: color .2s, background .2s;
  display: inline-flex; align-items: center; gap: .4rem;
}
.bt-opt.active { background: var(--grad); color: #fff; }
.save-tag {
  font-size: .68rem; background: rgba(52,227,176,.2);
  color: var(--accent-2); padding: .1rem .5rem; border-radius: 999px;
}
.bt-opt.active .save-tag { background: rgba(255,255,255,.25); color: #fff; }

.pricing-grid { align-items: stretch; }
.single-plan { max-width: 440px; margin: 0 auto; }
.plan-avg {
  color: var(--accent-2);
  font-size: .92rem;
  margin: -0.9rem 0 1.3rem;
  font-weight: 400;
}
.price-card {
  padding: 34px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow), var(--shadow-glow);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: .8rem; font-weight: 500;
  padding: .3rem 1rem; border-radius: 999px;
  box-shadow: var(--shadow-glow);
}
.plan-name { font-size: 1.5rem; }
.plan-for { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 1.4rem; }
.currency { font-size: 1.3rem; color: var(--muted); }
.amount { font-size: 2.8rem; font-weight: 700; line-height: 1; }
.per { color: var(--muted); font-size: 1rem; margin-left: 2px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.plan-features li { color: var(--muted); font-size: .96rem; padding-left: 1.7rem; position: relative; }
.plan-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent-2); font-weight: 700;
}
.pricing-note { text-align: center; color: var(--muted); margin-top: 30px; }

/* ---- New pricing layout: spec + rate grid ---- */
.pricing-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.25fr;
  gap: 22px;
  align-items: stretch;
}

/* Spec card */
.spec-card {
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
}
.spec-head {
  display: flex; align-items: center; gap: .8rem;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.spec-flask {
  width: 40px; height: 40px; color: var(--accent-2);
  display: grid; place-items: center;
}
.spec-flask svg { width: 30px; height: 30px; }
.spec-head h3 { font-size: 1.4rem; }
.spec-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.spec-list li { display: flex; align-items: center; gap: 1rem; }
.spec-ico {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--primary-2);
  background: rgba(109,94,252,.12);
  border: 1px solid var(--border);
}
.spec-ico svg { width: 22px; height: 22px; }
.spec-label { display: block; font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.spec-val { font-size: 1.12rem; font-weight: 600; }
.spec-sub { font-size: .82rem; font-weight: 400; color: var(--accent); margin-left: 2px; }

/* Rate grid */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.rate-card {
  position: relative;
  text-align: left;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 26px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: transform .18s, border-color .18s, box-shadow .2s;
}
.rate-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow); }
.rate-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rate-top { display: flex; align-items: center; justify-content: space-between; }
.rate-tag {
  font-size: .82rem; color: var(--muted);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  padding: .28rem .8rem; border-radius: 999px;
}
.rate-price { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.rate-price .baht { font-size: 1.05rem; font-weight: 500; margin-left: 1px; color: var(--muted); }
.rate-dur { font-size: 1.5rem; font-weight: 600; margin-top: .5rem; }
.rate-desc { color: var(--muted); font-size: .95rem; margin: 0; }
.rate-save {
  display: inline-block; align-self: flex-start;
  font-size: .85rem; color: var(--accent);
  margin-top: .2rem;
}

/* Featured (best value) card */
.rate-card.featured {
  background: linear-gradient(160deg, #2f6bff 0%, #1c46cf 100%);
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 18px 44px -18px rgba(47,107,255,.7);
}
.rate-card.featured:hover { border-color: #fff; }
.rate-card.featured .rate-tag {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.25);
  color: #eaf0ff;
}
.rate-card.featured .rate-price .baht { color: #cdd9ff; }
.rate-card.featured .rate-desc { color: #d6e0ff; }
.rate-save.on-dark { color: #b9ffe6; }
.best-badge {
  position: absolute; top: -12px; right: 16px;
  background: linear-gradient(120deg, #34e3b0, #17b98a);
  color: #06231a; font-weight: 700; font-size: .74rem;
  letter-spacing: .03em;
  padding: .3rem .8rem; border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(52,227,176,.6);
}

/* ===== Platforms ===== */
.platform-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: 860px; margin: 0 auto;
}
.platform {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  transition: transform .2s, border-color .2s;
}
.platform:hover { transform: translateY(-5px); border-color: var(--accent); }
.pf-ico { font-size: 2.3rem; margin-bottom: .4rem; }
.platform b { font-size: 1.05rem; font-weight: 500; }
.pf-sub { color: var(--muted-2); font-size: .85rem; }

/* ===== Trust / Credibility ===== */
.trust-box {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(52,227,176,.08), rgba(34,211,238,.05)), var(--surface);
}
.trust-info { padding: 40px 42px; }
.trust-lead { color: var(--muted); font-size: 1.04rem; margin-bottom: 1.5rem; }
.trust-lead b { color: var(--text); font-weight: 600; }
.trust-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.trust-list li {
  position: relative; padding-left: 38px;
  color: var(--text); font-size: 1rem;
  display: flex; align-items: center; min-height: 26px;
}
.trust-list li::before {
  content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(52,227,176,.16); color: var(--accent-2);
  display: grid; place-items: center; font-size: .82rem; font-weight: 700;
}
.trust-cred {
  padding: 36px 32px;
  background: var(--bg-3);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.cred-title { font-size: 1.15rem; margin-bottom: 18px; align-self: stretch; text-align: left; }
.cred-list { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-bottom: 24px; }
.cred-list > div {
  display: flex; flex-direction: column; gap: 2px;
  padding-bottom: 12px; border-bottom: 1px dashed var(--border); text-align: left;
}
.cred-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cred-list dt { color: var(--muted-2); font-size: .82rem; }
.cred-list dd { color: var(--text); font-weight: 500; font-size: .98rem; }
.dbd-badge-lg { margin-top: 4px; }
.dbd-badge-lg img { max-width: 210px; }
.cred-note { color: var(--muted-2); font-size: .82rem; margin-top: 12px; }
.trust-highlight {
  margin-top: 22px;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 30px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(52,227,176,.14), rgba(34,211,238,.1));
  border: 1px solid rgba(52,227,176,.35);
}
.trust-highlight .th-flag { font-size: 2.2rem; flex: 0 0 auto; }
.trust-highlight p { color: var(--text); font-size: 1.08rem; line-height: 1.6; }
.trust-highlight b { color: var(--accent-2); font-weight: 600; }
@media (max-width: 540px) {
  .trust-highlight { flex-direction: column; text-align: center; padding: 22px; }
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 30px 16px 0;
  font-weight: 400; font-size: 1.05rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--accent); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 0 18px; font-size: .98rem; }

/* ===== Order ===== */
.order-section { background: var(--bg-2); }
.order-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(109,94,252,.14), rgba(34,211,238,.08)), var(--surface);
}
.order-info { padding: 46px 42px; }
.order-info h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .8rem; }
.order-info > p { color: var(--muted); margin-bottom: 1.6rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.6rem; }
.contact-list li { color: var(--muted); display: flex; align-items: center; gap: .6rem; }
.contact-list b { color: var(--text); font-weight: 500; }
.ci { font-size: 1.15rem; }
.pay-logos { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-chip {
  font-size: .85rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 8px;
  padding: .35rem .8rem; background: rgba(255,255,255,.02);
}

.order-form { padding: 34px 32px; border-radius: 0; border: 0; border-left: 1px solid var(--border); box-shadow: none; background: var(--bg-3); }
.form-title { font-size: 1.3rem; margin-bottom: 1.3rem; }
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .4rem; }
.field input, .field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: .98rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109,94,252,.2);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa6c9' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.order-summary {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  margin: .4rem 0 1.1rem;
}
.order-summary span { color: var(--muted); }
.order-summary b { font-size: 1.35rem; font-weight: 700; }
.order-summary small { font-size: .85rem; color: var(--muted); font-weight: 400; }
.form-hint { color: var(--muted-2); font-size: .82rem; margin-top: .8rem; text-align: center; }

/* ===== Footer ===== */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 54px 0 26px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 34px;
}
.footer-brand { max-width: 420px; }
.footer-brand .brand-name { font-size: 1.4rem; }
.footer-brand p { color: var(--muted); margin-top: .6rem; font-size: .95rem; }
.footer-h { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: .7rem; color: var(--muted); font-size: .95rem; }
.footer-contact li { display: flex; gap: .5rem; align-items: baseline; }
.footer-contact b { color: var(--text); font-weight: 500; }
.footer-company {
  font-style: normal;
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 5px;
  color: var(--muted); font-size: .92rem; line-height: 1.6;
}
.footer-company .fc-name { color: var(--text); font-weight: 600; font-size: 1rem; }
.footer-company .fc-row { display: flex; gap: .5rem; }
.footer-company .fc-label { color: var(--muted-2); flex: 0 0 auto; }
.nowrap { white-space: nowrap; }
.dbd-badge {
  display: inline-block;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform .18s, box-shadow .2s;
}
.dbd-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dbd-badge img { display: block; max-width: 180px; height: auto; }
.footer-nav { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.footer-nav a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 20px;
  color: var(--muted-2); font-size: .85rem;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,8,16,.78);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 20px;
  animation: fadeIn .2s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%; max-width: 420px;
  padding: 34px 30px;
  position: relative;
  text-align: center;
  animation: popIn .25s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes popIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: 0; color: var(--muted);
  font-size: 1.2rem; cursor: pointer;
}
.modal-close:hover { color: var(--text); }
.modal h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.modal-sub { color: var(--accent); margin-bottom: 1.4rem; font-size: .98rem; }
.qr-wrap { margin-bottom: 1.4rem; }
.qr-box {
  width: 200px; height: 200px; margin: 0 auto 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 12px;
  display: grid; place-items: center;
}
.qr-amount { font-size: 1.9rem; font-weight: 700; }
.qr-note { color: var(--muted); font-size: .9rem; }
.modal-actions { display: flex; flex-direction: column; gap: .6rem; }
.modal-fine { color: var(--muted-2); font-size: .78rem; margin-top: 1rem; }

/* ===== Back to top ===== */
.to-top {
  position: fixed; right: 22px; bottom: 24px; z-index: 150;
  width: 48px; height: 48px; border-radius: 14px;
  border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -6px rgba(37,99,235,.6);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .25s, transform .25s, visibility .25s, box-shadow .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -6px rgba(37,99,235,.85); }
.to-top:active { transform: translateY(0) scale(.95); }
.to-top svg { width: 24px; height: 24px; }
@media (max-width: 540px) {
  .to-top { right: 16px; bottom: 18px; width: 44px; height: 44px; }
}

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface-2); border: 1px solid var(--primary);
  color: var(--text); padding: .9rem 1.4rem; border-radius: 999px;
  box-shadow: var(--shadow); z-index: 300;
  font-size: .95rem; opacity: 0; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast[hidden] { display: none; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-sub, .hero-badges { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
  .order-box { grid-template-columns: 1fr; }
  .pricing-layout { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-media { max-width: 420px; margin: 0 auto; }
  .trust-box { grid-template-columns: 1fr; }
  .trust-cred { border-left: 0; border-top: 1px solid var(--border); }
  .order-form { border-left: 0; border-top: 1px solid var(--border); }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(11,14,26,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 14px 22px 22px;
    transform: translateY(-140%);
    transition: transform .3s ease;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav .btn-primary { margin: .5rem 0 0; }
  .nav-toggle { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 68px 0; }
  .hero { padding: 118px 0 70px; }
}

@media (max-width: 540px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .order-info, .order-form { padding: 30px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .btn-lg { width: 100%; }
  .hero-cta { flex-direction: column; }
  .billing-toggle { width: 100%; justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
