@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;800&family=Sora:wght@400;500;600;700&display=swap");

:root {
  --bg: #0a0706;
  --bg-2: #120c0a;
  --panel: #17100d;
  --card: #1c1310;
  --line: rgba(255, 170, 90, 0.14);
  --orange: #e86b1f;
  --orange-2: #f4a261;
  --ember: #c2410c;
  --cream: #f6ebe0;
  --muted: #b7a499;
  --dim: #7d6c62;
  --ok: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
  --info: #60a5fa;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --font: "Sora", system-ui, sans-serif;
  --display: "Cinzel", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--cream);
  background:
    radial-gradient(900px 500px at 8% -10%, rgba(232, 107, 31, 0.18), transparent 55%),
    radial-gradient(700px 420px at 92% 8%, rgba(120, 40, 10, 0.28), transparent 50%),
    radial-gradient(600px 400px at 70% 100%, rgba(232, 107, 31, 0.08), transparent 45%),
    linear-gradient(180deg, #0d0907, var(--bg));
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(244, 162, 97, 0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 42%, rgba(244, 162, 97, 0.06) 0 1px, transparent 2px);
  background-size: 140px 140px, 90px 90px;
  animation: drift 28s linear infinite;
}
@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-40px); }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; position: relative; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.topline {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 7, 6, 0.72);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  color: var(--muted);
}
.topline .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; flex-wrap: wrap; align-items: center; }
.topline .pumpkin { color: var(--orange-2); }
.topline-right { display: inline-flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.language-control {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.28rem 0.55rem; border-radius: 999px;
  border: 1px solid rgba(244,162,97,.28); background: rgba(232,107,31,.08);
  color: var(--cream); cursor: pointer;
}
.language-control svg { width: 14px; height: 14px; color: var(--orange-2); flex-shrink: 0; }
.language-control select {
  background: transparent; border: 0; color: inherit; outline: none;
  font: 600 0.75rem var(--font); padding: 0.1rem 0.15rem; cursor: pointer; min-width: 96px;
}
.language-control option { background: #15100d; color: var(--cream); }
.nav-inner .language-control { margin-left: 0.35rem; }

.nav {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 7, 6, 0.86);
  backdrop-filter: blur(16px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; }
.logo { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--display); letter-spacing: 0.04em; }
.logo img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(232,107,31,.35); }
.logo b { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 0.35rem 1rem; flex-wrap: wrap; }
.nav-links a, .nav-links button {
  color: var(--muted); font-size: 0.9rem; font-weight: 600;
  background: none; border: 0; cursor: pointer; padding: 0.35rem 0.2rem;
}
.nav-links a:hover, .nav-links button:hover { color: var(--cream); }
.menu-btn {
  display: none; background: transparent; border: 1px solid var(--line);
  color: var(--cream); border-radius: 10px; width: 42px; height: 42px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border-radius: 999px; padding: 0.85rem 1.25rem; font-weight: 700; border: 1px solid transparent;
  cursor: pointer; transition: 0.2s ease; text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--ember));
  color: #1a0b05; box-shadow: 0 10px 30px rgba(232, 107, 31, 0.28);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline {
  background: transparent; border-color: rgba(244,162,97,.35); color: var(--cream);
}
.btn-outline:hover { border-color: var(--orange); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--muted); border-radius: 12px;
}
.btn-ghost:hover { color: #fff; border-color: var(--orange); }
.btn-small { padding: 0.55rem 0.95rem; font-size: 0.86rem; }
.btn-user {
  background: rgba(232,107,31,.12); border: 1px solid rgba(232,107,31,.35); color: var(--orange-2);
  border-radius: 999px; padding: 0.55rem 0.95rem;
}

.eyebrow {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-2); font-weight: 700; margin-bottom: 0.7rem;
}
.section { padding: 4.5rem 0; }
.section-head h2, .hero h1 {
  font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0 0 0.9rem;
  letter-spacing: 0.02em;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.line-accent { color: var(--orange); font-style: italic; }
.section-head p, .hero-copy > p { color: var(--muted); max-width: 42rem; line-height: 1.65; }
.section-split { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.8rem; flex-wrap: wrap; }
.section-aside { color: var(--dim); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }

.hero { padding: 3.2rem 0 2.5rem; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr minmax(280px, 340px); gap: 1.4rem; align-items: start; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0 1.1rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.hero-trust span {
  border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 999px;
  padding: 0.4rem 0.75rem; font-size: 0.78rem; color: var(--muted);
}
.status-float-wrap {
  animation: statusBob 3.6s ease-in-out infinite;
  will-change: transform;
}
.status-float-wrap .status-card {
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
@keyframes statusBob {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-12px) translateX(4px); }
  50% { transform: translateY(-4px) translateX(-3px); }
  75% { transform: translateY(-14px) translateX(2px); }
}
@media (prefers-reduced-motion: reduce) {
  .status-float-wrap { animation: none; }
}
.moon {
  position: absolute; right: 8%; top: 8%; width: 86px; height: 86px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe8c8, #f4a261 55%, #c2410c);
  box-shadow: 0 0 60px rgba(244,162,97,.35); opacity: 0.55; z-index: 0;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.bat {
  position: absolute; opacity: 0.18; fill: var(--orange-2); z-index: 0;
  animation: batfly 12s ease-in-out infinite;
}
.bat.b1 { width: 42px; left: 18%; top: 22%; animation-delay: .2s; }
.bat.b2 { width: 28px; left: 62%; top: 14%; animation-delay: 1.4s; }
.bat.b3 { width: 34px; right: 22%; top: 38%; animation-delay: 2.2s; }
@keyframes batfly {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(18px,-12px) rotate(8deg); }
}

.product-stage {
  margin: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: #100b09; box-shadow: var(--shadow);
}
.preview-bar {
  display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem;
  background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line);
  font-size: 0.78rem; color: var(--muted);
}
.preview-bar i { color: var(--ok); font-size: 0.55rem; }
.product-stage img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top; }
.product-stage figcaption {
  display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem;
  color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line);
}

.status-card {
  background: linear-gradient(180deg, rgba(28,19,16,.96), rgba(16,11,9,.96));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.05rem;
  box-shadow: var(--shadow);
}
.status-card--hero { height: 100%; }
.status-card h3 {
  margin: 0 0 0.85rem; font-family: var(--display); font-size: 1rem; letter-spacing: 0.04em;
}
.status-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.55rem;
  padding: 0.48rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 0.72rem;
}
.status-row:last-child { border-bottom: 0; }
.status-row > span:first-child {
  color: var(--muted); font-weight: 600; min-width: 0; flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 0.35rem;
  flex-shrink: 0; vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(34,197,94,.12);
}
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px rgba(34,197,94,.15), 0 0 12px rgba(34,197,94,.55); }
.dot.off { background: var(--bad); box-shadow: 0 0 0 3px rgba(239,68,68,.15), 0 0 12px rgba(239,68,68,.45); }
.status-flag {
  font-weight: 800; font-size: 0.68rem; letter-spacing: 0.05em;
  white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center;
}
.status-flag.on { color: var(--ok); }
.status-flag.off { color: #fca5a5; }

.protocol-strip {
  border-block: 1px solid var(--line); background: rgba(255,255,255,.02); padding: 1rem 0;
}
.protocol-strip p { margin: 0 0 0.65rem; color: var(--dim); font-size: 0.82rem; }
.protocol-list { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.protocol-list span {
  border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.75rem;
  font-size: 0.78rem; color: var(--muted);
}
.protocol-list b { color: var(--orange); }

.feature-toolbar { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: center; }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.filter {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 0.45rem 0.85rem; cursor: pointer; font-weight: 600; font-size: 0.82rem;
}
.filter[aria-pressed="true"], .filter:hover { border-color: var(--orange); color: #fff; background: rgba(232,107,31,.12); }
.search-box {
  display: flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line);
  background: rgba(0,0,0,.25); border-radius: 999px; padding: 0.45rem 0.85rem; min-width: min(280px, 100%);
}
.search-box input { background: transparent; border: 0; color: var(--cream); outline: none; width: 100%; }
.feature-grid, .mdm-grid, .dns-grid, .tools-grid, .pricing {
  display: grid; gap: 1rem;
}
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mdm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1.4rem; }
.dns-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pricing { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card, .module-tile, .dns-card, .tool-panel, .price, .glass {
  background: linear-gradient(180deg, rgba(28,19,16,.92), rgba(16,11,9,.92));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem;
}
.feature-card h3, .module-tile h3, .tool-panel h3, .price h3 { margin: 0.45rem 0 0.5rem; font-size: 1.15rem; }
.card-description, .module-tile p, .dns-card p, .tool-panel p, .price .duration { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(232,107,31,.12); color: var(--orange-2); border: 1px solid rgba(232,107,31,.25);
}
.card-index { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--dim); }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.75rem 0; }
.service-tags span {
  font-size: 0.72rem; font-weight: 700; color: var(--orange-2);
  border: 1px solid rgba(232,107,31,.25); border-radius: 999px; padding: 0.25rem 0.55rem;
  background: rgba(232,107,31,.08);
}
.model-group { border-top: 1px solid rgba(255,255,255,.06); margin-top: 0.7rem; padding-top: 0.55rem; }
.model-group summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 0.6rem;
  color: var(--cream); font-weight: 600; font-size: 0.9rem;
}
.model-group summary::-webkit-details-marker { display: none; }
.model-list { margin: 0.55rem 0 0; padding: 0 0 0 1rem; color: var(--muted); font-size: 0.85rem; }
.model-code { color: var(--orange-2); font-size: 0.78rem; }
.model-block {
  border-top: 1px solid rgba(255,255,255,.06); margin-top: 0.75rem; padding-top: 0.65rem;
}
.model-block-head {
  display: flex; justify-content: space-between; gap: 0.6rem; align-items: center;
  font-size: 0.9rem; margin-bottom: 0.35rem;
}
.model-block-head span { color: var(--dim); font-size: 0.78rem; font-weight: 700; }
.model-block[data-collapsed="true"] .model-list,
.model-block[data-collapsed="true"] .model-list-table {
  max-height: 7.2rem; overflow: hidden; position: relative;
}
.model-block[data-collapsed="true"] .model-list::after,
.model-block[data-collapsed="true"] .model-list-table::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4rem;
  background: linear-gradient(transparent, rgba(16,11,9,.96));
  pointer-events: none;
}
.model-block[data-collapsed="false"] .model-list,
.model-block[data-collapsed="false"] .model-list-table {
  max-height: none; overflow: visible;
}
.btn-show-models {
  margin-top: 0.55rem; width: 100%; cursor: pointer;
  border: 1px solid rgba(232,107,31,.35); background: rgba(232,107,31,.08);
  color: var(--orange-2); border-radius: 999px; padding: 0.45rem 0.8rem;
  font-weight: 700; font-size: 0.8rem;
}
.btn-show-models:hover { border-color: var(--orange); color: #fff; }
.coverage-note {
  display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 0.7rem;
  padding: 0.75rem; border-radius: 12px; background: rgba(34,197,94,.06); border: 1px solid rgba(34,197,94,.18);
}
.coverage-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); margin-top: 0.3rem; box-shadow: 0 0 12px rgba(34,197,94,.6); }
.coverage-note strong { display: block; margin-bottom: 0.2rem; }
.coverage-note p { margin: 0; color: var(--muted); font-size: 0.84rem; }
.support-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.support-table th, .support-table td { border-bottom: 1px solid rgba(255,255,255,.06); padding: 0.45rem 0.3rem; text-align: left; }
.support-table th { color: var(--orange-2); }
.table-scroll { overflow: auto; max-height: 220px; }
.empty-results, .catalog-result, .feature-disclaimer, .license-note { color: var(--dim); font-size: 0.85rem; }
.empty-results { display: none; }

.dns-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin: 0.5rem 0 1rem; flex-wrap: wrap; }
.dns-heading h3 { margin: 0.2rem 0 0.35rem; font-family: var(--display); }
.unlimited-badge {
  border: 1px solid rgba(232,107,31,.3); color: var(--orange-2); border-radius: 999px;
  padding: 0.45rem 0.8rem; font-size: 0.78rem; font-weight: 700;
}
.dns-card h4 { margin: 0.55rem 0 0.35rem; }
.patch-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.patch-list li {
  display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05); font-size: 0.88rem;
}
.patch-list span { color: var(--muted); }
.rom-brand { display: flex; gap: 0.8rem; align-items: flex-start; margin-top: 0.85rem; }
.rom-brand > span {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(232,107,31,.12); color: var(--orange-2); font-weight: 800; font-size: 0.78rem;
}
.rom-brand h4 { margin: 0 0 0.2rem; }
.rom-brand p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.card-note { display: inline-block; margin-top: 1rem; color: var(--dim); font-size: 0.78rem; }

.step-list { display: grid; gap: 0.85rem; }
.step {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02);
}
.step-number {
  font-family: var(--display); color: var(--orange); font-size: 1.1rem; min-width: 2.2rem;
}
.step h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.price-tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-2); font-weight: 700; }
.amount-tag { font-size: 2rem; font-weight: 800; margin: 0.55rem 0; }
.amount-tag small { font-size: 0.9rem; color: var(--muted); }
.price ul { padding-left: 1.1rem; color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.price.pop { border-color: rgba(232,107,31,.45); box-shadow: 0 0 0 1px rgba(232,107,31,.18), var(--shadow); }

.download-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.4rem; align-items: center; }
.download-card { padding: 1.4rem; }
.file-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 0.8rem;
  background: rgba(232,107,31,.12); color: var(--orange-2); font-size: 1.4rem;
}
.download-meta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.9rem; color: var(--dim); font-size: 0.8rem; }

.faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.4rem; }
.faq-item {
  border: 1px solid var(--line); border-radius: 14px; padding: 0.85rem 1rem; margin-bottom: 0.65rem;
  background: rgba(255,255,255,.02);
}
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { color: var(--muted); line-height: 1.55; }

footer { border-top: 1px solid var(--line); padding: 2.5rem 0 5.5rem; margin-top: 1rem; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
.footer-brand p { color: var(--muted); max-width: 28rem; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.footer-links h4 { margin: 0 0 0.55rem; font-size: 0.85rem; color: var(--orange-2); }
.footer-links a { display: block; color: var(--muted); margin: 0.35rem 0; font-size: 0.9rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.05);
  color: var(--dim); font-size: 0.8rem;
}

.wa {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #04150a; font-size: 1.55rem;
  box-shadow: 0 12px 30px rgba(37,211,102,.35);
}
.wa:hover { transform: translateY(-2px) scale(1.04); }

.btn-buy { width: 100%; }
.redirect-overlay {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(6, 4, 3, 0.78); backdrop-filter: blur(10px); padding: 1.2rem;
}
.redirect-overlay[hidden] { display: none !important; }
.redirect-card {
  width: min(420px, 100%); text-align: center; border-radius: 22px; padding: 1.7rem 1.4rem;
  border: 1px solid rgba(244,162,97,.3);
  background: linear-gradient(180deg, #1d1310, #100b09);
  box-shadow: 0 28px 70px rgba(0,0,0,.5);
}
.redirect-icon {
  width: 58px; height: 58px; margin: 0 auto 0.9rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem; color: #04150a; background: #25D366;
  box-shadow: 0 12px 28px rgba(37,211,102,.35);
}
.redirect-card h3 {
  margin: 0 0 0.45rem; font-family: var(--display); font-size: 1.2rem; letter-spacing: .02em;
}
.redirect-card p { margin: 0 0 1.2rem; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.redirect-bar {
  height: 8px; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
.redirect-bar i {
  display: block; height: 100%; width: 0%; border-radius: inherit;
  background: linear-gradient(90deg, var(--ember), var(--orange-2), #25D366);
  animation: redirectFill 1.6s ease forwards;
}
@keyframes redirectFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* Auth page / modal */
.auth-shell {
  min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 2rem 1rem;
}
.auth-card {
  width: min(440px, 100%); padding: 2rem 1.6rem; border-radius: 22px;
  border: 1px solid var(--line); background: linear-gradient(180deg, #1d1310, #120c0a);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.auth-card::before {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 55%;
  background: radial-gradient(circle, rgba(232,107,31,.2), transparent 65%); pointer-events: none;
}
.auth-brand {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 1rem; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--orange), #7c2d12); font-size: 1.6rem; color: #fff;
  box-shadow: 0 12px 30px rgba(232,107,31,.3);
}
.auth-card h1 { text-align: center; font-family: var(--display); font-size: 1.45rem; margin: 0 0 0.35rem; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; line-height: 1.5; }
.form-group { margin-bottom: 0.9rem; }
.form-label { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.35rem; font-weight: 600; }
.form-control {
  width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #0d0908;
  color: var(--cream); padding: 0.85rem 0.95rem; outline: none;
}
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,107,31,.2); }
.auth-error {
  display: none; margin: 0.8rem 0; padding: 0.8rem 0.9rem; border-radius: 12px;
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #fecaca; font-size: 0.88rem; line-height: 1.45;
}
.auth-error.show { display: block; }
.auth-switch { text-align: center; margin-top: 1.1rem; font-size: 0.88rem; color: var(--muted); }
.auth-switch button { background: none; border: 0; color: var(--info); font-weight: 700; cursor: pointer; }

.pill {
  display: inline-flex; align-items: center; gap: 0.35rem; border-radius: 999px;
  padding: 0.3rem 0.7rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em;
}
.pill-approved { background: rgba(34,197,94,.14); color: #86efac; }
.pill-pending { background: rgba(245,158,11,.14); color: #fcd34d; }
.pill-banned, .pill-expired { background: rgba(239,68,68,.14); color: #fca5a5; }
.pill-tester { background: rgba(168,85,247,.16); color: #d8b4fe; }
.pill-ceo { background: rgba(251,191,36,.16); color: #fbbf24; }

.toast {
  position: fixed; right: 1rem; bottom: 5.2rem; z-index: 80; display: none;
  background: #1c1310; border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: 12px; padding: 0.85rem 1rem; min-width: 220px; box-shadow: var(--shadow);
}
.toast.show { display: block; animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

.reveal { animation: rise .7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .hero-grid, .feature-grid, .tools-grid, .download-layout, .faq-grid, .footer-main { grid-template-columns: 1fr; }
  .dns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-btn { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; left: 1rem; right: 1rem; top: 68px;
    flex-direction: column; align-items: stretch; padding: 0.8rem;
    background: #15100d; border: 1px solid var(--line); border-radius: 14px;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 640px) {
  .dns-grid, .pricing, .mdm-grid { grid-template-columns: 1fr; }
  .moon { width: 54px; height: 54px; }
}
