/* ═══════════════════════════════════════════════════════
   VideoShufflr — Landing Page v2
   Modern high-converting design system
   ═══════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('/assets/cursors/cursor-theme.css');

/* ── Design Tokens ── */
:root {
  --bg-deep: #05060f;
  --bg-surface: #0a0c1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(99, 102, 241, 0.25);

  /* Accent palette */
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
  --grad-cta: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --grad-hero-text: linear-gradient(135deg, #c084fc, #60a5fa, #34d399);
  --grad-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.06), transparent 40%);
  --grad-mesh-1: radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.15), transparent 50%);
  --grad-mesh-2: radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1), transparent 50%);
  --grad-mesh-3: radial-gradient(ellipse at 50% 80%, rgba(6, 182, 212, 0.08), transparent 50%);

  /* Layout */
  --max-w: 1200px;
  --section-pad: 100px;
  --gap: 24px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.6s;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', ui-sans-serif, -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 1px 4px #ffffff08 !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(7, 10, 22, 0.94) 0%, rgba(7, 10, 22, 0.78) 100%);
  backdrop-filter: blur(16px) saturate(155%);
  -webkit-backdrop-filter: blur(16px) saturate(155%);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.12);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 6, 15, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand-badge {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-badge img {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

.header-nav {
  display: none;
  gap: 28px;
}

.header-nav a {
  position: relative;
  display: inline-block;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 6px;
  transition: color 0.24s ease;
}

.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.95), rgba(96, 165, 250, 0.95));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.26s ease, opacity 0.2s ease;
}

.header-nav a:hover {
  color: #fff;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

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

@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }
}

@media (max-width: 900px) {
  .brand-name {
    display: none;
  }
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn:hover::before {
  opacity: 1;
}

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

.btn:active {
  transform: translateY(0) scale(0.97);
}

.btn:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.5);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.3);
}

.btn-cta {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
  font-size: 16px;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--radius);
}

.btn-cta:hover {
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.6);
}

.btn-diamond {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0b1120;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.35);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 10px;
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7, 10, 22, 0.2) 0%, rgba(7, 10, 22, 0.7) 48%, rgba(7, 10, 22, 0.96) 100%),
    #070a16;
}

.hero-banner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.56;
  transition: opacity 0.28s ease;
  pointer-events: none;
  z-index: 0;
}

.hero-banner-track {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  display: flex;
  width: max-content;
  animation: heroBannerTrackScroll 1440s linear infinite;
  will-change: transform;
}

.hero-banner-track picture,
.hero-banner-image {
  height: 100%;
  width: auto;
  min-width: 100vw;
  flex: 0 0 auto;
}

.hero-banner-track picture {
  display: block;
}

.hero-banner-image {
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(99, 102, 241, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(7, 10, 22, 0.1) 0%, rgba(7, 10, 22, 0.28) 44%, rgba(7, 10, 22, 0.84) 100%);
}

/* Mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px circle at 30% 20%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(600px circle at 70% 60%, rgba(139, 92, 246, 0.1), transparent),
    radial-gradient(500px circle at 50% 80%, rgba(6, 182, 212, 0.08), transparent);
  animation: meshFloat 20s ease-in-out infinite;
  z-index: 1;
}

/* Animated orb */
.hero-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  filter: blur(80px);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation: orbPulse 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

main>section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

@keyframes meshFloat {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.05) rotate(1deg);
  }
}

@keyframes orbPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 720px) {
  .hero-banner {
    opacity: 0.44;
  }

  .hero::before,
  .hero-orb {
    display: none;
  }

  .hero-banner-track {
    inset: 0;
    display: block;
    width: 100%;
    animation: none;
  }

  .hero-banner-track picture,
  .hero-banner-image {
    width: 100%;
    min-width: 0;
  }

  .hero-banner-image--clone {
    display: none;
  }
}

@keyframes heroBannerTrackScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-banner-track,
  .hero::before,
  .hero-orb,
  .hero-badge,
  .hero h1,
  .hero-sub,
  .hero-cta-group,
  .hero-trust,
  .hero-seo,
  .testimonials-track {
    animation: none;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s var(--ease-out) both;
}

@media (max-width: 600px) {
  .hero-badge {
    font-size: 11px;
    padding: 5px 12px 5px 7px;
    gap: 6px;
    margin-bottom: 16px;
  }
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(28px, 5.8vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  margin: auto;
  letter-spacing: -0.03em;
  margin: 0 auto 20px;
  max-width: 1180px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero-headline-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  text-align: center;
  height: 81px;
  text-shadow: 1px 4px #00000021;
  padding-bottom: 0.04em;
}

@media (max-width: 700px) {
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 18px;
    overflow: hidden;
  }

  .hero h1 {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: clamp(25px, 7.1vw, 34px);
    line-height: 1.08;
    letter-spacing: 0;
    margin-bottom: 14px;
  }

  .hero-headline-line {
    width: 100%;
    max-width: 100%;
    height: auto;
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: normal;
  }

  .hero-sub {
    width: 100%;
    max-width: 92vw;
    font-size: clamp(16px, 4.1vw, 18px);
    line-height: 1.42;
    margin-bottom: 24px;
  }

  .hero-seo {
    max-width: 92vw;
  }

  .hero-cta-group {
    gap: 10px;
    margin-bottom: 22px;
  }

  .hero-trust {
    gap: 8px 12px;
  }
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: min(92vw, 1320px);
  margin: 0 auto 36px;
  line-height: 1.6;
  text-wrap: balance;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13px;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-trust-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.24s ease, transform 0.28s ease, text-shadow 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.hero-trust-item:hover,
.hero-trust-item:focus-visible {
  color: rgba(255, 255, 255, 0.96);
  background: rgba(99, 102, 241, 0.12);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.2), 0 0 22px rgba(96, 165, 250, 0.16);
  text-shadow: 0 0 16px rgba(96, 165, 250, 0.28);
  transform: translateY(-1px);
}

.hero-trust-item svg {
  opacity: 0.6;
  transition: opacity 0.24s ease, filter 0.28s ease, transform 0.28s ease;
}

.hero-trust-item:hover svg,
.hero-trust-item:focus-visible svg {
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.35));
  transform: scale(1.03);
}

.hero-seo {
  max-width: 680px;
  margin: 40px auto 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.hero-seo strong {
  color: var(--text-secondary);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══ SOCIAL PROOF BAR ═══ */
.social-proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.01);
}

.social-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.social-proof-inner .sp-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-proof-inner .sp-stat strong {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 800;
}

.sp-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

@media (max-width: 600px) {
  .sp-divider {
    display: none;
  }
}

/* ═══ SECTIONS BASE ═══ */
section {
  padding: var(--section-pad) 0;
  position: relative;
}

section.members-view,
section.members-stage {
  padding: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a5b4fc;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 27px;
  max-width: 804px;
  line-height: 1.6;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ═══ DEMO VIDEO ═══ */
.demo-section {
  background: var(--bg-surface);
}

.demo-section .section-header {
  margin-bottom: 28px;
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 3024 / 1668;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #020617;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.video-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  padding: 2px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.video-wrap iframe,
.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrap video {
  display: block;
  object-fit: cover;
}

.demo-video {
  max-width: 980px;
  aspect-ratio: 16 / 9;
}

.demo-note {
  text-align: center;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.demo-note a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-note a:hover {
  color: #c4b5fd;
}

/* ═══ CREATE WITH AI WORKFLOW ═══ */
.workflow-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 40px 0 32px;
}

.workflow-number-stick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.workflow-number-stack {
  position: relative;
  width: clamp(96px, 11vw, 132px);
  height: clamp(96px, 11vw, 132px);
}

.workflow-media-stack {
  position: relative;
  width: min(100%, 820px);
  touch-action: pan-y;
  cursor: grab;
}

.workflow-subtitle-stack {
  position: relative;
  width: 100%;
  min-height: 10em;
}

.workflow-subtitle {
  margin: 0;
  position: absolute;
  inset: 0;
  font-size: 30px;
  line-height: 1.55;
  text-align: center;
  color: rgba(203, 213, 225, 0.88);
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 100%;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.workflow-step-number {
  display: grid;
  place-items: center;
  width: clamp(88px, 11vw, 128px);
  aspect-ratio: 1;
  font-size: clamp(52px, 8vw, 88px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
  color: #eef2ff;
  text-align: center;
  text-shadow: 0 6px 20px rgba(15, 23, 42, 0.38);
  border-radius: 999px;
  border: 1px solid rgba(165, 180, 252, 0.42);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), transparent 38%),
    radial-gradient(circle at 70% 70%, rgba(129, 140, 248, 0.32), transparent 45%),
    linear-gradient(145deg, rgba(79, 70, 229, 0.98), rgba(30, 41, 59, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 8px rgba(99, 102, 241, 0.08),
    0 16px 40px rgba(15, 23, 42, 0.35);
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(36px) scale(0.88);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-step-number::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  box-shadow: 0 0 28px rgba(99, 102, 241, 0.18);
  pointer-events: none;
}

.workflow-showcase[data-workflow-active="1"] .workflow-step-number[data-step-badge="1"],
.workflow-showcase[data-workflow-active="2"] .workflow-step-number[data-step-badge="2"],
.workflow-showcase[data-workflow-active="3"] .workflow-step-number[data-step-badge="3"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.workflow-showcase[data-workflow-active="1"] .workflow-subtitle[data-step-subtitle="1"],
.workflow-showcase[data-workflow-active="2"] .workflow-subtitle[data-step-subtitle="2"],
.workflow-showcase[data-workflow-active="3"] .workflow-subtitle[data-step-subtitle="3"] {
  opacity: 1;
  transform: translateY(0);
}

.workflow-carousel {
  position: relative;
  width: min(100%, 980px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.workflow-arrow {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.62));
  color: #e2e8f0;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.24);
  flex: 0 0 auto;
  font-size: 34px;
  line-height: 1;
}

.workflow-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(129, 140, 248, 0.48);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(30, 41, 59, 0.74));
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.3);
}

.workflow-arrow:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.9);
  outline-offset: 3px;
}

.workflow-video {
  max-width: none;
  width: 100%;
  aspect-ratio: 16 / 10;
  opacity: 0;
  transform: translateX(24px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-media-stack .workflow-video {
  position: absolute;
  inset: 0;
}

.workflow-media-stack::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.workflow-showcase[data-workflow-active="1"] .workflow-video[data-step-video="1"],
.workflow-showcase[data-workflow-active="2"] .workflow-video[data-step-video="2"],
.workflow-showcase[data-workflow-active="3"] .workflow-video[data-step-video="3"] {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.workflow-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.workflow-dot {
  appearance: none;
  border: 0;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.34);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.workflow-dot:hover {
  transform: scale(1.12);
  background: rgba(165, 180, 252, 0.58);
}

.workflow-dot.active {
  background: #a5b4fc;
  box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.15);
}

.workflow-dot:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.9);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .workflow-showcase {
    gap: 16px;
  }

  .workflow-subtitle-stack {
    width: 100%;
    min-height: 5.4em;
  }

  .workflow-subtitle {
    font-size: 15px;
    white-space: normal;
  }

  .workflow-media-stack {
    width: 100%;
  }

  .workflow-carousel {
    width: 100%;
    gap: 10px;
  }

  .workflow-arrow {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }
}

/* ═══ BENEFITS / PILLARS ═══ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease-out);
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.2);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #a5b4fc;
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ═══ FEATURE SHOWCASE ═══ */
.showcase-section {
  scroll-margin-top: 104px;
  background:
    var(--grad-mesh-1),
    var(--grad-mesh-2),
    var(--bg-deep);
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.feature-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  cursor: pointer;
}

.feature-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.feature-tab.active {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

/* Diamond tab — gold outline */
.feature-tab-diamond {
  position: relative;
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.06);
}

.feature-tab-diamond:hover {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.65);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.12);
}

.feature-tab-diamond.active {
  color: #0b1120;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-color: transparent;
  box-shadow:
    0 4px 18px rgba(251, 191, 36, 0.35),
    0 0 0 1px rgba(251, 191, 36, 0.15);
}

/* Diamond panel intro */
.diamond-panel-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 32px;
}

.diamond-intro-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Diamond feature cards — gold left accent */
.feature-card-diamond {
  border-color: rgba(251, 191, 36, 0.16);
  border-left: 3px solid rgba(251, 191, 36, 0.5);
}

.feature-card-diamond:hover {
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.08), 0 0 0 1px rgba(251, 191, 36, 0.1);
}

/* Diamond CTA button */
.btn-diamond-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  color: #0b1120;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.25);
  text-decoration: none;
}

.btn-diamond-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(251, 191, 36, 0.35);
  background: linear-gradient(135deg, #fde68a, #fbbf24);
}

.feature-panel {
  display: none;
}

.feature-panel.active {
  display: block;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-pro {
  background: var(--grad-primary);
  color: #fff;
}

.badge-platinum {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
}

.badge-diamond {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0b1120;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-right: 60px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.features-expand {
  text-align: center;
  margin-top: 32px;
}

.features-expand .btn {
  gap: 6px;
}

.features-expand .arrow-icon {
  transition: transform 0.3s ease;
}

.features-expand.expanded .arrow-icon {
  transform: rotate(180deg);
}

.feature-grid-hidden {
  display: none;
}

.feature-grid-hidden.expanded {
  display: grid;
  margin-top: 16px;
}

.feature-spotlight {
  margin-top: 44px;
}

.feature-spotlight-header {
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(99, 102, 241, 0.22);
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(14, 165, 233, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.35);
}

.feature-spotlight-header h3 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.feature-spotlight-header p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}

.feature-spotlight-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  align-items: start;
}

.feature-spotlight-panel-title {
  grid-column: 1 / -1;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.feature-example-card {
  position: relative;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.feature-example-video-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  margin: 10px 10px 0;
}

.feature-example-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.feature-example-copy {
  padding: 14px 16px 16px;
}

.feature-example-copy span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-example-copy strong {
  display: block;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* ═══ WINS / BENTO GRID ═══ */
.wins-section {
  background: var(--bg-surface);
}

.wins-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .wins-bento {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.wins-bento .win-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  background: var(--bg-card);
  padding: 0;
}

.wins-bento .win-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(99, 102, 241, 0.2);
}

.wins-bento .win-item .wins-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.wins-bento .win-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
#wins-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}

#wins-lightbox.open {
  display: flex;
}

.wins-lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
}

.wins-lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  display: block;
}

.wins-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s ease;
}

.wins-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ═══ TESTIMONIALS ═══ */
.testimonials-track {
  display: flex;
  gap: 20px;
  overflow: hidden;
  padding: 8px 0 20px;
  scrollbar-width: none;
  animation: testimonialScroll 40s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

@keyframes testimonialScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex: 0 0 340px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-out);
}

.testimonial-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: #fbbf24;
  font-size: 16px;
}

.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ═══ PRICING ═══ */
.pricing-section {
  background:
    var(--grad-mesh-2),
    var(--grad-mesh-3),
    var(--bg-deep);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.pricing-toggle .toggle-track {
  width: 48px;
  height: 26px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pricing-toggle .toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-primary);
  transition: transform 0.3s var(--ease-spring);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.1);
  background: rgba(99, 102, 241, 0.04);
}

.pricing-card.popular::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  background: var(--grad-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.pricing-card .plan-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-card .plan-price {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-card .plan-price .currency {
  font-size: 24px;
  vertical-align: top;
  line-height: 1.6;
}

.pricing-card .plan-price .period {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card .plan-billing-note {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.75;
  margin-bottom: 8px;
}

.pricing-card .plan-price-old {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.pricing-card .plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-feature .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
}

.diamond-callout {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(251, 191, 36, 0.04);
  border: 1px solid rgba(251, 191, 36, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.diamond-callout p {
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.6;
  max-width: 780px;
}

.diamond-callout strong {
  color: #fbbf24;
}

.diamond-callout .btn {
  font-size: 16px;
  height: 48px;
  padding: 0 32px;
}

/* ═══ HOW IT WORKS ═══ */
.guide-docs-demo {
  max-width: 760px;
  margin: 0 auto 22px;
}

.guide-docs-demo-label {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.guide-docs-demo-card {
  padding: 10px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.guide-docs-demo-card video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #020617;
  pointer-events: none;
}

.guide-docs-cta {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;
}

.guide-toggle {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px;
  margin: 0 auto 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.guide-toggle-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.guide-toggle-btn:hover {
  color: var(--text-primary);
}

.guide-toggle-btn.active {
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.guide-panel {
  max-width: 760px;
  margin: 0 auto;
}

.guide-panel[hidden] {
  display: none;
}

.guide-panel-intro {
  margin: 0 auto 18px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
}

.step-item:hover {
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateX(4px);
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.step-item .step-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-item .step-body p {
  font-size: 14px;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .guide-toggle {
    width: 100%;
    justify-content: center;
  }

  .guide-toggle-btn {
    flex: 1 1 0;
    text-align: center;
  }
}

/* ═══ YOUTUBE AI TRUST ═══ */
.trust-section {
  background: var(--bg-surface);
}

.trust-callout {
  max-width: 700px;
  margin: 0 auto;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
}

.trust-steps {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.trust-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-step .step-num {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.trust-step .step-body {
  color: var(--text-secondary);
  font-size: 15px;
}

.trust-step .step-body strong {
  color: var(--text-primary);
}

.trust-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #a5b4fc;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trust-link:hover {
  color: #c4b5fd;
}

/* ═══ FAQ ACCORDION ═══ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(99, 102, 241, 0.2);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: #a5b4fc;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(99, 102, 241, 0.15);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.faq-answer-inner a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ═══ DISCORD CTA ═══ */
.discord-section {
  text-align: center;
  background: var(--bg-surface);
}

.discord-icon {
  margin: 0 auto 20px;
  width: 64px;
  height: 64px;
}

/* ═══ FINAL CTA ═══ */
.final-cta {
  position: relative;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 30% 50%, rgba(99, 102, 241, 0.12), transparent),
    radial-gradient(400px circle at 70% 50%, rgba(139, 92, 246, 0.08), transparent);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 32px;
}

.final-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.alt-download {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ═══ FOOTER ═══ */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 72px 0 42px;
  background: linear-gradient(180deg, rgba(10, 12, 26, 0.68) 0%, rgba(5, 6, 15, 0.98) 100%);
}

.footer-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(4, minmax(132px, 1fr));
  gap: 48px;
  align-items: start;
}

.footer-brand-block {
  max-width: 300px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.footer-brand-block p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column a,
.footer-legal a {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.35;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text-primary);
}

.footer-column a:hover,
.footer-column a:focus-visible {
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: #fff;
  border-color: rgba(167, 139, 250, 0.54);
  background: rgba(99, 102, 241, 0.16);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

/* ═══ STICKY MOBILE CTA ═══ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px;
  background: rgba(5, 6, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.mobile-cta.visible {
  transform: translateY(0);
}

.mobile-cta-inner {
  display: flex;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-cta .btn {
  flex: 1;
  height: 44px;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 48px;
  }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .feature-spotlight-header {
    padding: 22px;
  }

  .feature-spotlight-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-example-video-wrap {
    margin: 8px 8px 0;
  }

  .guide-docs-demo-card {
    padding: 8px;
    border-radius: 18px;
  }

  .testimonial-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 52px 0 104px;
  }

  .footer-inner {
    padding: 0 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    font-size: 17px;
  }

  .footer-column {
    gap: 11px;
  }

  .footer-column h2 {
    margin-bottom: 4px;
  }

  .footer-column a,
  .footer-legal a {
    font-size: 14px;
  }

  .footer-bottom {
    gap: 20px;
    margin-top: 38px;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
  }
}
