/* BYNEXSAW — electric blue theme */
:root {
  --bg: #04070f;
  --bg-2: #070d1c;
  --surface: rgba(14, 24, 48, 0.55);
  --surface-solid: #0b1428;
  --border: rgba(80, 140, 255, 0.14);
  --border-strong: rgba(64, 156, 255, 0.45);
  --text: #eaf2ff;
  --muted: #8ea3c7;
  --blue: #1f7bff;
  --blue-2: #3fa2ff;
  --cyan: #6fd6ff;
  --glow: rgba(31, 123, 255, 0.55);
  --green: #22c55e;
  --amber: #f5b13d;
  --red: #ff6b6b;
  --discord: #5865f2;
  --radius: 16px;
  --font-display: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 600px at 75% -10%, rgba(31, 123, 255, 0.22), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(63, 162, 255, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* faint tech grid that fades out downward */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(80, 140, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 140, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 80%);
}

a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.005em; }

.grad {
  background: linear-gradient(95deg, var(--cyan), var(--blue-2) 45%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ico { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 7, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 10px var(--glow));
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a { position: relative; transition: color 0.15s ease; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-2);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  box-shadow: 0 8px 28px rgba(31, 123, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 10px 38px rgba(31, 123, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(31, 123, 255, 0.12); border-color: var(--blue-2); }

.btn-discord {
  color: #fff;
  background: var(--discord);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.32);
}
.btn-discord:hover { background: #6b76ff; box-shadow: 0 10px 32px rgba(88, 101, 242, 0.5); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* emblem */
.hero-emblem {
  position: relative;
  aspect-ratio: 1;
  width: min(420px, 100%);
  justify-self: center;
  display: grid;
  place-items: center;
}

.hero-emblem img {
  position: relative;
  width: 72%;
  filter: drop-shadow(0 0 40px rgba(31, 123, 255, 0.7));
  animation: float 6s ease-in-out infinite;
}

.emblem-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 123, 255, 0.55), transparent 70%);
  filter: blur(30px);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(63, 162, 255, 0.25);
}
.ring-1 {
  inset: 2%;
  border-top-color: var(--cyan);
  animation: spin 14s linear infinite;
}
.ring-2 {
  inset: 10%;
  border-style: dashed;
  border-color: rgba(63, 162, 255, 0.18);
  animation: spin 30s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* stats strip */
.stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.stat {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat + .stat { border-left: 1px solid var(--border); }
.stat strong {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  color: #fff;
}
.stat span { color: var(--muted); font-size: 13px; }
.stat strong small { font-size: 15px; color: var(--muted); font-weight: 600; }
.stat .stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 4px;
}
.stat-plan { transition: background 0.2s ease; }
.stat-plan:hover { background: rgba(31, 123, 255, 0.08); }
.stat-vip {
  background: linear-gradient(135deg, rgba(63, 162, 255, 0.16), rgba(31, 123, 255, 0.04));
}
.stat-vip .stat-label { color: var(--cyan); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }

.section-head { text-align: center; margin-bottom: 48px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Demo video ---------- */
#demo { padding-top: 40px; }

.video-frame {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(111, 214, 255, 0.5), rgba(31, 123, 255, 0.25) 50%, rgba(107, 91, 255, 0.45));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(31, 123, 255, 0.2);
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  background: #000;
}

.video-facade {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.8);
}

.video-facade:hover img { transform: scale(1.03); filter: brightness(0.95); }

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  box-shadow: 0 0 0 10px rgba(31, 123, 255, 0.2), 0 12px 40px rgba(31, 123, 255, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent #fff;
}

.video-facade:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 14px rgba(31, 123, 255, 0.25), 0 12px 50px rgba(31, 123, 255, 0.7);
}

/* ---------- Features ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-2), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 32px rgba(31, 123, 255, 0.12);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  font-size: 21px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(63, 162, 255, 0.22), rgba(31, 123, 255, 0.06));
  border: 1px solid rgba(63, 162, 255, 0.35);
  margin-bottom: 18px;
}

.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(31, 123, 255, 0.08), transparent 70%);
  border: 1px solid var(--border);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
  color: transparent;
  -webkit-text-stroke: 1px var(--blue-2);
}

.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.plan-vip {
  border: 1px solid transparent;
  background:
    radial-gradient(520px 280px at 100% 0%, rgba(63, 162, 255, 0.32), transparent 70%) padding-box,
    linear-gradient(165deg, #0f2147, #08101f) padding-box,
    linear-gradient(135deg, var(--cyan), var(--blue) 50%, #6b5bff) border-box;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 70px rgba(31, 123, 255, 0.22);
}
.plan-vip:hover { border-color: transparent; }

.plan-ribbon {
  position: absolute;
  top: -13px;
  right: 28px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #041026;
  background: linear-gradient(135deg, var(--cyan), var(--blue-2));
  box-shadow: 0 6px 20px rgba(63, 162, 255, 0.5);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan-vip .plan-name {
  background: linear-gradient(95deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border-strong);
  padding: 3px 10px;
  border-radius: 999px;
}

.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price .amount {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.plan-vip .plan-price .amount { text-shadow: 0 0 34px rgba(63, 162, 255, 0.6); }
.plan-price .per { color: var(--muted); font-weight: 600; }

.plan-alt { margin-top: 8px; font-size: 14px; color: var(--muted); }
.plan-alt strong { color: var(--text); font-size: 16px; }
.plan-desc { color: var(--muted); font-size: 14.5px; margin: 10px 0 22px; }

.plan-instances {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.plan-vip .plan-instances {
  background: rgba(63, 162, 255, 0.1);
  border-color: rgba(63, 162, 255, 0.4);
}
.inst-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  min-width: 40px;
  color: var(--blue-2);
}
.plan-vip .inst-num { color: var(--cyan); text-shadow: 0 0 18px rgba(111, 214, 255, 0.6); }
.inst-label { font-size: 14px; font-weight: 600; color: var(--text); }

.plan-list { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; flex: 1; align-content: start; }
.plan-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; }
.plan-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 800;
  color: #041026;
  background: var(--blue-2);
  border-radius: 50%;
}
.plan-vip .plan-list li::before { background: var(--cyan); }

/* terms */
.terms {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 26px;
  border-radius: 20px;
  background: rgba(245, 177, 61, 0.03);
  border: 1px solid rgba(245, 177, 61, 0.25);
}
.terms-head { margin-bottom: 16px; }
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.term {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-top: 2px solid var(--blue-2);
}
.term.danger { border-top-color: var(--red); }
.term h4 { font-size: 15px; margin-bottom: 4px; color: #fff; }
.term.danger h4 { color: #ffa3a3; }
.term p { font-size: 13px; color: var(--muted); }
.term strong { color: var(--text); }

.policy-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fcd34d;
  background: rgba(245, 177, 61, 0.12);
  border: 1px solid rgba(245, 177, 61, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Download ---------- */
.download-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 22px;
  background:
    radial-gradient(500px 240px at 0% 0%, rgba(31, 123, 255, 0.22), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.download-main {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
}
.download-logo {
  width: 76px; height: 76px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 20px var(--glow));
}
.download-info { flex: 1; min-width: 0; }
.download-info h3 { font-size: 24px; margin-bottom: 6px; }
.download-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}
.badge-version {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: rgba(111, 214, 255, 0.1);
  border: 1px solid rgba(111, 214, 255, 0.35);
  padding: 2px 10px;
  border-radius: 999px;
}
.download-note { font-size: 13px; color: var(--muted); }
.download-btn { flex-shrink: 0; padding: 15px 26px; font-size: 16px; }

.download-help {
  padding: 22px 32px 26px;
  border-top: 1px solid var(--border);
  background: rgba(245, 177, 61, 0.03);
}
.download-help h4 { font-size: 15px; color: #fcd34d; margin-bottom: 6px; }
.download-steps { background: rgba(31, 123, 255, 0.04); }
.download-steps h4 { color: var(--cyan); }
.download-help p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.download-help ol { padding-left: 20px; display: grid; gap: 4px; }
.download-help li { font-size: 13px; color: var(--muted); }
.download-help strong { color: var(--text); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px;
  border-radius: 22px;
  background:
    radial-gradient(600px 300px at 0% 50%, rgba(31, 123, 255, 0.25), transparent 70%),
    linear-gradient(135deg, rgba(88, 101, 242, 0.18), rgba(11, 20, 40, 0.9));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}

.cta-logo {
  width: 92px; height: 92px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 24px var(--glow));
}

.cta-copy { flex: 1; }
.cta h2 { font-size: 32px; text-transform: uppercase; line-height: 1.1; margin-bottom: 6px; }
.cta p { color: var(--muted); max-width: 560px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-sm img { width: 28px; height: 28px; }
.brand-sm .brand-name { font-size: 17px; color: var(--text); }
.footer-link { color: var(--blue-2); }
.footer-link:hover { color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero-emblem { order: -1; width: min(280px, 70%); }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plans, .terms-grid { grid-template-columns: 1fr; }
  .plans { gap: 32px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .hero { padding-top: 40px; }
  section { padding: 56px 0; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .plan { padding: 28px 24px; }
  .terms { padding: 20px; }
  .cta { flex-direction: column; text-align: center; padding: 30px 24px; }
  .download-main { flex-direction: column; text-align: center; padding: 28px 22px; }
  .download-meta { justify-content: center; }
  .download-btn { width: 100%; }
  .download-help { padding: 20px 22px 24px; }
  .footer-inner { justify-content: center; text-align: center; }
  .btn { white-space: normal; }
}

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