/* ============================================================
   products.css — Alpha X page
   Video section + social links styles
   ============================================================ */

/* ── Gold pulse on the hero X ──────────────────────────────── */
body.products-page .alpha-hero h1 .highlight {
    display: inline-block;
    animation: goldPulse 3s ease-in-out infinite;
  }
  
  body.products-page section {
    scroll-margin-top: 70px;
  }
  
  #pricing {
    scroll-margin-top: 90px;
  }
  
  /* ============================================================
     VIDEO SECTION
     ============================================================ */
  
  .video-section {
    padding: 110px 0 90px;
    
    
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  /* subtle grid */
  .video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(90deg,  transparent 0px, transparent 79px, rgb(0, 0, 0) 80px),
      repeating-linear-gradient(180deg, transparent 0px, transparent 79px, rgb(0, 0, 0) 80px);
    pointer-events: none;
  }
  
  .video-section .container {
    position: relative;
    z-index: 2;
  }
  
  /* Section monospace label */
  .video-section-label {
    font-family: var(--font-body);
    font-size: 0.70rem;
    letter-spacing: 0.26em;
    color: rgba(255,215,0,0.40);
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  
  /* Title */
  .video-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--text);
    letter-spacing: 0.04em;
    margin-bottom: 12px;
  }
  
  /* Subtitle */
  .video-section-sub {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto 48px;
  }
  
  /* ── Video Wrapper ─────────────────────────────────────────── */
  .video-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto 60px;
    border-radius: 16px;
    overflow: hidden;
    
    background: #000;
    aspect-ratio: 16 / 9;
  }
  
  /* Animated gold ring glow */
  .video-ring {
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,215,0,0.5), transparent 40%, rgba(255,215,0,0.3) 70%, transparent);
    z-index: 0;
    animation: ringRotate 4s linear infinite;
    opacity: 0.5;
    pointer-events: none;
  }
  
  @keyframes ringRotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* The actual video / iframe */
  .main-video-frame {
    position: absolute;
    inset: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 14px;
    border: none;
    z-index: 1;
    display: block;
  }
  
  /* ── Play Overlay ──────────────────────────────────────────── */
  .video-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    border-radius: 14px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  
  .video-play-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  
  .play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(255,215,0,0.5);
    animation: playPulse 2s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s;
    margin-bottom: 14px;
  }
  
  .play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(255,215,0,0.6);
    animation: none;
  }
  
  .play-icon {
    font-size: 1.8rem;
    color: #000;
    margin-left: 5px;
    line-height: 1;
  }
  
  .play-label {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
  }
  
  @keyframes playPulse {
    0%   { box-shadow: 0 0 0 0   rgba(255,215,0,0.55); }
    50%  { box-shadow: 0 0 0 18px rgba(255,215,0,0.0);  }
    100% { box-shadow: 0 0 0 0   rgba(255,215,0,0.55); }
  }
  
  /* ── More Videos / Social Links ────────────────────────────── */
  .video-more {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .video-more-text {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 28px;
    font-weight: 300;
    line-height: 1.6;
  }
  
  .social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Base social button */
  .social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 1.5px solid;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease,
                background 0.3s, color 0.3s, border-color 0.3s;
  }
  
  .social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.06);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .social-btn:hover::before { opacity: 1; }
  .social-btn:hover { transform: translateY(-3px); }
  
  .social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  
  .social-arrow {
    margin-left: auto;
    padding-left: 8px;
    font-size: 1rem;
    transition: transform 0.3s ease;
  }
  .social-btn:hover .social-arrow { transform: translateX(4px); }
  
  /* YouTube button */
  .youtube-btn {
    background: rgba(255, 0, 0, 0.08);
    border-color: rgba(255, 80, 80, 0.35);
    color: #ff6b6b;
  }
  .youtube-btn:hover {
    background: rgba(255, 0, 0, 0.18);
    border-color: rgba(255, 80, 80, 0.7);
    color: #ff4444;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.25);
  }
  
  /* Instagram button */
  .instagram-btn {
    background: rgba(228, 64, 95, 0.08);
    border-color: rgba(228, 64, 95, 0.35);
    color: #e4405f;
  }
  .instagram-btn:hover {
    background: rgba(228, 64, 95, 0.18);
    border-color: rgba(228, 64, 95, 0.7);
    color: #e4405f;
    box-shadow: 0 8px 32px rgba(228, 64, 95, 0.25);
  }
   .facebook-btn {
    background: rgba(228, 64, 95, 0.08);
    border-color: rgba(228, 64, 95, 0.35);
    color: #e4405f;
  }
  .facebook-btn:hover {
    background: rgba(228, 64, 95, 0.18);
    border-color: rgba(228, 64, 95, 0.7);
    color: #e4405f;
    box-shadow: 0 8px 32px rgba(228, 64, 95, 0.25);
  }
  /* ── Responsive ────────────────────────────────────────────── */
  @media (max-width: 768px) {
    .video-section { padding: 80px 0 60px; }
    .video-wrapper { margin-bottom: 40px; }
    .play-btn { width: 64px; height: 64px; }
    .play-icon { font-size: 1.4rem; }
    .social-links { flex-direction: column; align-items: center; }
    .social-btn { width: 100%; max-width: 300px; justify-content: center; }
  }
  
  @media (max-width: 480px) {
    .video-section-title { font-size: 2rem; }
  }

  /* ============================================================
   TCA — The Candlestick Academy
   PRODUCTS.CSS  |  Alpha X page only
   Requires: styles.css loaded first
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   ALPHA HERO
───────────────────────────────────────────────────────────── */
.alpha-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255,215,0,0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #0e0e0e 100%);
}

.alpha-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg,  transparent 0px, transparent 79px, rgba(255,215,0,0.025) 80px),
    repeating-linear-gradient(180deg, transparent 0px, transparent 79px, rgba(255,215,0,0.025) 80px);
  pointer-events: none;
}

.alpha-hero .container { position: relative; z-index: 2; }

/* Two-column grid */
.alpha-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Left: Media Box ── */
.alpha-hero-media {
  position: relative;
  animation: fadeUp 0.9s 0.1s var(--ease) both;
}

.alpha-hero-media::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(135deg, rgba(255,215,0,0.35), transparent 50%, rgba(255,215,0,0.15));
  z-index: 0;
}

.media-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.75),
    0 0 40px var(--accent-glow),
    inset 0 0 0 1px rgba(255,215,0,0.06);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.media-wrap:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 52px 120px rgba(0,0,0,0.8), 0 0 64px var(--accent-glow);
}

.media-wrap video,
.media-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.9);
  transition: transform 0.6s var(--ease), filter 0.5s;
}
.media-wrap:hover video,
.media-wrap:hover img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}

.media-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.35) 0%, transparent 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Play button */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.3s;
  color: antiquewhite;
}

.play-btn {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 24px var(--accent-glow), 0 0 48px var(--accent-glow);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.play-btn svg {
  width: 28px; height: 28px;
  fill: var(--accent);
  margin-left: 4px;
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.6));
}
.media-wrap:hover .play-btn {
  background: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow), 0 0 80px var(--accent-glow);
  transform: scale(1.12);
}
.media-wrap:hover .play-btn svg { fill: var(--bg); filter: none; }

.play-btn::before,
.play-btn::after {
  content: '';
  position: absolute;
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,215,0,0.35);
  animation: rippleRing 2.2s ease-out infinite;
}
.play-btn::after {
  border-color: rgba(255,215,0,0.18);
  animation-delay: 0.7s;
}

/* Corner labels */
.media-corner {
  position: absolute;
  z-index: 3;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,215,0,0.55);
  pointer-events: none;
}
.media-corner.top-left  { top: 14px; left: 16px; }
.media-corner.top-right { top: 14px; right: 16px; text-align: right; }

/* Live badge */
.media-live-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,10,10,0.80);
  border: 1px solid rgba(255,215,0,0.25);
  backdrop-filter: blur(12px);
  border-radius: 6px;
  padding: 8px 14px;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #FFD700;
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}
.media-live-badge span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Corner brackets */
.alpha-hero-media .corner-tl,
.alpha-hero-media .corner-br {
  position: absolute;
  width: 24px; height: 24px;
  pointer-events: none;
  z-index: 4;
}
.alpha-hero-media .corner-tl {
  top: -10px; left: -10px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  opacity: 0.6;
}
.alpha-hero-media .corner-br {
  bottom: -10px; right: -10px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  opacity: 0.6;
}

/* ── Right: Content ── */
.alpha-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.alpha-hero-content .hero-label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  color: rgba(255,215,0,0.45);
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeUp 0.8s var(--ease) both;
}
.alpha-hero-content h1        { animation: fadeUp 0.8s 0.05s var(--ease) both; margin-bottom: 0; }
.alpha-hero-content .alpha-sub { animation: fadeUp 0.8s 0.15s var(--ease) both; }

.alpha-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.07em;
  max-width: 520px;
  margin: 18px 0 40px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
  animation: fadeUp 0.8s 0.25s var(--ease) both;
}

/* Stat pills */
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  animation: fadeUp 0.8s 0.35s var(--ease) both;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1;
}
.hero-stat span {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-stats-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* Gold pulse on highlight */
body.products-page .alpha-hero h1 .highlight {
  display: inline-block;
  animation: goldPulse 3s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────────
   ALPHA ABOUT
───────────────────────────────────────────────────────────── */
.alpha-about {
  padding: 110px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.alpha-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Left image */
.alpha-about-image { position: relative; }

.alpha-about-image .img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 30px var(--accent-glow);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.alpha-about-image .img-wrap:hover {
  transform: scale(1.02) rotate(-0.5deg);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 50px var(--accent-glow);
}
.alpha-about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.05);
  transition: filter 0.5s;
}
.alpha-about-image .img-wrap:hover img { filter: saturate(1) contrast(1.1); }
.alpha-about-image .img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,10,10,0.65) 100%);
  pointer-events: none;
}

.alpha-about-image .img-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  z-index: 2;
  background: rgba(10,10,10,0.82);
  border: 1px solid rgba(255,215,0,0.30);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alpha-about-image .img-badge .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}
.alpha-about-image .img-badge span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alpha-about-image::before {
  content: '';
  position: absolute;
  top: -18px; left: -18px;
  width: 80px; height: 80px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-radius: 4px 0 0 0;
  opacity: 0.55;
  pointer-events: none;
}
.alpha-about-image::after {
  content: '';
  position: absolute;
  bottom: -18px; right: -18px;
  width: 80px; height: 80px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 0 0 4px 0;
  opacity: 0.55;
  pointer-events: none;
}

/* Right content */
.alpha-about-content { display: flex; flex-direction: column; gap: 0; }

.alpha-about-content .section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  color: rgba(255,215,0,0.42);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.alpha-about-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.05;
}
.alpha-about-content p {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 14px;
}
.alpha-about-content .combines-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 8px 0 16px;
}

.alpha-about-content .alpha-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 24px;
}
.alpha-about-content .alpha-features div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t), background var(--t);
}
.alpha-about-content .alpha-features div::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-pale), transparent 60%);
  opacity: 0;
  transition: opacity var(--t);
}
.alpha-about-content .alpha-features div:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-2px);
  background: var(--card2);
}
.alpha-about-content .alpha-features div:hover::before { opacity: 1; }

.alpha-about-content .goal-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 6px;
}
.alpha-about-content .goal-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  font-weight: 400;
  line-height: 1.7;
}
.alpha-about-content .goal-block p strong { color: var(--accent); }

/* Section labels */
.alpha-about::before    { content: '// SYSTEM OVERVIEW'; display: block; font-family: var(--font-body); font-size: 0.80rem; letter-spacing: 0.24em; color: rgba(255,215,0,0.38); text-transform: uppercase; margin-bottom: 14px; }

/* ─────────────────────────────────────────────────────────────
   ALPHA FEATURES (standalone grid)
───────────────────────────────────────────────────────────── */
.alpha-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 30px 0 26px;
}
.alpha-features div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t), background var(--t);
}
.alpha-features div::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-pale), transparent 60%);
  opacity: 0;
  transition: opacity var(--t);
}
.alpha-features div:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 18px var(--accent-glow);
  transform: translateY(-3px);
  background: var(--card2);
}
.alpha-features div:hover::before { opacity: 1; }

/* ─────────────────────────────────────────────────────────────
   ALGO PRICING
───────────────────────────────────────────────────────────── */
.algo-section {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.algo-section h2    { text-align: center; }
.algo-section::before { content: '// SUBSCRIPTION PLANS'; display: block; font-family: var(--font-body); font-size: 0.80rem; letter-spacing: 0.24em; color: rgba(255,215,0,0.38); text-transform: uppercase; text-align: center; margin-bottom: 14px; }

.algo-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 50px;
}

.algo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.algo-plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.algo-plan::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.algo-plan:hover {
  border-color: rgba(255,215,0,0.28);
  box-shadow: 0 8px 36px var(--accent-glow);
  transform: translateY(-6px);
}
.algo-plan:hover::before { transform: scaleX(1); }

.algo-plan h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.algo-plan .gst{
  font-size: 0.58rem;
  text-align: right;
  margin: 8px 0;
  color: var(--muted);
}
.algo-plan h2 { font-size: 3rem; color: var(--text); margin-bottom: 4px; }
.algo-plan p  { font-size: 0.92rem; color: var(--muted); margin: 0; }

.algo-plan.featured {
  background: var(--card2);
  border-color: rgba(255,215,0,0.32);
  box-shadow: 0 0 36px var(--accent-glow);
}
.algo-plan.featured h2 { color: var(--accent); }
.algo-plan.featured::after {
  content: 'BEST VALUE';
  position: absolute;
  top: 25px; right: -38px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.14em;
  padding: 4px 36px;
  transform: rotate(45deg);
}

/* ─────────────────────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────────────────────── */
.alpha-workflow {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.alpha-workflow::before { content: '// ENGINE MECHANICS'; display: block; font-family: var(--font-body); font-size: 0.80rem; letter-spacing: 0.24em; color: rgba(255,215,0,0.38); text-transform: uppercase; margin-bottom: 14px; }
.alpha-workflow > .container > p { max-width: 680px; font-size: 1.05rem; margin-bottom: 8px; }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin-top: 46px;
}

/* ── Horizontal Scroll Container ── */
.workflow-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;         /* horizontal scroll */
  padding-bottom: 16px;     /* space for scrollbar */
  scroll-snap-type: x mandatory; /* snap to each box */
  margin-top: 46px;
}

/* Hide scrollbar for webkit browsers */
.workflow-grid::-webkit-scrollbar {
  display: none;
}

/* Workflow boxes */
.workflow-box {
  flex: 0 0 280px;          /* fixed width boxes */
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  scroll-snap-align: start; /* snap each box to start of container */
}

/* Hover effect */
.workflow-box:hover {
  border-color: rgba(255,215,0,0.28);
  box-shadow: 0 4px 28px var(--accent-glow);
  transform: translateY(-4px);
}

.workflow-box::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.workflow-box:hover::after {
  transform: scaleX(1);
}

/* Optional: add padding to first and last box */
.workflow-grid > .workflow-box:first-child {
  margin-left: 24px;
}
.workflow-grid > .workflow-box:last-child {
  margin-right: 24px;
}
.workflow-box h3 { color: var(--accent); font-size: 1.18rem; margin-bottom: 10px; letter-spacing: 0.04em; }
.workflow-box p,
.workflow-box li { font-size: 0.98rem; color: var(--muted); line-height: 1.65; }
.workflow-box li { padding-left: 16px; position: relative; margin-bottom: 4px; }
.workflow-box li::before { content: '›'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ─────────────────────────────────────────────────────────────
   FAQ
───────────────────────────────────────────────────────────── */
.faq-section {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.faq-section::before { content: '// FAQ'; display: block; font-family: var(--font-body); font-size: 0.80rem; letter-spacing: 0.24em; color: rgba(255,215,0,0.38); text-transform: uppercase; text-align: center; margin-bottom: 14px; }

.faq-title    { text-align: center; margin-bottom: 12px; }
.faq-subtitle {
  text-align: center;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 50px;
}
.faq-subtitle strong { color: var(--accent); font-weight: 600; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--card);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item:hover       { border-color: rgba(255,215,0,0.22); }
.faq-item.active      { border-color: rgba(255,215,0,0.38); box-shadow: 0 0 22px var(--accent-glow); }

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.02em;
  transition: color var(--t);
}
.faq-question:hover              { color: var(--accent); }
.faq-item.active .faq-question   { color: var(--accent); }

.faq-question .icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1.5px solid rgba(255,215,0,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  font-style: normal;
  transition: background var(--t), transform var(--t);
}
.faq-item.active .faq-question .icon {
  background: var(--accent);
  color: var(--bg);
  transform: rotate(180deg);
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 22px 20px; font-size: 0.98rem; color: var(--muted); line-height: 1.7; }
.faq-answer strong { color: var(--accent); font-weight: 600; }

/* ─────────────────────────────────────────────────────────────
   SCROLL OFFSETS
───────────────────────────────────────────────────────────── */
body.products-page section { scroll-margin-top: 70px; }
#pricing { scroll-margin-top: 90px; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — PRODUCTS
───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .alpha-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .alpha-hero-media {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
  .alpha-hero-content { align-items: center; text-align: center; }
  .hero-stats         { justify-content: center; }
  .hero-btns          { justify-content: center; }

  .alpha-about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .alpha-about-image {
    max-width: 500px;
    margin: 0 auto;
  }
  .alpha-about-image::before,
  .alpha-about-image::after { display: none; }

  .workflow-grid { grid-template-columns: 1fr; }
  .algo-grid     { grid-template-columns: 1fr; max-width: 360px; }
}

@media (max-width: 500px) {
  .play-btn                     { width: 58px; height: 58px; }
  .hero-stats                   { gap: 18px; }
  .hero-stat strong             { font-size: 1.4rem; }
  .alpha-hero-media::before     { display: none; }
  .alpha-about-content .alpha-features { grid-template-columns: 1fr; }
  .algo-plan.featured::after    { display: none; }
}

