/* ============ TOKENS ============ */
:root {
  --bg: #07080c;
  --bg-alt: #0b0d13;
  --panel: #10131b;
  --panel-2: #151924;
  --border: #1f2431;
  --border-bright: #2b3245;
  --text: #e7eaf1;
  --muted: #9aa3b5;
  --accent: #a3e635;
  --accent-dim: #84cc16;
  --accent-ink: #10140a;
  --red: #f87171;
  --cyan: #5eead4;
  --amber: #fbbf24;
  --purple: #c084fc;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;

  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --maxw: 1080px;
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.mono, code, pre {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

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

/* ============ NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; color: var(--accent); }

.brand-mark { width: 26px; height: 26px; color: var(--accent); flex: none; }

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--panel-2); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 50% at 70% -10%, rgba(163, 230, 53, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 110%, rgba(94, 234, 212, 0.08), transparent 60%),
    var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(163, 230, 53, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 230, 53, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-top: clamp(56px, 9vw, 110px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-title .glow {
  color: var(--accent);
  text-shadow: 0 0 28px rgba(163, 230, 53, 0.45);
}

.hero-sub {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 30px;
}

/* countdown */
.countdown {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.countdown-item {
  min-width: 88px;
  padding: 14px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.countdown-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.countdown-caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px rgba(163, 230, 53, 0.28);
}
.btn-primary:hover { background: #b7f04f; }

.btn-ghost {
  border: 1px solid var(--border-bright);
  color: var(--text);
  background: var(--panel);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.fact dt {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}
.fact dd { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ============ SECTIONS ============ */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section h2 { margin-top: 4px; }
.lede {
  max-width: 640px;
  color: var(--muted);
  margin-bottom: 36px;
}

/* ============ TIMELINE ============ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tl-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 22px;
}
.tl-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
  padding-top: 18px;
  line-height: 1.4;
}
.tl-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform 0.15s, border-color 0.15s;
}
.tl-card:hover { transform: translateX(4px); border-color: var(--border-bright); }
.tl-card h3 { margin: 8px 0 6px; }
.tl-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; }

/* ============ TAGS ============ */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tag-training { background: rgba(192, 132, 252, 0.14); color: var(--purple); border: 1px solid rgba(192,132,252,0.35); }
.tag-summit { background: rgba(251, 191, 36, 0.12); color: var(--amber); border: 1px solid rgba(251,191,36,0.35); }
.tag-briefing { background: rgba(163, 230, 53, 0.12); color: var(--accent); border: 1px solid rgba(163,230,53,0.35); }
.tag-business { background: rgba(94, 234, 212, 0.12); color: var(--cyan); border: 1px solid rgba(94,234,212,0.35); }
.tag-defcon { background: rgba(248, 113, 113, 0.12); color: var(--red); border: 1px solid rgba(248,113,113,0.35); }

/* ============ CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card-featured {
  border-color: rgba(163, 230, 53, 0.45);
  background: linear-gradient(180deg, rgba(163, 230, 53, 0.06), var(--panel) 45%);
}
.card h3 { margin: 12px 0 4px; }
.card-price { color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.card-list { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: 0.92rem; }
.card-list li { margin-bottom: 7px; }
.card-list li::marker { color: var(--accent); }
.card-note { font-size: 0.86rem; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 14px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card-plain {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card-plain h3 { color: var(--accent); font-size: 1.02rem; margin-bottom: 8px; }
.card-plain p { color: var(--muted); font-size: 0.94rem; }
.card-plain strong { color: var(--text); }

/* ============ CHECKLIST ============ */
.checklist {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 760px;
}
.check-head {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 22px 0 10px;
}
.check-head:first-child { margin-top: 0; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 12px;
  margin: 0 -12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
}
.check:hover { background: var(--panel-2); }
.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--accent);
  cursor: pointer;
}
.check span { color: var(--muted); font-size: 0.96rem; }
.check.checked span {
  color: var(--text);
  text-decoration: line-through;
  text-decoration-color: var(--accent-dim);
  opacity: 0.55;
}

/* ============ DEFCON ============ */
.defcon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.defcon-half ul { color: var(--muted); }
.defcon .card-list strong { color: var(--text); }

/* subheads inside sections */
.subhead {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 48px 0 18px;
}
.subhead:first-of-type { margin-top: 28px; }

/* ============ MAPS ============ */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.map-wide { grid-column: 1 / -1; }
.map-card {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--panel-2);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
}
.map-card figcaption strong { font-size: 1rem; }
.map-card figcaption span:last-child { color: var(--muted); font-size: 0.88rem; }
.map-note {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--muted);
}

/* ============ TRANSPORT ============ */
.transpo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.transpo .card-plain h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 10px;
}

/* ============ PRICING TABLE ============ */
.table-wrap { overflow-x: auto; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 6px 0 14px;
}
.price-table th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-bright);
}
.price-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
}
.price-table td:first-child { color: var(--text); font-weight: 600; }
.price-table td:nth-child(2) {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}
.price-table tr:last-child td { border-bottom: 0; }

/* ============ VILLAGE TAGS ============ */
.village-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 4px;
}
.village-tag {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-bright);
  background: var(--panel-2);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
}
.defcon-cards .card-list strong { color: var(--text); }

/* ============ FAQ ============ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq p {
  padding: 4px 20px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.faq p em { color: var(--text); }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 34px 0;
}
.footer-inner p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.footer-inner .mono { color: var(--accent); font-size: 0.78rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 22px 18px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }

  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .tl-date { text-align: left; padding-top: 4px; }
  .defcon { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; }
  .map-wide { grid-column: auto; }
}

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