:root {
  --orange: #ff7300;
  --orange-light: #ff9a33;
  --orange-glow: rgba(255, 115, 0, 0.35);
  --orange-dim: rgba(255, 115, 0, 0.12);
  --bg: #0a0a0c;
  --bg-elevated: #121216;
  --card: #16161c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f6;
  --muted: #9a9aa3;
  --ring-size: min(72vw, 520px);
  --orbit-size: min(92vw, 680px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, var(--orange-dim), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(255, 115, 0, 0.06), transparent);
}

.grid-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.brand span {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

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

/* Hero */
.hero {
  padding: 24px 0 72px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-light);
  background: var(--orange-dim);
  border: 1px solid rgba(255, 115, 0, 0.2);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Circular video carousel */
.orbit-stage {
  position: relative;
  z-index: 1;
  width: var(--orbit-size);
  height: var(--orbit-size);
  margin: 0 auto 24px;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 30;
  padding-top: 12px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 115, 0, 0.15);
  animation: spin-slow 80s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

#orbit {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: var(--card);
  cursor: pointer;
  pointer-events: auto;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.25s, box-shadow 0.25s, opacity 0.25s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.orbit-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.orbit-item:hover {
  border-color: var(--orange);
  box-shadow: 0 0 24px var(--orange-glow);
  z-index: 5;
}

.orbit-item.active-orbit {
  border-color: var(--orange);
  box-shadow: 0 0 28px var(--orange-glow);
  transform: scale(1.12);
  z-index: 6;
}

.orbit-item.dimmed { opacity: 0.55; }

.center-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ring-size);
  height: var(--ring-size);
  margin: calc(var(--ring-size) / -2) 0 0 calc(var(--ring-size) / -2);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 115, 0, 0.45);
  box-shadow:
    0 0 0 8px rgba(255, 115, 0, 0.08),
    0 0 60px var(--orange-glow),
    inset 0 0 40px rgba(0, 0, 0, 0.3);
  background: #000;
  z-index: 10;
}

.center-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.65) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  pointer-events: none;
  z-index: 11;
}

.center-overlay .exercise-name {
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

.center-overlay .exercise-meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--orange-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.center-overlay .timer-hint {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.orbit-dots {
  position: relative;
  z-index: 25;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -8px;
  margin-bottom: 20px;
}

.orbit-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.orbit-dots button.active {
  background: var(--orange);
  transform: scale(1.25);
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}

h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: none;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #fff;
  box-shadow: 0 8px 28px var(--orange-glow);
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange-light);
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
section { padding: 72px 0; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature:hover {
  border-color: rgba(255, 115, 0, 0.3);
  transform: translateY(-2px);
}

.feature .icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

/* Video strip */
.video-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.video-strip::-webkit-scrollbar { height: 6px; }
.video-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 115, 0, 0.3);
  border-radius: 3px;
}

.strip-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
}

.strip-card video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
}

.strip-card figcaption {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Pricing */
.pricing {
  text-align: center;
  background: linear-gradient(180deg, var(--card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 32px;
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--orange-dim), transparent 70%);
  pointer-events: none;
}

.pricing .amount {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.pricing .tagline {
  color: var(--muted);
  margin-top: 8px;
  position: relative;
}

.pricing .note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  position: relative;
}

/* Footer */
footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

footer a:hover { color: var(--orange-light); }

.footer-links { display: flex; gap: 20px; }

.loading-msg {
  color: var(--muted);
  font-size: 14px;
  padding: 40px;
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .orbit-item { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .center-overlay { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-ring { animation: none; }
  .badge::before { animation: none; }
}