/* ══════════════════════════════════════════════════════════════
   home.css — SlideChai Landing Page Styles
   ══════════════════════════════════════════════════════════════ */

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px; /* navbar height */
}

/* Animated SVG Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Floating geometric particle shapes */
.particle {
  position: absolute;
  border-radius: 50%;
  animation: particle-float linear infinite;
  opacity: 0;
}

.particle-1 {
  width: 6px; height: 6px;
  background: rgba(59, 130, 246, 0.6);
  left: 10%;
  animation-duration: 18s;
  animation-delay: 0s;
}
.particle-2 {
  width: 4px; height: 4px;
  background: rgba(6, 182, 212, 0.5);
  left: 25%;
  animation-duration: 22s;
  animation-delay: 2s;
}
.particle-3 {
  width: 8px; height: 8px;
  background: rgba(139, 92, 246, 0.4);
  left: 40%;
  animation-duration: 16s;
  animation-delay: 4s;
}
.particle-4 {
  width: 5px; height: 5px;
  background: rgba(59, 130, 246, 0.5);
  left: 60%;
  animation-duration: 20s;
  animation-delay: 1s;
}
.particle-5 {
  width: 7px; height: 7px;
  background: rgba(6, 182, 212, 0.4);
  left: 75%;
  animation-duration: 24s;
  animation-delay: 3s;
}
.particle-6 {
  width: 4px; height: 4px;
  background: rgba(139, 92, 246, 0.6);
  left: 88%;
  animation-duration: 19s;
  animation-delay: 5s;
}
.particle-7 {
  width: 6px; height: 6px;
  background: rgba(59, 130, 246, 0.3);
  left: 5%;
  animation-duration: 26s;
  animation-delay: 7s;
}
.particle-8 {
  width: 5px; height: 5px;
  background: rgba(6, 182, 212, 0.6);
  left: 50%;
  animation-duration: 15s;
  animation-delay: 9s;
}

/* Triangle shape particles - Hidden to prevent dark floating artifacts */
.shape-triangle {
  display: none !important;
}

.shape-1 {
  left: 15%;
  animation-duration: 28s;
  animation-delay: 2s;
}
.shape-2 {
  left: 65%;
  animation-duration: 32s;
  animation-delay: 6s;
}
.shape-3 {
  left: 85%;
  border-bottom-color: rgba(6, 182, 212, 0.12);
  animation-duration: 25s;
  animation-delay: 10s;
}

/* Grid lines decorative background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 70%);
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  animation: float 10s ease-in-out 2s infinite;
}

/* Hero Content — named grid areas: text/video side-by-side, cta/stats side-by-side below them */
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "phase  visual"
    "cta    stats";
  column-gap: 60px;
  row-gap: 32px;
  align-items: center;
  width: 100%;
}

.hero-phase  { grid-area: phase; }
.hero-cta    { grid-area: cta; }
.hero-stats  { grid-area: stats; }

.hero-visual {
  grid-area: visual;
  align-self: center;
  padding-top: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 28px;
  animation: slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: glow 2s ease-in-out infinite;
}

/* ── Phase text (the new hero headline, swaps with the video) ── */
.hero-phase {
  position: relative;
  min-height: 350px; /* matched to desktop video frame height for better balance */
}

.hero-phase-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px; /* tightened: eyebrow + h1 only, no subtitle */
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-phase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border-glass);
}

.hero-phase-eyebrow--premium {
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.2);
}

.hero-phase-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem); /* Increased max size from 3.6rem to 4.5rem for larger desktop viewports */
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

/* Boring phase */
.hero-phase-card--boring .hero-phase-title--strike {
  position: relative;
  color: #94a3b8;
}
.hero-phase-card--boring .hero-phase-title--strike::after {
  content: '';
  position: absolute;
  left: -2%;
  top: 52%;
  width: 104%;
  height: 3px;
  background: #f87171;
  border-radius: 2px;
  transform: rotate(-3deg);
  opacity: 0.8;
}

.hero-phase-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 420px;
}

/* Premium phase — readable neon */
.hero-phase-title--premium {
  color: var(--text-primary);
}

.hero-phase-neon {
  position: relative;
  display: inline-block;
  color: #fff;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.8),
    0 0 12px #22d3ee,
    0 0 28px #06b6d4,
    0 0 48px #3b82f6,
    0 0 72px #3b82f6;
  animation: neon-flicker 5s linear infinite;
}

/* Chromatic fringe removed — neon glow + flicker on .hero-phase-neon is sufficient */

/* Neon flicker — gentle, mostly on, brief blinks like a real neon sign */
@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow:
      0 0 4px rgba(255, 255, 255, 0.8),
      0 0 12px #22d3ee,
      0 0 28px #06b6d4,
      0 0 48px #3b82f6,
      0 0 72px #3b82f6;
  }
  20%, 24%, 55% {
    opacity: 0.85;
    text-shadow:
      0 0 4px rgba(255, 255, 255, 0.6),
      0 0 10px #22d3ee,
      0 0 22px #06b6d4,
      0 0 38px #3b82f6;
  }
  21%, 56% { opacity: 0.4; text-shadow: 0 0 8px #06b6d4; }
}

/* Phase visibility — driven by .is-before / .is-after on #heroPhase */
.hero-phase.is-before .hero-phase-card--boring {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-phase.is-before .hero-phase-card--premium {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

.hero-phase.is-after .hero-phase-card--boring {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}
.hero-phase.is-after .hero-phase-card--premium {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-phase-neon,
  .hero-phase-title--premium::before,
  .hero-phase-title--premium::after,
  .hero-video-stage::before {
    animation: none !important;
  }
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slide-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: flex-end;
  animation: slide-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Hero Visual (Boring vs Premium Comparison Video) ────────── */
.hero-visual {
  position: relative;
  animation: slide-in-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-video-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: 0;
}

/* Glow halo behind the frame */
.hero-video-stage::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-xl);
  background: var(--gradient-accent);
  opacity: 0.28;
  filter: blur(26px);
  z-index: -1;
  transition: opacity 0.6s ease, filter 0.6s ease;
}

.hero-video-stage.is-after::before {
  opacity: 0.5;
  filter: blur(34px);
  animation: hero-glow-pulse 4s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 0.6; }
}

/* The actual video frame (clips the rounded corners) */
.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.hero-comparison-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  pointer-events: none; /* no user interaction — pure autoplay showcase */
}

/* Subtle inner sheen so text tags read clearly over the video */
.hero-video-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.35) 0%, transparent 18%, transparent 78%, rgba(10, 14, 26, 0.4) 100%),
    radial-gradient(ellipse at center, transparent 55%, rgba(10, 14, 26, 0.18) 100%);
  z-index: 2;
}

/* ── How It Works Section ────────────────────────────────────── */
.how-it-works {
  position: relative;
  padding-top: 40px;    /* Reduced gap between pricing and how-it-works */
  padding-bottom: 32px; /* Reduced gap before What Students Say */
}

/* ── Timeline wrapper ───────────────────────────────────────── */
.hiw-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;          /* gap between steps */
  max-width: 760px;
  margin: 0 auto;
}

/* ── Each step row ──────────────────────────────────────────── */
.hiw-step {
  display: flex;
  align-items: center; /* Centered vertically with the card */
  gap: 20px;
  position: relative;
}

/* ── Left connector: spans full card height ── */
.hiw-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center the node vertically */
  flex-shrink: 0;
  width: 44px;
  position: relative;
  align-self: stretch; /* Stretches to match card height */
}

/* Circle node */
.hiw-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2; /* Sits on top of the lines */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hiw-step:hover .hiw-node {
  transform: scale(1.12);
}

.hiw-node--blue   { background: linear-gradient(135deg,#3b82f6,#1d4ed8); box-shadow: 0 0 0 5px rgba(59,130,246,0.15), 0 0 24px rgba(59,130,246,0.5); }
.hiw-node--purple { background: linear-gradient(135deg,#8b5cf6,#6d28d9); box-shadow: 0 0 0 5px rgba(139,92,246,0.15), 0 0 24px rgba(139,92,246,0.5); }
.hiw-node--cyan   { background: linear-gradient(135deg,#06b6d4,#0891b2); box-shadow: 0 0 0 5px rgba(6,182,212,0.15), 0 0 24px rgba(6,182,212,0.5); }
.hiw-node--green  { background: linear-gradient(135deg,#10b981,#059669); box-shadow: 0 0 0 5px rgba(16,185,129,0.15), 0 0 24px rgba(16,185,129,0.5); }

.hiw-node-num {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
}

/* ── Step connecting line base ── */
.hiw-line {
  position: absolute;
  width: 3px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 3px;
  overflow: hidden;
  /* Multi-color linear gradient representing the flow */
  background: linear-gradient(180deg,
    rgba(59,130,246,0.3) 0%,
    rgba(139,92,246,0.25) 33%,
    rgba(6,182,212,0.22) 66%,
    rgba(16,185,129,0.18) 100%
  );
}

/* Specific start/end bounds for each step's line segments to connect them perfectly */
.hiw-step[data-step="1"] .hiw-line {
  top: 50%;           /* starts at center of node 1 */
  bottom: -22px;      /* spans the 20px gap + 2px overlap */
}
.hiw-step[data-step="2"] .hiw-line,
.hiw-step[data-step="3"] .hiw-line {
  top: -2px;          /* overlap with previous step line */
  bottom: -22px;      /* spans the 20px gap + 2px overlap */
}
.hiw-step[data-step="4"] .hiw-line {
  top: -2px;          /* overlap with previous step line */
  bottom: 50%;        /* stops exactly at the center of node 4 */
}

/* Glowing pulse effect riding down the step line */
.hiw-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg,
    transparent 0px,
    rgba(255,255,255,0.7) 20px,
    transparent 40px
  );
  background-size: 100% 40px;
  background-repeat: no-repeat;
  animation: hiw-streak 2.4s ease-in-out infinite;
}

/* Small bright dot riding along with the pulse */
.hiw-line::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -3.5px; /* Center horizontally without using transform (so we can animate translateY) */
  width: 7px;
  height: 100%;
  background-image: radial-gradient(circle at 3.5px 20px, #fff 0%, #fff 3px, transparent 4px);
  background-size: 7px 40px;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.8));
  animation: hiw-streak 2.4s ease-in-out infinite;
}

/* GPU Accelerated Animation */
@keyframes hiw-streak {
  0%   { transform: translateY(-20%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* Stagger each line's animation so the pulse flows 1→2→3 in sequence */
.hiw-step[data-step="1"] .hiw-line::before { animation-delay: 0s; }
.hiw-step[data-step="1"] .hiw-line::after  { animation-delay: 0s; }

.hiw-step[data-step="2"] .hiw-line::before { animation-delay: 0.8s; }
.hiw-step[data-step="2"] .hiw-line::after  { animation-delay: 0.8s; }

.hiw-step[data-step="3"] .hiw-line::before { animation-delay: 1.6s; }
.hiw-step[data-step="3"] .hiw-line::after  { animation-delay: 1.6s; }

/* ── Step card ──────────────────────────────────────────────── */
.hiw-card {
  flex: 1;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: rgba(17,25,40,0.6);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hiw-step:hover .hiw-card {
  transform: translateX(5px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hiw-step[data-step="1"]:hover .hiw-card { border-color: rgba(59,130,246,0.4); }
.hiw-step[data-step="2"]:hover .hiw-card { border-color: rgba(139,92,246,0.4); }
.hiw-step[data-step="3"]:hover .hiw-card { border-color: rgba(6,182,212,0.4); }
.hiw-step[data-step="4"]:hover .hiw-card { border-color: rgba(16,185,129,0.4); }

.hiw-card--final {
  border-color: rgba(16,185,129,0.2);
  background: rgba(16,185,129,0.04);
}

/* Card header */
.hiw-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.hiw-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.hiw-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.2;
}

.hiw-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Tag badges */
.hiw-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hiw-tag--blue   { background: rgba(59,130,246,0.15);  color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }
.hiw-tag--purple { background: rgba(139,92,246,0.15);  color: #c4b5fd; border: 1px solid rgba(139,92,246,0.3); }
.hiw-tag--cyan   { background: rgba(6,182,212,0.15);   color: #67e8f9; border: 1px solid rgba(6,182,212,0.3); }
.hiw-tag--green  { background: rgba(16,185,129,0.15);  color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }

/* CTA below */
.hiw-cta {
  text-align: center;
  margin-top: 32px;
}

/* ── Animation delay utilities ─────────────────────────────── */
.delay-150 { animation-delay: 150ms; }
.delay-450 { animation-delay: 450ms; }
.delay-500 { animation-delay: 500ms; }

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .pricing { padding-bottom: 30px; }
  .how-it-works { padding-top: 30px; }
  .hiw-timeline { gap: 16px; }
  .hiw-step { gap: 14px; align-items: center; }
  .hiw-connector { width: 36px; }
  .hiw-node { width: 36px; height: 36px; }
  .hiw-node-num { font-size: 0.85rem; }
  .hiw-line { width: 2px; }
  .hiw-step[data-step="1"] .hiw-line { top: 50%; bottom: -18px; }
  .hiw-step[data-step="2"] .hiw-line,
  .hiw-step[data-step="3"] .hiw-line { top: -2px; bottom: -18px; }
  .hiw-step[data-step="4"] .hiw-line { top: -2px; bottom: 50%; }
  .hiw-card { padding: 14px 14px; }
  .hiw-card-top { gap: 10px; }
  .hiw-icon { font-size: 1.3rem; }
  .hiw-title { font-size: 0.95rem; }
  .hiw-desc { font-size: 0.82rem; }
}


/* ── Slide Showcase Section (Video Grid) ─────────────────────── */
.showcase {
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  .showcase {
    padding-top: 40px;
    padding-bottom: 20px;
  }
}

.showcase-header {
  text-align: center;
}

/* ─ Video Grid ─ */
.svid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* ─ Single Video Card ─ */
.svid-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.svid-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.15);
}

/* ─ Video Frame ─ */
.svid-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.svid-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.svid-card:hover .svid-video {
  transform: scale(1.04);
}

/* ─ Hover Overlay ─ */
.svid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(10,14,26,0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.svid-card:hover .svid-overlay {
  opacity: 1;
}

.svid-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.svid-card:hover .svid-play-icon {
  transform: scale(1.1);
  background: rgba(59,130,246,0.35);
}

.svid-expand-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─ Animated glow halo behind each card ─ */
.svid-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.svid-card:nth-child(1) .svid-glow { background: radial-gradient(ellipse at 50% 120%, rgba(6,182,212,0.3) 0%, transparent 70%); }
.svid-card:nth-child(2) .svid-glow { background: radial-gradient(ellipse at 50% 120%, rgba(139,92,246,0.3) 0%, transparent 70%); }
.svid-card:nth-child(3) .svid-glow { background: radial-gradient(ellipse at 50% 120%, rgba(16,185,129,0.3) 0%, transparent 70%); }

.svid-card:nth-child(1):hover { box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 40px rgba(6,182,212,0.18); }
.svid-card:nth-child(2):hover { box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 40px rgba(139,92,246,0.18); }
.svid-card:nth-child(3):hover { box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 40px rgba(16,185,129,0.18); }

.svid-card:hover .svid-glow { opacity: 1; }

/* ─ Label Row ─ */
.svid-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(10,14,26,0.6);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-glass);
}

.svid-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.svid-dot--cyan   { background: #06b6d4; box-shadow: 0 0 6px rgba(6,182,212,0.7); }
.svid-dot--purple { background: #8b5cf6; box-shadow: 0 0 6px rgba(139,92,246,0.7); }
.svid-dot--green  { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.7); }

.svid-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.svid-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(6,182,212,0.2), rgba(59,130,246,0.2));
  border: 1px solid rgba(6,182,212,0.3);
  color: var(--accent-cyan);
}

/* ─ CTA row ─ */
.showcase-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.showcase-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 9999px;
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ─ Lightbox ─ */
.svid-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.svid-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.svid-lightbox.is-open .svid-lb-inner {
  transform: scale(1) translateY(0);
}

.svid-lb-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(59,130,246,0.15);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  background: #0a0e1a;
}

/* macOS-style title bar */
.svid-lb-title-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.svid-lb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.svid-lb-dot:nth-child(1) { background: #ff5f57; }
.svid-lb-dot:nth-child(2) { background: #febc2e; }
.svid-lb-dot:nth-child(3) { background: #28c840; }

.svid-lb-title-text {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
  padding-right: 42px; /* balance out the 3 dots */
}

.svid-lb-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  object-fit: contain;
}

/* close button */
.svid-lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.svid-lb-close:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.4);
  color: #f87171;
  transform: rotate(90deg);
}

/* ─ Responsive ─ */
@media (max-width: 900px) {
  .svid-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .svid-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* Showcase mobile slider styles */
.svid-dots-indicator {
  display: none;
}

@media (max-width: 768px) {
  .svid-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    gap: 0 !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    --current-slide: 0;
  }

  .svid-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    grid-column: auto !important;
    transform: translateX(calc(-100% * var(--current-slide))) !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .svid-dots-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .svid-indicator-dots-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .svid-indicator-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    padding: 0;
  }

  .svid-indicator-arrow:active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(0.9);
  }

  .svid-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  .svid-indicator-dot.active {
    background: var(--accent-blue);
    box-shadow: 0 0 8px var(--accent-blue);
    transform: scale(1.2);
  }
}

@media (max-width: 540px) {
  .svid-grid {
    grid-template-columns: 1fr;
  }
  .svid-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
  .showcase-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .svid-lightbox {
    padding: 12px;
  }
  .svid-lb-inner {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }
}


/* ── Pricing Section ─────────────────────────────────────────── */
.pricing {
  position: relative;
  padding-bottom: 40px; /* Reduced gap between pricing and how-it-works */
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 36px;
  align-items: stretch;
}

/* ─ Pricing Card ─ */
.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--transition);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  border-color: var(--accent-blue);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.18);
}

.pricing-card.featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.28), 0 20px 50px rgba(0,0,0,0.3);
}

/* Popular badge — top-right corner chip */
.pricing-popular-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 16px;
  border-bottom-left-radius: var(--radius-md);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ─ Card Header (icon + name/tagline inline) ─ */
.pricing-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.pricing-icon-sm {
  width: 46px;
  height: 46px;
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.pricing-lottie-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.pricing-lottie-icon svg {
  width: 100% !important;
  height: 100% !important;
}


.pricing-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.pricing-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ─ Price row ─ */
.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.pricing-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
}

.pricing-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-onetime-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: 9999px;
  padding: 3px 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: center;
}

/* ─ Divider ─ */
.pricing-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 0 0 16px;
}

/* ─ Features list ─ */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-features li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Feature icon — blue (default) */
.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  color: var(--accent-blue);
  flex-shrink: 0;
}

/* Feature icon — cyan (featured card) */
.feature-check--cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
}

/* ─ Pricing CTA button ─ */
.pricing-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ─ Guarantee strip ─ */
.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
}

.pricing-guarantee-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 20px;
}

.pricing-guarantee-sep {
  width: 1px;
  height: 18px;
  background: var(--border-glass);
  flex-shrink: 0;
}

/* ── Custom Order CTA block ──────────────────────────────────── */
.pricing-custom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 30px;
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

/* Subtle teal glow on the left edge */
.pricing-custom-cta::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #10b981, #06b6d4);
  border-radius: 2px 0 0 2px;
}

.pricing-custom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-custom-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 9999px;
  padding: 3px 10px;
  width: fit-content;
}

.pricing-custom-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.pricing-custom-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* WhatsApp button */
.pricing-custom-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  background: #25d366;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.pricing-custom-wa-btn:hover {
  background: #1ebe5d;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.pricing-custom-wa-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

/* Responsive: stack vertically on mobile */
@media (max-width: 640px) {
  .pricing-custom-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px;
  }

  .pricing-custom-wa-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Testimonials Section ────────────────────────────────────── */
.testimonials {
  /* No background — section blends with the global dark ambient */
  position: relative;
  padding-top: 0;      /* no extra gap — how-it-works bottom handles spacing */
  padding-bottom: 16px;
}

/* subtle radial accent behind section so it doesn't look "cut" */
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 15% 60%, rgba(59,130,246,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 45% at 85% 30%, rgba(139,92,246,0.05) 0%, transparent 70%);
  z-index: 0;
}

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

/* ── Section Header ── */
.testimonials-header {
  text-align: center;
  margin-bottom: 52px;
}

.testimonials-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: 9999px;
  padding: 6px 18px;
  margin-bottom: 18px;
}

.testimonials-eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px rgba(6,182,212,0.8);
  animation: glow 2s ease-in-out infinite;
}

/* ── Slider Wrapper ── */
.testimonials-slider-wrapper {
  position: relative;
}

/* ── Desktop Grid ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}

/* ── Individual Card ── */
.testimonial-card {
  position: relative;
  background: rgba(17, 25, 40, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Top edge shimmer */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.14) 50%, transparent 100%);
}

/* Accent variant borders */
.tcard-blue   { border-color: rgba(59,130,246,0.22); }
.tcard-purple { border-color: rgba(139,92,246,0.22); }
.tcard-cyan   { border-color: rgba(6,182,212,0.22); }

/* Hover lift */
.testimonial-card:hover { transform: translateY(-6px); }
.tcard-blue:hover   { border-color: rgba(59,130,246,0.5);  box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 30px rgba(59,130,246,0.14); }
.tcard-purple:hover { border-color: rgba(139,92,246,0.5);  box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 30px rgba(139,92,246,0.14); }
.tcard-cyan:hover   { border-color: rgba(6,182,212,0.5);   box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 30px rgba(6,182,212,0.14); }

/* ── Glow Halo ── */
.tcard-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  border-radius: inherit;
}
.tcard-glow--blue   { background: radial-gradient(ellipse at 50% 100%, rgba(59,130,246,0.18) 0%, transparent 65%); }
.tcard-glow--purple { background: radial-gradient(ellipse at 50% 100%, rgba(139,92,246,0.18) 0%, transparent 65%); }
.tcard-glow--cyan   { background: radial-gradient(ellipse at 50% 100%, rgba(6,182,212,0.18) 0%, transparent 65%); }
.testimonial-card:hover .tcard-glow { opacity: 1; }

/* ── Card inner z-index reset ── */
.tcard-top,
.testimonial-text,
.tcard-divider,
.testimonial-author {
  position: relative;
  z-index: 1;
}

/* ── Card Top Row: quote icon + stars ── */
.tcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* SVG quote mark icon */
.tcard-quote-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.tcard-quote-icon--purple {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.25);
  color: #a78bfa;
}
.tcard-quote-icon--cyan {
  background: rgba(6,182,212,0.12);
  border-color: rgba(6,182,212,0.25);
  color: var(--accent-cyan);
}

/* Stars */
.testimonial-stars {
  color: #fbbf24;
  font-size: 0.88rem;
  letter-spacing: 3px;
  line-height: 1;
}

/* ── Review Text ── */
.testimonial-text {
  font-size: 0.92rem;
  color: rgba(241,245,249,0.78);
  line-height: 1.72;
  font-style: italic;
  margin: 0 0 20px;
  flex: 1;
}

/* ── Divider ── */
.tcard-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
  margin-bottom: 18px;
}

/* ── Author Row ── */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}

.avatar-1 { background: linear-gradient(135deg, #3b82f6, #06b6d4); box-shadow: 0 0 0 2px rgba(59,130,246,0.3); }
.avatar-2 { background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 0 0 2px rgba(139,92,246,0.3); }
.avatar-3 { background: linear-gradient(135deg, #10b981, #06b6d4); box-shadow: 0 0 0 2px rgba(6,182,212,0.3); }

.tcard-author-info { flex: 1; }

.testimonial-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.2;
}

.testimonial-uni {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Verified Badge ── */
.tcard-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  color: #34d399;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  flex-shrink: 0;
  white-space: nowrap;
}
.tcard-verified--purple {
  color: #c4b5fd;
  background: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.25);
}
.tcard-verified--cyan {
  color: #67e8f9;
  background: rgba(6,182,212,0.1);
  border-color: rgba(6,182,212,0.25);
}

/* ── Trust Badges Row ── */
.testimonials-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 44px;
  padding: 18px 32px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 24px;
}

.trust-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.trust-sep {
  width: 1px;
  height: 22px;
  background: var(--border-glass);
  flex-shrink: 0;
}

/* ── Mobile Slider Controls (hidden on desktop) ── */
.tslider-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 28px;
}
.tslider-controls.is-visible {
  display: flex;
}

/* Arrow Buttons < > */
.tslider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.1);
  border: 1.5px solid rgba(59,130,246,0.3);
  color: var(--accent-blue);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  padding: 0;
  flex-shrink: 0;
}

.tslider-arrow:hover {
  background: rgba(59,130,246,0.22);
  border-color: rgba(59,130,246,0.6);
  box-shadow: 0 0 14px rgba(59,130,246,0.3);
}

.tslider-arrow:active { transform: scale(0.92); }

/* Dots */
.tslider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tslider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, width 0.3s ease;
}

.tslider-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent-blue);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(59,130,246,0.55);
}

/* ── Mobile Slider Mode (applied by JS) ── */
@media (max-width: 768px) {
  .testimonials { padding-top: 36px; }

  .testimonials-header { margin-bottom: 36px; }

  .testimonials-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
    --tslide: 0;
  }

  .testimonials-grid.is-slider .testimonial-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: translateX(calc(-100% * var(--tslide))) !important;
    transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .testimonials-trust {
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }

  .trust-sep { width: 40px; height: 1px; }
}

@media (max-width: 480px) {
  .testimonial-card { padding: 24px 20px 20px; }
  .tslider-arrow { width: 40px; height: 40px; }
  .testimonials-trust { font-size: 0.78rem; }
}

@media (min-width: 769px) {
  .tslider-controls { display: none !important; }
}

/* ── FAQ Section ─────────────────────────────────────────────── */
.faq-section {
  position: relative;
  padding-top: 40px;   /* Reduced gap between Testimonials and FAQ */
}

/* Soft ambient glow behind section */
.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 50% 100%, rgba(59,130,246,0.07) 0%, transparent 70%);
  z-index: 0;
}

.faq-section .container { position: relative; z-index: 1; }

/* ── Header ── */
.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: 9999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

/* ── Accordion List ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Individual Item ── */
.faq-item {
  background: rgba(17, 25, 40, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* Left color accent bar */
.faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 2px 2px 0;
}

.faq-item.is-open,
.faq-item:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(59,130,246,0.08);
}

.faq-item.is-open::before,
.faq-item:hover::before {
  opacity: 1;
}

/* ── Trigger Button ── */
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: var(--radius-md);
}

.faq-q {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), color 0.25s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

/* ── Body (collapsed by default) ── */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}

.faq-body p {
  padding: 0 22px 20px 72px; /* aligns with question text after icon+gap */
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.faq-body p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Bottom CTA Strip ── */
.faq-cta {
  max-width: 760px;
  margin: 44px auto 0;
  padding: 28px 32px;
  background: rgba(59,130,246,0.05);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.faq-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.04) 0%, rgba(6,182,212,0.04) 100%);
  pointer-events: none;
}

.faq-cta-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
  position: relative;
  z-index: 1;
}

.faq-cta-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* WhatsApp button */
.faq-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25d366;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(37,211,102,0.25);
}

.faq-wa-btn:hover {
  background: #1ebe5d;
  box-shadow: 0 6px 22px rgba(37,211,102,0.42);
  transform: translateY(-2px);
}

.faq-wa-btn:active { transform: translateY(0); }

/* delay utility */
.delay-250 { animation-delay: 250ms; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .faq-header { margin-bottom: 36px; }
  .faq-trigger { padding: 16px 16px; gap: 12px; }
  .faq-body p { padding: 0 16px 16px 64px; font-size: 0.86rem; }
  .faq-cta { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .faq-cta-btns { width: 100%; flex-direction: column; }
  .faq-wa-btn, .faq-cta-btns .btn { width: 100%; justify-content: center; text-align: center; }
}


/* ── Responsive Home ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Reflow to single column — order: phase → video → cta → stats */
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "phase"
      "visual"
      "cta"
      "stats";
    row-gap: 20px;
    text-align: center;
  }

  .hero-phase {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    min-height: 180px; /* Override desktop height for tablet/mobile viewports */
  }

  .hero-phase-card {
    align-items: center;
    text-align: center;
  }

  .hero-cta { justify-content: center; }
  .hero-stats {
    justify-content: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
    margin-top: 8px;
  }

  /* Reset desktop padding-top — no need on mobile since grid order handles placement */
  .hero-visual {
    max-width: 560px;
    margin: 24px auto 0;
    width: 100%;
    padding-top: 0;
  }

  .hero-video-stage {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-video-stage .hero-phase-eyebrow {
    top: -36px;
    font-size: 0.68rem; /* Make the text slightly smaller on mobile to prevent overflow */
    padding: 5px 12px;
  }

  .showcase-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .showcase-text {
    max-width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 32px;
  }

  .showcase-carousel {
    height: 260px;
  }

  /* Disable slide-in-right on mobile — translateX(40px) causes right overflow artifact before settling */
  .hero-visual {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .steps-grid::before {
    display: none;
  }

  .showcase {
    padding-bottom: 12px;
  }

  /* Tighter section spacing on mobile */
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .pricing {
    padding-top: 24px !important;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-guarantee {
    gap: 0;
    padding: 12px 16px;
  }

  .pricing-guarantee-sep {
    display: none;
  }

  .pricing-guarantee-item {
    padding: 5px 12px;
    font-size: 0.78rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-card {
    padding: 48px 28px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-phase { min-height: 155px; }
  .hero-phase-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
}

@media (max-width: 480px) {
  .hero-video-frame {
    aspect-ratio: 16 / 10;
  }

  .hero-phase { min-height: 135px; }
  .hero-phase-title { font-size: clamp(1.7rem, 8vw, 2.3rem); }
}

/* Hide desktop-only elements by default (mobile-first) */
.desktop-only {
  display: none;
}

/* Base styles for eyebrows positioned inside the video stage */
.hero-video-stage {
  position: relative;
}

.hero-video-stage .hero-phase-eyebrow {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 10;
  margin-bottom: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Hide by default, reveal based on phase */
.hero-video-stage .hero-eyebrow--boring,
.hero-video-stage .hero-eyebrow--premium {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
}

.hero-video-stage.is-before .hero-eyebrow--boring {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.hero-video-stage.is-after .hero-eyebrow--premium {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* Custom Desktop overrides for larger screen visibility */
@media (min-width: 1025px) {
  .hero-phase-title {
    font-size: 5.5rem; /* Increased to 5.5rem to fill the gap left by the eyebrow badges */
    line-height: 1.05;
  }
  .hero-phase {
    min-height: 380px; /* Taller area to accommodate the larger text size */
  }
  .desktop-only {
    display: inline; /* Show line breaks on desktop to force multi-line typography */
  }
}
