/* ============================================
   PrepSmart Website — Global Styles
   Brand: Orange #F55A00, Charcoal #302B27,
   Platinum #EAEAEA, White #F2F2F4
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --orange: #F55A00;
  --orange-hover: #E04E00;
  --orange-light: rgba(245, 90, 0, 0.08);
  --orange-glow: rgba(245, 90, 0, 0.15);
  --charcoal: #1E1E1E;
  --charcoal-light: #2A2A2A;
  --charcoal-dark: #111111;
  --surface: #1A1A1A;
  --surface-raised: #242424;
  --surface-overlay: #2E2E2E;
  --platinum: #EAEAEA;
  --white: #F2F2F4;
  --off-white: #141414;
  --text-primary: #E8E8E8;
  --text-secondary: #A0A0A0;
  --text-light: #707070;
  --text-on-dark: #F2F2F4;
  --text-on-dark-muted: rgba(242, 242, 244, 0.7);
  --green: #22C55E;
  --green-light: rgba(34, 197, 94, 0.08);
  --green-glow: rgba(34, 197, 94, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --border-dark: rgba(242, 242, 244, 0.1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.6);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --nav-height: 96px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--charcoal-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--orange), #FF8A3D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section {
  padding: 100px 0;
}

.section {
  color: var(--text-on-dark);
}

.section p {
  color: var(--text-on-dark-muted);
}

.section--dark {
  background: var(--charcoal);
  color: var(--text-on-dark);
}

.section--dark p {
  color: var(--text-on-dark-muted);
}

.section--light {
  background: var(--surface);
  position: relative;
}

/* Glassmorphism section dividers — glowing orange line between sections */
.section--light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 90, 0, 0.25), transparent);
}

.section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 90, 0, 0.20), transparent);
}

.section--dark {
  position: relative;
}

.section--gradient {
  background: linear-gradient(180deg, var(--charcoal-dark) 0%, var(--charcoal) 100%);
  color: var(--text-on-dark);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition);
  background: rgba(26, 23, 20, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav.scrolled {
  background: rgba(26, 23, 20, 0.30);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border-dark);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav__logo svg {
  height: 48px;
  width: auto;
}

.nav__logo img {
  height: 48px !important;
  width: auto !important;
}

.nav__logo-text {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav__logo-text span {
  color: var(--orange);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  color: var(--text-on-dark-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
  text-shadow: 0 0 12px rgba(245, 90, 0, 0.4), 0 0 24px rgba(245, 90, 0, 0.15);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 16px rgba(245, 90, 0, 0.3);
}

.btn--primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 90, 0, 0.4);
}

.btn--secondary {
  background: rgba(255,255,255,0.06);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--large {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(15, 15, 15, 0.45) 0%,
    rgba(20, 20, 20, 0.35) 50%,
    rgba(15, 15, 15, 0.40) 100%
  );
  z-index: 1;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-height);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
}

.hero__text {
  color: var(--text-on-dark);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #22C55E;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero__subtitle {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
}

.hero__stat {
  text-align: center;
  position: relative;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

/* Glassmorphic hover tile that appears/disappears */
.hero__stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: rgba(245, 90, 0, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 0 20px rgba(245, 90, 0, 0.03);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: -1;
}

.hero__stat:hover::before {
  opacity: 1;
  transform: scale(1);
}

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

.hero__stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  font-variant-numeric: tabular-nums;
}

.hero__stat-number span {
  color: var(--orange);
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* --- Stat flash — fires when counter reaches its target --- */
.hero__stat.stat--flash .hero__stat-number {
  animation: statNumberFlash 6s ease-out forwards;
}

.hero__stat.stat--flash .hero__stat-label {
  animation: statLabelFlash 6s ease-out forwards;
}

@keyframes statNumberFlash {
  0%   { color: var(--white); text-shadow: 0 0 0 transparent; }
  4%   { color: rgba(255, 220, 180, 1); text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 24px rgba(245, 90, 0, 0.6); }
  10%  { color: #fff; text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 50px rgba(245, 90, 0, 1), 0 0 100px rgba(245, 90, 0, 0.6); }
  20%  { color: rgba(255, 210, 150, 1); text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 28px rgba(245, 90, 0, 0.4); }
  40%  { color: var(--white); text-shadow: 0 0 4px rgba(245, 90, 0, 0.2); }
  100% { color: var(--white); text-shadow: 0 0 0 transparent; }
}

@keyframes statLabelFlash {
  0%   { color: var(--text-on-dark-muted); }
  4%   { color: rgba(255, 200, 160, 0.9); }
  10%  { color: #fff; }
  20%  { color: rgba(255, 200, 160, 0.8); }
  40%  { color: var(--text-on-dark-muted); }
  100% { color: var(--text-on-dark-muted); }
}

/* Hero phone mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ground contact shadow — phone sitting on wood surface */
.hero__visual::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 50px;
  background: radial-gradient(ellipse 100% 100%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 45%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

/* Grounding shadow — hero phone sitting on wood surface */
.phone-mockup--hero {
  filter: drop-shadow(0 50px 35px rgba(0,0,0,0.7)) drop-shadow(0 20px 15px rgba(0,0,0,0.5)) drop-shadow(0 80px 60px rgba(0,0,0,0.4));
}

/* =============================================
   Phone Mockup — Glassmorphism bezel
   Frosted translucent frame with light refraction
   ============================================= */
.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  border-radius: 44px;
  /* Translucent glass bezel — the key to glassmorphism */
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.06) 25%,
    rgba(255,255,255,0.03) 50%,
    rgba(255,255,255,0.06) 75%,
    rgba(255,255,255,0.10) 100%
  );
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    /* Outer depth layers */
    0 4px 8px rgba(0,0,0,0.4),
    0 12px 28px rgba(0,0,0,0.35),
    0 24px 64px rgba(0,0,0,0.3),
    /* Inner glass edge catches */
    inset 0 1px 1px rgba(255,255,255,0.2),
    inset 0 -1px 1px rgba(0,0,0,0.15),
    inset 1px 0 1px rgba(255,255,255,0.08),
    inset -1px 0 1px rgba(255,255,255,0.08);
}

/* Top-edge refraction band — bright glass catch light */
.phone-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 44px;
  background:
    /* Top highlight arc */
    linear-gradient(
      180deg,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.08) 3%,
      transparent 8%
    ),
    /* Left edge catch */
    linear-gradient(
      90deg,
      rgba(255,255,255,0.10) 0%,
      transparent 4%
    ),
    /* Bottom subtle reflection */
    linear-gradient(
      0deg,
      rgba(255,255,255,0.04) 0%,
      transparent 5%
    );
  z-index: 3;
  pointer-events: none;
}

/* Specular glint — bright spot top center */
.phone-mockup::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.45) 30%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.45) 70%,
    transparent
  );
  border-radius: 2px;
  z-index: 5;
  pointer-events: none;
  filter: blur(0.5px);
}

/* Screen area */
.phone-mockup__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  z-index: 1;
  /* Subtle inset to sell the glass depth */
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3);
}

.phone-mockup__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Glass reflection overlay on screen surface */
.phone-mockup__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background:
    /* Top-left specular glint */
    radial-gradient(
      ellipse 50% 15% at 25% 4%,
      rgba(255,255,255,0.10) 0%,
      transparent 70%
    ),
    /* Diagonal light sweep across screen */
    linear-gradient(
      135deg,
      rgba(255,255,255,0.05) 0%,
      transparent 30%,
      transparent 70%,
      rgba(255,255,255,0.02) 100%
    );
  pointer-events: none;
  z-index: 3;
}

/* Dynamic Island */
.phone-mockup__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 4;
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.9),
    0 1px 0 rgba(255,255,255,0.08);
}

.phone-mockup--secondary {
  position: absolute;
  width: 240px;
  height: 480px;
  right: -40px;
  top: 80px;
  opacity: 0.9;
  transform: rotate(5deg);
}

/* Floating elements — matches nav transparency */
.hero__float {
  position: absolute;
  border-radius: var(--radius-lg);
  background: rgba(26, 23, 20, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 16px;
  width: 130px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 0 12px rgba(255,255,255,0.06), inset 0 0 1px rgba(255,255,255,0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: float 6s ease-in-out infinite;
  z-index: 10;
  overflow: hidden;
}

.hero__float::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -30%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 90, 0, 0.18), transparent 70%);
  pointer-events: none;
}

.hero__float--1 {
  top: 70px;
  right: 50px;
  animation-delay: 0s;
}

.hero__float--2 {
  bottom: 90px;
  left: 55px;
  animation-delay: -2s;
}

.hero__float--3 {
  bottom: 220px;
  right: 45px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}

.hero__float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 6px;
}

.hero__float-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
}

.hero__float-sub {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.4;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-header__label::before,
.section-header__label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
}

/* --- "How It Works" label flash ---
   A bright glow that fires once to draw the reader's eye,
   then fades smoothly back to normal. */

.section-header__label.label--flash {
  animation: labelFlash 6s ease-out forwards;
}

@keyframes labelFlash {
  0% {
    color: var(--orange);
    text-shadow: 0 0 0 transparent;
  }
  4% {
    color: rgba(255, 230, 200, 1);
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.6),
      0 0 30px rgba(245, 90, 0, 0.7);
  }
  10% {
    color: #fff;
    text-shadow:
      0 0 20px rgba(255, 255, 255, 1),
      0 0 50px rgba(245, 90, 0, 1),
      0 0 100px rgba(245, 90, 0, 0.6),
      0 0 150px rgba(245, 90, 0, 0.3);
  }
  20% {
    color: rgba(255, 210, 150, 1);
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.4),
      0 0 30px rgba(245, 90, 0, 0.5),
      0 0 60px rgba(245, 90, 0, 0.2);
  }
  40% {
    color: rgba(255, 160, 80, 1);
    text-shadow:
      0 0 6px rgba(245, 90, 0, 0.3);
  }
  100% {
    color: var(--orange);
    text-shadow: 0 0 0 transparent;
  }
}

.section-header__label.label--flash::before,
.section-header__label.label--flash::after {
  animation: lineFlash 6s ease-out forwards;
}

@keyframes lineFlash {
  0%   { background: var(--orange); box-shadow: 0 0 0 transparent; }
  4%   { background: rgba(255, 220, 160, 1); box-shadow: 0 0 10px rgba(245, 90, 0, 0.5); }
  10%  { background: #fff; box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 44px rgba(245, 90, 0, 1); }
  20%  { background: rgba(255, 190, 110, 1); box-shadow: 0 0 8px rgba(245, 90, 0, 0.5); }
  40%  { background: rgba(255, 140, 50, 1); box-shadow: 0 0 3px rgba(245, 90, 0, 0.25); }
  100% { background: var(--orange); box-shadow: 0 0 0 transparent; }
}

/* --- Feature Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: rgba(36, 36, 36, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(36, 36, 36, 0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(245, 90, 0, 0.08);
  border-color: rgba(245, 90, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 90, 0, 0.30), transparent 70%);
  pointer-events: none;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.feature-card h4 {
  margin-bottom: 12px;
  color: var(--white);
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Dark variant — already dark by default, just slightly different shade */
.section--dark .feature-card {
  background: rgba(30, 30, 30, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.06);
}

.section--dark .feature-card::after {
  background: radial-gradient(circle, rgba(245, 90, 0, 0.35), transparent 70%);
  width: 320px;
  height: 320px;
}

/* --- How It Works Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

/* Track line — static connector between step circles */
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: rgba(245, 90, 0, 0.08);
  z-index: 0;
}

/* Line glow removed — steps track is static only */
.steps::after { display: none; }

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 90, 0, 0.85), rgba(245, 90, 0, 0.6));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(245, 90, 0, 0.35), 0 0 40px rgba(245, 90, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.step:hover .step__number {
  box-shadow: 0 4px 20px rgba(245, 90, 0, 0.5), 0 0 50px rgba(245, 90, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: scale(1.08);
}

.step h4 {
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9375rem;
  max-width: 300px;
  margin: 0 auto;
}

/* Hidden glow element — no longer used */
.steps__glow { display: none; }

/* --- Step illumination: single animation, no class swapping ---
   One class (step--active) triggers a keyframe animation on box-shadow
   that flashes bright then slowly fades back to normal. */

.step--active .step__number {
  animation: stepIlluminate 6s ease-out forwards;
}

@keyframes stepIlluminate {
  /* Start at normal */
  0% {
    box-shadow:
      0 4px 20px rgba(245, 90, 0, 0.35),
      0 0 40px rgba(245, 90, 0, 0.15),
      inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(255, 255, 255, 0.15);
  }
  /* Peak flash */
  8% {
    box-shadow:
      0 0 16px rgba(255, 255, 255, 0.4),
      0 0 40px rgba(245, 90, 0, 0.55),
      0 0 70px rgba(245, 90, 0, 0.25),
      0 4px 20px rgba(245, 90, 0, 0.4),
      inset 0 1px 0 rgba(255,255,255,0.3);
    border-color: rgba(255, 255, 255, 0.45);
  }
  /* Settle into warm afterglow */
  30% {
    box-shadow:
      0 0 8px rgba(255, 255, 255, 0.15),
      0 0 25px rgba(245, 90, 0, 0.35),
      0 0 50px rgba(245, 90, 0, 0.12),
      0 4px 20px rgba(245, 90, 0, 0.3),
      inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(245, 90, 0, 0.25);
  }
  /* Hold a subtle warm glow — stays here via animation-fill-mode: forwards */
  100% {
    box-shadow:
      0 0 6px rgba(255, 255, 255, 0.08),
      0 0 18px rgba(245, 90, 0, 0.25),
      0 0 40px rgba(245, 90, 0, 0.08),
      0 4px 20px rgba(245, 90, 0, 0.3),
      inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(245, 90, 0, 0.2);
  }
}

/* --- Creator Spotlight --- */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.creator-card {
  background: var(--surface-raised);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.creator-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 90, 0, 0.25);
}

.creator-card::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 90, 0, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.creator-card__image {
  height: 200px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.creator-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 35%, transparent 70%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.30) 100%);
  pointer-events: none;
  z-index: 1;
}

.creator-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.creator-card:hover .creator-card__image img {
  transform: scale(1.05);
}

.creator-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(34, 197, 94, 0.85);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.creator-card__info {
  padding: 20px;
}

.creator-card__name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

.creator-card__niche {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.creator-card__stats {
  display: flex;
  gap: 16px;
  font-size: 0.8125rem;
}

.creator-card__stats span {
  color: var(--text-secondary);
}

.creator-card__stats strong {
  color: var(--white);
}

/* Orange accent on follower counts */
.creator-card__stats span:last-child strong {
  color: rgba(245, 90, 0, 0.85);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface-raised);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 90, 0, 0.2);
}

.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 90, 0, 0.24), transparent 70%);
  pointer-events: none;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 0.875rem;
}

.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--orange);
  font-size: 1rem;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* --- Diet Types Bento --- */
.diet-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.diet-tag {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Inactive tag hover — color shift + glow */
.diet-tag:not(.diet-tag--active):hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(245, 90, 0, 0.15);
  box-shadow:
    0 0 16px rgba(245, 90, 0, 0.40),
    0 0 32px rgba(245, 90, 0, 0.20),
    0 0 48px rgba(245, 90, 0, 0.08),
    inset 0 0 12px rgba(245, 90, 0, 0.12);
  transform: translateY(-2px);
}

/* Active tag — solid orange */
.diet-tag--active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

/* Active tag hover — glow only, no color change */
.diet-tag--active:hover {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  box-shadow:
    0 0 16px rgba(245, 90, 0, 0.50),
    0 0 32px rgba(245, 90, 0, 0.25),
    0 0 48px rgba(245, 90, 0, 0.12);
  transform: translateY(-2px);
}

/* Heart-bounce on click — color flips at the pop */
@keyframes dietPop {
  0%   { transform: scale(1);    background: var(--surface-raised); color: var(--text-secondary); border-color: var(--border); }
  14%  { transform: scale(0.92); background: var(--surface-raised); color: var(--text-secondary); border-color: var(--border); }
  34%  { transform: scale(1.22); background: var(--orange); color: white; border-color: var(--orange); }
  54%  { transform: scale(0.97); background: var(--orange); color: white; border-color: var(--orange); }
  70%  { transform: scale(1.06); background: var(--orange); color: white; border-color: var(--orange); }
  85%  { transform: scale(0.99); background: var(--orange); color: white; border-color: var(--orange); }
  100% { transform: scale(1);    background: var(--orange); color: white; border-color: var(--orange); }
}

@keyframes dietUnpop {
  0%   { transform: scale(1);    background: var(--orange); color: white; border-color: var(--orange); }
  14%  { transform: scale(0.92); background: var(--orange); color: white; border-color: var(--orange); }
  34%  { transform: scale(1.22); background: var(--surface-raised); color: var(--text-secondary); border-color: var(--border); }
  54%  { transform: scale(0.97); background: var(--surface-raised); color: var(--text-secondary); border-color: var(--border); }
  70%  { transform: scale(1.06); background: var(--surface-raised); color: var(--text-secondary); border-color: var(--border); }
  85%  { transform: scale(0.99); background: var(--surface-raised); color: var(--text-secondary); border-color: var(--border); }
  100% { transform: scale(1);    background: var(--surface-raised); color: var(--text-secondary); border-color: var(--border); }
}

.diet-tag--pop {
  animation: dietPop 1s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.diet-tag--unpop {
  animation: dietUnpop 1s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* --- App Showcase --- */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.app-showcase--reverse {
  direction: rtl;
}

.app-showcase--reverse > * {
  direction: ltr;
}

.app-showcase__content h3 {
  margin-bottom: 16px;
  color: var(--white);
}

.app-showcase__content p {
  margin-bottom: 24px;
}

.app-showcase__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
}

.app-showcase__list-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--orange);
  font-size: 0.75rem;
}

/* --- Showcase phone (smaller in feature sections) --- */
.phone-mockup--showcase {
  width: 260px;
  height: 520px;
}

/* Showcase floating tile positions */
.showcase__float {
  position: absolute;
  z-index: 3;
}

.showcase__float--1a { top: 50px; right: 45px; }
.showcase__float--1b { top: 220px; left: 40px; }
.showcase__float--1c { bottom: 80px; right: 35px; }
.showcase__float--2a { top: 50px; left: 45px; }
.showcase__float--2b { bottom: 80px; left: 35px; }
.showcase__float--2c { top: 220px; right: 40px; }
.showcase__float--3a { top: 50px; right: 45px; }
.showcase__float--3b { bottom: 80px; right: 35px; }
.showcase__float--3c { top: 220px; left: 40px; }
.showcase__float--4a { top: 50px; left: 45px; }
.showcase__float--4b { top: 200px; right: 40px; }
.showcase__float--4c { bottom: 80px; left: 35px; }

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  padding: 0 20px;
  background: rgba(36, 36, 36, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition);
}

.faq-item:hover {
  background: rgba(36, 36, 36, 0.35);
  border-color: rgba(245, 90, 0, 0.1);
}

.faq-item.active {
  background: rgba(36, 36, 36, 0.45);
  border-color: rgba(245, 90, 0, 0.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 0 20px rgba(245, 90, 0, 0.04);
}

.faq-item__question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  transition: color var(--transition);
}

.faq-item__question:hover {
  color: var(--orange);
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 1.25rem;
  color: var(--text-light);
}

.faq-item.active .faq-item__icon {
  background: var(--orange);
  color: white;
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-item__answer p {
  font-size: 0.9375rem;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--charcoal-dark), var(--charcoal));
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 90, 0, 0.35), transparent 65%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 90, 0, 0.28), transparent 65%);
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-on-dark-muted);
  margin-bottom: 32px;
  font-size: 1.125rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* --- Footer --- */
.footer {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-on-dark);
  padding: 64px 0 32px;
  position: relative;
  border-top: 1px solid rgba(245, 90, 0, 0.1);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(245, 90, 0, 0.06), transparent 70%);
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: var(--text-on-dark-muted);
  font-size: 0.9375rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted);
  transition: all var(--transition);
  font-size: 0.875rem;
}

.footer__social a:hover {
  background: rgba(245, 90, 0, 0.85);
  border-color: rgba(245, 90, 0, 0.6);
  color: white;
  box-shadow: 0 0 20px rgba(245, 90, 0, 0.3);
}

.footer__col h5 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--white);
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--orange);
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(245, 90, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: var(--text-on-dark-muted);
}

.footer__bottom-links a:hover {
  color: var(--orange);
}

/* --- App Store Badges --- */
.store-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  transition: all var(--transition);
}

.store-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.store-badge--dark {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,0.08);
  color: white;
}

.store-badge--dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(245, 90, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 15px rgba(245, 90, 0, 0.06);
}

.store-badge__icon {
  font-size: 1.5rem;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge__text-small {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.store-badge__text-large {
  font-size: 0.9375rem;
  font-weight: 600;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* --- Mobile Hamburger --- */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero__subtitle {
    margin: 0 auto 40px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .creator-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-showcase {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .app-showcase--reverse {
    direction: ltr;
  }

  .app-showcase__list {
    align-items: center;
  }

  .showcase__float {
    display: none;
  }

  .phone-mockup--showcase {
    width: 220px;
    height: 440px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 23, 20, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
  }

  .nav__links.active {
    display: flex;
  }

  .nav__links a {
    font-size: 1.5rem;
    color: var(--white);
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

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

  .steps::before {
    display: none;
  }

  .creator-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .hero__stats {
    flex-direction: row;
    gap: 24px;
    justify-content: center;
  }

  .hero__float {
    display: none;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .phone-mockup--secondary {
    display: none;
  }

  .diet-tag {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .section__subtitle {
    font-size: 1rem;
  }

  .cta-banner {
    border-radius: var(--radius-lg);
    padding: 48px 20px;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

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

  .creator-card__image {
    height: 240px;
  }

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

  .section {
    padding: 48px 0;
  }

  .diet-tag {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

/* --- Noise Texture Overlay --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Glass-Float Ambient Drift (for floating tiles) --- */
@keyframes glassDrift {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-10px) translateX(5px); }
  50% { transform: translateY(-4px) translateX(-6px); }
  75% { transform: translateY(-14px) translateX(3px); }
}

.hero__float {
  animation: glassDrift 10s ease-in-out infinite;
}

.hero__float--1 { animation-delay: 0s; }
.hero__float--2 { animation-delay: -2.5s; }
.hero__float--3 { animation-delay: -5s; }

.showcase__float--1a {
  animation: showcaseDriftA 12s ease-in-out infinite;
}
.showcase__float--1b {
  animation: showcaseDriftB 10s ease-in-out infinite;
}
.showcase__float--1c {
  animation: showcaseDriftC 14s ease-in-out infinite;
}

@keyframes showcaseDriftA {
  0%, 100% { transform: translateY(0) translateX(0); }
  20% { transform: translateY(-6px) translateX(10px); }
  45% { transform: translateY(-12px) translateX(-4px); }
  70% { transform: translateY(-3px) translateX(7px); }
  85% { transform: translateY(-9px) translateX(-2px); }
}

@keyframes showcaseDriftB {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-8px) translateX(-7px); }
  50% { transform: translateY(-14px) translateX(4px); }
  75% { transform: translateY(-5px) translateX(-3px); }
}

@keyframes showcaseDriftC {
  0%, 100% { transform: translateY(0) translateX(0); }
  30% { transform: translateY(-16px) translateX(3px); }
  50% { transform: translateY(-8px) translateX(-8px); }
  80% { transform: translateY(-18px) translateX(5px); }
}

.showcase__float--2a {
  animation: showcaseDriftD 11s ease-in-out infinite;
}
.showcase__float--2b {
  animation: showcaseDriftE 13s ease-in-out infinite;
}
.showcase__float--2c {
  animation: showcaseDriftF 10s ease-in-out infinite;
}

@keyframes showcaseDriftD {
  0%, 100% { transform: translateY(0) translateX(0); }
  20% { transform: translateY(-8px) translateX(-6px); }
  50% { transform: translateY(-15px) translateX(5px); }
  75% { transform: translateY(-4px) translateX(-8px); }
}

@keyframes showcaseDriftE {
  0%, 100% { transform: translateY(0) translateX(0); }
  30% { transform: translateY(-12px) translateX(7px); }
  55% { transform: translateY(-5px) translateX(-5px); }
  80% { transform: translateY(-17px) translateX(3px); }
}

@keyframes showcaseDriftF {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-14px) translateX(-3px); }
  45% { transform: translateY(-7px) translateX(9px); }
  70% { transform: translateY(-18px) translateX(-6px); }
  90% { transform: translateY(-4px) translateX(4px); }
}

.showcase__float--3a {
  animation: showcaseDriftG 13s ease-in-out infinite;
}
.showcase__float--3b {
  animation: showcaseDriftH 11s ease-in-out infinite;
}
.showcase__float--3c {
  animation: showcaseDriftI 14s ease-in-out infinite;
}

@keyframes showcaseDriftG {
  0%, 100% { transform: translateY(0) translateX(0); }
  20% { transform: translateY(-10px) translateX(7px); }
  45% { transform: translateY(-16px) translateX(-3px); }
  75% { transform: translateY(-5px) translateX(5px); }
}

@keyframes showcaseDriftH {
  0%, 100% { transform: translateY(0) translateX(0); }
  30% { transform: translateY(-7px) translateX(-8px); }
  55% { transform: translateY(-14px) translateX(6px); }
  80% { transform: translateY(-3px) translateX(-4px); }
}

@keyframes showcaseDriftI {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-13px) translateX(4px); }
  50% { transform: translateY(-6px) translateX(-7px); }
  75% { transform: translateY(-17px) translateX(6px); }
  90% { transform: translateY(-8px) translateX(-3px); }
}

.showcase__float--4a {
  animation: showcaseDriftJ 12s ease-in-out infinite;
}
.showcase__float--4b {
  animation: showcaseDriftK 14s ease-in-out infinite;
}
.showcase__float--4c {
  animation: showcaseDriftL 11s ease-in-out infinite;
}

@keyframes showcaseDriftJ {
  0%, 100% { transform: translateY(0) translateX(0); }
  20% { transform: translateY(-9px) translateX(-6px); }
  50% { transform: translateY(-15px) translateX(5px); }
  75% { transform: translateY(-4px) translateX(-8px); }
}

@keyframes showcaseDriftK {
  0%, 100% { transform: translateY(0) translateX(0); }
  30% { transform: translateY(-12px) translateX(8px); }
  55% { transform: translateY(-6px) translateX(-4px); }
  80% { transform: translateY(-16px) translateX(3px); }
}

@keyframes showcaseDriftL {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-7px) translateX(6px); }
  45% { transform: translateY(-14px) translateX(-5px); }
  70% { transform: translateY(-10px) translateX(7px); }
  90% { transform: translateY(-4px) translateX(-3px); }
}

/* --- Creator Card Glass Hover Enhancement --- */
.creator-card {
  transition: all var(--transition);
}

.creator-card:hover {
  background: rgba(36, 36, 36, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-color: rgba(245, 90, 0, 0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 25px rgba(245, 90, 0, 0.06);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-auto { margin-top: auto; }
