/* 
  Pure Harvest Salt — Himalayan Pink Salt Marketing Website
  Brand Color System & Matte Mineral Aesthetic 
*/

:root {
  --color-pine-green: #1B4D3E;
  --color-pine-green-dark: #12362B;
  --color-brand-pink: #E0567F;
  --color-brand-pink-light: #FF80A4;
  --color-deep-rose: #C21858;
  --color-bg-blush-start: #FCEAE7;
  --color-bg-blush-end: #F8D9D6;
  --color-mountain-pink: #F4B8C4;
  --color-mountain-rose: #8B2F53;
  --color-salt-peach: #F0A98D;
  --color-olive-green: #4B6B3A;
  --color-cream-card: #FFF7F3;
  --color-text-dark: #1C2826;
  --color-text-muted: #4A5D58;

  --font-headline: 'Baloo 2', 'Fredoka', cursive, sans-serif;
  --font-nav: 'Plus Jakarta Sans', 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Nunito', 'Inter', sans-serif;

  --glass-bg: rgba(255, 247, 243, 0.45);
  --glass-bg-hover: rgba(255, 255, 255, 0.65);
  --glass-border: 1px solid rgba(224, 86, 127, 0.25);
  --glass-shadow: 0 10px 30px -5px rgba(139, 47, 83, 0.12);

  --radius-card: 16px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-blush-start);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Matte Granular Grain Texture Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.045;
  transform: translateZ(0);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes loader-crystal-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Typography Helpers */
h1, h2, h3, h4, .font-headline {
  font-family: var(--font-headline);
  line-height: 1.15;
}

.text-pine { color: var(--color-pine-green); }
.text-rose { color: var(--color-brand-pink); }
.text-deep-rose { color: var(--color-deep-rose); }
.text-muted { color: var(--color-text-muted); }

/* Crystal Faceted Glassmorphic Panel Styling */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-card);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

/* Chamfered/faceted cut corners on key panels to echo crystal block shape */
.faceted-corner {
  clip-path: polygon(
    0 12px, 
    12px 0, 
    calc(100% - 12px) 0, 
    100% 12px, 
    100% calc(100% - 12px), 
    calc(100% - 12px) 100%, 
    12px 100%, 
    0 calc(100% - 12px)
  );
}

.glass-panel:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(224, 86, 127, 0.4);
  transform: translateY(-2px);
}

/* Buttons — Soft Matte Finish with Inner Highlight */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 12px rgba(27, 77, 62, 0.1);
}

.btn-primary {
  background: linear-gradient(180deg, var(--color-deep-rose) 0%, #A31046 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 16px rgba(194, 24, 88, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #D42063 0%, #B2124D 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 20px rgba(194, 24, 88, 0.4);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: linear-gradient(180deg, var(--color-pine-green) 0%, var(--color-pine-green-dark) 100%);
  color: #ffffff;
}

.btn-secondary:hover {
  background: linear-gradient(180deg, #246350 0%, #174235 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 77, 62, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  color: var(--color-pine-green);
  border: 1px solid rgba(27, 77, 62, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-deep-rose);
  border-color: var(--color-brand-pink);
}

/* STICKY MASCOT FLOATING GLASS TOP BAR */
.mascot-nav-panel {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  will-change: transform;
  z-index: 900;
  width: calc(100% - 32px);
  max-width: 1140px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-nav);
  background: rgba(255, 247, 243, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(224, 86, 127, 0.3);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px -5px rgba(139, 47, 83, 0.15);
  transition: all 0.3s ease;
}

.mascot-nav-panel.scrolled {
  background: rgba(255, 247, 243, 0.92);
  box-shadow: 0 12px 36px rgba(139, 47, 83, 0.22);
}

.mascot-wrapper {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mascot-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-logo {
  width: 110px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
  flex-shrink: 0;
}

.mascot-wrapper:hover .mascot-img {
  transform: scale(1.1) rotate(4deg);
}

.mascot-brand-name {
  font-family: var(--font-nav);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--color-pine-green);
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}

.mascot-brand-sub {
  font-family: var(--font-nav);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--color-brand-pink);
  margin-top: 2px;
}

.speech-bubble {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  transform: translateY(-6px) scale(0.92);
  background: #ffffff;
  color: var(--color-pine-green);
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 8px 14px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(139, 47, 83, 0.18);
  white-space: normal;
  width: max-content;
  max-width: 280px;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1.5px solid var(--color-brand-pink);
  z-index: 1000;
}

.speech-bubble::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 24px;
  border-width: 0 7px 8px;
  border-style: solid;
  border-color: var(--color-brand-pink) transparent;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 25px;
  border-width: 0 6px 7px;
  border-style: solid;
  border-color: #ffffff transparent;
}

.bubble-click-hint {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-brand-pink);
  margin-top: 2px;
}

.mascot-nav-panel.show-bubble .speech-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mascot-nav-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.mascot-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.mascot-nav-links a {
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--color-pine-green);
  text-decoration: none;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(27, 77, 62, 0.12);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.mascot-nav-links a:hover {
  background: var(--color-brand-pink);
  color: #ffffff;
  border-color: var(--color-brand-pink);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224, 86, 127, 0.25);
}

.mobile-hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-pine-green);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 135px 24px 80px;
  background: linear-gradient(160deg, var(--color-bg-blush-start) 0%, var(--color-bg-blush-end) 100%);
  text-align: center;
  overflow: hidden;
  z-index: 1;
  /* Isolate the animated canvas + video so their repaints never invalidate the rest of the page */
  contain: paint;
}

/* Ambient Hero Video Background */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.8;
  transition: opacity 0.5s ease;
  pointer-events: none;
  /* GPU compositing — prevents repaint of the video surface while scrolling */
  transform: translateZ(0);
  will-change: transform;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 247, 243, 0.72) 0%, rgba(252, 234, 231, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

/* Falling Salt Crystals Canvas */
.salt-falling-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

/* Centered Top Badge above Main Hero Text */
.hero-top-badges {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-natural-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-pine-green);
  color: #ffffff;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(27, 77, 62, 0.2);
  letter-spacing: 0.5px;
}

.hero-brand-logo,
.hero-typewriter-container,
.hero-subtitle,
.hero-cta-group {
  position: relative;
  z-index: 5;
}

.hero-brand-logo {
  width: 100%;
  max-width: 440px;
  height: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 10px rgba(139, 47, 83, 0.15));
}

.hero-typewriter-container {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 28px;
}

.typewriter-text {
  font-family: var(--font-headline);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--color-pine-green);
  line-height: 1.25;
  white-space: nowrap; /* Strictly one line on desktop */
}

.typewriter-cursor {
  display: inline-block;
  width: 4px;
  height: 1em;
  background-color: var(--color-brand-pink);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Smooth Continuous Pink-Purple-Rose Gradient for "Pure Harvest" */
.glossy-pure-harvest {
  font-weight: 800;
  display: inline-block;
  background: linear-gradient(
    90deg,
    #E0567F 0%,
    #9B51E0 25%,
    #F0A98D 50%,
    #C84C77 75%,
    #E0567F 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: smoothPinkRoseGradient 4s linear infinite;
}

@keyframes smoothPinkRoseGradient {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: -200% center;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  font-weight: 600;
}

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

.hero-mountain-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 120px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

/* 3D INTERACTIVE ROCK SALT SECTION */
.crystal-3d-section {
  position: relative;
  padding: 100px 24px;
  background: #FFF7F3;
  overflow: hidden;
  border-top: 1px solid rgba(224, 86, 127, 0.15);
  border-bottom: 1px solid rgba(224, 86, 127, 0.15);
}

.crystal-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.crystal-info-card {
  padding: 40px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-deep-rose);
  background: rgba(224, 86, 127, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--color-pine-green);
  margin-bottom: 18px;
}

.crystal-features-list {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crystal-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.crystal-features-list li span.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-blush-start);
  color: var(--color-deep-rose);
  font-size: 1.1rem;
}

.viewer-3d-container {
  position: relative;
  width: 100%;
  height: clamp(340px, 45vh, 500px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

model-viewer {
  width: 100%;
  height: 100%;
  min-height: 280px;
  --poster-color: transparent;
  outline: none;
}

/* 3D Model Placeholder Loader */
.model-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 2;
}

.crystal-placeholder-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-deep-rose);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.spin-crystal {
  animation: spinCrystal 2s linear infinite;
}

@keyframes spinCrystal {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

/* STORY SECTION — REAL HIMALAYAN MOUNTAIN PARALLAX SCROLL JOURNEY */
.story-section {
  position: relative;
  padding: 120px 24px;
  background: #1B4D3E;
  overflow: hidden;
}

.story-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.story-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(252, 234, 231, 0.7) 0%, rgba(255, 247, 243, 0.45) 50%, rgba(27, 77, 62, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.story-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.story-header {
  text-align: center;
  margin-bottom: 80px;
  background: rgba(255, 247, 243, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 32px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  max-width: 720px;
}

.story-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* SVG Winding Path line */
.story-path-svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.story-path-line {
  stroke: var(--color-brand-pink);
  stroke-width: 5;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  fill: none;
  transition: stroke-dashoffset 0.1s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.story-beat {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  width: 50%;
}

.story-beat:nth-child(odd) {
  align-self: flex-start;
  flex-direction: row-reverse;
  text-align: right;
  padding-right: 40px;
}

.story-beat:nth-child(even) {
  align-self: flex-end;
  flex-direction: row;
  text-align: left;
  padding-left: 40px;
}

.story-node-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--color-brand-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}

.story-beat:hover .story-node-icon {
  transform: scale(1.12);
  background: var(--color-brand-pink);
}

.story-beat:hover .story-node-icon svg {
  stroke: #ffffff;
}

.story-content-card {
  padding: 28px;
  background: rgba(255, 247, 243, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-card);
}

.story-content-card h3 {
  font-size: 1.4rem;
  color: var(--color-pine-green);
  margin-bottom: 8px;
}

.story-content-card p {
  font-size: 1rem;
  color: var(--color-text-dark);
  font-weight: 600;
}

/* Product of Pakistan Showcase Card */
.pakistan-showcase-card {
  margin-top: 80px;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.95) 0%, rgba(18, 54, 43, 0.98) 100%);
  color: #ffffff;
  padding: 40px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 40px rgba(27, 77, 62, 0.3);
}

.pakistan-flag-img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* PRODUCT & FEATURES SECTION */
.product-section {
  padding: 120px 24px;
  background: #FFF7F3;
}

.product-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-image-wrapper {
  position: relative;
  text-align: center;
}

.product-packaging-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 20px 40px rgba(139, 47, 83, 0.25));
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-image-wrapper:hover .product-packaging-img {
  transform: scale(1.03) rotate(-1deg);
}

.net-wt-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--color-deep-rose);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(194, 24, 88, 0.4);
}

/* 5 Circular Badges Row */
.badge-icons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.packaging-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-width: 0;
  max-width: 130px;
}

.badge-circle-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--color-pine-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--color-bg-blush-start);
  color: var(--color-pine-green);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.badge-circle-icon svg {
  stroke: var(--color-pine-green);
  transition: stroke 0.3s ease;
}

.packaging-badge-item:hover .badge-circle-icon {
  background: var(--color-pine-green);
  color: #ffffff;
  transform: translateY(-4px);
}

.packaging-badge-item:hover .badge-circle-icon svg {
  stroke: #ffffff;
}

.badge-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-pine-green);
  letter-spacing: 0.5px;
  white-space: normal;
  line-height: 1.3;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 20px;
}

.feature-card h4 {
  font-size: 1.1rem;
  color: var(--color-pine-green);
  margin-bottom: 6px;
  white-space: nowrap; /* Single line */
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* NUTRITION & TRUST SECTION */
.nutrition-section {
  padding: 120px 24px;
  background: linear-gradient(180deg, #FFF7F3 0%, var(--color-bg-blush-start) 100%);
}

.nutrition-grid {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* High Fidelity Nutrition Facts Card */
.nutrition-facts-card {
  background: var(--color-cream-card);
  border: 3px solid var(--color-brand-pink);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(139, 47, 83, 0.12);
  font-family: var(--font-body);
  width: 100%;
}

.nutrition-title {
  font-family: var(--font-headline);
  font-size: 2.2rem;
  font-weight: 800;
  border-bottom: 8px solid var(--color-pine-green);
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.nutrition-subtext {
  font-size: 0.9rem;
  border-bottom: 4px solid var(--color-pine-green);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
}

.nutrition-table td {
  padding: 6px 0;
  border-bottom: 1px solid #E2D5CF;
  font-size: 0.92rem;
}

.nutrition-table tr.bold-row td {
  border-bottom: 4px solid var(--color-pine-green);
  font-weight: 800;
}

.dv-text {
  float: right;
  font-weight: 700;
}

.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 12px; /* Clean square-rounded pill shape */
  border: 1.5px solid rgba(224, 86, 127, 0.25);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-pine-green);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  white-space: nowrap; /* Single line guarantee */
  flex-shrink: 0;
}

/* Interactive QR Code Card */
.qr-card {
  padding: 32px;
  text-align: center;
  cursor: pointer;
}

.qr-code-img {
  width: 180px;
  height: 180px;
  margin: 16px auto;
  border: 8px solid #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* FOOTER */
.site-footer {
  background: var(--color-deep-rose);
  color: #ffffff;
  padding: 60px 24px 32px;
  position: relative;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.footer-flag-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.25rem;
}

.footer-flag-icon {
  width: 42px;
  height: auto;
  border-radius: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  opacity: 0.8;
  flex-wrap: wrap;
  gap: 16px;
}

/* MODAL / POPUP OVERLAYS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 54, 43, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--color-cream-card);
  border-radius: 24px;
  padding: 36px;
  max-width: 540px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid var(--color-brand-pink);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FLOATING PINKY CONTACT BUTTON */
.contact-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-nav);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-pine-green);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-float-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.contact-float-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
  animation: pinky-bounce 3s ease-in-out infinite;
}

@keyframes pinky-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.contact-float-bubble {
  position: relative;
  background: #ffffff;
  color: var(--color-pine-green);
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(224, 86, 127, 0.4);
  box-shadow: 0 6px 20px rgba(139, 47, 83, 0.15);
  white-space: nowrap;
  margin-right: -26px;
  animation: bubble-pop 3s ease-in-out infinite;
}

.contact-float-bubble::before {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 7px 0 7px 7px;
  border-style: solid;
  border-color: rgba(224, 86, 127, 0.4) transparent;
}

.contact-float-bubble::after {
  content: '';
  position: absolute;
  right: -5.5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: #ffffff transparent;
}

@keyframes bubble-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.contact-float-label {
  letter-spacing: 0.3px;
}

.contact-modal-mascot {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 6px 14px rgba(224, 86, 127, 0.3));
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(224, 86, 127, 0.22);
  text-decoration: none;
  color: var(--color-text-dark);
  transition: all 0.22s ease;
}

.contact-detail-row:hover {
  border-color: var(--color-brand-pink);
  background: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(224, 86, 127, 0.16);
}

.contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 86, 127, 0.12);
  color: var(--color-deep-rose);
}

.contact-detail-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail-row strong {
  font-size: 0.92rem;
  color: var(--color-pine-green);
}

.contact-detail-row span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.contact-hours-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-deep-rose);
  background: rgba(224, 86, 127, 0.1);
  padding: 10px 14px;
  border-radius: 12px;
}

/* Mobile Responsiveness Rules */
@media (max-width: 992px) {
  .crystal-grid,
  .product-grid,
  .nutrition-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-beat,
  .story-beat:nth-child(odd),
  .story-beat:nth-child(even) {
    width: 100%;
    padding: 0;
    text-align: left;
    flex-direction: row;
    align-self: auto;
  }

  .story-path-svg {
    display: none;
  }

  .badge-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 28px 16px;
  }

  .packaging-badge-item {
    flex: none;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  /* ==== TOP NAV BAR (MOBILE) ==== */
  .mascot-nav-panel {
    top: 10px;
    left: 10px;
    right: 10px;
    transform: none;
    width: auto;
    max-width: none;
    padding: 8px 14px;
    border-radius: 18px;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: space-between;
  }

  .mascot-wrapper {
    gap: 2px;
    order: 1;
  }

  .mascot-img {
    width: 40px;
    height: 40px;
  }

  .mascot-logo {
    width: 92px;
    height: 32px;
  }

  .mascot-brand-name {
    font-size: 0.9rem;
  }

  /* Hide floating speech bubble on small screens (prevents overlap) */
  .speech-bubble {
    display: none;
  }

  .mobile-hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(224, 86, 127, 0.1);
    border: 1px solid rgba(224, 86, 127, 0.25);
    order: 2;
    margin-left: auto;
  }

  /* Hide nav links + user buttons by default on mobile */
  .mascot-nav-content {
    display: none;
    width: 100%;
    flex: 0 0 100%;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid rgba(224, 86, 127, 0.2);
  }

  #nav-user-container {
    display: none !important;
    width: 100%;
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mascot-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }

  .mascot-nav-links a {
    text-align: center;
    padding: 11px 16px;
    font-size: 0.95rem;
  }

  /* When hamburger opens the menu */
  .mascot-nav-panel.mobile-open .mascot-nav-content,
  .mascot-nav-panel.mobile-open #nav-user-container {
    display: flex !important;
  }

  .mascot-nav-panel.mobile-open {
    border-radius: 22px;
  }

  /* ==== CONTENT (MOBILE) ==== */
  .hero-section {
    padding: 120px 16px 60px;
    min-height: 92vh;
  }

  .hero-brand-logo {
    height: 120px;
  }

  .hero-typewriter-container {
    min-height: 120px;
  }

  .typewriter-text {
    font-size: 2.1rem;
    white-space: normal; /* Wrap on mobile to prevent overlap */
    text-align: center;
  }

  .crystal-3d-section,
  .nutrition-section {
    padding: 64px 16px;
  }

  .story-section {
    padding: 64px 16px;
  }

  .story-header .section-title {
    font-size: 2rem !important;
  }

  /* Product of Pakistan card — stack vertically on mobile */
  .pakistan-showcase-card {
    margin-top: 48px;
    padding: 28px 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
    border-radius: 20px;
  }

  .pakistan-showcase-card p {
    max-width: 100%;
  }

  .pakistan-flag-img {
    width: 140px;
    height: auto;
  }

  /* Badge icons — grid so labels never overlap neighbors */
  .badge-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 12px;
    justify-items: center;
    margin-bottom: 32px;
  }

  .packaging-badge-item {
    flex: none;
    min-width: 0;
    width: 100%;
    max-width: 120px;
    gap: 10px;
  }

  .badge-circle-icon {
    width: 58px;
    height: 58px;
  }

  .badge-label {
    white-space: normal;
    font-size: 0.66rem;
    line-height: 1.25;
    letter-spacing: 0.3px;
  }

  .badge-icons-grid {
    justify-content: center;
    gap: 12px;
  }

  .trust-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nutrition-facts-card {
    padding: 20px;
  }

  .nutrition-table td {
    font-size: 0.85rem;
  }

  .dv-text {
    float: none;
    text-align: right;
    white-space: nowrap;
  }

  /* Footer (last section) — prevent overflow & misalignment */
  .footer-flag-badge {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 1.05rem;
    gap: 8px;
    width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 10px 22px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  /* Contact float button */
  .contact-float-btn {
    bottom: 16px;
    right: 16px;
  }

  .contact-float-img {
    width: 90px;
    height: 90px;
  }

  .contact-float-bubble {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  /* Modal cards */
  .modal-card {
    padding: 24px 18px;
    width: 94%;
  }

  /* Footer */
  .footer-container {
    padding: 40px 16px;
  }

  #newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-brand-logo {
    height: 96px;
  }

  .typewriter-text {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .badge-icons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 8px;
  }

  .packaging-badge-item {
    max-width: 100px;
  }

  .contact-float-img {
    width: 78px;
    height: 78px;
  }

  .contact-float-bubble {
    display: none;
  }

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

  .story-beat .story-content-card {
    padding: 14px;
  }
}

/* Accessibility: prefers-reduced-motion */
@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;
  }
  .typewriter-cursor {
    animation: none;
  }
}
