/* ==========================================================================
   JoynFit Healthy Desserts — Main Stylesheet
   Aesthetic: Healthy, Fresh, Clean, Calm, Modern, Premium, Sweet & Appetizing
   Zero inline CSS in HTML. 100% SVG Icons, Zero Emojis.
   Fully responsive across Mobile, Tablet, and Desktop.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette: Warm soft pastels & organic natural tones */
  --bg-main: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-soft-cream: #F5EFEB;
  --bg-warm-beige: #EFE8E1;

  --accent-matcha: #4A6F54;
  --accent-matcha-light: #E7F0E9;
  --accent-matcha-hover: #3D5D46;

  --accent-rose: #D47970;
  --accent-rose-light: #FDEEED;
  --accent-rose-hover: #BF655C;

  --accent-honey: #D4A359;
  --accent-honey-light: #FCF6EC;

  --text-dark: #45270b;
  --text-body: #574D47;
  --text-muted: #8E827A;
  --text-light: #FAF8F5;

  --border-subtle: rgba(69, 39, 11, 0.07);
  --border-focus: rgba(74, 111, 84, 0.35);

  --shadow-sm: 0 4px 14px rgba(69, 39, 11, 0.04);
  --shadow-md: 0 12px 28px rgba(69, 39, 11, 0.07);
  --shadow-lg: 0 24px 50px rgba(69, 39, 11, 0.10);
  --shadow-float: 0 20px 40px -10px rgba(74, 111, 84, 0.18);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Cairo', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  overflow-x: hidden;
}

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

svg {
  display: inline-block;
  vertical-align: middle;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Ambient Background Effects
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  animation: blobFloat 20s infinite alternate ease-in-out;
  max-width: 90vw;
  max-height: 90vw;
}

.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(231, 240, 233, 0.9) 0%, rgba(231, 240, 233, 0) 70%);
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 238, 237, 0.8) 0%, rgba(253, 238, 237, 0) 70%);
  top: 35%;
  right: -150px;
  animation-duration: 25s;
  animation-delay: -5s;
}

.glow-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(252, 246, 236, 0.9) 0%, rgba(252, 246, 236, 0) 70%);
  bottom: 5%;
  left: 10%;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 25px) scale(1.06); }
  100% { transform: translate(-25px, 40px) scale(0.96); }
}

/* --------------------------------------------------------------------------
   Typography & Common Elements
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 600;
}

.sub-heading {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-matcha);
  background: var(--accent-matcha-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-intro {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto;
}

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

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  min-height: 48px;
  touch-action: manipulation;
}

.btn-primary {
  background-color: var(--accent-matcha);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(74, 111, 84, 0.25);
}

.btn-primary:hover,
.btn-primary:active {
  background-color: var(--accent-matcha-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(74, 111, 84, 0.35);
}

.btn-secondary {
  background-color: var(--accent-matcha-light);
  color: var(--accent-matcha);
}

.btn-secondary:hover,
.btn-secondary:active {
  background-color: #dbe8dd;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-dark);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover,
.btn-outline:active {
  background-color: #FFFFFF;
  border-color: rgba(69, 39, 11, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(253, 29, 29, 0.25);
}

.btn-instagram:hover,
.btn-instagram:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(253, 29, 29, 0.35);
}

.btn-callout-cta {
  background: linear-gradient(135deg, var(--accent-matcha) 0%, #3a7a4a 50%, var(--accent-matcha-hover) 100%);
  color: #FFFFFF;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(74, 111, 84, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-callout-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 0.6s ease;
}

.btn-callout-cta:hover::before {
  left: 100%;
}

.btn-callout-cta:hover,
.btn-callout-cta:active {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(74, 111, 84, 0.4), 0 0 0 4px rgba(74, 111, 84, 0.1);
}

.btn-callout-cta svg {
  transition: transform 0.3s ease;
}

.btn-callout-cta:hover svg {
  transform: translateX(4px);
}

.badge-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  background-color: var(--accent-honey-light);
  color: #9c6c21;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(69, 39, 11, 0.05);
  transition: all var(--transition-fast);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.navbar-logo-img {
  height: 48px;
  width: auto;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
  box-shadow: 0 2px 8px rgba(69, 39, 11, 0.08);
}

.brand-logo:hover .navbar-logo-img {
  transform: scale(1.05);
}

.footer-logo-img {
  height: 60px;
  width: auto;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
}

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

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

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

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-subtle);
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background-color: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
  animation: slideDown 0.3s ease-out forwards;
}

.mobile-menu.open {
  display: block;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-links a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mobile-links a:active,
.mobile-links a:hover {
  background: var(--accent-matcha-light);
  color: var(--accent-matcha);
}

.mobile-cta {
  width: 100%;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-rose-light);
  color: var(--accent-rose);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-matcha);
  font-weight: 400;
}

.hero-description {
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  color: var(--text-body);
  max-width: 530px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-pill-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-matcha);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-showcase-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.halo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.halo-outer {
  width: 110%;
  height: 110%;
  border: 1.5px dashed rgba(74, 111, 84, 0.2);
  animation: rotateCircle 45s linear infinite;
}

.halo-inner {
  width: 95%;
  height: 95%;
  background: radial-gradient(circle, rgba(231, 240, 233, 0.6) 0%, rgba(250, 248, 245, 0) 70%);
}

.floating-hero-image-card {
  position: relative;
  width: 88%;
  height: 88%;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-float);
  border: 8px solid rgba(255, 255, 255, 0.9);
  animation: heroFloat 6s ease-in-out infinite alternate;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.floating-hero-image-card:hover .hero-main-img {
  transform: scale(1.04);
}

/* Floating Micro Badges with SVG */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 10;
  transition: transform var(--transition-fast);
}

.floating-badge:hover {
  transform: translateY(-3px) scale(1.02);
}

.badge-icon-svg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-matcha-light);
  color: var(--accent-matcha);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-top-right {
  top: 15px;
  right: -20px;
  animation: badgeSway 5s ease-in-out infinite alternate;
}

.badge-bottom-left {
  bottom: 20px;
  left: -20px;
  animation: badgeSway 5s ease-in-out infinite alternate-reverse;
}

.badge-text-group strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.badge-text-group small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Floating Decorative SVGs */
.deco-leaf {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.06));
}

.leaf-1 {
  top: -15px;
  left: 20px;
  animation: leafFloat1 6s infinite ease-in-out;
}

.leaf-2 {
  bottom: 10px;
  right: -10px;
  animation: leafFloat2 5s infinite ease-in-out;
}

.leaf-3 {
  bottom: -20px;
  left: 25%;
  animation: leafFloat1 7s infinite ease-in-out 1s;
}

@keyframes heroFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-16px); }
}

@keyframes badgeSway {
  0% { transform: translateY(0); }
  100% { transform: translateY(8px); }
}

@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes leafFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(8px, -12px) rotate(15deg); }
}

@keyframes leafFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-10px, 8px) rotate(-15deg); }
}

@keyframes gentleSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}

/* Scroll indicator */
.scroll-indicator {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--text-muted);
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.mouse-wheel {
  width: 4px;
  height: 6px;
  background-color: var(--accent-matcha);
  border-radius: 2px;
  animation: scrollMouse 2s infinite ease-in-out;
}

.scroll-text {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

@keyframes scrollMouse {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Brand Story & Value Pillars
   -------------------------------------------------------------------------- */
.about-section {
  padding: 90px 0;
}

.section-header {
  margin-bottom: 50px;
}

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

.pillar-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(74, 111, 84, 0.2);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--accent-matcha-light);
  color: var(--accent-matcha);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Products Showcase Section
   -------------------------------------------------------------------------- */
.products-section {
  padding: 90px 0;
  position: relative;
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 50px;
}

.product-tabs {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-dark);
}

.tab-btn.active {
  background-color: var(--accent-matcha);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(74, 111, 84, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.product-card.is-hidden {
  display: none !important;
}

.product-card.is-active-filter {
  animation: cardFadeIn 0.4s ease-out;
}

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

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(74, 111, 84, 0.18);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--bg-soft-cream);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.quick-view-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  transition: all var(--transition-smooth);
  z-index: 2;
}

.product-card:hover .quick-view-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.quick-view-btn:hover {
  background-color: var(--accent-matcha);
  color: #FFFFFF;
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--accent-matcha);
}

.calorie-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-soft-cream);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.product-name {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.highlight-chip {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: var(--accent-matcha-light);
  color: var(--accent-matcha);
}

/* Custom orders banner */
.custom-orders-callout {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(231, 240, 233, 0.75) 0%, rgba(253, 238, 237, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.callout-icon-svg {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-matcha-light);
  color: var(--accent-matcha);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout-content h4 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.callout-content p {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   Order Now
   -------------------------------------------------------------------------- */
.order-section {
  padding: 90px 0;
  background:
    radial-gradient(ellipse at top left, rgba(231, 240, 233, 0.7) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(252, 246, 236, 0.8) 0%, transparent 50%),
    var(--bg-main);
}

.order-form {
  max-width: 720px;
  margin: 0 auto;
}

.order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
}

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

.order-field-full {
  grid-column: 1 / -1;
}

.order-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.order-field input,
.order-field select,
.order-field textarea {
  width: 100%;
  appearance: none;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-body);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font: inherit;
  font-size: 0.98rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.order-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238E827A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

html[dir="rtl"] .order-field select {
  background-position: left 14px center;
  padding-right: 16px;
  padding-left: 42px;
}

.order-field textarea {
  resize: vertical;
  min-height: 96px;
}

.order-field input:focus,
.order-field select:focus,
.order-field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(74, 111, 84, 0.12);
}

.order-form-error {
  margin-top: 16px;
  color: var(--accent-rose);
  font-size: 0.92rem;
  font-weight: 500;
}

.order-submit {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
  gap: 10px;
}

.order-form-hint {
  margin-top: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .order-form-grid {
    grid-template-columns: 1fr;
  }

  .order-section {
    padding: 70px 0;
  }
}

/* --------------------------------------------------------------------------
   Customer Reviews (WhatsApp Testimonials)
   -------------------------------------------------------------------------- */
.reviews-section {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(250, 248, 245, 0) 0%, rgba(245, 239, 235, 0.6) 50%, rgba(250, 248, 245, 0) 100%);
}

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

.review-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 211, 102, 0.35);
}

.whatsapp-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.user-avatar-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-matcha-light), var(--accent-rose-light));
  color: var(--accent-matcha);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.user-meta {
  flex-grow: 1;
}

.user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.user-status {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* WhatsApp Message Bubble */
.wa-chat-bubble {
  background-color: #DCF8C6;
  border-radius: 12px 12px 2px 12px;
  padding: 16px 18px 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  flex-grow: 1;
}

.wa-chat-bubble::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-left: 8px solid #DCF8C6;
  border-bottom: 0 solid transparent;
}

.wa-message-text {
  font-size: 0.95rem;
  color: #111B21;
  line-height: 1.5;
  margin-bottom: 6px;
  font-style: italic;
}

.wa-message-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.72rem;
  color: #667781;
}

.wa-checkmarks {
  color: #53BDEB;
  display: inline-flex;
  align-items: center;
}

.review-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.review-view-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-matcha);
  font-weight: 600;
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #EFA638;
}

/* --------------------------------------------------------------------------
   Customer Reviews Video Spotlight
   -------------------------------------------------------------------------- */
.video-section {
  padding: 90px 0;
}

.video-showcase-box {
  background: var(--bg-surface);
  border-radius: 36px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.video-header-content {
  margin-bottom: 40px;
}

.video-player-container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.video-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background-color: #111;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3);
  aspect-ratio: 9 / 16;
  max-height: 480px;
  width: auto;
  border: 4px solid rgba(255, 255, 255, 0.9);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(69, 39, 11, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity var(--transition-smooth);
}

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

.play-pulse-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-matcha);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: playPulse 2s infinite;
  transition: transform var(--transition-fast);
}

.play-pulse-btn:hover {
  transform: scale(1.1);
  color: var(--accent-matcha-hover);
}

.video-badge {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.video-control-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.video-frame:hover .video-control-bar {
  opacity: 1;
}

.video-btn {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.video-progress-bar {
  flex-grow: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.video-progress-fill {
  width: 0%;
  height: 100%;
  background-color: var(--accent-matcha);
  border-radius: 4px;
}

/* Side Stats */
.video-side-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.video-stat-item {
  background: var(--bg-soft-cream);
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(69, 39, 11, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.video-stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-matcha);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.video-stat-item p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Instagram / Social Media Section
   -------------------------------------------------------------------------- */
.instagram-section {
  padding: 80px 0 120px;
}

.insta-banner-box {
  background: var(--bg-surface);
  border-radius: 36px;
  padding: 56px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.insta-content .section-title {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
}

.insta-content .section-intro {
  margin: 0 0 28px 0;
}

.insta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.insta-tag-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.insta-post-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.insta-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.insta-post-card:hover img {
  transform: scale(1.08);
}

.insta-post-card:hover .insta-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--text-dark);
  color: #FAF8F5;
  padding: 80px 0 30px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col .logo-text {
  color: #FFFFFF;
}

.footer-brand-col .logo-text span {
  color: #92bfa0;
}

.footer-bio {
  color: #BDB4AE;
  font-size: 0.95rem;
  margin-top: 16px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links-col h4,
.footer-badge-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  color: #BDB4AE;
  font-size: 0.9rem;
}

.footer-links-col a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-promise-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  border-radius: var(--radius-md);
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #DDD5CF;
  font-size: 0.88rem;
}

.promise-item svg {
  color: #92bfa0;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8E827A;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Lightbox & Product Modal
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(69, 39, 11, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.is-open {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  background: #FFFFFF;
  border-radius: 24px;
  position: relative;
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.35);
  animation: modalScaleUp 0.3s ease-out;
  max-height: 90vh;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  line-height: 1;
  padding: 0;
  text-align: center;
  transform: translateY(-2px);
}

.modal-close-btn:hover,
.modal-close-btn:active {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-2px) scale(1.1);
}

.lightbox-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}

.lightbox-caption {
  text-align: center;
  padding: 24px 28px 28px;
  background: linear-gradient(180deg, var(--bg-soft-cream) 0%, #FFFFFF 100%);
}

.lightbox-caption strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-family: var(--font-serif);
}

.lightbox-caption p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  font-style: italic;
  max-width: 360px;
  margin: 0 auto;
}

.product-modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  position: relative;
  max-width: 780px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalScaleUp 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Product Modal Layout */
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.modal-img-col {
  height: 100%;
  min-height: 360px;
  background-color: var(--bg-soft-cream);
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details-col {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.modal-meta-category {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-matcha);
  margin-bottom: 6px;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.modal-nutrition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--bg-soft-cream);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  text-align: center;
}

.nutrition-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.nutrition-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.modal-ingredients h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.modal-ingredients p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* --------------------------------------------------------------------------
   Professional Section Load Animations
   -------------------------------------------------------------------------- */
.js-anim .reveal-on-scroll {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(3px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.js-anim .seq-item:not(.reveal-on-scroll) {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(2px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.js-anim .seq-item.is-visible,
.js-anim .reveal-on-scroll.is-visible,
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.js-anim .reveal-on-scroll.reveal-from-left:not(.is-visible) {
  transform: translateX(-56px);
}

.js-anim .reveal-on-scroll.reveal-from-right:not(.is-visible) {
  transform: translateX(56px);
}

.reveal-on-scroll.reveal-from-left.is-visible,
.reveal-on-scroll.reveal-from-right.is-visible {
  transform: translateX(0);
}

.js-anim .reveal-on-scroll.reveal-scale:not(.is-visible) {
  transform: translateY(40px) scale(0.92);
}

.reveal-on-scroll.reveal-scale.is-visible {
  transform: translateY(0) scale(1);
}

/* Section-level choreography */
.animate-section {
  position: relative;
}

.animate-section .sub-heading {
  position: relative;
}

.animate-section .sub-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-matcha), transparent);
  transform: translateX(-50%);
  transition: width 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.products-header .sub-heading::after,
.insta-content .sub-heading::after {
  left: 0;
  transform: none;
  background: linear-gradient(90deg, var(--accent-matcha), transparent);
}

html[dir="rtl"] .products-header .sub-heading::after,
html[dir="rtl"] .insta-content .sub-heading::after {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, var(--accent-matcha), transparent);
}

.animate-section.is-inview .sub-heading::after {
  width: 72px;
}

/* titles/intros animate via .seq-item one-by-one */

.animate-section::before {
  content: "";
  position: absolute;
  inset: 6% 4% auto;
  height: 40%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(ellipse at center, rgba(74, 111, 84, 0.07) 0%, transparent 70%);
  transition: opacity 1.2s ease;
}

.animate-section > * {
  position: relative;
  z-index: 1;
}

.animate-section.is-inview::before {
  opacity: 1;
}

.hero-section::before,
.site-footer::before {
  display: none;
}

.video-showcase-box.reveal-on-scroll,
.insta-banner-box.reveal-on-scroll,
.custom-orders-callout.reveal-on-scroll {
  transform: translateY(42px) scale(0.97);
}

.video-showcase-box.reveal-on-scroll.is-visible,
.insta-banner-box.reveal-on-scroll.is-visible,
.custom-orders-callout.reveal-on-scroll.is-visible {
  transform: translateY(0) scale(1);
}

.js-anim .site-footer.animate-section:not(.is-inview) .footer-content > * {
  opacity: 0;
  transform: translateY(24px);
}

.site-footer.animate-section.is-inview .footer-content > * {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--footer-delay, 0ms),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--footer-delay, 0ms);
}

.site-footer.animate-section.is-inview .footer-content > *:nth-child(1) { --footer-delay: 0ms; }
.site-footer.animate-section.is-inview .footer-content > *:nth-child(2) { --footer-delay: 100ms; }
.site-footer.animate-section.is-inview .footer-content > *:nth-child(3) { --footer-delay: 180ms; }
.site-footer.animate-section.is-inview .footer-content > *:nth-child(4) { --footer-delay: 260ms; }

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(120%);
}

.pillar-card,
.product-card,
.review-card {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
}

.pillar-card:hover,
.product-card:hover,
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.insta-post-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.insta-post-card:hover img {
  transform: scale(1.08);
}

.sub-heading {
  animation: subHeadingSoft 4.5s ease-in-out infinite;
}

@keyframes subHeadingSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 111, 84, 0); }
  50% { box-shadow: 0 0 0 6px rgba(74, 111, 84, 0.08); }
}

.stat-number.is-counted {
  animation: statPop 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes statPop {
  0% { transform: scale(0.85); opacity: 0.5; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

.scroll-indicator {
  animation: scrollHint 2.4s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(8px); opacity: 1; }
}

.site-header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(69, 39, 11, 0.06);
}

.hero-pill-badges.is-visible .pill-badge {
  animation: pillIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-pill-badges.is-visible .pill-badge:nth-child(1) { animation-delay: 0.05s; }
.hero-pill-badges.is-visible .pill-badge:nth-child(2) { animation-delay: 0.15s; }
.hero-pill-badges.is-visible .pill-badge:nth-child(3) { animation-delay: 0.25s; }

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll,
  .animate-section:not(.is-inview) .section-title,
  .animate-section:not(.is-inview) .section-intro,
  .video-section:not(.is-inview) .video-stat-item,
  .site-footer.animate-section:not(.is-inview) .footer-content > *,
  .insta-grid a {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 36px;
  }

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

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

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

  .video-player-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .insta-banner-box {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  /* Header & Navigation */
  .desktop-nav,
  .nav-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-container {
    padding: 12px 18px;
  }

  .navbar-logo-img {
    height: 40px;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 24px 0 50px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-pill-badges {
    justify-content: center;
    gap: 8px;
  }

  .pill-badge {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  /* Hero Image & Badges on Mobile */
  .hero-showcase-wrapper {
    max-width: 290px;
    width: 100%;
    margin: 0 auto;
  }

  .floating-hero-image-card {
    border-width: 5px;
    border-radius: 28px;
  }

  .floating-badge {
    padding: 8px 12px;
    gap: 8px;
  }

  .badge-top-right {
    right: -8px;
    top: -8px;
  }

  .badge-bottom-left {
    left: -8px;
    bottom: -8px;
  }

  .badge-text-group strong {
    font-size: 0.78rem;
  }

  .badge-text-group small {
    font-size: 0.68rem;
  }

  .deco-leaf {
    display: none;
  }

  /* Brand Pillars Mobile */
  .about-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar-card {
    padding: 24px 20px;
  }

  /* Products Section Mobile */
  .products-section {
    padding: 60px 0;
  }

  .products-header {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 32px;
  }

  .product-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 4px;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

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

  /* On mobile touch devices, keep the Quick View button always visible */
  .quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    bottom: 12px;
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .product-info {
    padding: 20px 18px;
  }

  .custom-orders-callout {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
    margin-top: 40px;
  }

  .custom-orders-callout .btn {
    width: 100%;
  }

  /* Reviews Section Mobile */
  .reviews-section {
    padding: 60px 0;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-card {
    padding: 20px 18px;
  }

  /* Video Spotlight Mobile */
  .video-section {
    padding: 60px 0;
  }

  .video-showcase-box {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .video-frame {
    border-radius: var(--radius-md);
  }

  .play-pulse-btn {
    width: 64px;
    height: 64px;
  }

  .play-pulse-btn svg {
    width: 24px;
    height: 24px;
  }

  .video-badge {
    font-size: 0.78rem;
    padding: 4px 12px;
  }

  .video-stat-item {
    padding: 18px 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* Instagram Section Mobile */
  .instagram-section {
    padding: 60px 0 80px;
  }

  .insta-banner-box {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
  }

  .insta-actions {
    align-items: stretch;
  }

  .insta-actions .btn {
    width: 100%;
  }

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

  /* Footer Mobile */
  .site-footer {
    padding: 60px 0 24px;
  }

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

  /* Product Modal Mobile */
  .product-modal-dialog {
    max-height: 85vh;
  }

  .product-modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-img-col {
    min-height: 200px;
    max-height: 240px;
  }

  .modal-details-col {
    padding: 24px 18px;
  }

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

  .modal-nutrition-grid {
    padding: 12px;
    gap: 8px;
  }

  .nutrition-item strong {
    font-size: 0.95rem;
  }

  .nutrition-item span {
    font-size: 0.7rem;
  }

  .modal-details-col .btn {
    width: 100%;
  }

  /* Lightbox Mobile */
  .lightbox-body {
    padding: 20px 16px;
  }

  .lightbox-img {
    max-height: 55vh;
  }
}

/* Extra Small Phones (max-width: 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 14px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-showcase-wrapper {
    max-width: 250px;
  }

  .floating-badge {
    padding: 6px 10px;
  }

  .badge-icon-svg {
    width: 26px;
    height: 26px;
  }

  .badge-top-right {
    right: -4px;
  }

  .badge-bottom-left {
    left: -4px;
  }

  .tab-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   Language Switcher & Arabic RTL
   -------------------------------------------------------------------------- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(69, 39, 11, 0.06);
  border: 1px solid var(--border-subtle);
}

.lang-btn {
  min-width: 36px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: transparent;
}

.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  background: var(--bg-surface);
  color: var(--accent-matcha);
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover {
  color: var(--text-dark);
}

html[dir="rtl"] body,
body.is-ar {
  font-family: var(--font-arabic), var(--font-sans);
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title,
html[dir="rtl"] .product-name,
html[dir="rtl"] .modal-title,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: var(--font-arabic), var(--font-serif);
  letter-spacing: 0;
}

html[dir="rtl"] .hero-grid,
html[dir="rtl"] .products-header,
html[dir="rtl"] .custom-orders-callout,
html[dir="rtl"] .video-player-container,
html[dir="rtl"] .insta-banner-box,
html[dir="rtl"] .footer-content,
html[dir="rtl"] .product-modal-grid,
html[dir="rtl"] .whatsapp-card-header,
html[dir="rtl"] .review-card-action,
html[dir="rtl"] .nav-container,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .hero-cta-group,
html[dir="rtl"] .hero-pill-badges,
html[dir="rtl"] .product-meta,
html[dir="rtl"] .product-highlights,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .mobile-links {
  direction: rtl;
}

html[dir="rtl"] .btn svg,
html[dir="rtl"] .btn-callout-cta svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .badge-top-right {
  right: auto;
  left: -8px;
}

html[dir="rtl"] .badge-bottom-left {
  left: auto;
  right: -8px;
}

html[dir="rtl"] .floating-badge,
html[dir="rtl"] .badge-text-group {
  text-align: right;
}

html[dir="rtl"] .text-center {
  text-align: center;
}

html[dir="rtl"] .section-intro,
html[dir="rtl"] .hero-description,
html[dir="rtl"] .product-desc,
html[dir="rtl"] .wa-message-text,
html[dir="rtl"] .footer-bio,
html[dir="rtl"] .modal-desc,
html[dir="rtl"] .modal-ingredients p,
html[dir="rtl"] .callout-content p {
  text-align: right;
}

html[dir="rtl"] .section-header.text-center .section-intro,
html[dir="rtl"] .video-header-content .section-intro {
  text-align: center;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .lang-switcher {
    order: -1;
  }
}
