/* SHIFTRAX — standalone site styles */

:root {
  --bg: #0b0b0b;
  --bg-alt: #121212;
  --bg-card: #161616;
  --line: rgba(255, 255, 255, 0.08);
  --red: #c71330;
  --red-bright: #ff2c4e;
  --white: #f5f5f5;
  --gray: #a3a3a3;
  --gray-dim: #6b6b6b;

  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;

  --wrap: 1140px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Headings ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin: 0 0 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: #fff; color: #0b0b0b; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 20px 40px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(11, 11, 11, 0.75);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 10px;
}
.brand::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(245, 245, 245, 0.8) 0%, rgba(245, 245, 245, 0.4) 55%, transparent 80%);
  filter: blur(6px);
  z-index: 0;
}
.brand-logo {
  position: relative;
  z-index: 1;
  height: 36px;
  width: auto;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.25));
}

.site-nav ul {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--white); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 16px;
  margin: 0 auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.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;
  padding: 120px 0 90px;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.rink-lines {
  position: absolute;
  inset: -20% -10%;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(25deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 140px);
  transform: rotate(-2deg);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}
.glow-red {
  width: 520px; height: 520px;
  background: var(--red);
  top: -180px; right: -120px;
}
.glow-dim {
  width: 420px; height: 420px;
  background: #3a3a3a;
  bottom: -220px; left: -140px;
  opacity: 0.4;
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 8px 16px;
  margin: 0 0 28px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
}

.hero-title {
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--red); }

.hero-copy {
  max-width: 560px;
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.stat-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat-ticker li {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dim);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 50px;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.lede {
  font-size: 18px;
  color: var(--gray);
  max-width: 640px;
}

.about { border-top: 1px solid var(--line); }
.about-grid .lede { font-size: 20px; color: var(--white); }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px 26px;
  transition: background 0.25s ease;
}
.feature-card:hover { background: #1b1b1b; }

.feature-index {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--red-bright);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray);
  margin: 0;
}

/* ---------- Video ---------- */
.video-section { border-top: 1px solid var(--line); }

.video-frame {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}

.video-fallback {
  max-width: 860px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-dim);
}
.video-fallback a {
  color: var(--red-bright);
  border-bottom: 1px solid transparent;
}
.video-fallback a:hover { border-color: var(--red-bright); }

.lite-youtube {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}
.lite-youtube-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.lite-youtube-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 12px rgba(199, 19, 48, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}
.lite-youtube:hover .lite-youtube-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--red-bright);
}
.lite-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Notify / CTA ---------- */
.notify {
  border-top: 1px solid var(--line);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(199,19,48,0.06));
}
.notify-inner { max-width: 640px; margin: 0 auto; }
.notify .kicker { text-align: center; }
.notify h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; }
.notify .lede { margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 64px;
  background: var(--bg-alt);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand-logo-wrap {
  position: relative;
  display: inline-flex;
  padding: 6px 14px;
  margin-left: -14px;
  border-radius: 999px;
}
.footer-brand-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(245, 245, 245, 0.8) 0%, rgba(245, 245, 245, 0.4) 55%, transparent 80%);
  filter: blur(6px);
  z-index: 0;
}
.footer-brand img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.25));
}

.footer-brand p {
  color: var(--gray);
  font-size: 14px;
  margin-top: 14px;
}

.footer-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin: 0 0 12px;
}

.footer-contact a {
  font-size: 16px;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.footer-contact a:hover { border-color: var(--red-bright); color: var(--red-bright); }

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gray);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social-links a:hover {
  color: var(--red-bright);
  border-color: var(--red-bright);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-dim);
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-nav.is-open { max-height: 320px; }
  .site-nav ul {
    flex-direction: column;
    padding: 12px 24px 24px;
    gap: 4px;
  }
  .site-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }

  .hero { padding: 90px 0 60px; }
  .section { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
