/* socmedai — Design matched to ChatGPT reference mockup */
:root {
  --bg-deep: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #111111;
  --red: #e50914;
  --red-hover: #ff1a25;
  --red-glow: rgba(229, 9, 20, 0.45);
  --red-dim: #a0060e;
  --text: #ffffff;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --border-red: rgba(229, 9, 20, 0.35);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Bebas Neue", var(--font);
  --header-h: 4.35rem;
  --logo-icon-size: 3rem;
  --transition: 0.25s ease;
  --purple: #9333ea;
  --purple-light: #a855f7;
  --orange: #f97316;
  --gradient-brand: linear-gradient(90deg, var(--purple-light), var(--orange));
  --btn-cta-gradient: linear-gradient(
    110deg,
    var(--red) 0%,
    var(--purple-light) 28%,
    var(--orange) 52%,
    var(--purple) 72%,
    var(--red-hover) 100%
  );
  --btn-cta-gradient-size: 240% 120%;
  --bg-portfolio: #050508;
  --about-section-bg: linear-gradient(180deg, var(--bg-deep) 0%, #0a0a0a 50%, var(--bg-deep) 100%);
  --vm-card-accent-bg: linear-gradient(160deg, rgba(229, 9, 20, 0.1) 0%, transparent 55%);
  --service-featured-bg: linear-gradient(160deg, rgba(229, 9, 20, 0.08) 0%, transparent 50%);
  --pricing-section-bg: #080808;
  --brief-strip-bg: #0d0d0d;
  /* Button tokens — on-primary stays white in every theme */
  --text-on-primary: #ffffff;
  --btn-primary-bg: var(--red);
  --btn-primary-hover: var(--red-hover);
  --btn-primary-shadow: 0 4px 24px var(--red-glow);
  --btn-outline-border: var(--border);
  --btn-outline-fg: var(--text);
  --btn-ghost-border: rgba(255, 255, 255, 0.25);
  --btn-ghost-fg: var(--text);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open .brief-progress-float,
body.nav-open .brief-marketing-dock {
  visibility: hidden;
  pointer-events: none;
}

.film-grain {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0);
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.text-accent {
  color: var(--red);
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 0.75rem;
  font-size: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.6rem 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--logo-icon-size);
  height: var(--logo-icon-size);
  color: var(--red);
  flex-shrink: 0;
}

.logo-play svg,
.logo-play .logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.02em;
}

.logo-text small {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active {
  color: var(--red);
}

body.portfolio-theme .nav-links a.active {
  color: var(--purple-light);
}

body.portfolio-theme .logo-play {
  color: var(--purple-light);
}

body.portfolio-theme .btn-nav {
  color: var(--text-on-primary) !important;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* Buttons — primary/red surfaces always use --text-on-primary (white) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  white-space: nowrap;
}

a.btn.btn-nav,
.hero-cta .btn.btn-primary {
  transition:
    --btn-lift-y var(--btn-lift-duration, 0.48s) var(--btn-lift-ease, cubic-bezier(0.22, 1, 0.36, 1))
      var(--btn-lift-delay, 0.2s),
    --btn-lift-scale var(--btn-lift-duration, 0.48s) var(--btn-lift-ease, cubic-bezier(0.22, 1, 0.36, 1))
      var(--btn-lift-delay, 0.2s),
    box-shadow var(--btn-lift-duration, 0.48s) var(--btn-lift-ease, cubic-bezier(0.22, 1, 0.36, 1))
      var(--btn-lift-delay, 0.2s),
    filter 0.42s var(--btn-lift-ease, cubic-bezier(0.22, 1, 0.36, 1)) 0.17s !important;
}

.btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--text-on-primary);
  box-shadow: var(--btn-primary-shadow);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
  color: var(--text-on-primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--red-glow);
}

/* Hero CTA uses --btn-lift-* (see .hero-cta .btn-primary); don't override with translateY(-1px) */
.hero-cta .btn-primary:hover {
  transform: translate3d(0, var(--btn-lift-y), 0) scale(var(--btn-lift-scale));
}

.btn-outline {
  background: transparent;
  color: var(--btn-outline-fg);
  border: 1px solid var(--btn-outline-border);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(229, 9, 20, 0.06);
}

.btn-ghost {
  padding: 0.55rem 1.25rem;
  background: transparent;
  color: var(--btn-ghost-fg);
  border: 1px solid var(--btn-ghost-border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
}

.btn-ghost:hover {
  border-color: var(--btn-ghost-fg);
  color: var(--btn-ghost-fg);
}

@keyframes btn-gradient-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Animatable lift vars — reliable hover-in AND hover-out (transform-only often snaps on mouseout) */
@property --btn-lift-y {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --btn-lift-scale {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

.btn-nav,
.hero-cta .btn-primary {
  --btn-lift-duration: 0.48s;
  --btn-lift-delay: 0.2s;
  --btn-lift-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --btn-lift-y: 0px;
  --btn-lift-scale: 1;
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  border: none !important;
  background: var(--red) !important;
  background-image: none !important;
  animation: none;
  color: var(--text-on-primary) !important;
  transform: translate3d(0, var(--btn-lift-y), 0) scale(var(--btn-lift-scale));
  transition:
    --btn-lift-y var(--btn-lift-duration) var(--btn-lift-ease) var(--btn-lift-delay),
    --btn-lift-scale var(--btn-lift-duration) var(--btn-lift-ease) var(--btn-lift-delay),
    box-shadow var(--btn-lift-duration) var(--btn-lift-ease) var(--btn-lift-delay),
    filter 0.42s var(--btn-lift-ease) calc(var(--btn-lift-delay) - 0.03s) !important;
}

.btn-nav::before,
.hero-cta .btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-color: var(--red);
  background-image: var(--btn-cta-gradient);
  background-size: var(--btn-cta-gradient-size);
  background-position: 0% 50%;
  background-repeat: no-repeat;
  animation: btn-gradient-flow 5.5s ease-in-out infinite;
}

.btn-nav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 1.15rem !important;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  line-height: 1;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.28);
  flex-shrink: 0;
  vertical-align: middle;
}

.hero-cta .btn-primary {
  box-shadow: var(--btn-primary-shadow);
}

.btn-nav:hover::before,
.hero-cta .btn-primary:hover::before {
  animation-duration: 3.25s;
}

.btn-nav:hover {
  --btn-lift-y: -3px;
  --btn-lift-scale: 1;
  color: var(--text-on-primary) !important;
  filter: brightness(1.1) saturate(1.08);
}

.hero-cta .btn-primary:hover {
  --btn-lift-y: -3px;
  --btn-lift-scale: 1.04;
  color: var(--text-on-primary) !important;
  filter: brightness(1.1) saturate(1.08);
}

.hero-cta .btn-primary:hover {
  box-shadow:
    0 10px 36px rgba(229, 9, 20, 0.45),
    0 0 28px rgba(168, 85, 247, 0.25);
}

.btn-nav:hover {
  box-shadow:
    0 8px 28px rgba(229, 9, 20, 0.42),
    0 0 22px rgba(168, 85, 247, 0.2);
}

body.portfolio-theme .btn-nav:hover {
  box-shadow:
    0 8px 28px rgba(147, 51, 234, 0.45),
    0 0 24px rgba(249, 115, 22, 0.22);
}

.btn-nav:active {
  --btn-lift-y: -1px;
  --btn-lift-scale: 1;
}

.hero-cta .btn-primary:active {
  --btn-lift-y: -1px;
  --btn-lift-scale: 1.02;
  --btn-lift-delay: 0s;
  --btn-lift-duration: 0.12s;
  filter: brightness(1.05);
}

.btn-demo {
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.btn-demo:hover {
  color: var(--text);
}

.demo-play {
  display: inline-flex;
  color: var(--text);
}

.btn-block {
  width: 100%;
}

/* Hero — full bg1 image, no solid black panel */
.hero {
  position: relative;
  padding-top: 4.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

/* finalbg1 already has left black fade — light overlay only */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.15) 0%,
    transparent 42%
  );
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 4.5rem);
  width: 100%;
  padding: 2.5rem clamp(1.25rem, 5vw, 5rem);
}

.hero-copy {
  max-width: 500px;
  width: 100%;
}

.hero h1 {
  margin-bottom: 0.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0.75rem 0 1rem;
}

.hero-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-deep);
  margin-left: -10px;
  background: linear-gradient(135deg, #374151, #1f2937);
}

.avatar-stack span:first-child {
  margin-left: 0;
  background: linear-gradient(135deg, var(--red), #7f1d1d);
}

.avatar-stack span:nth-child(2) { background: linear-gradient(135deg, #4b5563, #111827); }
.avatar-stack span:nth-child(3) { background: linear-gradient(135deg, #6b7280, #374151); }
.avatar-stack span:nth-child(4) { background: linear-gradient(135deg, #9ca3af, #4b5563); }

.hero-proof .stars {
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.hero-proof p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-proof strong {
  color: var(--text);
}

.proof-sub {
  font-size: 0.75rem !important;
}

/* Trustpilot-style review popups */
.review-popups {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 10%;
  z-index: 3;
  width: min(320px, 38vw);
  min-height: 360px;
  pointer-events: none;
}

/* Homepage: fixed stack on the left while scrolling */
body[data-page="home"] .review-popups--fixed {
  position: fixed;
  left: clamp(0.75rem, 2vw, 1.5rem);
  right: auto;
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  top: auto;
  z-index: 900;
  width: min(280px, 22vw);
  min-height: 340px;
  max-height: min(420px, calc(100vh - 5.5rem));
  pointer-events: none;
}

body[data-page="home"] .review-popups--fixed .review-popup {
  left: 0;
  right: auto;
}

body[data-page="home"] .review-popups--fixed .review-popup[data-index="1"] {
  left: 4%;
  right: auto;
  width: 92%;
}

body[data-page="home"] .review-popups--fixed .review-popup[data-index="2"] {
  left: 8%;
  right: auto;
  width: 85%;
}

.review-popup {
  position: absolute;
  right: 0;
  width: 100%;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.35);
  color: #1a1a1a;
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  animation: reviewPopIn 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
  pointer-events: auto;
}

.review-popup[data-index="0"] {
  bottom: 0;
  animation-delay: 0.8s;
  z-index: 3;
}

.review-popup[data-index="1"] {
  bottom: 118px;
  animation-delay: 1.4s;
  z-index: 2;
  width: 92%;
  right: 4%;
}

.review-popup[data-index="2"] {
  bottom: 228px;
  animation-delay: 2s;
  z-index: 1;
  width: 85%;
  right: 8%;
}

.review-popup.is-active {
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.1),
    0 24px 60px rgba(0, 182, 122, 0.2);
}

@keyframes reviewPopIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes reviewFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.review-popup.is-active.visible {
  animation: reviewFloat 4s ease-in-out infinite;
}

.review-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.trustpilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a1a1a;
}

.review-verified {
  font-size: 0.65rem;
  font-weight: 600;
  color: #00b67a;
  background: rgba(0, 182, 122, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.6rem;
}

.review-stars .star {
  width: 18px;
  height: 18px;
  background: #dcdce6;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.review-stars .star.filled {
  background: #00b67a;
}

.review-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #2d2d2d;
  margin-bottom: 0.75rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e50914, #7f1d1d);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.8rem;
  color: #1a1a1a;
}

/* Recent purchase toast — fixed right (homepage) */
body[data-page="home"] .purchase-popups--fixed {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  left: auto;
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  top: auto;
  z-index: 899;
  width: min(300px, 24vw);
  pointer-events: none;
}

.purchase-popup {
  display: block;
  width: 100%;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  border-left: 3px solid var(--red);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.32);
  color: #1a1a1a;
  text-decoration: none;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(24px) scale(0.94);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.purchase-popup.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.purchase-popup.is-leaving {
  opacity: 0;
  transform: translateX(20px) scale(0.96);
}

.purchase-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.purchase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00b67a;
}

.purchase-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b67a;
  box-shadow: 0 0 8px rgba(0, 182, 122, 0.6);
  animation: purchasePulse 1.4s ease-in-out infinite;
}

@keyframes purchasePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.purchase-time {
  font-size: 0.68rem;
  color: #6b7280;
  white-space: nowrap;
}

.purchase-body {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.purchase-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #7f1d1d);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.purchase-line {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  color: #374151;
  line-height: 1.35;
}

.purchase-line strong {
  color: #111;
}

.purchase-package {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.purchase-place {
  font-size: 0.72rem;
  color: #6b7280;
}

.purchase-cta {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

.purchase-cta:hover {
  color: #b20710;
  text-decoration: underline;
}

.review-author span {
  font-size: 0.7rem;
  color: #6b7280;
}

/* Brief CTA on homepage */
.brief-cta {
  text-align: center;
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.06) 0%, transparent 100%);
  border-block: 1px solid var(--border);
}

.brief-cta-inner {
  max-width: 560px;
  margin-inline: auto;
}

.brief-cta-inner .btn {
  margin-top: 1rem;
}

/* Portfolio (2nd slide reference) */
.portfolio-page {
  position: relative;
  padding: 5rem 0 4rem;
  background: var(--bg-portfolio);
  border-top: 1px solid rgba(147, 51, 234, 0.15);
  overflow: hidden;
}

.portfolio-glow {
  position: absolute;
  top: 10%;
  left: -15%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(147, 51, 234, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.portfolio-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.portfolio-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.portfolio-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 400px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.btn-showreel {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem 0.75rem 0.75rem;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-showreel:hover {
  background: rgba(147, 51, 234, 0.28);
  border-color: var(--purple-light);
}

.showreel-play {
  color: var(--purple-light);
  display: flex;
}

/* Featured carousel */
.featured-carousel {
  position: relative;
}

.featured-track {
  position: relative;
  min-height: 380px;
}

.featured-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.featured-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.2) 50%, rgba(5, 5, 8, 0.4) 100%);
}

.featured-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
  text-align: center;
}

.featured-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition);
}

.featured-play:hover {
  transform: translate(-50%, -55%) scale(1.08);
}

.featured-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.featured-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-meta a {
  color: var(--purple-light);
  text-decoration: none;
  font-weight: 600;
  margin-left: auto;
}

.featured-meta a:hover {
  color: var(--orange);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel-dots .dot {
  width: 32px;
  height: 4px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel-dots .dot.active {
  background: var(--gradient-brand);
  width: 48px;
}

/* Genre gallery */
.genre-section {
  padding-top: 1rem;
}

.genre-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.genre-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-view-all {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-view-all:hover {
  border-color: var(--purple-light);
  color: var(--text);
}

.genre-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.genre-filter {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.35rem 0;
  position: relative;
  transition: color var(--transition);
}

.genre-filter:hover,
.genre-filter.active {
  color: var(--text);
}

.genre-filter.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.8rem;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.genre-gallery-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gallery-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-arrow:hover {
  border-color: var(--purple-light);
  background: rgba(147, 51, 234, 0.15);
}

.genre-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  padding: 0.25rem 0;
}

.genre-gallery::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  flex: 0 0 min(220px, 42vw);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-card.hidden {
  display: none;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
}

.gallery-thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 8, 0.92) 0%, transparent 55%);
}

.gallery-genre {
  position: absolute;
  bottom: 3.5rem;
  left: 0.85rem;
  z-index: 1;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
}

.gallery-card h4 {
  position: absolute;
  bottom: 2rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.gallery-duration {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* How it works */
.how-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-card) 100%);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}


.how-visual {
  overflow: hidden;
  max-width: 100%;
  border-radius: var(--radius-lg);
}

.how-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(520px, 70vh);
  object-fit: cover;
  object-position: left center;
}

.how-copy h2 {
  margin-bottom: 0.25rem;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 2rem;
}

.how-step .step-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.how-step .step-icon svg {
  width: 28px;
  height: 28px;
}

.how-step h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.how-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stats bar */
.stats-bar {
  padding: 1.25rem 0;
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}

.stat-icon {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.stat strong {
  font-size: 1rem;
  color: var(--text);
}

.stat > span:last-child {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Value strip */
.value-strip {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--red);
}

.value-grid p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-desc {
  margin-inline: auto;
}

/* Service cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--border-red);
  transform: translateY(-3px);
}

.service-card.featured {
  border-color: var(--border-red);
  background-color: var(--bg-card);
  background-image: var(--service-featured-bg);
  box-shadow: 0 0 40px rgba(229, 9, 20, 0.08);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-primary);
  background: var(--btn-primary-bg);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.service-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  font-size: 0.85rem;
  padding: 0.3rem 0;
  padding-left: 1.1rem;
  position: relative;
  color: var(--text-muted);
}

.service-card li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.7rem;
}

/* About — vision, mission, what we do */
.about-section {
  background: var(--about-section-bg);
}

.about-intro {
  max-width: 52rem;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-intro p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.about-vm-card {
  padding: 2rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--border);
}

.about-vm-card-accent {
  border-left-color: var(--red);
  background-color: var(--bg-card);
  background-image: var(--vm-card-accent-bg);
}

.about-vm-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.about-vm-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.about-vm-card > p:last-child {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.about-what-head {
  text-align: center;
  margin-bottom: 2rem;
}

.about-what-head h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.about-what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-what-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.about-what-card:hover {
  border-color: var(--border-red);
  transform: translateY(-2px);
}

.about-what-card-future {
  border-style: dashed;
  border-color: rgba(229, 9, 20, 0.35);
}

.about-what-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.about-what-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-what-card li {
  font-size: 0.9rem;
  padding: 0.4rem 0;
  padding-left: 1.15rem;
  position: relative;
  color: var(--text-muted);
  line-height: 1.45;
}

.about-what-card li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .about-vm-grid,
  .about-what-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.pricing {
  background: var(--pricing-section-bg);
}

.launch-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.12) 0%, rgba(229, 9, 20, 0.04) 100%);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-lg);
}

.launch-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.launch-content h3 {
  font-size: 1.5rem;
}

.launch-price {
  text-align: right;
}

.price-was {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-now {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--red);
  margin: 0.2rem 0 0.75rem;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.tab {
  padding: 0.65rem 1.35rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
}

.tab:hover,
.tab.active {
  background: var(--btn-primary-bg);
  color: var(--text-on-primary);
  border-color: var(--btn-primary-bg);
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.price-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--border-red), 0 16px 48px rgba(0, 0, 0, 0.4);
}

.popular-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-primary);
  background: var(--btn-primary-bg);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.popular-tag.gold {
  background: #7f1d1d;
}

.price-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.price-card .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
}

.price-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.price-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 1.25rem;
}

.price-card li {
  font-size: 0.85rem;
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
  color: var(--text-muted);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
}

.bundle-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-inline: auto;
}

.price-cards-final {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-inline: auto;
}

.price-cards-final.bundle-cards {
  max-width: 520px;
}

.price-card.wide {
  padding: 2rem;
}

.pricing-phase {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.package-compare-wrap {
  margin-top: 2.5rem;
}

.package-compare-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.package-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.package-compare {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.package-compare th,
.package-compare td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--text-muted);
}

.package-compare thead th {
  background: rgba(229, 9, 20, 0.08);
  color: var(--text);
  font-weight: 700;
}

.package-compare tbody th[scope="row"] {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.package-compare-price td {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--red);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.trust-card {
  margin: 0;
  padding: 1.5rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
}

.trust-card footer {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-loading,
.faq-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 1.5rem 1rem;
  margin: 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1rem;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    background-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(229, 9, 20, 0.22);
}

.faq-item[open] {
  border-color: var(--border-red);
  box-shadow: 0 8px 32px rgba(229, 9, 20, 0.1);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-summary-text {
  flex: 1;
  text-align: left;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.faq-item summary:hover .faq-summary-text {
  color: var(--text);
}

.faq-item[open] summary .faq-summary-text {
  color: var(--red);
}

.faq-chevron {
  flex-shrink: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
  opacity: 0.75;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(-135deg);
  opacity: 1;
  color: var(--red);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item[open] .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  margin: 0;
  padding: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.35s ease 0.05s,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}

.faq-item[open] .faq-panel-inner p {
  opacity: 1;
  transform: translateY(0);
}

.faq-item a {
  color: var(--red);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item summary,
  .faq-summary-text,
  .faq-chevron,
  .faq-panel,
  .faq-panel-inner p {
    transition: none !important;
  }

  .faq-panel-inner p {
    opacity: 1;
    transform: none;
  }

  .faq-item:not([open]) .faq-panel {
    display: none;
  }
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Process */
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.process-steps li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.35rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--red);
  opacity: 0.9;
}

.process-steps h4 {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}

.process-steps h4 .script-free-badge {
  margin: 0;
  flex-shrink: 0;
}

.process-steps p {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.upsell-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: rgba(229, 9, 20, 0.06);
  border: 1px dashed var(--border-red);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.upsell-note strong {
  color: var(--red);
}

/* Tools */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tool-item {
  padding: 1.35rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.tool-item span {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.tool-item small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Brief form */
.brief {
  background: var(--brief-strip-bg);
  border-block: 1px solid var(--border);
}

.brief-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--bg-card);
}

.brief-form legend {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0 0.4rem;
  color: var(--red);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}

.brief-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.9rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition);
}

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin: 0.75rem 0;
}

.checkbox-group > span {
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkbox-group.wrap label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text);
  margin: 0;
  cursor: pointer;
}

.checkbox-group label input {
  width: auto;
  margin: 0;
  accent-color: var(--red);
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.25rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.terms-check a {
  color: var(--red);
}

.brief-form input[type="checkbox"] {
  display: inline-block;
  width: auto;
  margin-top: 0;
  padding: 0;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
}

.brief-form .error {
  border-color: var(--red) !important;
}

.form-success {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-lg);
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: rgba(229, 9, 20, 0.15);
  color: var(--red);
  border-radius: 50%;
}

.success-download {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.75rem 0 1.5rem;
}

/* Terms */
.terms-loading,
.terms-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 1.5rem 1rem;
  margin: 0;
}

.terms-expand {
  max-width: 760px;
  margin-inline: auto;
}

.terms-expand-viewport {
  position: relative;
  overflow: hidden;
  transition: max-height 0.62s cubic-bezier(0.33, 1, 0.68, 1);
}

.terms-expand.is-collapsed .terms-expand-viewport {
  max-height: 15.5rem;
}

.terms-expand.is-expanded .terms-expand-viewport,
.terms-expand.is-short .terms-expand-viewport,
.terms-expand.is-loading .terms-expand-viewport {
  max-height: none;
}

.terms-expand.is-expanded .terms-expand-viewport,
.terms-expand.is-short .terms-expand-viewport {
  overflow: visible;
}

.terms-expand-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  min-height: 7.5rem;
  padding: 0 0.5rem 0.35rem;
  pointer-events: none;
}

.terms-expand.is-expanding .terms-expand-overlay,
.terms-expand.is-collapsing .terms-expand-overlay {
  pointer-events: none;
}

.terms-expand.is-loading .terms-expand-overlay,
.terms-expand.is-short .terms-expand-overlay,
.terms-expand-overlay[hidden] {
  display: none !important;
}

.terms-expand:not(.is-collapsed):not(.is-expanded) .terms-expand-overlay {
  display: none !important;
}

.terms-expand-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0) 0%,
    rgba(10, 10, 10, 0.45) 42%,
    var(--bg-deep) 92%
  );
}

.terms-expand-fade::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 35%, #000 72%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 35%, #000 72%);
}

.terms-expand.is-collapsed:not(.is-animating) .terms-expand-fade,
.terms-expand.is-overlay-reveal .terms-expand-fade {
  animation: terms-fade-bg-in 0.58s cubic-bezier(0.33, 1, 0.68, 1) 0.22s forwards;
}

.terms-expand.is-collapsed:not(.is-animating) .terms-expand-fade::before,
.terms-expand.is-overlay-reveal .terms-expand-fade::before {
  animation: terms-fade-blur-in 0.62s cubic-bezier(0.33, 1, 0.68, 1) 0.18s forwards;
}

.terms-expand.is-expanding .terms-expand-fade,
.terms-expand.is-collapsing .terms-expand-fade {
  animation: terms-fade-bg-out 0.36s ease forwards;
}

.terms-expand.is-expanding .terms-expand-fade::before,
.terms-expand.is-collapsing .terms-expand-fade::before {
  animation: terms-fade-blur-out 0.34s ease forwards;
}

.terms-expand-label {
  display: block;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}

.terms-expand.is-collapsed:not(.is-animating) .terms-expand-label,
.terms-expand.is-overlay-reveal .terms-expand-label {
  animation: terms-btn-in 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.3s forwards;
}

.terms-expand.is-expanding .terms-expand-label,
.terms-expand.is-collapsing .terms-expand-label {
  animation: terms-btn-out 0.3s ease forwards;
}

.terms-expand-trigger {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.25rem 1rem 0.5rem;
  pointer-events: auto;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.2s ease;
}

.terms-expand-trigger:hover {
  color: var(--red);
}

.terms-expand-trigger:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
  border-radius: var(--radius);
}

.terms-expand-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(14px) scale(0.88);
  filter: blur(3px);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
  will-change: opacity, transform, filter;
}

.terms-expand.is-collapsed:not(.is-animating) .terms-expand-chevron,
.terms-expand.is-overlay-reveal .terms-expand-chevron {
  animation:
    terms-btn-in 0.54s cubic-bezier(0.33, 1, 0.68, 1) 0.4s forwards,
    terms-chevron-pulse 0.62s cubic-bezier(0.33, 1, 0.68, 1) 0.72s;
}

.terms-expand.is-expanding .terms-expand-chevron,
.terms-expand.is-collapsing .terms-expand-chevron {
  animation: terms-btn-out 0.34s ease 0.04s forwards;
}

.terms-expand.is-expanding.is-animating .terms-expand-chevron {
  animation: terms-btn-out 0.34s ease forwards, terms-chevron-pulse 0.62s cubic-bezier(0.33, 1, 0.68, 1);
}

@keyframes terms-fade-bg-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes terms-fade-bg-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes terms-fade-blur-in {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

@keyframes terms-fade-blur-out {
  from {
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
}

@keyframes terms-btn-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes terms-btn-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    filter: blur(4px);
  }
}

@keyframes terms-chevron-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.28);
  }
  45% {
    box-shadow: 0 0 0 7px rgba(229, 9, 20, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0);
  }
}

.terms-expand-chevron::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
}

.terms-expand.is-expanded:not(.is-animating) .terms-expand-chevron {
  animation: terms-showless-chevron-in 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.06s forwards;
}

.terms-expand.is-expanded:not(.is-animating) .terms-expand-label {
  opacity: 1;
  transform: none;
  filter: none;
  animation: terms-showless-in 0.44s cubic-bezier(0.33, 1, 0.68, 1) 0.05s forwards;
}

.terms-expand-trigger:hover .terms-expand-chevron {
  border-color: rgba(229, 9, 20, 0.45);
  background: rgba(229, 9, 20, 0.08);
}

.terms-content {
  display: grid;
  gap: 1rem;
}

.terms-content article {
  padding: 1.15rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.terms-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.terms-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.terms-content article p + p {
  margin-top: 0.5rem;
}

.terms-expand.is-expanded:not(.is-animating) .terms-expand-overlay {
  position: static;
  min-height: 0;
  margin-top: 0.85rem;
  padding: 0;
}

@keyframes terms-showless-in {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes terms-showless-chevron-in {
  from {
    opacity: 0;
    transform: translateY(10px) rotate(90deg) scale(0.9);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(180deg) scale(1);
    filter: blur(0);
  }
}

.terms-expand.is-expanded .terms-expand-fade {
  display: none;
}

/* Keep cards stable during expand/collapse — no per-card fade (fights scroll reveal) */
.terms-expand.is-animating .terms-content article,
.terms-expand.is-animating .terms-content article.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .terms-expand-viewport,
  .terms-expand-fade,
  .terms-expand-fade::before,
  .terms-expand-label,
  .terms-expand-trigger,
  .terms-expand-chevron {
    transition: none;
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .terms-expand.is-collapsed .terms-expand-fade,
  .terms-expand.is-collapsed .terms-expand-fade::before {
    opacity: 1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

}

/* Footer */
.site-footer {
  padding: 3.5rem 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
}

.footer-social a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.footer-social a:hover {
  color: var(--red);
}

.site-test-banner {
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(90deg, #f5c542, #e8a838);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.footer-links h5,
.footer-cta h5 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav backdrop */
.nav-backdrop {
  display: none;
}

/*
 * Responsive targets (portrait CSS width ≈ physical phone class)
 * 4.4"–4.7" → ~320–375px | 5"–5.3" → ~360px | 5.5" → ~375–414px
 * 6.0" → ~390–412px | 6.5" → ~428–430px (iPhone Plus / Pro Max)
 */
@media (max-width: 1024px) {
  .portfolio-hero {
    grid-template-columns: 1fr;
  }

  .portfolio-intro {
    text-align: center;
  }

  .portfolio-desc {
    margin-inline: auto;
  }

  .featured-track {
    min-height: 340px;
  }

  .hero-layout {
    min-height: auto;
    padding: 2rem 1.25rem;
    text-align: center;
    justify-content: center;
  }

  .hero-copy {
    max-width: none;
    margin-inline: auto;
  }

  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0.5) 100%
    );
  }

  .hero-media img {
    object-position: 35% center;
  }

  .hero-cta,
  .hero-proof {
    justify-content: center;
  }

  /* Hide fixed side popups on small screens — avoids covering content */
  body[data-page="home"] .review-popups--fixed,
  body[data-page="home"] .purchase-popups--fixed {
    display: none;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-visual {
    order: -1;
  }
}

@media (max-width: 900px) {
  .value-grid,
  .service-cards,
  .price-cards,
  .tools-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .bundle-cards {
    grid-template-columns: 1fr;
  }

  .process-steps,
  .how-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .launch-banner {
    flex-direction: column;
    text-align: center;
  }

  .launch-price {
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 4.5rem;
    --logo-icon-size: 3rem;
  }

  .site-header {
    padding: 0.65rem 0;
    padding-top: max(0.65rem, env(safe-area-inset-top, 0));
    z-index: 1200;
    /* backdrop-filter creates a containing block — traps position:fixed children */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10, 10, 10, 0.97);
  }

  .nav-toggle {
    display: flex;
    z-index: 1202;
    position: relative;
  }

  #nav-drawer-root {
    position: fixed;
    inset: 0;
    z-index: 1195;
    pointer-events: none;
  }

  #nav-drawer-root .nav-links.open {
    pointer-events: auto;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    appearance: none;
  }

  .nav-backdrop:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 88vw);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(4.25rem + env(safe-area-inset-top, 0)) 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0));
    background: #0f0f0f;
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.55);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s;
    gap: 0.15rem;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    list-style: none;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a,
  .nav-links .theme-toggle-wrap {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.35rem 0;
    font-size: 0.95rem;
  }

  .nav-links > li:has(.btn-nav) {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-links .btn-ghost,
  .nav-links .btn-nav {
    text-align: center;
    justify-content: center;
    margin-top: 0.65rem;
    margin-inline: auto;
    min-height: 2.85rem;
    width: auto;
    max-width: calc(100% - 0.5rem);
  }

  .nav-links .theme-toggle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.65rem;
    padding: 0.85rem 0 0.35rem;
    border-top: 1px solid var(--border);
    min-height: auto;
    width: 100%;
  }

  .nav-links .theme-toggle-wrap .theme-toggle {
    transform: scale(1.08);
  }

  .nav-links .theme-toggle-wrap .theme-toggle:hover {
    transform: scale(1.12);
  }

  .logo-text small {
    display: none;
  }

  .logo-text {
    font-size: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .portfolio-page {
    padding: 3.5rem 0 3rem;
  }

  .how-section {
    padding: 3.5rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
    padding-bottom: 0.35rem;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
  }

  .pricing-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex-shrink: 0;
    padding: 0.6rem 1.1rem;
    font-size: 0.82rem;
  }

  .launch-banner {
    padding: 1.35rem 1.25rem;
  }

  .launch-content h3 {
    font-size: 1.25rem;
  }

  .genre-header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .genre-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem 1rem;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem 0.5rem;
    padding-bottom: 0.85rem;
  }

  .genre-filters::-webkit-scrollbar {
    display: none;
  }

  .genre-filter {
    flex-shrink: 0;
  }

  .featured-track {
    min-height: 300px;
  }

  .featured-overlay {
    padding: 1.25rem 1rem;
  }

  .featured-meta a {
    margin-left: 0;
    width: 100%;
    text-align: center;
    margin-top: 0.35rem;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .gallery-card {
    flex: 0 0 min(180px, 72vw);
  }

  .footer-grid {
    text-align: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-links {
    align-items: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta .btn-primary {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-text small {
    display: none;
  }

  .hero-layout {
    padding: 1.75rem 0.75rem 2.5rem;
    min-height: auto;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
    white-space: normal;
    justify-content: center;
  }

  .hero-proof {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .avatar-stack {
    justify-content: center;
  }

  .stats-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .process-steps li {
    padding: 1.15rem;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    column-gap: 0.75rem;
  }

  .step-num {
    font-size: 1.5rem;
  }

  .price-card {
    padding: 1.35rem;
  }

  .service-card {
    padding: 1.35rem;
  }

  .genre-gallery-wrap {
    gap: 0.35rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .portfolio-intro h2 {
    font-size: 1.65rem;
  }
}

/* ~6.0" phones (390px logical width) */
@media (max-width: 390px) {
  .featured-track {
    min-height: 260px;
  }

  .featured-title {
    font-size: 1.65rem;
  }

  .featured-overlay {
    padding: 1rem 0.75rem;
  }

  .gallery-card {
    flex: 0 0 min(165px, 76vw);
  }

  .tab {
    padding: 0.55rem 0.95rem;
    font-size: 0.78rem;
  }
}

/* ~5" phones (360px) */
@media (max-width: 360px) {
  .container {
    width: calc(100% - 1rem);
  }

  .nav-links {
    width: min(280px, 92vw);
  }

  .hero-layout {
    padding: 1.5rem 0.5rem 2rem;
  }

  .btn-nav {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
  }

  .genre-header h3 {
    font-size: 0.95rem;
  }

  .btn-view-all {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
  }

  .gallery-card {
    flex: 0 0 min(150px, 80vw);
  }

  .launch-banner {
    padding: 1.15rem 1rem;
  }

  .price-now {
    font-size: 1.55rem;
  }
}

/* ~4.4" smallest phones (320px) */
@media (max-width: 320px) {
  h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .logo-play {
    width: 2.75rem;
    height: 2.75rem;
  }

  .logo-text {
    font-size: 0.92rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-lead {
    font-size: 0.88rem;
  }

  .featured-track {
    min-height: 220px;
  }

  .featured-play svg {
    width: 40px;
    height: 40px;
  }

  .gallery-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .gallery-card {
    flex: 0 0 min(140px, 84vw);
  }

  .process-steps li {
    grid-template-columns: 2rem minmax(0, 1fr);
    padding: 1rem 0.85rem;
  }

  .step-num {
    font-size: 1.35rem;
  }

  .section {
    padding: 2.75rem 0;
  }
}
