/* ============================================================
   HOUSE OF ALPHA FITNESS — Premium Dark Theme
   Inspiration: Gymshark, MyProtein, Future, Centr
   ============================================================ */

:root {
  /* Core palette */
  --bg-0:        #050507;
  --bg-1:        #0a0a0f;
  --bg-2:        #11111a;
  --bg-3:        #1a1a26;
  --line:        rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);

  /* Text */
  --text:        #f5f5f7;
  --text-dim:    #a8a8b3;
  --text-muted:  #6b6b78;

  /* Accent — electric lime + crimson */
  --accent:        #d4ff00;          /* electric alpha lime */
  --accent-2:      #ff2e4d;          /* alpha crimson */
  --accent-glow:   rgba(212, 255, 0, 0.45);
  --accent-2-glow: rgba(255, 46, 77, 0.4);

  /* Gradients */
  --grad-accent:  linear-gradient(135deg, #d4ff00 0%, #b8e600 100%);
  --grad-fire:    linear-gradient(135deg, #ff2e4d 0%, #ff7a00 100%);
  --grad-dark:    linear-gradient(180deg, #0a0a0f 0%, #050507 100%);

  /* Type */
  --font-display: 'Bebas Neue', 'Inter', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'Space Grotesk', monospace;

  /* Layout */
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.6);
  --container: 1280px;
}

/* ===== Reset ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; background: none; border: 0; outline: 0; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  white-space: nowrap; transition: all .25s ease;
  cursor: pointer;
}
.btn-lg { padding: 18px 34px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--grad-accent);
  color: #0a0a0f;
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px var(--accent-glow); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: var(--accent); color: var(--accent); }

.btn-ghost { color: var(--text); padding: 10px 18px; }
.btn-ghost:hover { color: var(--accent); }

/* ===== Announcement Bar ===== */
.announcement-bar {
  position: relative;
  background: var(--accent);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
  height: 36px;
  display: flex; align-items: center;
}
.announcement-track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: marquee 30s linear infinite;
  padding-left: 60px;
}
.announcement-track span { display: inline-flex; align-items: center; gap: 8px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Navbar ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,5,7,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.navbar.scrolled { background: rgba(5,5,7,0.92); }

.nav-container {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 0.04em;
}
.brand-mark {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--accent); color: #0a0a0f;
  border-radius: 10px;
  font-weight: 900; font-size: 14px;
  font-family: var(--font-body);
  letter-spacing: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 6px 20px var(--accent-glow);
}
img.brand-mark {
  background: none;
  box-shadow: none;
  object-fit: contain;
}
.brand-text { color: var(--text); }
.brand-accent { color: var(--accent); }

.nav-links {
  display: flex; gap: 32px;
  font-size: 14px; font-weight: 500;
}
.nav-links a {
  color: var(--text-dim);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent);
  transition: width .3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

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

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  width: 32px; padding: 8px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text);
  transition: transform .3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: 60px 24px 120px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) contrast(1.1) brightness(0.55);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(212,255,0,0.10), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,46,77,0.08), transparent 50%),
    linear-gradient(180deg, rgba(5,5,7,0.7) 0%, rgba(5,5,7,0.5) 50%, rgba(5,5,7,1) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  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: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-content {
  max-width: var(--container); margin: 0 auto;
  width: 100%;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--text-dim);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
  animation: fadeUp .8s ease;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 12px rgba(212,255,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,255,0,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.25s; }
.hero-title .line:nth-child(3) { animation-delay: 0.4s; }
.line-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  max-width: 580px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s 0.55s forwards;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; max-width: 720px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 6px;
}

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== Marquee Section ===== */
.marquee-section {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex; gap: 60px; align-items: center;
  font-family: var(--font-display);
  font-size: 36px; letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee-track i { color: var(--accent); font-size: 24px; }

/* ===== Section Heading ===== */
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
  margin-bottom: 20px;
}
.eyebrow span {
  width: 24px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.text-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  color: var(--text-dim); font-size: 17px;
  max-width: 600px; margin: 0 auto;
}

/* ===== Features ===== */
.features { padding: 120px 0; background: var(--bg-0); }
.features-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr 1fr;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s ease, border-color .3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }

.feature-media {
  position: relative; height: 320px;
  overflow: hidden;
}
.feature-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.7) contrast(1.1);
  transition: transform .8s ease;
}
.feature-card:hover .feature-media img { transform: scale(1.06); }

.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent); color: #0a0a0f;
  font-size: 24px;
  display: grid; place-items: center;
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulseBig 2.5s infinite;
  transition: transform .3s;
}
.play-btn:hover { transform: translate(-50%,-50%) scale(1.1); }
@keyframes pulseBig {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 30px rgba(212,255,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,255,0,0); }
}

.feature-tag {
  position: absolute; top: 20px; left: 20px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.7); border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}
.feature-tag i { color: var(--accent); margin-right: 6px; }
.feature-tag-ai i { color: var(--accent-2); }

.feature-body { padding: 40px 36px 44px; }
.feature-num {
  display: inline-block;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.feature-body h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.feature-body > p {
  color: var(--text-dim);
  margin-bottom: 22px;
}
.feature-list {
  margin-bottom: 28px;
}
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 8px 0;
  color: var(--text-dim);
  font-size: 15px;
}
.feature-list i {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(212,255,0,0.15); color: var(--accent);
  display: grid; place-items: center;
  font-size: 10px; flex-shrink: 0;
  margin-top: 4px;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--accent);
  font-size: 14px;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: gap .25s;
}
.link-arrow:hover { gap: 14px; border-bottom-color: var(--accent); }

/* AI Mock chat in feature card */
.ai-mock {
  height: 100%;
  background: linear-gradient(135deg, #0e0e18 0%, #1a1a2e 100%);
  display: flex; flex-direction: column;
  font-family: var(--font-mono);
  position: relative;
}
.ai-mock::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,46,77,0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(212,255,0,0.12), transparent 50%);
  pointer-events: none;
}
.ai-mock-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  position: relative; z-index: 1;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c840; }
.ai-title { margin-left: auto; color: var(--text-dim); font-weight: 600; }
.ai-title i { color: var(--accent-2); margin-right: 4px; }

.ai-mock-body {
  flex: 1; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px;
  position: relative; z-index: 1;
  overflow-y: auto;
}
.ai-msg {
  padding: 12px 16px; border-radius: 14px;
  max-width: 85%; line-height: 1.5;
  animation: msgIn .4s ease;
}
.ai-msg.user {
  align-self: flex-end;
  background: var(--accent); color: #0a0a0f;
  border-bottom-right-radius: 4px;
}
.ai-msg.bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.ai-msg.bot strong { color: var(--accent); }
.ai-msg em { color: var(--text-muted); font-style: normal; font-size: 11px; }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ai-typing {
  display: inline-flex; gap: 4px; padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 14px; align-self: flex-start;
}
.ai-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: typing 1.4s infinite ease-in-out;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* ===== Categories ===== */
.categories { padding: 120px 0; background: var(--bg-1); }
.cat-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.cat-card {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .4s ease;
}
.cat-card:hover { transform: translateY(-6px); }
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.3) brightness(0.7);
  transition: transform .8s ease, filter .4s;
}
.cat-card:hover img { transform: scale(1.08); filter: grayscale(0) brightness(0.85); }

.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,7,0.95) 0%, rgba(5,5,7,0.3) 50%, transparent 100%);
}
.cat-info {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.cat-count {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600;
}
.cat-info h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.02em;
}
.cat-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  backdrop-filter: blur(8px);
  transition: all .3s;
}
.cat-card:hover .cat-arrow {
  background: var(--accent); color: #0a0a0f;
  border-color: var(--accent);
  transform: rotate(-45deg);
}

/* ===== How It Works ===== */
.how { padding: 120px 0; background: var(--bg-0); }
.steps {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
.step {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .3s;
}
.step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.step-num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.step-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(212,255,0,0.1);
  display: grid; place-items: center;
  color: var(--accent); font-size: 22px;
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: 0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.step p { color: var(--text-dim); font-size: 14px; }

/* ===== AI Demo Section ===== */
.ai-demo {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(255,46,77,0.08), transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(212,255,0,0.06), transparent 50%),
    var(--bg-1);
  position: relative;
}
.ai-demo-grid {
  display: grid; gap: 60px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.ai-demo .section-title { font-size: clamp(36px, 4.5vw, 60px); margin-bottom: 24px; }
.ai-demo .eyebrow { justify-content: flex-start; }
.ai-features {
  margin: 36px 0 36px;
  display: flex; flex-direction: column; gap: 20px;
}
.ai-features li {
  display: flex; gap: 16px;
  font-size: 15px; color: var(--text-dim);
}
.ai-features strong { color: var(--text); }
.ai-feat-icon {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(212,255,0,0.1); color: var(--accent);
  display: grid; place-items: center;
  font-size: 16px;
}

.ai-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.ai-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), transparent 50%);
  opacity: 0.4; z-index: -1;
}
.ai-card-header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.ai-card-header i { color: var(--accent); margin-right: 6px; }
.badge-live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(212,255,0,0.1); color: var(--accent);
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.1em;
}

.ai-form { display: flex; flex-direction: column; gap: 14px; }
.ai-form .row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.ai-form label {
  display: flex; flex-direction: column; gap: 6px;
}
.ai-form label.full { grid-column: 1 / -1; }
.ai-form span {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
}
.ai-form input, .ai-form select {
  padding: 13px 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  transition: border-color .2s;
}
.ai-form input:focus, .ai-form select:focus { border-color: var(--accent); }
.ai-form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='%23a8a8b3' d='M6 9L1 4h10z'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.ai-form button { margin-top: 6px; }

.ai-result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  animation: fadeUp .5s ease;
}
.ai-result-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.ai-result-head h4 {
  font-family: var(--font-display); font-size: 22px; letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-ai {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--grad-fire); color: #fff;
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.05em; font-weight: 600;
}
.macros {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 18px;
}
.macro {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}
.macro span {
  display: block; font-family: var(--font-display);
  font-size: 24px; color: var(--accent);
}
.macro small {
  display: block; font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 4px;
}
.ai-meal {
  background: rgba(212,255,0,0.05);
  border: 1px dashed rgba(212,255,0,0.3);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.ai-meal strong { color: var(--accent); }

/* ===== Coaches ===== */
.coaches { padding: 120px 0; background: var(--bg-0); }
.coaches-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.coach {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s;
}
.coach:hover { transform: translateY(-6px); border-color: var(--accent); }
.coach-img {
  height: 360px; overflow: hidden;
  position: relative;
}
.coach-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,7,0.7), transparent 50%);
}
.coach-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.2);
  transition: transform .8s ease, filter .4s;
}
.coach:hover .coach-img img { transform: scale(1.06); filter: grayscale(0); }

.coach-info { padding: 26px 28px 30px; }
.coach-spec {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase;
}
.coach-info h3 {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: 0.02em;
  margin: 8px 0 10px;
  text-transform: uppercase;
}
.coach-info p {
  color: var(--text-dim); font-size: 14px;
  margin-bottom: 18px;
}
.coach-stats {
  display: flex; gap: 18px;
  font-size: 13px; color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.coach-stats i { color: var(--accent); margin-right: 6px; }

/* ===== Pricing ===== */
.pricing {
  padding: 120px 0;
  background: var(--bg-1);
  position: relative;
}
.billing-toggle {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 28px;
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
}
.billing-toggle .active { color: var(--text); font-weight: 600; }
.toggle-switch {
  width: 52px; height: 28px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}
.toggle-switch span {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform .25s;
}
.toggle-switch.on span { transform: translateX(24px); }
.save-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-2); color: #fff;
  border-radius: 999px;
  font-size: 10px; letter-spacing: 0.1em;
  font-style: normal; font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.pricing-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.plan {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.plan-popular {
  border-color: var(--accent);
  background:
    radial-gradient(ellipse at top, rgba(212,255,0,0.08), transparent 70%),
    var(--bg-2);
  transform: scale(1.02);
}
.plan-popular:hover { transform: scale(1.02) translateY(-4px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--accent); color: #0a0a0f;
  border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  white-space: nowrap;
}
.plan-popular .popular-badge i { margin-right: 4px; }
.plan h3 {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.plan-tag {
  color: var(--text-muted); font-size: 13px;
  margin-top: 4px; margin-bottom: 24px;
}
.price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.price .currency { font-size: 22px; color: var(--text-dim); font-weight: 600; }
.price .amount {
  font-family: var(--font-display);
  font-size: 64px; line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price .period { color: var(--text-muted); font-size: 14px; }
.plan-feats {
  flex: 1;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px;
}
.plan-feats li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-dim);
}
.plan-feats i {
  color: var(--accent); width: 18px; flex-shrink: 0;
  margin-top: 4px; font-size: 12px;
}
.plan-feats li.muted { color: var(--text-muted); }
.plan-feats li.muted i { color: var(--text-muted); }

.payment-note {
  text-align: center;
  margin-top: 36px;
  font-size: 13px; color: var(--text-muted);
}
.payment-note i { color: var(--accent); margin-right: 6px; }

/* ===== Testimonials ===== */
.testimonials { padding: 120px 0; background: var(--bg-0); }
.testi-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.testi {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .3s, transform .3s;
}
.testi:hover { border-color: var(--accent); transform: translateY(-4px); }
.testi-stars { color: var(--accent); font-size: 18px; margin-bottom: 18px; letter-spacing: 2px; }
.testi p {
  font-size: 16px; line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
}
.testi-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-accent); color: #0a0a0f;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
}
.testi-author strong { display: block; font-size: 14px; }
.testi-author span { font-size: 12px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq { padding: 120px 0; background: var(--bg-1); }
.faq-container { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  padding: 22px 26px;
  font-weight: 600; font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.05); color: var(--accent);
  display: grid; place-items: center;
  font-size: 12px;
  transition: transform .3s, background .3s;
}
.faq-item[open] summary i { transform: rotate(45deg); background: var(--accent); color: #0a0a0f; }
.faq-body { padding: 0 26px 24px; color: var(--text-dim); font-size: 15px; }

/* ===== Final CTA ===== */
.final-cta { padding: 80px 0 120px; background: var(--bg-0); }
.cta-card {
  position: relative;
  padding: 80px 40px;
  background:
    radial-gradient(ellipse at center, rgba(212,255,0,0.08), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(212,255,0,0.15), transparent 60%);
  pointer-events: none;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1; letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.cta-card p { color: var(--text-dim); font-size: 17px; max-width: 480px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: var(--bg-1); border-top: 1px solid var(--line); padding: 80px 0 0; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--text-dim); font-size: 14px;
  margin: 18px 0 24px; max-width: 320px;
}
.footer-brand .brand { margin-bottom: 8px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--text-dim); font-size: 14px;
  transition: all .3s;
}
.socials a:hover { background: var(--accent); color: #0a0a0f; border-color: var(--accent); }
.footer h4 {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text); margin-bottom: 18px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  color: var(--text-dim); font-size: 14px;
  transition: color .2s;
}
.footer ul a:hover { color: var(--accent); }
.footer .muted { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.app-buttons { display: flex; flex-direction: column; gap: 8px; }
.app-btn {
  padding: 10px 14px;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.app-btn:hover { border-color: var(--accent); color: var(--accent); }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.footer-bottom-row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--text-muted);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid, .ai-demo-grid, .pricing-grid, .coaches-grid, .testi-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan-popular { transform: none; }
  .plan-popular:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-container { height: 64px; }

  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bg-0);
    padding: 32px 24px;
    gap: 24px;
    font-size: 24px;
    border-top: 1px solid var(--line);
    z-index: 99;
  }

  .hero { min-height: auto; padding: 60px 20px 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .scroll-cue { display: none; }

  .features, .categories, .how, .ai-demo, .coaches, .pricing, .testimonials, .faq, .final-cta { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .feature-body { padding: 28px 24px 32px; }
  .feature-media { height: 240px; }

  .cat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .cta-card { padding: 56px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Utility / small helpers ===== */
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #0a0a0f; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-strong); }
