/* SWAQ'S OPTIMIZER — premium landing */
:root {
  --bg: #050506;
  --panel: #0c0c0e;
  --card: rgba(18, 18, 22, 0.88);
  --card-hover: rgba(28, 28, 34, 0.95);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #71717a;
  --accent: #818cf8;
  --accent-2: #5865f2;
  --ok: #22c55e;
  --radius: 18px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
button { font-family: inherit; cursor: pointer; }

/* Ambient background */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45;
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-a {
  width: 520px; height: 520px; top: -12%; left: -8%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.55), transparent 70%);
}
.orb-b {
  width: 420px; height: 420px; top: 40%; right: -10%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.25), transparent 70%);
  animation-delay: -4s;
}
.orb-c {
  width: 360px; height: 360px; bottom: -5%; left: 30%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
  animation-delay: -7s;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, 16px) scale(1.08); }
}
.noise {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 28px;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 5, 6, 0.9);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 36px; height: 36px; border-radius: 11px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-text strong { font-size: 13px; font-weight: 800; letter-spacing: 0.03em; }
.brand-text span { font-size: 11px; color: var(--dim); }
.links { display: flex; align-items: center; gap: 2px; }
.links a {
  font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 8px 14px; border-radius: 11px;
  transition: color 0.2s, background 0.2s;
}
.links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.btn-nav {
  background: #fafafa !important; color: #0a0a0a !important;
  margin-left: 10px !important; padding: 9px 18px !important;
  border-radius: 12px !important;
}
.btn-nav:hover { background: #fff !important; }
.nav-toggle {
  display: none; width: 42px; height: 42px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 16px; height: 2px; background: #e4e4e7; border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 700; border: none; border-radius: 14px;
  padding: 12px 22px; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, #fafafa, #e4e4e7);
  color: #0a0a0a;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.btn.primary:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.45); }
.btn.ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn.ghost:hover { background: rgba(255,255,255,0.08); }
.btn.large { padding: 15px 28px; font-size: 15px; border-radius: 16px; }
.text-btn {
  background: none; border: none; color: var(--dim); font-size: 12px; font-weight: 600;
}
.text-btn:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 88px;
  text-align: center;
}
.hero-glow {
  position: absolute; left: 50%; top: 8%; transform: translateX(-50%);
  width: min(640px, 90vw); height: 280px;
  background: radial-gradient(ellipse, rgba(88,101,242,0.18), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-logo {
  width: 88px; height: 88px; margin: 0 auto 28px;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 20px 50px rgba(0,0,0,0.5);
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.08;
  margin-bottom: 18px;
}
.grad {
  background: linear-gradient(135deg, #c4b5fd 0%, #818cf8 40%, #67e8f9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead {
  max-width: 540px; margin: 0 auto 32px;
  font-size: 16px; color: var(--muted); line-height: 1.65;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 48px;
}
.stats {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 18px 32px; border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.stats strong {
  display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
}
.stats span { font-size: 11px; color: var(--dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.stats .sep { width: 1px; height: 36px; background: var(--line); }

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}
.section-head { text-align: center; margin-bottom: 40px; }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--accent); margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px;
}
.sub { color: var(--muted); font-size: 15px; }

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.card:hover {
  background: var(--card-hover);
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.18);
  color: #a5b4fc;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-icon.ico-discord {
  background: rgba(88, 101, 242, 0.12);
  border-color: rgba(88, 101, 242, 0.25);
  color: #818cf8;
}
.card-icon.ico-safe {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}
.card-icon.ico-net {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}
.card-icon.ico-perf {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}
.card-icon.ico-ui {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.2);
  color: #a78bfa;
}
.card-icon.ico-info {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.shot { cursor: zoom-in; }
.shot-frame {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0c;
  aspect-ratio: 16 / 10;
  transition: border-color 0.25s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.shot:hover .shot-frame {
  border-color: var(--line-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  transform: translateY(-4px);
}
.shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot figcaption {
  margin-top: 10px; text-align: center;
  font-size: 12px; font-weight: 600; color: var(--dim);
}

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.step {
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.step .num {
  display: block; font-size: 13px; font-weight: 800;
  color: var(--accent); letter-spacing: 0.08em; margin-bottom: 14px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* Reviews */
.reviews {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px;
}
.review .stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 12px; font-size: 14px; }
.review p { font-size: 14px; color: var(--text); margin-bottom: 18px; line-height: 1.55; }
.who { display: flex; align-items: center; gap: 12px; }
.av {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: #5865f2; color: #fff;
}
.av.a2 { background: #8b5cf6; }
.av.a3 { background: #0ea5e9; }
.who strong { display: block; font-size: 13px; }
.who span { font-size: 11px; color: var(--dim); }
.review-box { padding: 28px; max-width: 520px; margin: 0 auto; }
.review-box h3 { font-size: 16px; margin-bottom: 6px; }
.muted { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; align-items: center; margin-bottom: 12px; }
.row input, .review-box textarea {
  flex: 1; min-width: 160px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
  color: var(--text); font-size: 14px; font-family: inherit;
  outline: none;
}
.row input:focus, .review-box textarea:focus { border-color: var(--accent); }
.review-box textarea { width: 100%; resize: vertical; margin: 12px 0; }
.star-pick { display: flex; gap: 4px; margin-bottom: 4px; }
.star-pick button {
  background: none; border: none; font-size: 22px; color: #3f3f46;
  transition: color 0.15s, transform 0.15s;
}
.star-pick button.on, .star-pick button:hover { color: #fbbf24; transform: scale(1.1); }

/* FAQ */
.faq { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  padding: 0; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 650; font-size: 14.5px;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 18px; color: var(--dim); font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 0 22px 18px; font-size: 13.5px; color: var(--muted); line-height: 1.6;
}

/* Download panel */
.download-panel {
  position: relative; text-align: center;
  padding: 56px 32px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(24,24,32,0.95), rgba(10,10,14,0.98));
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.dl-glow {
  position: absolute; inset: -40%;
  background: radial-gradient(ellipse at 50% 0%, rgba(88,101,242,0.2), transparent 50%);
  pointer-events: none;
}
.download-panel > * { position: relative; z-index: 1; }
.download-panel img {
  margin: 0 auto 20px; border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 16px 40px rgba(0,0,0,0.4);
}
.download-panel h2 {
  font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px;
}
.download-panel .muted { margin-bottom: 24px; }
.download-panel .btn { margin-bottom: 14px; }
.tiny { font-size: 12px; color: var(--dim); }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px 40px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand.mini { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; }
.brand.mini img { border-radius: 8px; }
.footer p { font-size: 12px; color: var(--dim); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 94vw); max-height: 88vh;
  border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
#lightboxClose {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--line);
  color: #fff; font-size: 22px;
}
#lightboxClose:hover { background: rgba(255,255,255,0.14); }

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .cards, .shots, .steps, .reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px;
    background: rgba(8,8,10,0.96); border-bottom: 1px solid var(--line);
  }
  .links.open { display: flex; }
  .links a { padding: 12px 14px; }
  .btn-nav { margin-left: 0 !important; text-align: center; }
  .cards, .shots, .steps, .reviews { grid-template-columns: 1fr; }
  .stats { flex-direction: column; gap: 14px; }
  .stats .sep { width: 40px; height: 1px; }
  .hero { padding-top: 48px; }
}


/* Language switcher + nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dim);
  white-space: nowrap;
}
.lang-label {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lang-wrap select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 28px 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  min-width: 120px;
}
.lang-wrap select:hover,
.lang-wrap select:focus {
  border-color: var(--line-strong);
  background-color: rgba(255,255,255,0.07);
}
.lang-wrap select option {
  background: #121214;
  color: #fafafa;
}

/* Tighter professional spacing */
.section {
  padding: 80px 24px;
}
.section-head {
  margin-bottom: 36px;
}
.hero {
  padding: 64px 24px 80px;
}
.lead {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cards, .shots, .steps, .reviews {
  gap: 14px;
}
.card {
  padding: 22px 20px;
}
.footer-inner {
  align-items: center;
}

@media (max-width: 640px) {
  .nav {
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .nav-right {
    width: 100%;
    justify-content: space-between;
  }
  .lang-label {
    display: none;
  }
  .lang-wrap select {
    min-width: 100px;
  }
  .links {
    width: 100%;
  }
}


/* Dual product cards */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}
.product-card.zd {
  border-color: rgba(213, 161, 59, 0.22);
  background: linear-gradient(160deg, rgba(28, 18, 10, 0.9), rgba(14, 12, 10, 0.95));
}
.product-card.zd:hover {
  border-color: rgba(213, 161, 59, 0.4);
  box-shadow: 0 24px 50px rgba(80, 50, 10, 0.25);
}
.product-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.product-top .logo-frame {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
}
.product-card.zd .logo-frame {
  background: rgba(213, 161, 59, 0.08);
  border-color: rgba(213, 161, 59, 0.22);
}
.product-top img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.product-card.opt .product-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}
.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.gold-tag { color: #d5a13b; }
.product-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.product-card > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.product-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.product-list li {
  font-size: 13px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}
.product-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.product-card.zd .product-list li::before {
  background: #d5a13b;
}
.product-meta {
  font-size: 12px !important;
  color: var(--dim) !important;
  margin: 0 !important;
}
.product-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.btn.gold {
  background: linear-gradient(135deg, #f1c45c, #d5a13b);
  color: #1a1008;
  box-shadow: 0 8px 28px rgba(180, 120, 30, 0.28);
}
.btn.gold:hover {
  box-shadow: 0 12px 36px rgba(180, 120, 30, 0.4);
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 12px;
}

@media (max-width: 800px) {
  .product-grid { grid-template-columns: 1fr; }
}
