/* ======================================================
   Shubhek Gupta — Portfolio  ·  Vanilla CSS
   Light Theme Redesign — v2.0
   ====================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Backgrounds */
  --bg: #FFFFFF;
  --bg-secondary: #F7F7F8;
  --bg-soft: #FAFAFA;
  --bg-dark: #111111;

  /* Text */
  --fg: #111111;
  --text-secondary: #4A4A4A;
  --dim: #7A7A7A;
  --faint: #9A9A9A;

  /* Accent */
  --red: #E8001C;
  --red-hover: #C9001A;
  --red-soft: #FFF0F2;
  --red-border: rgba(232, 0, 28, 0.2);

  /* Borders & Surfaces */
  --line: #E8E8E8;
  --line-dark: #D0D0D0;
  --panel: #F7F7F8;
  --panel-hover: #EFEFEF;

  /* Positive metric colour (keep green for growth stats) */
  --emerald: #059669;
  --emerald-bg: rgba(5, 150, 105, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);

  /* Radii */
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;

  /* Layout */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 72rem;
  --max-w-lg: 64rem;
  --section-px: 1.5rem;
  --section-py: 6rem;
  --section-py-lg: 8rem;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--fg);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(232, 0, 28, 0.12);
  color: var(--fg);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* ---------- Scroll-reveal ---------- */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-init.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-child-init.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section shared ---------- */
.section {
  padding: var(--section-py) var(--section-px);
  background: var(--bg);
}

@media (min-width: 1024px) {
  .section {
    padding-top: var(--section-py-lg);
    padding-bottom: var(--section-py-lg);
  }
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.875rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.15;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-desc {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.7;
  color: var(--dim);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--red);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.navbar-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--dim);
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--fg);
}

.navbar-cta {
  display: none;
  padding: 0.5rem 1.125rem;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.navbar-cta:hover {
  background: var(--red-hover);
}

.navbar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  padding: 4px;
}

.navbar-toggle svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }

  .navbar-cta {
    display: inline-flex;
  }

  .navbar-toggle {
    display: none;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeSlideIn 0.4s forwards;
}

.mobile-menu a:nth-child(1) {
  animation-delay: 0s;
}

.mobile-menu a:nth-child(2) {
  animation-delay: 0.06s;
}

.mobile-menu a:nth-child(3) {
  animation-delay: 0.06s;
}

.mobile-menu a:nth-child(4) {
  animation-delay: 0.12s;
}

.mobile-menu a:nth-child(5) {
  animation-delay: 0.18s;
}

.mobile-menu a:nth-child(6) {
  animation-delay: 0.24s;
}

.mobile-menu a:nth-child(7) {
  animation-delay: 0.30s;
}

.mobile-menu a:nth-child(8) {
  animation-delay: 0.36s;
}

.mobile-menu .mobile-cta {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 1.5rem 3.5rem;
  background: var(--bg);
  overflow: hidden;
}

.hero::before {
  content: none;
}

.hero-glow {
  display: none;
}

.hero-grid {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  opacity: 0;
  animation: fadeIn 0.5s 0.1s forwards;
}

/* Small dot before eyebrow */
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.hero-headline {
  margin-top: 1.25rem;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeSlideUp 0.6s 0.2s forwards;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 3.75rem;
  }
}

/* Accent word highlight */
.hero-headline .accent {
  color: var(--red);
}

/* Typewriter Effect */
.typewriter-text {
  color: #1E3A8A;
}

.typewriter-cursor {
  font-weight: 800;
  color: #1E3A8A;
  animation: blink 1s step-start infinite;
  margin-left: 2px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-size: 17px;
  line-height: 1.75;
  color: var(--dim);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeSlideUp 0.6s 0.35s forwards;
}

.hero-buttons {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeSlideUp 0.6s 0.5s forwards;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.5rem;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(232, 0, 28, 0.25);
}

.btn-red:hover {
  background: var(--red-hover);
  box-shadow: 0 4px 16px rgba(232, 0, 28, 0.35);
}

.btn-red svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.btn-red:hover svg {
  transform: translateX(2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.5rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--line-dark);
  color: var(--fg);
  background: var(--bg-secondary);
}

.hero-proof {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1.5px solid var(--line);
  padding-top: 2rem;
  opacity: 0;
  animation: fadeIn 0.5s 0.7s forwards;
}

.hero-proof-item h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.hero-proof-item p {
  font-size: 12px;
  color: var(--dim);
  margin-top: 2px;
}

.hero-proof-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

/* Hero Dashboard */
.hero-dashboard-wrap {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-dashboard-wrap {
    display: flex;
  }
}

.hero-dashboard {
  width: 100%;
  max-width: 26rem;
  border-radius: var(--radius-2xl);
  border: 1.5px solid var(--line);
  background: var(--bg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.8s 0.5s forwards;
}

.dashboard-header {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-header span:first-child {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Changed: no longer says "Live" — now "Analytics" */
.dashboard-live {
  background: var(--emerald-bg);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: var(--emerald);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.stat-card {
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  padding: 1rem;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: var(--line-dark);
}

.stat-card-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dim);
  font-size: 12px;
}

.stat-card-label svg {
  width: 14px;
  height: 14px;
}

.stat-card-row {
  margin-top: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.stat-card-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
}

.stat-card-change {
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
}

.dashboard-chart {
  margin-top: 1rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  padding: 0.875rem;
}

.dashboard-chart-header {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-chart-header span:first-child {
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
}

.dashboard-chart-header span:last-child {
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
}

/* ============================================
   ABOUT
   ============================================ */
.about-dark-theme {
  background: #18181A;
  padding: 3rem 1.5rem 3rem 1.5rem;
  overflow: hidden;
  position: relative;
}

@media (min-width: 1024px) {
  .about-dark-theme {
    padding: 4rem 1.5rem 4rem 1.5rem !important;
  }
}

.about-centered-dark {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about-dark-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-dark-desc {
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.about-dark-desc p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #9CA3AF;
  /* Light gray */
  font-weight: 400;
}

.about-dark-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-dark-stats {
    gap: 6rem;
  }
}

.about-dark-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.about-dark-stat h3 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #FFC6C6;
  /* Soft peach/pink */
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-dark-stat span {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}


/* ============================================
   RESULTS
   ============================================ */
.results-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.result-card {
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  background: var(--bg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.result-card:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.result-card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.result-card-value {
  margin-top: 0.5rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
}

.result-card-desc {
  margin-top: 0.625rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--dim);
}

.result-card-chart {
  margin-top: 1.125rem;
}

/* ============================================
   CLIENTS CAROUSEL (Square Box Cards)
   ============================================ */
.clients-carousel-wrap {
  position: relative;
  margin-top: 2rem;
}

.clients-header-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .clients-header-title {
    font-size: 1.4rem;
  }
}

.carousel-arrow {
  position: absolute;
  top: 35%;
  z-index: 20;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.carousel-arrow svg {
  width: 16px;
  height: 16px;
}

.carousel-arrow-left {
  left: -12px;
}

.carousel-arrow-right {
  right: -12px;
}

@media (min-width: 768px) {
  .carousel-arrow-left {
    left: -20px;
  }

  .carousel-arrow-right {
    right: -20px;
  }
}

.clients-track {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.clients-track::-webkit-scrollbar {
  display: none;
}

.client-card {
  width: 130px;
  min-width: 130px;
  flex-shrink: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  transition: transform 0.25s ease;
}

@media (min-width: 640px) {
  .client-card {
    width: 140px;
    min-width: 140px;
  }
}

.client-card:hover {
  transform: translateY(-4px);
}

.client-avatar-wrap {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: var(--radius-lg);
  padding: 3px;
  border: 1.5px solid var(--line-dark);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 640px) {
  .client-avatar-wrap {
    width: 94px;
    height: 94px;
  }
}

.client-card:hover .client-avatar-wrap {
  transform: scale(1.05);
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}

.client-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 3px);
  object-fit: cover;
  object-position: top;
  display: block;
}

.client-card-info {
  margin-top: 0.75rem;
  width: 100%;
}

.client-card-info h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
  margin: 0;
  text-shadow: none;
  word-break: break-word;
}

.carousel-dots {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dot {
  height: 6px;
  border-radius: 999px;
  transition: all 0.3s;
  background: var(--line);
  width: 6px;
  border: 1px solid var(--line-dark);
}

.carousel-dot.active {
  width: 22px;
  background: var(--red);
  border-color: var(--red);
}

/* ============================================
   CASE STUDIES
   ============================================ */
.case-studies {
  position: relative;
  background: var(--bg-secondary);
  padding: var(--section-py) var(--section-px);
}

@media (min-width: 1024px) {
  .case-studies {
    padding-top: var(--section-py-lg);
    padding-bottom: var(--section-py-lg);
  }
}

/* Remove neon glow - replaced with subtle warm tint */
.case-studies-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(232, 0, 28, 0.025) 0, transparent 70%);
}

.case-studies-header {
  position: relative;
  max-width: var(--max-w-lg);
  margin: 0 auto 3rem;
  text-align: center;
}

.case-studies-label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
}

.case-studies-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.15;
}

@media (min-width: 640px) {
  .case-studies-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .case-studies-title {
    font-size: 2.875rem;
  }
}

.case-studies-desc {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: 1rem;
  color: var(--dim);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .case-studies-desc {
    font-size: 1.0625rem;
  }
}

.case-studies-container {
  position: relative;
  max-width: var(--max-w-lg);
  margin: 0 auto;
}

.case-study-slot {
  position: sticky;
  top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4rem;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .case-study-slot {
    top: 6rem;
  }
}

.case-study-card {
  position: relative;
  width: 100%;
  max-width: 56rem;
  overflow: hidden;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

@media (min-width: 640px) {
  .case-study-card {
    padding: 0.75rem;
  }
}

.case-study-card:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-lg);
}

/* Replace neon top line with clean red accent */
.case-study-neon-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 3px;
  background: var(--red);
  opacity: 0.9;
  border-radius: 20px 20px 0 0;
}

.case-study-card-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-card-inner img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-cell:nth-child(7) {
    grid-column: 1 / -1;
    max-width: 580px;
    justify-self: center;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .service-cell:nth-child(7) {
    grid-column: 2 / 3;
    max-width: 100%;
    width: 100%;
  }
}

.service-cell {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-cell:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-cell-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--red-border);
  background: var(--red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.service-cell-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.service-cell h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.35;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.service-cell p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--dim);
  margin: 0;
  flex-grow: 1;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  overflow: hidden;
  padding: var(--section-py) 0;
  background: var(--bg);
}

@media (min-width: 1024px) {
  .testimonials-section {
    padding-top: var(--section-py-lg);
    padding-bottom: var(--section-py-lg);
  }
}

.video-testimonials-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-testimonial-card {
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}

.video-testimonial-card:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.video-testimonial-card .video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-testimonial-card .video-wrap iframe {
  pointer-events: none;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-testimonial-card .video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.video-testimonial-card .card-info {
  padding: 1.25rem;
}

.video-testimonial-card .card-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-testimonial-card .card-info-header h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fg);
}

.video-testimonial-card .card-info-header span {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
}

.video-testimonial-card .card-info .role {
  margin-top: 0.25rem;
  font-size: 12px;
  color: var(--faint);
}

.video-testimonial-card .card-info .highlight {
  margin-top: 0.75rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Marquee */
.marquee-section {
  margin-top: 5rem;
}

.marquee-label {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--faint);
}

.marquee-row {
  position: relative;
  overflow: hidden;
}

.marquee-fade-l {
  position: absolute;
  inset: 0;
  right: auto;
  z-index: 10;
  width: 96px;
  background: linear-gradient(to right, var(--bg), transparent);
  pointer-events: none;
}

.marquee-fade-r {
  position: absolute;
  inset: 0;
  left: auto;
  z-index: 10;
  width: 96px;
  background: linear-gradient(to left, var(--bg), transparent);
  pointer-events: none;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-track.left {
  animation: marqueeLeft 60s linear infinite;
}

.marquee-track.right {
  animation: marqueeRight 60s linear infinite;
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-row+.marquee-row {
  margin-top: 1rem;
}

@keyframes marqueeLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.testimonial-card {
  width: 420px;
  min-width: 420px;
  flex-shrink: 0;
  margin: 0 0.75rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  padding: 1.5rem;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--red);
  color: var(--red);
}

.testimonial-quote {
  margin-top: 0.75rem;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.testimonial-author {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red-soft);
  border: 1.5px solid var(--red-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}

.testimonial-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
}

.testimonial-author-role {
  font-size: 11px;
  color: var(--faint);
  margin-top: 1px;
}

/* ============================================
   GROWTH FRAMEWORK
   ============================================ */
.framework-section {
  position: relative;
  background: var(--bg-secondary);
}

/* Desktop horizontal scroll */
.framework-desktop {
  display: none;
  position: relative;
  height: 380vh;
}

@media (min-width: 1024px) {
  .framework-desktop {
    display: block;
  }
}

.framework-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 3rem;
}

.framework-header {
  max-width: 56rem;
  margin: 0 auto 3.5rem;
  text-align: center;
  flex-shrink: 0;
}

.framework-track-wrap {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  overflow: visible;
}

.framework-track {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 2rem 0;
  will-change: transform;
}

.framework-step-wrap {
  display: flex;
  align-items: center;
}

.framework-card {
  position: relative;
  z-index: 20;
  width: 300px;
  min-width: 300px;
  flex-shrink: 0;
  border-radius: var(--radius-2xl);
  border: 1.5px solid var(--line);
  background: var(--bg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, opacity 0.3s;
}

@media (min-width: 768px) {
  .framework-card {
    width: 320px;
    min-width: 320px;
  }
}

.framework-card.active {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft), var(--shadow-md);
}

.framework-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.framework-step-badge {
  display: inline-flex;
  border-radius: 999px;
  background: var(--red-soft);
  border: 1px solid var(--red-border);
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-family: monospace;
  font-weight: 700;
  color: var(--red);
}

.framework-step-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  color: var(--red);
  transition: border-color 0.3s, background 0.3s;
}

.framework-card.active .framework-step-icon {
  border-color: var(--red-border);
  background: var(--red-soft);
}

.framework-step-icon svg {
  width: 20px;
  height: 20px;
}

.framework-card h3 {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.framework-card p {
  margin-top: 0.625rem;
  font-size: 13px;
  line-height: 1.65;
  color: var(--dim);
}

.framework-card-footer {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
}

.framework-connector {
  position: relative;
  height: 3px;
  width: 40px;
  flex-shrink: 0;
  align-self: center;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

@media (min-width: 768px) {
  .framework-connector {
    width: 56px;
  }
}

.framework-connector-fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

/* Mobile vertical */
.framework-mobile {
  display: block;
  padding: 5rem 1.5rem;
}

@media (min-width: 1024px) {
  .framework-mobile {
    display: none;
  }
}

.framework-mobile-header {
  text-align: center;
  margin-bottom: 3rem;
}

.framework-mobile-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.framework-mobile-card {
  border-radius: var(--radius-2xl);
  border: 1.5px solid var(--line);
  background: var(--bg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.framework-mobile-card .framework-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.framework-mobile-card .framework-step-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
}

.framework-mobile-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--fg);
}

.framework-mobile-card p {
  margin-top: 0.5rem;
  font-size: 13px;
  line-height: 1.65;
  color: var(--dim);
}

.framework-mobile-card .framework-card-footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 0.875rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
}

/* ============================================
   ANALYTICS SHOWCASE
   ============================================ */
.analytics-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .analytics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.analytics-proof-card {
  cursor: pointer;
  border-radius: var(--radius-2xl);
  border: 1.5px solid var(--line);
  background: var(--bg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.analytics-proof-card:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.analytics-proof-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: var(--red-soft);
  border: 1px solid var(--red-border);
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-family: monospace;
  font-weight: 700;
  color: var(--red);
}

.verified-badge svg {
  width: 12px;
  height: 12px;
}

.subs-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-bg);
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.analytics-screenshot-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  aspect-ratio: 16/10;
}

.analytics-screenshot-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.analytics-proof-card:hover .analytics-screenshot-wrap img {
  transform: scale(1.03);
}

.analytics-screenshot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.analytics-proof-card:hover .analytics-screenshot-overlay {
  opacity: 1;
}

.inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--fg);
  padding: 0.5rem 1rem;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(6px);
  transition: transform 0.3s;
}

.analytics-proof-card:hover .inspect-btn {
  transform: translateY(0);
}

.inspect-btn svg {
  width: 14px;
  height: 14px;
}

.analytics-proof-title {
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.4;
}

.analytics-proof-card:hover .analytics-proof-title {
  color: var(--red);
}

.analytics-proof-desc {
  margin-top: 0.375rem;
  font-size: 12px;
  line-height: 1.6;
  color: var(--dim);
}

.analytics-proof-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  font-size: 12px;
}

.analytics-proof-footer .stat {
  font-weight: 700;
  color: var(--fg);
}

.analytics-proof-footer .watch {
  font-family: monospace;
  color: var(--faint);
}

/* Metric overview */
.metrics-overview {
  margin-top: 4rem;
  border-top: 1.5px solid var(--line);
  padding-top: 3rem;
}

.metrics-overview-label {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--faint);
}

.metrics-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-card {
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  padding: 1.25rem;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.metric-card:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.metric-card-label {
  font-size: 12px;
  color: var(--dim);
  font-weight: 500;
}

.metric-card-row {
  margin-top: 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.metric-card-value {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
}

.metric-card-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
}

.metric-card-change svg {
  width: 12px;
  height: 12px;
}

.metric-card-desc {
  margin-top: 0.375rem;
  font-size: 11px;
  color: var(--faint);
  line-height: 1.5;
}

.metric-card-chart {
  margin-top: 0.875rem;
}

/* ============================================
   WHY WORK WITH ME
   ============================================ */
.features-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature-item:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-item svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.feature-item h3 {
  margin-top: 1rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}

.feature-item p {
  margin-top: 0.5rem;
  font-size: 13px;
  line-height: 1.65;
  color: var(--dim);
}

/* ============================================
   CTA / CONTACT
   ============================================ */
.cta-section {
  position: relative;
  border-top: 1.5px solid var(--line);
  padding: var(--section-py) var(--section-px);
  background: var(--bg-soft);
}

@media (min-width: 1024px) {
  .cta-section {
    padding-top: var(--section-py-lg);
    padding-bottom: var(--section-py-lg);
  }
}

/* Subtle top red accent, not a glow */
.cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 30% at 50% 0%, rgba(232, 0, 28, 0.04), transparent 60%);
}

.cta-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-header {
  text-align: center;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.875rem;
  border-radius: 999px;
  border: 1.5px solid var(--red-border);
  background: var(--red-soft);
  padding: 0.3125rem 1rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
}

.cta-badge svg {
  width: 14px;
  height: 14px;
}

.cta-headline {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.15;
}

@media (min-width: 640px) {
  .cta-headline {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .cta-headline {
    font-size: 2.875rem;
  }
}

.cta-sub {
  margin: 1rem auto 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dim);
}

@media (min-width: 768px) {
  .cta-sub {
    font-size: 1.0625rem;
  }
}

.cta-form-wrap,
#ctaForm {
  scroll-margin-top: 5rem;
}

.cta-form-wrap {
  margin-top: 3rem;
  border-radius: var(--radius-2xl);
  border: 1.5px solid var(--line);
  background: var(--bg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .cta-form-wrap {
    padding: 2.5rem;
  }
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.form-label .req {
  color: var(--red);
}

.form-input {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  background: var(--bg);
  padding: 0.8125rem 1rem;
  font-size: 14px;
  color: var(--fg);
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input::placeholder {
  color: var(--faint);
}

.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232, 0, 28, 0.08);
}

textarea.form-input {
  resize: none;
}

.form-services-label {
  margin-bottom: 0.5rem;
}

.form-services-note {
  color: var(--red);
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.form-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  background: var(--bg);
  padding: 0.5rem 0.875rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--dim);
  transition: all 0.2s;
  cursor: pointer;
}

.service-toggle:hover {
  border-color: var(--line-dark);
  color: var(--fg);
  background: var(--bg-soft);
}

.service-toggle.selected {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
  font-weight: 600;
}

.service-checkbox {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  transition: all 0.2s;
}

.service-toggle.selected .service-checkbox {
  border-color: var(--red);
  background: var(--red);
}

.service-checkbox svg {
  width: 10px;
  height: 10px;
  color: #fff;
  display: none;
}

.service-toggle.selected .service-checkbox svg {
  display: block;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  background: var(--red);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(232, 0, 28, 0.3);
}

.btn-submit:hover {
  background: var(--red-hover);
  box-shadow: 0 4px 20px rgba(232, 0, 28, 0.4);
}

.btn-submit svg {
  width: 16px;
  height: 16px;
}

.btn-submit .arrow {
  transition: transform 0.2s;
}

.btn-submit:hover .arrow {
  transform: translateX(4px);
}

.form-footer {
  text-align: center;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.6;
}

/* Success state */
.form-success {
  padding: 3rem 0;
  text-align: center;
  display: none;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red-soft);
  border: 1.5px solid var(--red-border);
  color: var(--red);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fg);
}

.form-success p {
  margin-top: 0.5rem;
  font-size: 14px;
  color: var(--dim);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.form-success .user-name,
.form-success .user-email {
  color: var(--fg);
  font-weight: 700;
}

.btn-reset {
  margin-top: 2rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  padding: 0.625rem 1.25rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  background: var(--bg);
  transition: all 0.2s;
}

.btn-reset:hover {
  color: var(--fg);
  border-color: var(--line-dark);
  background: var(--bg-soft);
}

/* ============================================
   FOOTER — keep dark, premium contrast
   ============================================ */
.site-footer {
  background: var(--bg-dark);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-brand-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--red);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.footer-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.footer-brand-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-socials a:hover {
  color: #fff;
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   MODALS — light theme
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  position: relative;
  width: 94vw;
  max-width: 64rem;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  color: var(--dim);
  font-size: 18px;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--panel-hover);
  color: var(--fg);
}

/* Video modal */
.modal-video .modal-content {
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.modal-video-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  flex-shrink: 0;
}

.modal-video-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
}

.modal-video-header p {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  margin-top: 2px;
}

.modal-video-body {
  flex: 1;
  min-height: 0;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

@media (min-width: 640px) {
  .modal-video-body {
    padding: 0.5rem;
  }
}

.modal-video-body iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  border-radius: var(--radius-xl);
}

.modal-video-footer {
  padding: 1rem 1.5rem;
  font-size: 12px;
  color: var(--dim);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.modal-video-footer strong {
  color: var(--fg);
}

/* Image modal */
.modal-image .modal-content {
  padding: 1.5rem;
}

.modal-image-header {
  margin-bottom: 1rem;
}

.modal-image-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-image-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fg);
}

.modal-image-desc {
  margin-top: 0.375rem;
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
}

.modal-image-desc .stat-val {
  color: var(--fg);
  font-weight: 700;
}

.modal-image-desc .watch-val {
  color: var(--red);
  font-weight: 700;
}

.modal-image-body {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.modal-image-body img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none !important;
  }
}

/* ============================================
   HERO v2 — Premium Personal Brand Style
   ============================================ */

@keyframes floatCardLeft {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatCardRight {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Badge row */
.hp-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 0.55s 0.15s forwards;
}

.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 0, 28, 0.18);
  background: var(--bg);
  box-shadow: 0 4px 14px rgba(232, 0, 28, 0.06);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg);
  cursor: default;
  user-select: none;
}

.hp-sparkle-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* Headline */
.hp-headline {
  font-size: clamp(2.85rem, 6.2vw, 4.85rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-align: center;
  color: var(--fg);
  margin-bottom: -0.75rem;
  /* draws visual zone closer */
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeSlideUp 0.7s 0.25s forwards;
}

.hp-headline .accent {
  color: var(--red);
  background: linear-gradient(135deg, #FF1A35 0%, #E8001C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 3-column center zone */
.hp-center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
  width: 100%;
  max-width: 1050px;
  opacity: 0;
  animation: fadeIn 0.85s 0.4s forwards;
}

/* Side info cards — Glassmorphism & floating */
.hp-side-card {
  flex-shrink: 0;
  width: 190px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  border-radius: 1.125rem;
  padding: 1.125rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-side-card:hover {
  box-shadow: 0 16px 36px rgba(232, 0, 28, 0.1), 0 4px 10px rgba(0, 0, 0, 0.03);
}

.hp-side-left {
  text-align: left;
  animation: floatCardLeft 5s ease-in-out infinite;
}

.hp-avatar-stack {
  display: flex;
  align-items: center;
  margin-bottom: 0.625rem;
}

.hp-avatar-stack img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.hp-avatar-stack img:first-child {
  margin-left: 0;
}

.hp-side-right {
  text-align: center;
  animation: floatCardRight 5s ease-in-out 2.5s infinite;
}

.hp-side-left p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fg);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hp-rec-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-soft);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.hp-stars {
  font-size: 16px;
  color: #FFB800;
  letter-spacing: 2px;
  margin-bottom: 0.375rem;
  text-shadow: 0 2px 8px rgba(255, 184, 0, 0.3);
}

.hp-big-num {
  font-size: 2.5rem;
  font-weight: 850;
  letter-spacing: -0.05em;
  color: var(--fg);
  line-height: 1;
}

.hp-num-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--dim);
  margin-top: 4px;
}

/* Person + circle */
.hp-person-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.hp-bg-circle {
  position: absolute;
  top: 50px;
  /* head floats above circle */
  left: 50%;
  transform: translateX(-50%);
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #FFF0F2 0%, #FFE0E4 100%);
  border: 1.5px solid rgba(232, 0, 28, 0.14);
  box-shadow: 0 12px 40px rgba(232, 0, 28, 0.08), inset 0 0 24px rgba(255, 255, 255, 0.8);
  z-index: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease;
}

.hp-person-wrap:hover .hp-bg-circle {
  transform: translateX(-50%) scale(1.04);
  box-shadow: 0 16px 48px rgba(232, 0, 28, 0.15), inset 0 0 24px rgba(255, 255, 255, 0.9);
}

.hp-photo {
  position: relative;
  z-index: 2;
  width: 290px;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hp-deco-lines {
  position: relative;
  z-index: 3;
  margin-top: -0.25rem;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(232, 0, 28, 0.25));
}

.hp-ctas {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 0.75rem;
  margin-top: 0.875rem;
}

/* CTA buttons */
.hp-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8125rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF1A35 0%, #D60019 100%);
  color: #fff;
  font-size: 14.5px;
  font-weight: 650;
  box-shadow: 0 4px 16px rgba(232, 0, 28, 0.32);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hp-cta-primary:hover {
  background: linear-gradient(135deg, #FF2B45 0%, #E8001C 100%);
  box-shadow: 0 8px 26px rgba(232, 0, 28, 0.45);
  transform: translateY(-2px);
}

.hp-cta-primary svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hp-cta-primary:hover svg {
  transform: translate(2px, -2px);
}

.hp-cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.8125rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--fg);
  font-size: 14.5px;
  font-weight: 650;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hp-cta-ghost:hover {
  border-color: var(--fg);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Proof strip at base of hero */
.hp-proof-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.75rem;
  padding: 0.875rem 2.25rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  opacity: 0;
  animation: fadeIn 0.6s 0.7s forwards;
}

.hp-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.hp-proof-item strong {
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
}

.hp-proof-item span {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--dim);
  line-height: 1.4;
}

.hp-proof-div {
  width: 1px;
  height: 32px;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 840px) {
  .hp-side-card {
    display: none;
  }

  .hp-center {
    gap: 0;
  }

  .hp-bg-circle {
    width: 250px;
    height: 250px;
    top: 40px;
  }

  .hp-photo {
    width: 240px;
    height: 320px;
  }

  .hp-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hp-cta-primary,
  .hp-cta-ghost {
    width: 100%;
    justify-content: center;
    max-width: 260px;
  }

  .hp-headline {
    font-size: 2.375rem;
  }

  .hp-proof-strip {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 1.25rem;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .hp-proof-div {
    display: none;
  }

  .hp-proof-item strong {
    font-size: 1.35rem;
  }
}

@media (min-width: 841px) and (max-width: 1050px) {
  .hp-side-card {
    width: 150px;
    padding: 0.875rem;
  }

  .hp-center {
    gap: 1.75rem;
  }

  .hp-bg-circle {
    width: 270px;
    height: 270px;
    top: 45px;
  }

  .hp-photo {
    width: 255px;
    height: 350px;
  }

  .hp-big-num {
    font-size: 2.15rem;
  }
}

/* ============================================
   WHY START YOUTUBE (3D Flip Cards - Premium Upgrade)
   ============================================ */
.why-youtube-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 25%, rgba(232, 0, 28, 0.04) 0%, transparent 70%);
}

.flip-cards-grid,
.why-youtube-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {

  .flip-cards-grid,
  .why-youtube-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {

  .flip-cards-grid,
  .why-youtube-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.flip-card {
  perspective: 1000px;
  height: 355px;
  width: 100%;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-xl);
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 1.625rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

/* Front Face Styling */
.flip-card-front {
  background: #FFFFFF;
  z-index: 2;
  transform: rotateY(0deg);
  border-top: 3px solid var(--red-border);
}

.flip-card:hover .flip-card-front {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--line-dark);
  border-top-color: var(--red);
}

.flip-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flip-card-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--faint);
  letter-spacing: 0.1em;
}

.flip-card-icon,
.flip-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--red-border);
  background: var(--red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.flip-card:hover .flip-card-icon {
  transform: scale(1.06);
}

.flip-card-icon svg,
.flip-icon-box svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.flip-card-front-content,
.flip-front-main {
  margin-top: auto;
  margin-bottom: auto;
  padding: 0.5rem 0;
}

.flip-card-stat,
.flip-front-badge {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.stat-unit {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dim);
}

.flip-card-title,
.flip-front-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.flip-card-text,
.flip-front-desc {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.5;
}

.flip-card-hint,
.flip-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-secondary);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--dim);
  width: fit-content;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.flip-card:hover .flip-card-hint {
  background: var(--red-soft);
  border-color: var(--red-border);
  color: var(--red);
}

.flip-card-hint svg,
.flip-hint-icon {
  color: var(--red);
  font-size: 13px;
  transition: transform 0.5s ease;
}

.flip-card:hover .flip-card-hint svg,
.flip-card:hover .flip-hint-icon,
.flip-card.flipped .flip-card-hint svg,
.flip-card.flipped .flip-hint-icon {
  transform: rotate(180deg);
}

/* Premium Dark Back Face with Glowing Border */
.flip-card-back {
  background: linear-gradient(145deg, #18181A 0%, #0D0D0F 100%);
  transform: rotateY(180deg);
  border: 1.5px solid rgba(232, 0, 28, 0.45);
  box-shadow: 0 16px 40px rgba(232, 0, 28, 0.16), 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.flip-card-back-title,
.flip-back-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.flip-card-back-intro,
.flip-back-desc {
  font-size: 12.5px;
  color: #A1A1AA;
  line-height: 1.4;
}

/* Bullet list on back face */
.flip-list {
  margin: 0.4rem 0;
  padding-left: 1.125rem;
  list-style: disc;
}

.flip-list li {
  font-size: 12px;
  color: #E4E4E7;
  line-height: 1.45;
  margin-bottom: 0.2rem;
}

.flip-list li::marker {
  color: var(--red);
}

/* Chips / Tag list on back face */
.flip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0;
}

.flip-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 600;
  color: #F4F4F5;
  transition: all 0.2s ease;
}

.flip-chip:hover {
  background: rgba(232, 0, 28, 0.25);
  border-color: rgba(232, 0, 28, 0.6);
  color: #FFFFFF;
}

/* Styled Flow Chain */
.flip-flow-chain {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.5rem 0;
  padding: 0.5rem 0.625rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-flow-chain.mini-pipeline {
  padding: 0.4rem 0.5rem;
  gap: 0.2rem;
}

.flip-flow-chain .flow-item {
  font-size: 11px;
  font-weight: 700;
  color: #D4D4D8;
}

.flip-flow-chain .flow-item.active {
  color: #FFFFFF;
  background: rgba(232, 0, 28, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(232, 0, 28, 0.5);
}

.flip-flow-chain .flow-arr {
  color: var(--red);
}

/* Why YouTube CTA */
.why-youtube-cta {
  margin-top: 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.why-youtube-cta-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-align: center;
  margin: 0;
}

.why-youtube-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--red);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(232, 0, 28, 0.3);
  transition: all 0.25s ease;
}

.why-youtube-btn:hover {
  background: #c50017;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 0, 28, 0.4);
}
/* ============================================
   MOBILE / TABLET RESPONSIVE FIXES
   ============================================ */
html {
  scroll-padding-top: 4.5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: clip;
}

img,
video,
svg {
  max-width: 100%;
}

/* Tablet: 7 nav links + CTA don't fit between 768px and 1024px */
@media (min-width: 768px) and (max-width: 1023px) {
  .navbar-links {
    gap: 1rem;
  }

  .navbar-links a {
    font-size: 12px;
  }

  .navbar-logo-text {
    font-size: 14px;
  }
}

/* Phones */
@media (max-width: 640px) {
  :root {
    --section-px: 1.25rem;
    --section-py: 4rem;
    --section-py-lg: 4.5rem;
  }

  .hero {
    padding: 5rem 1.25rem 3rem;
  }

  /* Headline wraps to 3 lines on phones, so don't pull the photo up into it */
  .hp-headline {
    font-size: clamp(1.9rem, 9.5vw, 2.375rem);
    margin-bottom: 0.75rem;
    overflow-wrap: anywhere;
  }

  .hp-photo {
    width: min(240px, 68vw);
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .hp-bg-circle {
    width: min(250px, 70vw);
    height: min(250px, 70vw);
  }

  .hp-cta-primary,
  .hp-cta-ghost {
    min-height: 48px;
  }

  .mobile-menu a {
    min-height: 44px;
  }
}

/* Very small phones (320px) */
@media (max-width: 360px) {
  .navbar-logo-text {
    font-size: 13.5px;
  }

  .hp-headline {
    font-size: 1.8rem;
  }
}

/* ============================================
   MOBILE PERFORMANCE (desktop untouched)
   ============================================ */
.hp-avatar-mask picture {
  display: contents;
}

@media (max-width: 840px) {

  /* Show above-the-fold hero content sooner so LCP/FCP aren't held back by delays */
  .hp-badge-row {
    animation: fadeIn 0.3s 0s forwards;
  }

  .hp-headline {
    animation: fadeSlideUp 0.35s 0s forwards;
  }

  .hp-center {
    animation: fadeIn 0.35s 0s forwards;
  }

  .hp-proof-strip {
    animation: fadeIn 0.35s 0.1s forwards;
  }
}

/* Mobile LCP: Chrome never records an LCP paint for content that starts at opacity:0 and is only
   faded in by a compositor animation, so the hero was only measured when the typewriter repainted
   it (~2.7s). Starting the same fade at opacity .01 (visually identical) lets the photo count as soon
   as it is first painted. Desktop is untouched. */
@keyframes fadeInLcp {
  from { opacity: 0.01; }
  to { opacity: 1; }
}

@keyframes fadeSlideUpLcp {
  from { opacity: 0.01; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 840px) {
  .hp-center {
    opacity: 0.01;
    animation: fadeInLcp 0.35s 0s forwards;
  }

  .hp-headline {
    opacity: 0.01;
    animation: fadeSlideUpLcp 0.35s 0s forwards;
  }
}
