/* ============================================
   PRITHVI MITR - Modern Recycling Website
   Design: Futuristic / Glassmorphic / Eco-Tech
   ============================================ */

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

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

:root {
  /* Brand palette */
  --green-50:  #e9faec;
  --green-100: #c8f3cf;
  --green-200: #93e6a4;
  --green-300: #5cd479;
  --green-400: #34c259;
  --green-500: #1faa42;
  --green-600: #178634;
  --green-700: #0f6024;
  --green-800: #093d18;
  --green-900: #052310;

  --leaf:      #4ADE80;
  --emerald:   #10B981;
  --lime:      #BEF264;
  --mint:      #6EE7B7;

  --bg-0: #050a07;
  --bg-1: #0a1410;
  --bg-2: #0f1d18;
  --bg-3: #15281f;
  --bg-glass: rgba(20, 40, 30, 0.45);
  --bg-glass-2: rgba(15, 29, 24, 0.65);

  --text-0: #f1fbf3;
  --text-1: #c9e8d0;
  --text-2: #9bc0a5;
  --text-3: #6e8a76;

  --border-1: rgba(74, 222, 128, 0.18);
  --border-2: rgba(74, 222, 128, 0.32);

  --accent-glow: 0 0 40px rgba(74, 222, 128, 0.45);
  --accent-glow-strong: 0 0 80px rgba(74, 222, 128, 0.7);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;

  --gradient-primary: linear-gradient(135deg, #1faa42 0%, #4ADE80 50%, #BEF264 100%);
  --gradient-dark: linear-gradient(180deg, #050a07 0%, #0f1d18 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(74, 222, 128, 0.18), transparent 60%);

  --font-display: 'Space Grotesk', 'Outfit', system-ui, sans-serif;
  --font-body: 'Manrope', 'Outfit', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;

  --container: 1280px;
  --section-pad: clamp(80px, 10vw, 160px);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-0);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(31, 170, 66, 0.08), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(74, 222, 128, 0.06), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

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

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

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-0);
}

.h-script {
  font-family: var(--font-script);
  font-weight: 500;
  color: var(--leaf);
  font-size: 1.4em;
  line-height: 1;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--leaf);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--leaf);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin: 18px 0 16px;
}

.section-header p {
  color: var(--text-2);
  font-size: clamp(15px, 1.2vw, 18px);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 999px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-0);
  box-shadow: 0 10px 30px rgba(74, 222, 128, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(74, 222, 128, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-0);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(74, 222, 128, 0.08);
  border-color: var(--leaf);
  transform: translateY(-3px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-out-expo);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(5, 10, 7, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-1);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  z-index: 5;
}

.logo-link img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(74, 222, 128, 0.4));
  transition: transform 0.4s var(--ease-out-expo);
}

.logo-link:hover img {
  transform: rotate(-8deg) scale(1.05);
}

.logo-link .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-link .brand-text span:first-child {
  font-size: 18px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.logo-link .brand-text span:last-child {
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  background: rgba(15, 29, 24, 0.5);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-1);
  padding: 6px;
  border-radius: 999px;
}

.nav-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  border-radius: 999px;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--bg-0);
  background: var(--leaf);
}

.nav-cta {
  padding: 12px 22px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 29, 24, 0.6);
  border: 1px solid var(--border-1);
  position: relative;
  z-index: 5;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-0);
  margin: 4px auto;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 48px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(5, 10, 7, 0.6) 60%, var(--bg-0) 100%),
    linear-gradient(180deg, rgba(5, 10, 7, 0.4) 0%, transparent 30%, transparent 70%, var(--bg-0) 100%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
  font-family: var(--font-display);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 12px var(--leaf);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(48px, 9vw, 144px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-right: 0.08em;
}

.hero h1 .word span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero h1 .accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.15em;
  display: inline-block;
  padding-right: 0.25em;
  padding-left: 0.05em;
}

.hero-tagline {
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--text-1);
  max-width: 620px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

/* Hero scroll narrative panels */
.scroll-narrative {
  position: relative;
  background: var(--bg-0);
}

.scroll-narrative-pin {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.narrative-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.narrative-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.narrative-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at left, rgba(31, 170, 66, 0.15), transparent 60%),
    linear-gradient(90deg, var(--bg-0) 0%, transparent 50%, var(--bg-0) 100%);
}

.narrative-stack {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: 0 24px;
}

.narrative-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}

.narrative-card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.narrative-card .step {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--leaf);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.narrative-card .step::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--leaf);
}

.narrative-card h3 {
  font-size: clamp(38px, 5.6vw, 88px);
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.narrative-card h3 em {
  font-family: var(--font-script);
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1em;
  font-weight: 400;
}

.narrative-card p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--text-1);
  max-width: 560px;
  line-height: 1.6;
}

/* Narrative progress dots */
.narrative-progress {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
}

.narrative-progress .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.2);
  transition: all 0.4s var(--ease-out-expo);
}

.narrative-progress .dot.is-active {
  background: var(--leaf);
  box-shadow: 0 0 10px var(--leaf);
  transform: scale(1.4);
}

/* ---------- SHOWCASE GRID (4K image gallery) ---------- */
.showcase {
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.showcase-card {
  position: relative;
  grid-column: span 1;
  grid-row: span 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-1);
  background: var(--bg-2);
  cursor: pointer;
  transition: transform 0.6s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
}

.showcase-card.lg {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo), filter 0.6s var(--ease-out-expo);
  filter: saturate(1.05) brightness(0.85);
}

.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 10, 7, 0.85) 100%);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}

.showcase-card:hover {
  border-color: var(--border-2);
  transform: translateY(-6px);
}

.showcase-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.15) brightness(0.95);
}

.showcase-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  z-index: 2;
  color: var(--text-0);
}

.showcase-card .kicker {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
  background: rgba(5, 10, 7, 0.55);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  margin-bottom: 12px;
}

.showcase-card h3 {
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.2;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.showcase-card.lg h3 {
  font-size: clamp(20px, 2.2vw, 32px);
}

@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .showcase-card.lg {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-card,
  .showcase-card.lg {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ---------- ABOUT VISUAL: image variant ---------- */
.about-visual.about-visual-img {
  padding: 0;
  background: none;
}

.about-visual.about-visual-img::before,
.about-visual.about-visual-img::after {
  display: none;
}

.about-visual.about-visual-img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  filter: saturate(1.1) brightness(0.85);
  z-index: 1;
}

.about-visual.about-visual-img::after {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,10,7,0.1) 0%, rgba(5,10,7,0.6) 100%),
              radial-gradient(circle at 30% 20%, rgba(74,222,128,0.18), transparent 60%);
  z-index: 2;
  border-radius: inherit;
}

.about-visual.about-visual-img .about-stats {
  z-index: 3;
}

/* ---------- IMPACT (full-bleed image bg) ---------- */
.impact {
  position: relative;
  padding: clamp(100px, 12vw, 180px) 0;
  overflow: hidden;
}

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

.impact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.5);
  transform: scale(1.05);
}

.impact-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(5,10,7,0.7) 70%, var(--bg-0) 100%),
    linear-gradient(180deg, rgba(5,10,7,0.6) 0%, rgba(5,10,7,0.4) 50%, rgba(5,10,7,0.85) 100%);
}

.impact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.impact-inner h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin: 18px auto 60px;
  max-width: 800px;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.impact-stat {
  padding: 24px 16px;
  background: rgba(5, 10, 7, 0.55);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
}

.impact-stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
}

.impact-stat .num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.impact-stat .label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 10px;
}

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

/* ---------- ABOUT TEASER / MISSION ---------- */
.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(74, 222, 128, 0.25), transparent 60%),
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(74, 222, 128, 0.3), transparent 30%);
  animation: spin 14s linear infinite;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 30% 30%, rgba(74, 222, 128, 0.18), transparent 60%),
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
}

.about-visual .leaf-svg {
  position: relative;
  z-index: 2;
  width: 65%;
  filter: drop-shadow(0 20px 60px rgba(74, 222, 128, 0.4));
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.about-stats {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-stat {
  background: rgba(5, 10, 7, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-1);
  padding: 18px 20px;
  border-radius: var(--radius-md);
}

.about-stat .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.about-stat .label {
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

.about-content h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  margin: 18px 0 24px;
}

.about-content p {
  color: var(--text-1);
  font-size: clamp(15px, 1.15vw, 17px);
  margin-bottom: 20px;
}

.about-features {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-1);
}

.about-features li svg {
  color: var(--leaf);
  flex-shrink: 0;
}

/* ---------- SERVICES ---------- */
.services {
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-glass-2);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  transition: all 0.5s var(--ease-out-expo);
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(74, 222, 128, 0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(31, 170, 66, 0.2), rgba(74, 222, 128, 0.1));
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.08);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--leaf);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.service-tag {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  color: var(--mint);
  letter-spacing: 0.05em;
}

/* ---------- HOW IT WORKS ---------- */
.process {
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 40px;
}

.process-step {
  position: relative;
  padding: 40px 28px;
  text-align: left;
  border-right: 1px solid var(--border-1);
}

.process-step:last-child {
  border-right: none;
}

.process-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-2);
}

.process-step .icon {
  width: 36px;
  height: 36px;
  color: var(--leaf);
  margin-top: 24px;
  opacity: 0.6;
}

/* ---------- WHY US ---------- */
.why {
  background:
    radial-gradient(ellipse at top, rgba(31, 170, 66, 0.08), transparent 60%),
    var(--bg-0);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  padding: 32px;
  background: var(--bg-glass-2);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
}

.why-card:hover {
  border-color: var(--border-2);
  transform: translateY(-6px);
}

.why-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 24px;
  font-weight: 500;
}

.why-card h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.why-card p {
  color: var(--text-2);
  font-size: 14px;
}

/* ---------- REWARDS / CTA STRIP ---------- */
.rewards {
  position: relative;
  padding: 80px 0;
}

.rewards-card {
  position: relative;
  padding: clamp(48px, 6vw, 96px);
  background:
    radial-gradient(circle at 0% 50%, rgba(74, 222, 128, 0.18), transparent 60%),
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.rewards-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.18), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.rewards-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.rewards-grid h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin: 18px 0 20px;
  line-height: 1.05;
}

.rewards-grid p {
  color: var(--text-1);
  font-size: 16px;
  margin-bottom: 32px;
}

.rewards-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.reward-tier {
  padding: 18px 16px;
  background: rgba(5, 10, 7, 0.5);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  text-align: center;
}

.reward-tier .tier-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.reward-tier .tier-name {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 4px;
}

.reward-tier .tier-desc {
  font-size: 11px;
  color: var(--text-3);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 24px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 12px)); }
}

.testi-card {
  width: 380px;
  flex-shrink: 0;
  padding: 32px;
  background: var(--bg-glass-2);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
}

.testi-card .quote {
  font-size: 16px;
  color: var(--text-1);
  line-height: 1.6;
  margin-bottom: 24px;
}

.testi-card .quote::before {
  content: '"';
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--leaf);
  line-height: 0.5;
  margin-bottom: 8px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--bg-0);
}

.testi-author .name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-0);
}

.testi-author .role {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border-1);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(74, 222, 128, 0.06), transparent 60%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-brand p {
  color: var(--text-2);
  font-size: 14px;
  margin: 20px 0 24px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  transition: all 0.3s var(--ease-out-expo);
}

.footer-socials a:hover {
  background: var(--leaf);
  color: var(--bg-0);
  transform: translateY(-3px);
  border-color: var(--leaf);
}

.footer h4 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-0);
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-list a {
  color: var(--text-2);
  font-size: 14px;
  transition: color 0.3s var(--ease-out-expo);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-list a:hover {
  color: var(--leaf);
}

.footer-contact .info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.footer-contact .info-row svg {
  color: var(--leaf);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact .info-row a:hover {
  color: var(--leaf);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-3);
}

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

.footer-bottom a:hover {
  color: var(--leaf);
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  padding: 200px 0 80px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(31, 170, 66, 0.18), transparent 60%),
    var(--bg-0);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 222, 128, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.page-header h1 {
  font-size: clamp(48px, 7vw, 96px);
  margin: 18px 0 16px;
  line-height: 1;
}

.page-header h1 em {
  font-family: var(--font-script);
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1em;
  font-weight: 400;
}

.page-header p {
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
}

/* ---------- SCHEDULE PICKUP FORM ---------- */
.schedule-section {
  padding: 60px 0 var(--section-pad);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.schedule-info {
  position: sticky;
  top: 120px;
  padding: 40px;
  background:
    radial-gradient(circle at top right, rgba(74, 222, 128, 0.12), transparent 60%),
    var(--bg-glass-2);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
}

.schedule-info h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.schedule-info > p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 32px;
}

.info-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-1);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leaf);
  flex-shrink: 0;
}

.info-item .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.info-item .value {
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.5;
}

.info-item .value a:hover {
  color: var(--leaf);
}

/* Form */
.schedule-form {
  padding: 48px;
  background: var(--bg-glass-2);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
}

.form-stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.form-stepper::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--border-1);
}

.stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.stepper-item .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.4s var(--ease-out-expo);
}

.stepper-item.active .num,
.stepper-item.done .num {
  background: var(--leaf);
  color: var(--bg-0);
  border-color: var(--leaf);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.4);
}

.stepper-item .label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.3s var(--ease-out-expo);
}

.stepper-item.active .label {
  color: var(--text-0);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeUp 0.6s var(--ease-out-expo);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.form-step > p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.single {
  grid-template-columns: 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(5, 10, 7, 0.4);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-sm);
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.3s var(--ease-out-expo);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--leaf);
  background: rgba(5, 10, 7, 0.6);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

/* Native date-picker icon — recoloured for dark UI */
.form-field input[type="date"],
.form-field input[type="time"],
.form-field input[type="datetime-local"] {
  color-scheme: white;
}
.form-field input[type="date"]::-webkit-calendar-picker-indicator,
.form-field input[type="time"]::-webkit-calendar-picker-indicator,
.form-field input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.1);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.form-field input[type="date"]::-webkit-calendar-picker-indicator:hover,
.form-field input[type="time"]::-webkit-calendar-picker-indicator:hover,
.form-field input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  transform: scale(1.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%234ADE80' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.material-pill {
  position: relative;
  cursor: pointer;
}

.material-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.material-pill .pill-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 12px;
  background: rgba(5, 10, 7, 0.4);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out-expo);
  text-align: center;
}

.material-pill .pill-body svg {
  width: 28px;
  height: 28px;
  color: var(--leaf);
  opacity: 0.85;
  transition: transform 0.3s var(--ease-out-expo);
}

.material-pill .pill-body span {
  font-size: 13px;
  color: var(--text-1);
  font-weight: 500;
}

.material-pill input:checked + .pill-body {
  background: rgba(74, 222, 128, 0.12);
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.08);
}

.material-pill input:checked + .pill-body svg {
  transform: scale(1.15) rotate(-5deg);
}

.material-pill:hover .pill-body {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-1);
}

.btn-back {
  background: transparent;
  color: var(--text-2);
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  border: 1px solid var(--border-1);
  transition: all 0.3s var(--ease-out-expo);
}

.btn-back:hover {
  color: var(--text-0);
  border-color: var(--border-2);
}

.btn-back[hidden] { display: none; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-0);
  animation: scaleIn 0.6s var(--ease-out-expo);
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.form-success h3 {
  font-size: 32px;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 28px;
}

.summary-card {
  text-align: left;
  background: rgba(5, 10, 7, 0.4);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
}

.summary-card .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border-1);
}

.summary-card .row:last-child {
  border-bottom: none;
}

.summary-card .row .k {
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}

.summary-card .row .v {
  color: var(--text-0);
  font-weight: 500;
}

/* ============================================
   PRODUCTS LISTING + DETAIL + CUSTOMIZE MODAL
   ============================================ */

/* ---------- Products listing layout ---------- */
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.products-sidebar {
  position: sticky;
  top: 110px;
  padding: 28px;
  background: var(--bg-glass-2);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
}

.products-sidebar h3 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 18px;
  font-weight: 500;
}

.filter-group {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-1);
}
.filter-group:last-child { border-bottom: none; }

.filter-group .label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 14px;
  display: block;
}

.price-range {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-range .range-track {
  position: relative;
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  margin: 12px 0 22px;
}

.price-range .range-fill {
  position: absolute;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  pointer-events: none;
}

.price-range input[type="range"] {
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
  z-index: 2;
}

.price-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--leaf);
  border: 2px solid var(--bg-0);
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(74,222,128,0.5);
  transition: transform 0.2s var(--ease-out-expo);
}
.price-range input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.price-range input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--leaf);
  border: 2px solid var(--bg-0);
  cursor: pointer;
}

.price-readout {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-1);
}
.price-readout .v {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.category-list {
  list-style: none;
  display: grid;
  gap: 8px;
}
.category-list li label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-1);
  transition: color 0.2s var(--ease-out-expo);
}
.category-list li label:hover { color: var(--text-0); }
.category-list input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  background: rgba(5,10,7,0.4);
  cursor: pointer;
  position: relative;
  transition: all 0.2s var(--ease-out-expo);
}
.category-list input[type="checkbox"]:checked {
  background: var(--leaf);
  border-color: var(--leaf);
}
.category-list input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px; left: 4px;
  width: 4px; height: 8px;
  border: solid var(--bg-0);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.btn-clear-filters {
  margin-top: 16px;
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-1);
  border-radius: 999px;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}
.btn-clear-filters:hover {
  border-color: var(--leaf);
  color: var(--leaf);
}

/* ---------- Products grid ---------- */
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-1);
}

.products-toolbar .count {
  font-size: 13px;
  color: var(--text-2);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.products-toolbar .count strong {
  color: var(--text-0);
  font-weight: 600;
}

.products-toolbar .sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-2);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}
.products-toolbar select {
  padding: 8px 32px 8px 14px;
  background: rgba(5,10,7,0.4);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 13px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%234ADE80' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  background: var(--bg-glass-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.product-card .img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  position: relative;
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}
.product-card:hover .img-wrap img {
  transform: scale(1.07);
}

/* Brand placeholder rendered behind every product image. The product
   <img> sits on top covering it; if the image fails to load it gets
   the .failed class which hides it, revealing this watermark. */
.product-card .img-wrap,
.product-detail-img {
  position: relative;
}
.product-card .img-wrap .product-img,
.product-detail-img .product-img {
  position: relative;
  z-index: 2;
}
.product-card .img-wrap .product-img.failed,
.product-detail-img .product-img.failed {
  display: none;
}
.brand-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  pointer-events: none;
  opacity: 0.22;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
}
.product-card .img-wrap .brand-fallback img,
.product-detail-img .brand-fallback img {
  width: 42%;
  max-width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(74, 222, 128, 0.3));
  transform: none !important;
  transition: none;
  margin-left: 25px;
}
.brand-fallback .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.brand-fallback .sub {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  line-height: 1.4;
}
.product-detail-img .brand-fallback img {
  width: 32%;
  max-width: 200px;
}
.product-detail-img .brand-fallback .name { font-size: 22px; }
.product-detail-img .brand-fallback .sub  { font-size: 11px; }

.product-card .badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(5,10,7,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.product-card .body {
  padding: 18px 20px 22px;
}
.product-card h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.3;
  color: var(--text-0);
}
.product-card .meta {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.product-card .price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 80px 24px;
  text-align: center;
  color: var(--text-2);
  border: 1px dashed var(--border-1);
  border-radius: var(--radius-lg);
}
.empty-state h4 {
  font-size: 22px;
  color: var(--text-0);
  margin-bottom: 8px;
}

/* ---------- Product detail page ---------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.product-detail-img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border-1);
  position: relative;
}
.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
}
.product-detail-img:hover img {
  transform: scale(1.04);
}

.product-detail-content .breadcrumb {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-3);
  margin-bottom: 18px;
}
.product-detail-content .breadcrumb a {
  color: var(--text-2);
  transition: color 0.2s var(--ease-out-expo);
}
.product-detail-content .breadcrumb a:hover { color: var(--leaf); }
.product-detail-content .breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

.product-detail-content h1 {
  font-size: clamp(30px, 3.5vw, 44px);
  margin-bottom: 18px;
  line-height: 1.1;
}

.product-detail-content .price-large {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
  display: inline-block;
}

.product-detail-content .description {
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-description {
  list-style: none;
  margin-bottom: 28px;
  display: grid;
  gap: 10px;
}
.product-description li {
  position: relative;
  padding-left: 22px;
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.6;
}
.product-description li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.product-meta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  margin-bottom: 28px;
}
.product-meta-row .item .k {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 4px;
}
.product-meta-row .item .v {
  font-size: 13px;
  color: var(--text-1);
  font-family: var(--font-display);
}

.btn-customize {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: var(--gradient-primary);
  color: var(--bg-0);
  box-shadow: 0 10px 30px rgba(74,222,128,0.3);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}
.btn-customize:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(74,222,128,0.5);
}

/* ---------- Customize Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5,10,7,0.85);
  backdrop-filter: blur(10px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}
.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal {
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transform: scale(0.94) translateY(12px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.5s var(--ease-out-expo);
}
.modal-backdrop.open .modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal .close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-1);
  transition: all 0.3s var(--ease-out-expo);
}
.modal .close:hover {
  background: var(--leaf);
  color: var(--bg-0);
  border-color: var(--leaf);
}

.modal h3 {
  font-size: 26px;
  margin-bottom: 8px;
  padding-right: 36px;
}
.modal h3 em {
  font-family: var(--font-script);
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1em;
  font-weight: 400;
}
.modal > p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 24px;
}

.modal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.modal .form-row.single { grid-template-columns: 1fr; }

.upload-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(5,10,7,0.4);
  border: 1px dashed var(--border-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}
.upload-field:hover {
  background: rgba(74,222,128,0.05);
  border-color: var(--leaf);
}
.upload-field input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-field svg {
  flex-shrink: 0;
  color: var(--leaf);
}
.upload-field .upload-text {
  flex: 1;
}
.upload-field .upload-text .title {
  font-size: 13px;
  color: var(--text-0);
  font-weight: 500;
  margin-bottom: 2px;
}
.upload-field .upload-text .hint {
  font-size: 11px;
  color: var(--text-3);
}
.upload-field.has-file {
  border-style: solid;
  border-color: var(--leaf);
  background: rgba(74,222,128,0.05);
}
.upload-field.has-file .title {
  color: var(--leaf);
}

.modal .form-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 1fr;
  }
  .products-sidebar {
    position: relative;
    top: 0;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .modal { padding: 28px 22px; }
  .modal h3 { font-size: 22px; }
  .modal .form-row { grid-template-columns: 1fr; }
  .products-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ---------- FLOATING SCHEDULE-PICKUP CTA ---------- */
.fab-pickup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-0);
  box-shadow: 0 10px 30px rgba(74, 222, 128, 0.4),
              0 0 0 0 rgba(74, 222, 128, 0.55);
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo);
}

.fab-pickup::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.45);
  z-index: -1;
  animation: fab-pulse 2.4s ease-out infinite;
}

@keyframes fab-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  80%  { transform: scale(1.6); opacity: 0;   }
  100% { transform: scale(1.6); opacity: 0;   }
}

.fab-pickup:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 44px rgba(74, 222, 128, 0.6),
              0 0 0 6px rgba(74, 222, 128, 0.15);
}

.fab-pickup:active {
  transform: translateY(-1px) scale(0.98);
}

.fab-pickup svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
  color: var(--bg-0);
  stroke-width: 2.1;
}

.fab-pickup .fab-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  color: var(--text-0);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out-expo),
              transform 0.3s var(--ease-out-expo);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.fab-pickup .fab-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--bg-2);
  border-right: 1px solid var(--border-2);
  border-top: 1px solid var(--border-2);
}

.fab-pickup:hover .fab-tooltip,
.fab-pickup:focus-visible .fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .fab-pickup {
    bottom: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
  }
  .fab-pickup svg {
    width: 26px;
    height: 26px;
  }
  .fab-pickup .fab-tooltip {
    display: none;
  }
}

/* ---------- LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s var(--ease-out-expo);
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--border-1);
  border-top-color: var(--leaf);
  animation: spin 1s linear infinite;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ---------- CURSOR ---------- */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  pointer-events: none;
  z-index: 9000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.5);
  pointer-events: none;
  z-index: 8999;
  transform: translate(-50%, -50%);
  transition: all 0.4s var(--ease-out-expo);
}

.cursor.is-hover {
  width: 0;
  height: 0;
}

.cursor-ring.is-hover {
  width: 60px;
  height: 60px;
  background: rgba(74, 222, 128, 0.1);
  border-color: var(--leaf);
}

/* ---------- REVEAL ANIMATIONS (intersection-observer based) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.65s; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: 0.75s; }

/* ---------- SCROLL HINT ---------- */
.scroll-hint {
  position: relative;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  z-index: 3;
  animation: fadeIn 1s var(--ease-out-expo) 1.6s forwards;
  flex-shrink: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.scroll-hint .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--leaf), transparent);
  animation: lineDown 1.6s ease-in-out infinite;
}

@keyframes lineDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  /* Drop the nav's backdrop-filter on mobile — it creates a containing block
     for the fixed mobile menu and breaks its full-viewport coverage. */
  .nav,
  .nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav.scrolled {
    background: rgba(5, 10, 7, 0.95);
  }
  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-0);
    border-radius: 0;
    border: none;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
    z-index: 200;
  }
  .nav-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 20%, rgba(74, 222, 128, 0.08), transparent 60%),
      radial-gradient(circle at 80% 80%, rgba(31, 170, 66, 0.06), transparent 60%);
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-menu a {
    font-size: 24px;
    padding: 12px 24px;
    position: relative;
    z-index: 1;
  }
  .nav-toggle {
    display: block;
    z-index: 201;
    position: relative;
  }
  .nav-cta {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--border-1);
  }
  .process-step:nth-child(2n) {
    border-right: none;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .rewards-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  .schedule-info {
    position: static;
  }
  .narrative-progress {
    right: 18px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 0 60px;
  }
  .hero h1 {
    font-size: clamp(40px, 14vw, 72px);
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-step {
    border-bottom: 1px solid var(--border-1);
    padding: 28px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .rewards-tiers {
    grid-template-columns: 1fr;
  }
  .schedule-form {
    padding: 32px 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .stepper-item .label {
    display: none;
  }
  .narrative-progress {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .cursor, .cursor-ring {
    display: none;
  }
}

/* ---------- UTILITY ---------- */
.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }

/* Selection */
::selection {
  background: var(--leaf);
  color: var(--bg-0);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-0);
}
::-webkit-scrollbar-thumb {
  background: var(--green-700);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--leaf);
}
