/* ==========================================
   ProDoze - Premium Protein | Stylesheet
   ========================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors - extracted from box designs */
  --brown-deep: #2A1F14;
  --brown-dark: #3D2B1F;
  --brown-medium: #5C4033;
  --brown-light: #8B7355;
  --cream: #F5F0E8;
  --cream-dark: #E8E0D0;
  --matcha-green: #7CB342;
  --matcha-dark: #4E7A26;
  --matcha-light: #A4D65E;
  --forest-green: #2E5A1C;
  --black: #0A0A0A;
  --white: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 10vw, 140px);
  --container-max: 2000px;
  --container-padding: clamp(20px, 4vw, 60px);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.3s var(--ease-out-expo);
  --transition-medium: 0.6s var(--ease-out-expo);
  --transition-slow: 1s var(--ease-out-expo);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(135deg, var(--matcha-green) 0%, var(--matcha-light) 50%, var(--matcha-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Lucide Icons ---------- */
.icon {
  width: 20px;
  height: 20px;
  stroke: var(--matcha-green);
  stroke-width: 2;
  fill: none;
}

.about-feature-icon .icon {
  width: 20px;
  height: 20px;
}

.how-step-icon .icon {
  width: 28px;
  height: 28px;
}

.ingredient-icon .icon {
  width: 24px;
  height: 24px;
}

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

section {
  position: relative;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo-img {
  height: clamp(60px, 10vw, 120px);
  width: auto;
  object-fit: contain;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--matcha-green);
  border-radius: 2px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition-fast), padding var(--transition-fast), backdrop-filter var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(124, 179, 66, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-300);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--matcha-green);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--matcha-green);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--matcha-green) !important;
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--matcha-light) !important;
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-fast);
  display: block;
}

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

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

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

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(10, 10, 10, 0.3) 0%,
      rgba(10, 10, 10, 0.6) 50%,
      rgba(10, 10, 10, 1) 100%);
}

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

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 179, 66, 0.1);
  border: 1px solid rgba(124, 179, 66, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--matcha-green);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--matcha-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--gray-300);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.btn-primary {
  background: var(--matcha-green);
  color: var(--black);
  padding: 16px 36px;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--matcha-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(124, 179, 66, 0.3);
}

.btn-primary .arrow {
  transition: transform var(--transition-fast);
}

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

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--matcha-green);
  color: var(--matcha-green);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  border-left: 2px solid var(--matcha-green);
  padding-left: 16px;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* Hero Product Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 0;
  width: 100%;
}

.hero-product-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

/* Background product element behind the 3D phone */
.hero-product-img-bg {
  position: absolute;
  right: -50%;
  top: 60%;
  transform: translateY(-50%);
  height: 70%;
  max-height: 550px;
  width: auto;
  z-index: 1;
  filter: drop-shadow(10px 20px 30px rgba(0, 0, 0, 0.6));
  opacity: 0.85;
  pointer-events: none;
  transition: all var(--transition-medium);
}

/* 3D Mobile Mockup Hero Element - Rendered via Three.js */
.phone3d-wrapper {
  width: 100%;
  height: 650px;
  position: relative;
  z-index: 10;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone3d-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  display: block;
  outline: none;
}

/* Floating particles */
.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--matcha-green);
  border-radius: 50%;
  opacity: 0.4;
  z-index: 2;
}

/* ---------- Marquee / Scroll Ticker ---------- */
.marquee-section {
  padding: 30px 0;
  border-top: 1px solid rgba(124, 179, 66, 0.1);
  border-bottom: 1px solid rgba(124, 179, 66, 0.1);
  overflow: hidden;
  background: rgba(124, 179, 66, 0.03);
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-600);
  flex-shrink: 0;
}

.marquee-item .sep {
  width: 6px;
  height: 6px;
  background: var(--matcha-green);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- About / Story Section ---------- */
.about-section {
  padding: var(--section-padding) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform var(--transition-slow);
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.9));
  border-radius: 0 0 16px 16px;
}

.about-image-overlay span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--matcha-green);
  font-weight: 600;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--matcha-green);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.section-text {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(124, 179, 66, 0.05);
  border: 1px solid rgba(124, 179, 66, 0.1);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.about-feature:hover {
  background: rgba(124, 179, 66, 0.1);
  border-color: rgba(124, 179, 66, 0.3);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 179, 66, 0.15);
  border-radius: 8px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

/* ---------- Products Section ---------- */
.products-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--gray-900) 50%, var(--black) 100%);
}

.products-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.product-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-medium);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
}

/* Classic / Vanilla Card */
.product-card.classic {
  background: linear-gradient(145deg, var(--cream) 0%, var(--cream-dark) 100%);
  color: var(--forest-green);
}

/* Coco Mocha Card */
.product-card.mocha {
  background: linear-gradient(145deg, var(--brown-dark) 0%, var(--brown-deep) 100%);
  color: var(--cream);
}

.product-card-inner {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 24px;
}

.product-card.classic .product-tag {
  background: rgba(46, 90, 28, 0.1);
  color: var(--forest-green);
  border: 1px solid rgba(46, 90, 28, 0.2);
}

.product-card.mocha .product-tag {
  background: rgba(124, 179, 66, 0.1);
  color: var(--matcha-green);
  border: 1px solid rgba(124, 179, 66, 0.2);
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.product-variant {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 24px;
  font-weight: 500;
}

.product-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  position: relative;
}

.product-image-container img {
  max-height: 300px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  transition: transform var(--transition-medium);
}

.product-card:hover .product-image-container img {
  transform: scale(1.08) rotate(-2deg);
}

.product-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.product-specs {
  display: flex;
  gap: 24px;
}

.product-spec {
  text-align: center;
}

.product-spec-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.product-spec-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-top: 2px;
}

.product-price {
  text-align: right;
}

.product-price-amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
}

.product-price-unit {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.product-card-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.03) 50%,
      transparent 70%);
  transform: rotate(0deg);
  transition: transform 0.8s var(--ease-out-expo);
  pointer-events: none;
}

.product-card:hover .product-card-shine {
  transform: rotate(180deg);
}

/* ---------- How It Works ---------- */
.how-section {
  padding: var(--section-padding) 0;
  position: relative;
}

.how-header {
  text-align: center;
  margin-bottom: 80px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 70px;
  left: 15%;
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124, 179, 66, 0.3), transparent);
}

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

.how-step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  background: var(--black);
  border: 2px solid rgba(124, 179, 66, 0.3);
  color: var(--matcha-green);
  transition: all var(--transition-fast);
}

.how-step:hover .how-step-number {
  background: var(--matcha-green);
  color: var(--black);
  border-color: var(--matcha-green);
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(124, 179, 66, 0.3);
}

.how-step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.how-step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.how-step-desc {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- Ingredients Section ---------- */
.ingredients-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--brown-deep) 50%, var(--black) 100%);
  position: relative;
  overflow: hidden;
}

.ingredients-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 179, 66, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ingredients-visual {
  position: relative;
}

.ingredients-visual img {
  width: 100%;
  border-radius: 20px;
  height: 450px;
  object-fit: cover;
}

.ingredient-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ingredient-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all var(--transition-fast);
}

.ingredient-card:hover {
  background: rgba(124, 179, 66, 0.05);
  border-color: rgba(124, 179, 66, 0.2);
  transform: translateX(8px);
}

.ingredient-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: rgba(124, 179, 66, 0.1);
}

.ingredient-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ingredient-info p {
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.5;
}

/* ---------- Nutrition Section ---------- */
.nutrition-section {
  padding: var(--section-padding) 0;
}

.nutrition-header {
  text-align: center;
  margin-bottom: 60px;
}

.nutrition-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nutrition-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nutrition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--matcha-green);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  transform-origin: left;
}

.nutrition-card:hover {
  background: rgba(124, 179, 66, 0.05);
  border-color: rgba(124, 179, 66, 0.2);
  transform: translateY(-4px);
}

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

.nutrition-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--matcha-green);
  margin-bottom: 4px;
}

.nutrition-unit {
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 600;
}

.nutrition-label {
  font-size: 0.85rem;
  color: var(--gray-300);
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- Ingredient Breakdown ---------- */
.ingredient-breakdown {
  margin-top: 80px;
  text-align: center;
}

.ingredient-breakdown-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.flavour-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-800);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.flavour-tab {
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--gray-900);
  color: var(--gray-600);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.flavour-tab:hover {
  color: var(--white);
  background: rgba(124, 179, 66, 0.08);
}

.flavour-tab.active {
  background: var(--matcha-green);
  color: var(--black);
}

.ingredient-table-wrapper {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 16px;
  overflow-x: auto;
  border: 1px solid var(--gray-800);
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
}

.ingredient-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ingredient-table thead th {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--matcha-green);
  background: rgba(124, 179, 66, 0.08);
  border-bottom: 1px solid var(--gray-800);
}

.ingredient-table tbody td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--gray-400);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ingredient-table tbody tr:hover {
  background: rgba(124, 179, 66, 0.04);
}

.ingredient-table tbody td:first-child {
  color: var(--white);
  font-weight: 500;
}

.ingredient-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  .flavour-tabs {
    flex-direction: column;
    width: 100%;
  }

  .flavour-tab {
    padding: 12px 20px;
  }

  .ingredient-table thead th,
  .ingredient-table tbody td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--gray-900) 50%, var(--black) 100%);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 36px;
  transition: all var(--transition-fast);
}

.testimonial-card:hover {
  background: rgba(124, 179, 66, 0.03);
  border-color: rgba(124, 179, 66, 0.15);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--matcha-green);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-200);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--matcha-green), var(--matcha-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.cta-wrapper {
  background: linear-gradient(135deg, var(--brown-deep) 0%, var(--brown-dark) 40%, var(--forest-green) 100%);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 179, 66, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-wrapper::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 179, 66, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cta-subtitle {
  color: var(--cream-dark);
  font-size: 1.05rem;
  margin-bottom: 36px;
  opacity: 0.8;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-brand-logo {
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 6px 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--matcha-green);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--gray-600);
}

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

.footer-social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
  color: var(--gray-600);
  font-size: 1rem;
}

.footer-social:hover {
  background: rgba(124, 179, 66, 0.1);
  border-color: rgba(124, 179, 66, 0.3);
  color: var(--matcha-green);
  transform: translateY(-3px);
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--matcha-green), var(--matcha-light));
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ---------- Custom Cursor Follower ---------- */
.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(124, 179, 66, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s, border-color 0.3s;
  transform: translate(-50%, -50%);
}

.cursor-follower.hovering {
  width: 50px;
  height: 50px;
  border-color: var(--matcha-green);
  background: rgba(124, 179, 66, 0.05);
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

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

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-product-img {
    max-width: 300px;
  }

  .about-grid,
  .ingredients-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .cursor-follower {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: right var(--transition-medium);
    border-left: 1px solid rgba(124, 179, 66, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-logo-img,
  .footer-logo-img {
    height: 60px;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

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

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

  .how-steps::before {
    display: none;
  }

  .nutrition-cards {
    grid-template-columns: 1fr 1fr;
  }

  .product-card-inner {
    padding: 32px 24px;
    min-height: 500px;
  }

  .cta-wrapper {
    padding: 60px 30px;
  }

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

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

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

  .phone3d-wrapper {
    height: 500px;
  }

  .hero-product-img-bg {
    right: 0%;
    opacity: 0.5;
    /* Fade it slightly more so it's clearly a background element and doesn't clutter mobile */
    height: 70%;
  }
}

@media (max-width: 480px) {
  .about-image-wrapper img {
    height: 350px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .nutrition-cards {
    grid-template-columns: 1fr;
  }

  .phone3d-wrapper {
    height: 400px;
    margin-top: -20px;
  }

  .hero-product-img-bg {
    right: -10%;
    opacity: 0.4;
    height: 60%;
  }
}

/* ---------- Pre-order Modal ---------- */
.preorder-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.preorder-overlay.active {
  opacity: 1;
  visibility: visible;
}

.preorder-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border: 1px solid var(--gray-800);
  border-radius: 20px;
  padding: 40px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.preorder-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.preorder-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.preorder-close:hover {
  color: var(--white);
}

.preorder-header {
  text-align: center;
  margin-bottom: 32px;
}

.preorder-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 8px;
}

.preorder-subtitle {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 8px;
  line-height: 1.5;
}

.preorder-field {
  margin-bottom: 18px;
  flex: 1;
}

.preorder-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.preorder-field input,
.preorder-field select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gray-800);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.preorder-field input::placeholder {
  color: var(--gray-700);
}

.preorder-field input:focus,
.preorder-field select:focus {
  border-color: var(--matcha-green);
  background: rgba(124, 179, 66, 0.04);
}

.preorder-field select option {
  background: #1a1a1a;
  color: var(--white);
}

.preorder-row {
  display: flex;
  gap: 16px;
}

.preorder-price-info {
  text-align: center;
  font-size: 0.85rem;
  color: var(--matcha-light);
  margin-bottom: 20px;
  font-weight: 600;
}

.preorder-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  justify-content: center;
}

.preorder-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.preorder-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-700);
  margin-top: 14px;
  line-height: 1.5;
}

/* Success state */
.preorder-success {
  text-align: center;
  padding: 40px 20px;
}

.preorder-success-icon {
  margin-bottom: 20px;
}

/* Modal scrollbar styling */
.preorder-modal::-webkit-scrollbar {
  width: 4px;
}

.preorder-modal::-webkit-scrollbar-track {
  background: transparent;
}

.preorder-modal::-webkit-scrollbar-thumb {
  background: var(--gray-800);
  border-radius: 4px;
}

@media (max-width: 600px) {
  .preorder-modal {
    padding: 28px 20px;
    width: 95%;
  }

  .preorder-row {
    flex-direction: column;
    gap: 0;
  }

  .preorder-title {
    font-size: 1.4rem;
  }
}