:root {
  --bg: #05070f;
  --bg2: #0a0f1e;
  --surface: #0d1428;
  --surface2: #111a33;
  --tile: #0e1526;
  --border: rgba(120, 150, 255, 0.14);
  --text: #f2f5ff;
  --muted: #9aa7c7;
  --blue: #2f7bff;
  --blue-lt: #5aa2ff;
  --gold: #d4a24e;
  --gold-lt: #f0c778;
  --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}

.hero-logo {
  display: block;
  width: min(460px, 82vw);
  height: auto;
  margin: 0 auto 30px;
  border-radius: 18px;
  box-shadow: 0 0 90px rgba(212, 162, 78, 0.22), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.footer-logo {
  height: 64px;
  width: auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: #0a0f1e;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold) 60%, #a87b28);
  box-shadow: 0 4px 18px rgba(212, 162, 78, 0.35);
}

.brand-name {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.5px;
}

.brand-name span { color: var(--gold); }

.nav-links { display: flex; gap: 24px; }

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 1px solid transparent;
}

.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1a56d6);
  color: #fff;
  box-shadow: 0 8px 28px rgba(47, 123, 255, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(47, 123, 255, 0.5); }

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue-lt); }

.nav .btn {
  background: linear-gradient(135deg, var(--blue), #1a56d6);
  color: #fff;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 110px 24px 90px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 900px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.subline {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- STATS ---------- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--blue-lt), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label {
  font-size: 13.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

/* ---------- SECTIONS ---------- */
.section { padding: 90px 24px; max-width: 1200px; margin: 0 auto; }
.section-alt { max-width: none; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(34px, 5vw, 54px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* ---------- FLAGSHIP ---------- */
.flagship { padding: 90px 24px 20px; max-width: 1200px; margin: 0 auto; }

.flagship-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.flagship-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 90% 10%, rgba(47, 123, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.flagship-copy { position: relative; }
.flagship-copy h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 900; letter-spacing: -1px; margin-bottom: 14px; }
.flagship-copy p { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; max-width: 480px; }

.price-row { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }

.flagship-logo {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.flagship-logo img { max-width: 100%; height: auto; max-height: 220px; object-fit: contain; }

/* ---------- GRID / CARDS ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}

.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(90, 162, 255, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(90, 162, 255, 0.12);
}

.logo-tile {
  height: 112px;
  background: var(--tile);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-tile svg { max-width: 100%; max-height: 100%; }

.wordmark { font-weight: 900; font-size: 30px; letter-spacing: -1px; }

.wordmark-shouthype {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.wordmark-sfltoday { color: #0ea5e9; }
.wordmark-sflcoolevents { color: #ec4899; }
.wordmark-fightmia { color: #dc2626; }
.wordmark-dadeclean { color: #059669; }

.card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.4px; }

.tagline { color: var(--muted); font-size: 15px; flex: 1; }

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.price {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--gold-lt);
  background: rgba(212, 162, 78, 0.1);
  border: 1px solid rgba(212, 162, 78, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.price em { font-style: normal; font-weight: 600; font-size: 12px; opacity: 0.8; }
.price.hot { color: #fff; background: rgba(47, 123, 255, 0.16); border-color: rgba(90, 162, 255, 0.4); }

.card-foot a {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--blue-lt);
  text-decoration: none;
  white-space: nowrap;
}

.card-foot a:hover { text-decoration: underline; }

/* ---------- ABOUT ---------- */
.about { text-align: center; }
.about-inner { max-width: 760px; margin: 0 auto; }
.about-inner h2 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 900; letter-spacing: -1px; margin-bottom: 18px; }
.about-inner p { color: var(--muted); font-size: 17px; margin-bottom: 30px; }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 56px 24px 40px;
  text-align: center;
}

.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; align-items: center; }

.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 1.5px; font-size: 14px; margin-bottom: 8px; }

footer p { color: var(--muted); font-size: 14px; }
footer a { color: var(--blue-lt); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.made { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .card:hover { transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .flagship-inner { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
  .nav-links { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .hero { padding: 80px 20px 64px; }
  .section { padding: 64px 20px; }
}
