/* Smart Ingress landing — Midnight Console theme */
:root {
  --bg: #060a13;
  --bg-2: #0c1428;
  --surface: #0f1729;
  --surface-2: #16203a;
  --text: #e9eefb;
  --muted: #8d99b5;
  --accent: #4f8cff;
  --accent-hover: #6fa2ff;
  --accent-text: #ffffff;
  --border: #1f2a45;
  --border-strong: #2c3a5c;
  --glow: 0 0 18px rgba(79, 140, 255, .35);
  --glow-soft: 0 0 10px rgba(79, 140, 255, .18);
  --card-shadow: 0 6px 24px rgba(0, 0, 0, .45);
  --radius: 18px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
/* Washed-out gym photo behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("images/gym-bg.jpg") center / cover no-repeat;
  opacity: .14;
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,19,.90) 0%, rgba(12,20,40,.95) 100%);
  z-index: -1;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-text);
  padding: 8px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip:focus { left: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: rgba(10, 16, 32, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-logo { height: 44px; width: 44px; object-fit: contain; }
.brand-name { font-weight: 800; letter-spacing: 3px; font-size: 17px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--accent-text) !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  padding: 8px 18px; border-radius: 999px;
  box-shadow: var(--glow-soft);
}
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 64px 24px 48px;
  position: relative;
}
.hero-inner { max-width: 760px; }
.hero-banner {
  border-radius: 22px;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto 8px;
  box-shadow: 0 0 60px rgba(79,140,255,.35), 0 18px 50px rgba(0,0,0,.45);
}
.hero-banner img { width: 100%; height: auto; display: block; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 84px);
  margin: 16px 0 8px; letter-spacing: 2px; font-weight: 800;
  text-shadow: 0 0 30px rgba(79, 140, 255, .45);
}
.tagline { font-size: clamp(17px, 2.6vw, 22px); color: var(--muted); margin: 0 0 16px; }
.tagline strong { color: var(--text); }
.lede { font-size: 17px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
  padding: 14px 30px; border-radius: 999px; border: none; text-decoration: none;
  display: inline-block; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--accent-text); box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 26px rgba(79,140,255,.55); }
.btn-ghost {
  background: rgba(22, 32, 58, .7); color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.scroll-hint { position: absolute; bottom: 20px; font-size: 28px; color: var(--muted); animation: bob 2s infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(8px);} }

/* ---------- Sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 72px 24px 8px; }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; letter-spacing: .5px; }
.section-sub { color: var(--muted); font-size: 17px; margin: 0 0 32px; }

/* ---------- Cards (console buttons) ---------- */
.card {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 60%);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--card-shadow), var(--glow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--card-shadow), var(--glow); }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 60%);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  box-shadow: var(--card-shadow), var(--glow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.video-card:hover, .video-card:focus-visible { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--card-shadow), var(--glow); outline: none; }
.video-card--soon { cursor: default; opacity: .85; }
.thumb { position: relative; aspect-ratio: 16 / 9; background: #04070d; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb--soon { display: flex; align-items: center; justify-content: center; }
.thumb--soon img { width: 120px; height: 120px; object-fit: contain; opacity: .5; }
.play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(79, 140, 255, .92); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; padding-left: 4px;
  box-shadow: var(--glow);
}
.duration {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(0,0,0,.75); color: #fff; font-size: 12px; font-weight: 700;
  padding: 2px 8px; border-radius: 6px;
}
.soon-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.video-card h3 { margin: 0; padding: 18px 20px 6px; font-size: 18px; }
.video-card p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 14px; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-icon { font-size: 34px; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: var(--glow-soft); margin-bottom: 12px;
}

/* ---------- Clubs & Booking ---------- */
.clubs-card, .booking-card { max-width: 780px; }
.clubs-card p + p, .booking-card p + p { margin-top: 14px; }
.clubs-card strong, .booking-card strong { color: var(--text); }
.card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.card a:hover { color: var(--accent-hover); text-decoration: underline; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.price-card { position: relative; }
.price-card--hot { border-color: var(--accent); }
.hot-badge {
  position: absolute; top: -13px; right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; box-shadow: var(--glow-soft);
}
.price { font-size: 44px; font-weight: 800; margin: 8px 0 0; color: var(--text); }
.per { font-size: 18px; color: var(--muted); font-weight: 600; }
.price-alt { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.price-card ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.price-card li { margin-bottom: 6px; }
.price-card li strong { color: var(--text); }
.fine { color: var(--muted); font-size: 13px; margin-top: 20px; }
.fine--big { text-align: center; font-size: 16px; color: var(--text); }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%; max-width: 860px; margin: 0 auto;
  border-collapse: separate; border-spacing: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; font-size: 15px;
}
.compare th, .compare td { padding: 14px 18px; text-align: left; }
.compare thead th {
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
}
.compare thead th.us { color: #fff; }
.compare tbody tr + tr td { border-top: 1px solid var(--border); }
.compare tbody td:first-child { color: var(--text); font-weight: 600; }
.compare .us { background: rgba(79,140,255,.10); }
.compare thead th.us {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
}
.compare .yes { color: #4ade80; font-weight: 800; font-size: 18px; }
.compare .no { color: var(--muted); }
.compare td.us { text-align: center; }
.compare th.us { text-align: center; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }

/* ---------- Contact ---------- */
.contact-card { max-width: 640px; }
.contact-row { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; border-top: 1px solid var(--border); }
.contact-row:first-of-type { border-top: none; }
.contact-label { width: 70px; flex-shrink: 0; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.contact-big { font-size: 22px; font-weight: 800; color: var(--text); text-decoration: none; }
a.contact-big:hover { color: var(--accent); }
.contact-note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* ---------- Footer ---------- */
.footer {
  text-align: center; padding: 56px 24px 40px; margin-top: 72px;
  border-top: 1px solid var(--border);
  background: rgba(10, 16, 32, .6);
}
.footer-logo { height: 56px; width: 56px; object-fit: contain; }
.footer-brand { font-weight: 700; margin: 12px 0 4px; }
.footer-tag { color: var(--muted); font-style: italic; margin: 0 0 12px; }
.footer-contact a { color: var(--accent); text-decoration: none; font-weight: 700; }
.footer-copy { color: var(--muted); font-size: 13px; margin: 16px 0 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(3,5,10,.9); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-box { position: relative; width: 100%; max-width: 960px; }
.lightbox-box video { width: 100%; border-radius: var(--radius-sm); background: #000; box-shadow: var(--glow); }
.lightbox-close {
  position: absolute; top: -48px; right: 0;
  background: none; border: none; color: #fff; font-size: 40px; cursor: pointer; line-height: 1;
}
.lightbox-close:hover { color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .video-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 16, 32, .97); border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; }
  .nav-cta { margin: 8px 24px 12px; text-align: center; }
  .video-grid, .feature-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .section { padding-top: 56px; }
  .contact-row { flex-direction: column; gap: 4px; }
}
