/* ─── Variables ─── */
:root {
  --bg: #0A0A0B;
  --surface: #141416;
  --surface2: #101012;
  --text: #FFFFFF;
  --muted: #A0A0A5;
  --cyan: #00F5D4;
  --amber: #FFB800;
  --border: rgba(255,255,255,.10);
  --shadow: 0 16px 40px rgba(0,0,0,.55);
  --glow: 0 0 0 2px rgba(0,245,212,.18), 0 0 26px rgba(0,245,212,.22);
  --radius: 20px;
  --radius2: 14px;
  --maxw: 1020px;
  --nav-h: 64px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(700px 700px at 78% 65%, rgba(255,184,0,.14), transparent 55%),
    radial-gradient(520px 520px at 38% 25%, rgba(0,245,212,.14), transparent 60%),
    var(--bg);
  letter-spacing: .2px;
  overscroll-behavior-y: none;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10,10,11,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.logo {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 14px rgba(0,245,212,.35));
}

.brand-name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2.8px;
}

.domain {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1.2px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--muted);
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.nav-cta {
  color: var(--cyan) !important;
  border: 1px solid rgba(0,245,212,.3);
  background: rgba(0,245,212,.06);
}

.nav-cta:hover {
  background: rgba(0,245,212,.12) !important;
  border-color: rgba(0,245,212,.5);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .15s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ─── Sections ─── */
.section {
  padding: 80px 0 40px;
}

.hero-section {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 40px;
}

.section-heading {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 28px;
}

/* ─── Hero ─── */
.kicker {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 1.4px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: .95;
}

.title {
  font-size: 42px;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: 1.4px;
  font-weight: 900;
  text-transform: uppercase;
}

.subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
}

/* ─── CTA buttons ─── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-weight: 700;
  letter-spacing: .6px;
  font-size: 15px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:hover, .btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0,245,212,.38);
  box-shadow: var(--glow);
}

.btn.primary {
  border-color: rgba(0,245,212,.55);
  background: rgba(0,245,212,.08);
}

.btn.warn {
  border-color: rgba(255,184,0,.55);
  background: rgba(255,184,0,.08);
}

.btn small {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .2px;
}

/* ─── Cards ─── */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-inner {
  padding: 28px 28px 24px;
}

.card-title {
  font-size: 16px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 12px;
}

/* ─── Features Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s;
}

.feature-card:hover {
  border-color: rgba(0,245,212,.25);
  box-shadow: 0 0 0 1px rgba(0,245,212,.1), 0 8px 30px rgba(0,0,0,.3);
}

.feature-card .iconbox {
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 15px;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255,255,255,.9);
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.iconbox {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  flex: 0 0 auto;
}

.ok {
  color: var(--cyan);
  font-weight: 800;
}

/* ─── Venue Grid ─── */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─── Steps / lists ─── */
.steps {
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.steps li {
  margin: 10px 0;
}

.steps li strong {
  color: rgba(255,255,255,.88);
}

/* ─── Inline code ─── */
code.inline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12.5px;
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  word-break: break-all;
}

/* ─── Notes ─── */
.note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,184,0,.30);
  background: rgba(255,184,0,.06);
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.55;
}

/* ─── Links ─── */
.link-cyan {
  color: var(--cyan);
  font-weight: 700;
  border-bottom: 1px solid rgba(0,245,212,.3);
  transition: border-color .15s;
}

.link-cyan:hover {
  border-color: var(--cyan);
}

/* ─── Privacy Highlights ─── */
.privacy-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.privacy-highlights .feature-card {
  text-align: center;
}

.privacy-highlights .iconbox {
  margin: 0 auto 14px;
}

.privacy-highlights h3 {
  font-size: 14px;
  letter-spacing: .5px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.9);
}

.privacy-highlights p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ─── Policy Content ─── */
.policy-card {
  border-color: rgba(255,255,255,.08);
}

.policy-intro {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.policy h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  color: rgba(255,255,255,.92);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.policy h4 {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-top: 20px;
  margin-bottom: 10px;
}

.policy p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.policy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.policy ul li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.policy ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .6;
}

.policy ul li strong {
  color: rgba(255,255,255,.88);
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  color: rgba(255,255,255,.86);
  font-weight: 700;
}

.footer-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .15s, box-shadow .15s;
}

.tg:hover {
  border-color: rgba(0,245,212,.38);
  box-shadow: var(--glow);
}

.sep {
  opacity: .35;
  padding: 0 6px;
}

/* ─── Mobile: Hamburger & Nav ─── */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    z-index: 110;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: calc(var(--nav-h) + 16px) 20px 32px;
    background: rgba(10,10,11,.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .venue-grid {
    grid-template-columns: 1fr;
  }

  .privacy-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── Tablet adjustments ─── */
@media (max-width: 700px) {
  .title {
    font-size: 32px;
  }

  .section {
    padding: 60px 0 24px;
  }

  .hero-section {
    padding-top: calc(var(--nav-h) + 40px);
  }

  .card-inner {
    padding: 20px 18px 18px;
  }

  .cta-row {
    flex-direction: column;
    gap: 8px;
  }

  .btn {
    justify-content: center;
    font-size: 14px;
    padding: 12px 14px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ─── Small phones ─── */
@media (max-width: 430px) {
  .title {
    font-size: 26px;
  }

  .subtitle {
    font-size: 14px;
  }

  .card-inner {
    padding: 16px 14px 14px;
  }

  .steps {
    font-size: 13px;
    padding-left: 16px;
  }

  .note {
    padding: 10px 12px;
    font-size: 13px;
  }

  .section-heading {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .feature-card {
    padding: 20px 18px;
  }

  .privacy-highlights {
    grid-template-columns: 1fr;
  }

  .policy h3 {
    font-size: 14px;
    margin-top: 24px;
  }

  .policy p,
  .policy ul li {
    font-size: 13px;
  }
}

/* Improve tap targets on touch devices */
@media (pointer: coarse), (hover: none) {
  .btn, .tg {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ─── Overlay (behind mobile menu) ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
