:root,
html[data-theme="light"] {
  --ink: #0b1f4a;
  --muted: #4b6490;
  --dim: #6b82a8;
  --brand: #2563eb;
  --brand-2: #1d4ed8;
  --cyan: #0284c7;
  --bg0: #ffffff;
  --bg1: #ffffff;
  --card: #ffffff;
  --line: rgba(37, 99, 235, 0.14);
  --ok: #059669;
  --font: "Outfit", "Padauk", "Myanmar Text", "Noto Sans Myanmar", "Segoe UI", sans-serif;
  --font-my: "Myanmar Text", "Padauk", "Noto Sans Myanmar", "Pyidaungsu", "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-btn: 14px;
  --radius-chip: 12px;
  --max: 1120px;
  --shadow: 0 8px 24px rgba(37, 99, 235, 0.06);
  --shadow-lg: 0 16px 40px rgba(37, 99, 235, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.92);
  --footer-bg: #ffffff;
  --cta-bg: #ffffff;
  --icon-btn-bg: #ffffff;
  --bg-grad: #ffffff;
}

/* Local Myanmar fonts — Padauk has correct OpenType shaping */
@font-face {
  font-family: "Padauk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Padauk-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Padauk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Padauk-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Padauk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Padauk-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans Myanmar";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/NotoSansMyanmar-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans Myanmar";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/NotoSansMyanmar-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans Myanmar";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/NotoSansMyanmar-Bold.woff2") format("woff2");
}

html[data-theme="dark"] {
  --ink: #e8eefc;
  --muted: #9db0d4;
  --dim: #6b82a8;
  --brand: #3b82f6;
  --brand-2: #60a5fa;
  --cyan: #38bdf8;
  --bg0: #050d1f;
  --bg1: #0b1f4a;
  --card: rgba(11, 31, 74, 0.72);
  --line: rgba(148, 175, 230, 0.16);
  --ok: #34d399;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
  --nav-bg: rgba(5, 13, 31, 0.9);
  --footer-bg: rgba(4, 10, 22, 0.92);
  --cta-bg: rgba(11, 31, 74, 0.65);
  --icon-btn-bg: rgba(255, 255, 255, 0.06);
  --bg-grad:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(59, 130, 246, 0.32), transparent 58%),
    radial-gradient(ellipse 45% 35% at 100% 80%, rgba(56, 189, 248, 0.1), transparent 55%),
    linear-gradient(180deg, #0b1f4a 0%, #050d1f 42%, #040a16 100%);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  display: block;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg0);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

/* Myanmar: proper Unicode font + no negative tracking (breaks glyphs) */
html[data-lang="my"] body,
html[lang="my"] body {
  font-family: var(--font-my);
  line-height: 1.7;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: auto;
  font-synthesis: none;
  -webkit-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}

html[data-lang="my"] h1,
html[data-lang="my"] h2,
html[data-lang="my"] h3,
html[data-lang="my"] .btn,
html[data-lang="my"] .brand,
html[data-lang="my"] .section-head h2,
html[data-lang="my"] .amount,
html[data-lang="my"] .step-num,
html[data-lang="my"] .nav-cta,
html[data-lang="my"] .plan-tag,
html[data-lang="my"] .plan-badge,
html[data-lang="my"] .float-badge,
html[data-lang="my"] .lead,
html[data-lang="my"] .section-lead,
html[data-lang="my"] .feature p,
html[data-lang="my"] .feature h3,
html[data-lang="my"] .faq-q,
html[data-lang="my"] .faq-a p,
html[data-lang="my"] .hint,
html[data-lang="my"] .pill,
html[data-lang="my"] .nav-links a {
  font-family: var(--font-my) !important;
  letter-spacing: 0 !important;
  font-synthesis: none;
}

html[data-lang="my"] h1,
html[data-lang="my"] h2,
html[data-lang="my"] h3,
html[data-lang="my"] .btn,
html[data-lang="my"] .section-head h2,
html[data-lang="my"] .nav-cta,
html[data-lang="my"] .plan-tag,
html[data-lang="my"] .plan-badge,
html[data-lang="my"] .float-badge,
html[data-lang="my"] .feature h3 {
  font-weight: 600 !important;
}

html[data-lang="my"] .brand-line {
  font-family: "Outfit", var(--font-my), sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

html[data-lang="my"] h1 {
  font-size: clamp(1.65rem, 4.8vw, 2.6rem);
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* Large gradient headline stays Latin (Outfit) — Myanmar shaping breaks with clip/huge size */
html[data-lang="my"] .grad {
  font-family: "Outfit", var(--font-my), sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15;
  background: linear-gradient(110deg, #1d4ed8 0%, #2563eb 45%, #0284c7 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

html[data-lang="my"] .lead,
html[data-lang="my"] .lead-sub {
  font-family: var(--font-my) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.8;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
}

html[data-lang="my"] .lead,
html[data-lang="my"] .section-lead,
html[data-lang="my"] .feature p,
html[data-lang="my"] .hint,
html[data-lang="my"] .faq-a p {
  line-height: 1.75;
}

a { color: inherit; }

main,
footer {
  display: block;
  width: 100%;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: var(--bg-grad);
}

/* Light theme: plain white — no grid / orbs */
html[data-theme="light"] .bg::after,
html:not([data-theme="dark"]) .bg::after {
  display: none;
}

html[data-theme="light"] .bg-orb,
html:not([data-theme="dark"]) .bg-orb {
  display: none;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 15%, #000 15%, transparent 75%);
  pointer-events: none;
}

html[data-theme="dark"] .bg::after {
  display: block;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
  z-index: -2;
  display: none;
}

html[data-theme="dark"] .bg-orb {
  display: block;
}

.bg-orb-a {
  width: 420px;
  height: 420px;
  background: #2563eb;
  top: -100px;
  left: -140px;
  animation: drift 14s ease-in-out infinite alternate;
}

.bg-orb-b {
  width: 340px;
  height: 340px;
  background: #0ea5e9;
  bottom: 8%;
  right: -120px;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(20px, 14px); }
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  display: block;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(15, 40, 90, 0.06);
}

html[data-theme="dark"] .nav.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.nav-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.icon-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  background: var(--icon-btn-bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.08);
}

.icon-btn-flag {
  padding: 0 8px;
}

.icon-btn-flag .flag {
  display: none;
  line-height: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.icon-btn-flag .flag svg {
  display: block;
  border-radius: 2px;
}

/* Current EN → show Myanmar flag (switch to MY) */
#langBtn.is-en .flag-my,
#langBtn:not(.is-my) .flag-my { display: inline-block; }

/* Current MY → show UK flag (switch to EN) */
#langBtn.is-my .flag-en { display: inline-block; }
#langBtn.is-my .flag-my { display: none; }

#themeBtn .icon-moon { display: none; }
html[data-theme="dark"] #themeBtn .icon-sun { display: none; }
html[data-theme="dark"] #themeBtn .icon-moon { display: block; }

.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
}

/* Hide Pricing links while the plans section is off */
.js-pricing-nav[hidden] {
  display: none !important;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 10px;
}

.nav-links a:hover {
  color: var(--brand);
  background: rgba(37, 99, 235, 0.06);
}

/* Soft CTA — matches icon-btn chrome, not a solid hero pill */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--brand) !important;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  padding: 9px 14px;
  border-radius: 12px;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--brand-2) !important;
}

.nav-cta-desktop { display: none; }
.nav-cta-mobile { display: none; }

html[data-theme="dark"] .nav-cta {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.28);
}

html[data-theme="dark"] .nav-cta:hover {
  background: rgba(59, 130, 246, 0.2);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--icon-btn-bg);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav.open .nav-links {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 22px 18px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(15, 40, 90, 0.08);
  backdrop-filter: blur(16px);
  z-index: 60;
}

.nav.open .nav-links a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.nav.open .nav-cta-mobile {
  display: inline-flex;
  margin-top: 12px;
  width: 100%;
  border-bottom: none !important;
}

@media (min-width: 900px) {
  .nav-toggle { display: none !important; }
  .nav-links,
  .nav.open .nav-links {
    display: flex !important;
    position: static !important;
    flex: 1;
    flex-direction: row !important;
    justify-content: center;
    width: auto;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .nav.open .nav-links a,
  .nav-links a {
    padding: 8px 12px !important;
    border-bottom: 0 !important;
    border-radius: 10px;
  }
  .nav-cta-desktop { display: inline-flex; }
  .nav-cta-mobile,
  .nav.open .nav-cta-mobile { display: none !important; }
  .nav-actions { margin-left: 0; }
}

/* Hero */
.hero {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 8px 22px 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  min-height: 0;
  animation: rise 0.75s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-copy {
  max-width: 560px;
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: var(--radius-chip);
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.06);
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
}

.brand-line { display: block; margin-bottom: 6px; }

.grad {
  display: block;
  background: linear-gradient(110deg, #1d4ed8 0%, #2563eb 45%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  line-height: 1.6;
  font-weight: 500;
  max-width: 42ch;
}

.lead [lang="my"],
.lead-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.95em;
  color: var(--dim);
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cta.center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover { box-shadow: 0 16px 34px rgba(37, 99, 235, 0.38); }

.btn-ghost {
  color: var(--brand-2);
  background: var(--card);
  border-color: rgba(37, 99, 235, 0.22);
}

.btn-ghost:hover { background: rgba(37, 99, 235, 0.06); }

html[data-theme="dark"] .btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

html[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-soft {
  color: var(--brand-2);
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

.btn-soft:hover { background: rgba(37, 99, 235, 0.14); }

.btn-block { width: 100%; margin-top: auto; }

.btn.hidden, .hidden { display: none !important; }

.trust {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: var(--dim);
  font-size: 0.86rem;
  font-weight: 600;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: min(100%, 340px);
  max-width: 340px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  justify-self: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.ring-outer {
  inset: 0;
  animation: spin 22s linear infinite;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12), transparent 40%);
}

.ring-outer::before,
.ring-outer::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  top: 50%;
  left: 50%;
}

.ring-outer::before { transform: translate(-50%, -50%) rotate(0deg) translateY(-190px); }
.ring-outer::after {
  transform: translate(-50%, -50%) rotate(180deg) translateY(-190px);
  background: #0284c7;
}

.ring-mid {
  inset: 12%;
  border-color: rgba(2, 132, 199, 0.16);
  animation: spin 14s linear infinite reverse;
}

.core {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2563eb, #0284c7);
  border: 1px solid rgba(147, 197, 253, 0.6);
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.28);
  animation: floaty 4s ease-in-out infinite alternate;
}

.core img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
}

.float-badge {
  position: absolute;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: var(--radius-chip);
  color: var(--brand-2);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.18);
  white-space: nowrap;
  box-shadow: var(--shadow);
  animation: floaty 3.2s ease-in-out infinite alternate;
}

html[data-theme="dark"] .float-badge {
  color: var(--ink);
  background: rgba(11, 31, 74, 0.88);
  border-color: var(--line);
}

.float-a { top: 8%; right: -4%; }
.float-b { bottom: 14%; left: -6%; animation-delay: 0.5s; }
.float-c { top: 46%; right: -10%; animation-delay: 1s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@media (max-width: 420px) {
  .float-badge { display: none; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: 40px;
    row-gap: 16px;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 56px;
    min-height: 0;
  }
  .hero-copy { justify-self: start; }
  .hero-visual {
    margin: 0;
    justify-self: end;
  }
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 22px;
}

.section-tight { padding-top: 24px; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.accent-cyan { color: var(--cyan); }

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
}

.section-lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 500;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow);
}

.feature-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin: 0;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.fi-lock { color: #2563eb; background: rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.22); }
.fi-zap { color: #ea580c; background: rgba(234, 88, 12, 0.12); border-color: rgba(234, 88, 12, 0.22); }
.fi-globe { color: #0284c7; background: rgba(2, 132, 199, 0.12); border-color: rgba(2, 132, 199, 0.22); }
.fi-phone { color: #16a34a; background: rgba(22, 163, 74, 0.12); border-color: rgba(22, 163, 74, 0.22); }
.fi-eye { color: #7c3aed; background: rgba(124, 58, 237, 0.12); border-color: rgba(124, 58, 237, 0.22); }
.fi-lang { color: #db2777; background: rgba(219, 39, 119, 0.12); border-color: rgba(219, 39, 119, 0.22); }

.feature h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 500;
}

/* Steps */
.steps {
  display: grid;
  gap: 10px;
  position: relative;
  align-items: stretch;
  grid-template-columns: 1fr;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  opacity: 0.85;
  transform: rotate(90deg);
  margin: -2px 0;
}

.step-arrow svg {
  display: block;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 8px;
    align-items: center;
  }

  .step-arrow {
    transform: none;
    margin: 0;
    width: 36px;
    color: var(--brand);
  }

  .step-arrow:nth-of-type(2) {
    color: var(--cyan);
  }
}

.step {
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: none;
  text-align: center;
  position: relative;
  height: 100%;
}

.step-num {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand);
  margin-bottom: 8px;
}

.step-num.c2 { color: var(--cyan); }
.step-num.c3 { color: var(--ok); }

.step h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 500;
}

/* Download */
.download-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.download-grid-all { max-width: 960px; }

@media (min-width: 640px) {
  .download-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .download-grid-all { grid-template-columns: repeat(3, 1fr); }
}

.dl-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dl-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: var(--shadow);
}

.dl-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.dl-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: #fff;
}

.di-apk { background: linear-gradient(135deg, #16a34a, #22c55e); }
.di-play { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.di-win { background: linear-gradient(135deg, #0284c7, #3b82f6); }
.di-mac { background: linear-gradient(135deg, #64748b, #475569); }
.di-linux { background: linear-gradient(135deg, #ea580c, #f97316); }
.di-ios { background: linear-gradient(135deg, #334155, #64748b); }

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid;
}

.badge-green {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
}

.badge-blue {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.25);
}

.badge-sky {
  color: #0284c7;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.28);
}

.badge-gray {
  color: #64748b;
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.28);
}

.badge-orange {
  color: #ea580c;
  background: rgba(234, 88, 12, 0.1);
  border-color: rgba(234, 88, 12, 0.28);
}

.badge-violet {
  color: #475569;
  background: rgba(71, 85, 105, 0.1);
  border-color: rgba(71, 85, 105, 0.28);
}

.btn-dl {
  color: #fff;
  border: 0;
  border-radius: var(--radius-btn);
  min-height: 44px;
  font-weight: 700;
  box-shadow: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.btn-dl-apk,
.btn-dl-play,
.btn-dl-win,
.btn-dl-mac,
.btn-dl-linux,
.btn-dl-ios {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.btn-dl:hover { filter: brightness(1.05); }

.btn-dl.is-soon,
.btn-dl[aria-disabled="true"] {
  opacity: 0.72;
  cursor: not-allowed;
  filter: none;
  pointer-events: auto;
  background: rgba(37, 99, 235, 0.35);
  box-shadow: none;
  color: #fff;
}

.btn-dl.is-soon:hover {
  filter: none;
}

.dl-card.is-soon {
  opacity: 0.92;
}

.dl-card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}

.dl-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

.dl-meta {
  font-size: 0.78rem !important;
  color: var(--dim) !important;
  font-variant-numeric: tabular-nums;
}

.hint {
  margin: 20px auto 0;
  max-width: 46ch;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* Plans */
.plan-grid {
  display: grid;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 14px;
  align-items: stretch;
}

@media (min-width: 700px) {
  .plan-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1040px) {
  .plan-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
}

@media (min-width: 1280px) {
  .plan-grid { gap: 14px; }
}

.plan {
  position: relative;
  padding: 32px 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.plan-hot {
  border-color: rgba(37, 99, 235, 0.45);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.plan-tag {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.plan-tag-prem {
  color: var(--brand);
}

.plan-badge {
  position: absolute;
  top: -11px;
  right: 14px;
  left: auto;
  z-index: 2;
  transform: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.plan-badge-alt {
  background: linear-gradient(135deg, #0284c7, #2563eb);
}

.plan-badge-save {
  background: #fff1f0;
  color: #c81e1e;
  border: 1px solid rgba(200, 30, 30, 0.22);
  box-shadow: 0 4px 12px rgba(200, 30, 30, 0.12);
}

html[data-theme="dark"] .plan-badge-save {
  background: rgba(200, 30, 30, 0.18);
  color: #ffb4b0;
  border-color: rgba(255, 180, 176, 0.28);
}

.plan h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 700;
}

.price-block {
  margin: 0 0 18px;
  min-height: 5.4rem;
}

.price-was {
  margin: 0 0 2px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  opacity: 0.8;
}

.price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
}

.amount {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.period {
  color: var(--dim);
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-sub {
  margin: 6px 0 0;
  color: var(--dim);
  font-size: 0.84rem;
  font-weight: 600;
}

.plan ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 9px;
  flex: 1;
}

.plan li {
  font-size: 0.88rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
}

.plan li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.plan li.ok { color: var(--ink); }
.plan li.ok::before { background: var(--brand); }
.plan li.no {
  color: var(--dim);
  text-decoration: line-through;
  opacity: 0.7;
}
.plan li.no::before { background: var(--dim); }

.plan .btn-block {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  min-height: 56px;
  white-space: pre-line;
  line-height: 1.25;
  text-align: center;
}

.plan-hint {
  margin-top: 22px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: none;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open { border-color: rgba(37, 99, 235, 0.35); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
}

.faq-q .chev {
  flex-shrink: 0;
  color: var(--dim);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
  color: var(--brand);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
}

.faq-item.open .faq-a { display: block; }

.faq-a p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* CTA band */
.cta-band { padding-top: 24px; }

.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 48px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.2);
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 70% at 100% 100%, rgba(2, 132, 199, 0.08), transparent 50%),
    var(--cta-bg);
}

.cta-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.cta-panel > p {
  margin: 0 auto 24px;
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 500;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
  margin-top: 24px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 22px 28px;
  display: grid;
  gap: 32px;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1.8fr;
    gap: 48px;
  }
}

.footer-brand p {
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 32ch;
}

.social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.social a {
  color: var(--brand);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.social a:hover { text-decoration: underline; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

.footer-cols h4 {
  margin: 0 0 12px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

.footer-cols a {
  display: block;
  text-decoration: none;
  color: var(--dim);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-cols a:hover { color: var(--brand); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px 28px;
  color: var(--dim);
  font-size: 0.82rem;
}

.footer-bottom p { margin: 0; }

/* Adsterra slots — hide empty Sponsored chrome until/unless creative fills */
.ad-wrap.ad-pending .ad-label,
.ad-wrap.ad-empty {
  display: none !important;
}

.ad-wrap.ad-pending {
  margin: 0;
  padding: 0;
  min-height: 0;
}

.ad-wrap {
  max-width: var(--max);
  margin: 8px auto 4px;
  padding: 12px 22px;
  text-align: center;
}

.ad-label {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: 0.7;
}

.ad-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 0;
}

.ad-wrap.ad-filled .ad-slot {
  min-height: 50px;
}

.ad-slot-native {
  width: 100%;
}

.ad-wrap-native.ad-filled .ad-slot-native {
  min-height: 120px;
}

.ad-wrap-native {
  margin-top: 4px;
  margin-bottom: 8px;
}

/* Top leaderboard — full-width first row of hero, above the pill */
.hero > .ad-wrap-leader {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 4px 0 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero > .ad-wrap-leader.ad-pending {
  display: block;
  margin: 0;
  padding: 4px 0 8px;
  min-height: 0;
}

.hero > .ad-wrap-leader.ad-pending .ad-label {
  display: none !important;
}

.hero > .ad-wrap-leader.ad-empty {
  display: none !important;
  pointer-events: none;
  margin: 0;
  padding: 0;
  min-height: 0;
}

.hero > .ad-wrap-leader.ad-filled {
  display: block;
}

.hero > .ad-wrap-leader .ad-label {
  margin-bottom: 4px;
}

.hero > .ad-wrap-leader .ad-slot {
  min-height: 0;
}

.hero > .ad-wrap-leader.ad-filled .ad-slot {
  min-height: 50px;
}

@media (min-width: 768px) {
  .hero > .ad-wrap-leader.ad-filled .ad-slot {
    min-height: 90px;
  }
}

/* Leaderboard above footer */
.ad-wrap-foot-leader {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 16px 12px 8px;
}

.ad-wrap-foot-leader.ad-pending {
  display: block;
  margin: 0;
  padding: 16px 12px 8px;
  min-height: 0;
}

.ad-wrap-foot-leader.ad-pending .ad-label {
  display: none !important;
}

.ad-wrap-foot-leader.ad-empty {
  display: none !important;
  margin: 0;
  padding: 0;
  min-height: 0;
}

.ad-wrap-foot-leader.ad-filled .ad-slot {
  min-height: 50px;
}

@media (min-width: 768px) {
  .ad-wrap-foot-leader.ad-filled .ad-slot {
    min-height: 90px;
  }
}

.ad-desktop { display: none; }
.ad-mobile { display: flex; }

@media (min-width: 768px) {
  .ad-desktop { display: flex; }
  .ad-mobile { display: none; }
}

/* Premium modal */
html.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px 14px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  padding: 28px 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.modal-close:hover {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--brand);
}

.modal-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.modal-panel h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding-right: 36px;
}

.modal-lead {
  margin: 0 0 16px;
  color: var(--dim);
  font-size: 0.92rem;
  line-height: 1.45;
}

.modal-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.06);
}

.modal-plan-name {
  font-weight: 700;
  color: var(--ink);
}

.modal-plan-price {
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}

.modal-steps {
  margin: 0 0 20px;
  padding: 0 0 0 1.15rem;
  display: grid;
  gap: 12px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.modal-steps li::marker {
  font-weight: 800;
  color: var(--brand);
}

.modal-step-path .path-arrow {
  display: inline-block;
  margin: 0 0.28em;
  color: #e11d2e;
  font-weight: 800;
}

.modal-pay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.04);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.modal-pay #premiumPayNumber,
.modal-pay span:first-child {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--brand);
}

.modal-pay-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dim);
}

.modal-actions {
  display: grid;
  gap: 8px;
}

html[data-theme="dark"] .modal-backdrop {
  background: rgba(2, 8, 23, 0.72);
}

html[data-theme="dark"] .modal-plan {
  background: rgba(59, 130, 246, 0.12);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius-chip);
  background: var(--card);
  color: var(--brand);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease, border-color 0.15s ease;
}

.scroll-top:not([hidden]) {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.scroll-top[hidden] {
  display: inline-flex !important;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.scroll-top:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.4);
}

html[data-theme="dark"] .scroll-top {
  background: rgba(11, 31, 74, 0.92);
  color: var(--brand-2);
}

.ad-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 960px) {
  .ad-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.ad-packages {
  display: grid;
  gap: 14px;
}
.ad-pkg-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--card);
}
.ad-pkg-card h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.ad-pkg-card p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.ad-duration-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ad-duration-btn {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}
.ad-duration-btn.on {
  border-color: var(--brand);
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand);
}
.ad-pkg-card.selected {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.ad-order-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--card);
  display: grid;
  gap: 12px;
}
.ad-order-card h3 {
  margin: 0;
  font-size: 1.1rem;
}
.ad-order-summary {
  margin: 0;
  font-size: 0.9rem;
  color: var(--brand);
  font-weight: 600;
}
.ad-field {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
}
.ad-field input,
.ad-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--bg);
  color: var(--text);
}
.ad-specs {
  margin: 0;
  padding-left: 18px;
  font-size: 0.82rem;
  line-height: 1.5;
}
.ad-form-msg.ok { color: #16a34a; }
.ad-form-msg.bad { color: #dc2626; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
