/* ============================================================
   Dude OTP — Landing design system
   Dark premium · Urbanist · Electric blue #00A9FF → #00FFFF
   ============================================================ */

:root {
  --bg: #05080f;
  --bg-soft: #0a101d;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);
  --text: #f3f7fc;
  --text-dim: #9aa8bd;
  --text-faint: #5f6d84;
  --accent-1: #00a9ff;
  --accent-2: #00ffff;
  --grad: linear-gradient(135deg, #00a9ff 0%, #00ffff 100%);
  --grad-text: linear-gradient(120deg, #4dc3ff 0%, #00ffff 90%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 70px -24px rgba(0, 169, 255, 0.28);
  --font: "Urbanist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 68px;
}

* { 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.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glows */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 12% -4%, rgba(0, 169, 255, 0.13), transparent 62%),
    radial-gradient(720px 480px at 88% 6%, rgba(0, 255, 255, 0.08), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(0, 120, 220, 0.10), transparent 60%),
    var(--bg);
}
.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 78%);
}

::selection { background: rgba(0, 255, 255, 0.28); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* ============ Floating pill header ============ */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 32px));
  z-index: 100;
}
.header-pill {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  padding: 0 10px 0 22px;
  background: rgba(9, 14, 25, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand img { width: 34px; height: 34px; }
.brand em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--grad);
  color: #03121f;
  box-shadow: 0 12px 32px -10px rgba(0, 200, 255, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 42px -10px rgba(0, 200, 255, 0.7); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn svg { width: 17px; height: 17px; flex: none; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  align-items: center; justify-content: center;
  margin-left: auto;
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu {
  display: none;
  margin-top: 10px;
  padding: 12px;
  border-radius: 26px;
  background: rgba(9, 14, 25, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 13px 18px;
  border-radius: 16px;
  font-weight: 600;
  color: var(--text-dim);
}
.mobile-menu a:hover { background: rgba(255,255,255,0.06); color: var(--text); }

/* ============ Hero ============ */
.hero {
  padding: calc(var(--header-h) + 110px) 0 90px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.9);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.45; } }

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 880px;
  margin: 0 auto 22px;
}
.hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-dim);
  max-width: 660px;
  margin: 0 auto 38px;
  font-weight: 500;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-ctas .btn { padding: 16px 34px; font-size: 1.04rem; }

.stat-chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dim);
}
.chip svg { width: 17px; height: 17px; stroke: var(--accent-2); }
.chip strong { color: var(--text); font-weight: 800; }

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 58px; }
.kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-head p { color: var(--text-dim); font-size: 1.08rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  padding: 38px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s;
}
.step:hover { transform: translateY(-4px); border-color: rgba(0, 255, 255, 0.22); }
.step-num {
  width: 52px; height: 52px;
  border-radius: 18px;
  background: var(--grad);
  color: #03121f;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 26px -8px rgba(0, 200, 255, 0.6);
}
.step h3 { font-size: 1.28rem; font-weight: 750; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--text-dim); font-size: 0.99rem; }
.step .ghost-num {
  position: absolute;
  right: 18px; top: 8px;
  font-size: 5.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.045);
  line-height: 1;
  pointer-events: none;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  padding: 34px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 255, 0.2);
  box-shadow: var(--shadow);
}
.feature .icon {
  width: 50px; height: 50px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 169, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.18);
  margin-bottom: 22px;
}
.feature .icon svg { width: 24px; height: 24px; stroke: var(--accent-2); }
.feature h3 { font-size: 1.16rem; font-weight: 750; margin-bottom: 9px; }
.feature p { color: var(--text-dim); font-size: 0.97rem; }

/* Pricing */
.pricing-card {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 32px;
  border-bottom: 1px solid var(--border-soft);
}
.pricing-head h3 { font-size: 1.25rem; font-weight: 750; }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-2);
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.25);
  background: rgba(0, 255, 255, 0.06);
}
.live-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); animation: pulse 1.8s infinite; }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 16px 32px;
  border-bottom: 1px solid var(--border-soft);
}
.price-table td {
  padding: 17px 32px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 1rem;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tbody tr { transition: background 0.2s; }
.price-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.svc { display: flex; align-items: center; gap: 13px; font-weight: 700; }
.svc .avatar {
  width: 38px; height: 38px;
  border-radius: 13px;
  background: var(--grad);
  color: #03121f;
  font-weight: 800;
  font-size: 1.02rem;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.price { font-weight: 800; font-size: 1.06rem; }
.stock {
  display: inline-block;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.22);
  color: #4dffa6;
}
.stock.low { background: rgba(255, 190, 60, 0.08); border-color: rgba(255,190,60,0.25); color: #ffd479; }
.stock.out { background: rgba(255,255,255,0.05); border-color: var(--border); color: var(--text-faint); }
.pricing-foot {
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-soft);
}
.pricing-foot p { color: var(--text-faint); font-size: 0.92rem; }

.skeleton-row td { padding: 20px 32px; }
.skel {
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq[open] { border-color: rgba(0, 255, 255, 0.2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.3s;
}
.faq summary .chev svg { width: 15px; height: 15px; stroke: var(--accent-2); }
.faq[open] summary .chev { transform: rotate(180deg); background: rgba(0,255,255,0.08); }
.faq .answer { padding: 0 26px 24px; color: var(--text-dim); font-size: 0.99rem; }
.faq .answer p + p { margin-top: 10px; }

/* CTA band */
.cta-band {
  position: relative;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(0,169,255,0.12), rgba(0,255,255,0.05) 55%, rgba(0,169,255,0.02));
  padding: 74px 40px;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,200,255,0.16), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--text-dim); margin-bottom: 32px; font-size: 1.08rem; position: relative; }
.cta-band .btn { position: relative; }

/* Footer */
footer { border-top: 1px solid var(--border-soft); padding: 52px 0 40px; margin-top: 40px; }
.foot-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.foot-brand p { color: var(--text-faint); font-size: 0.95rem; max-width: 340px; margin-top: 12px; }
.foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-links h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.foot-links a { display: block; color: var(--text-dim); font-size: 0.96rem; padding: 5px 0; font-weight: 500; }
.foot-links a:hover { color: var(--accent-2); }
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-faint);
  font-size: 0.9rem;
}
.foot-bottom a { color: var(--text-dim); font-weight: 700; }
.foot-bottom a:hover { color: var(--accent-2); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .steps, .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .header-pill .btn { display: none; }
  .header-pill { gap: 12px; }
  .section { padding: 70px 0; }
  .hero { padding-top: calc(var(--header-h) + 70px); }
}
@media (max-width: 620px) {
  .steps, .features { grid-template-columns: 1fr; }
  .price-table th:nth-child(3), .price-table td:nth-child(3) { display: none; }
  .price-table th, .price-table td { padding-left: 20px; padding-right: 20px; }
  .pricing-head, .pricing-foot { padding-left: 22px; padding-right: 22px; }
  .cta-band { padding: 54px 26px; }
  .hero-ctas .btn { width: 100%; }
}
