:root {
  --navy-deep: #071220;
  --navy-main: #0f243c;
  --navy-card: rgba(15, 36, 60, 0.76);
  --navy-light: #183658;
  --cream-main: #f7e7ce;
  --cream-soft: #fdf6ec;
  --cream-warm: #e8cfa6;
  --gold-main: #d4af37;
  --gold-bright: #f4d47c;
  --gold-dark: #a67c1e;
  --amber-kibble: #c88a4b;
  --text-light: #f8f4ec;
  --text-muted: #b0c2d8;
  --text-dark: #0e2238;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-gold: 0 12px 40px -10px rgba(212, 175, 55, 0.35);
  --shadow-deep: 0 25px 60px -15px rgba(4, 10, 20, 0.75);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--navy-deep);
  color: var(--text-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  background-color: var(--navy-deep);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-main), var(--gold-dark));
  border-radius: 99px;
}

/* Fixed Fullscreen 3D Canvas Stage */
#webgl-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  pointer-events: auto;
  touch-action: pan-y;
}

/* Ambient Dynamic Background Layer */
#ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 45%, rgba(212, 175, 55, 0.16) 0%, rgba(15, 36, 60, 0.45) 42%, rgba(7, 18, 32, 0.98) 80%),
    linear-gradient(135deg, #071220 0%, #0f243c 55%, #081526 100%);
  transition: background 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

body.theme-cream #ambient-backdrop {
  background:
    radial-gradient(circle at 70% 48%, rgba(212, 175, 55, 0.25) 0%, rgba(247, 231, 206, 0.95) 55%, #ead2ac 100%);
}

/* Decorative Gold Wave Ribbon */
.gold-glow-orb {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 212, 124, 0.16) 0%, rgba(212, 175, 55, 0) 70%);
  pointer-events: none;
  z-index: 0;
  top: 50%;
  left: 68%;
  transform: translate(-50%, -50%);
  filter: blur(30px);
  transition: all 0.7s ease;
}

/* Top Navigation Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1.1rem 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 18, 32, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  transition: all 0.4s ease;
}

body.theme-cream .navbar {
  background: rgba(15, 36, 60, 0.92);
}

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

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.35));
  transition: transform 0.25s ease;
}

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

.paw-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  font-size: 1.15rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: linear-gradient(90deg, #fff5d6, var(--gold-bright), var(--gold-main));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--cream-main);
  margin-top: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--gold-bright);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

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

.nav-cta {
  padding: 0.65rem 1.35rem;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-main) 55%, var(--gold-dark) 100%);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(244, 212, 124, 0.55);
}

/* Floating 3D Camera Control Dock */
.camera-dock {
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.6rem;
  border-radius: 99px;
  background: rgba(8, 20, 36, 0.84);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.dock-btn {
  padding: 0.5rem 1rem;
  border-radius: 99px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--cream-main);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.dock-btn:hover {
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.12);
}

.dock-btn.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-main));
  color: var(--navy-deep);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

/* Main Content Layout Over 3D Stage */
main {
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.section {
  min-height: 100vh;
  width: 100%;
  padding: 7rem 6vw 5rem;
  display: flex;
  align-items: center;
  position: relative;
}

.interactive-panel {
  pointer-events: auto;
  max-width: 560px;
  width: 100%;
}

.section.align-right {
  justify-content: flex-end;
}

.section.align-center {
  justify-content: center;
  flex-direction: column;
}

/* Hero Split Layout with Seamlessly Blended Studio Video */
.hero-video-section {
  padding-top: 6.5rem;
  padding-bottom: 4rem;
}

.hero-split-layout {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 1.08fr;
  gap: 3rem;
  align-items: center;
}

.hero-left-panel {
  max-width: 600px;
}

.hero-video-stage {
  max-width: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-portal-frame {
  position: relative;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  border: 1.5px solid rgba(244, 212, 124, 0.55);
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.85),
    0 0 55px rgba(212, 175, 55, 0.25);
  background: #102035;
  aspect-ratio: 16 / 9;
}

.video-ambient-halo {
  position: absolute;
  inset: -2px;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(7, 18, 32, 0.52) 100%),
    linear-gradient(180deg, rgba(7, 18, 32, 0.25) 0%, transparent 22%, transparent 72%, rgba(7, 18, 32, 0.82) 100%);
}

#hero-tvc-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.video-top-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  background: rgba(7, 18, 32, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 212, 124, 0.45);
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.video-bottom-bar {
  position: absolute;
  bottom: 1rem;
  left: 1.2rem;
  right: 1.2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.video-caption {
  display: flex;
  flex-direction: column;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.video-caption strong {
  font-size: 0.9rem;
  color: var(--cream-main);
}

.video-caption span {
  font-size: 0.74rem;
  color: var(--gold-bright);
}

.video-Control-btn {
  padding: 0.48rem 0.95rem;
  border-radius: 99px;
  border: 1px solid rgba(244, 212, 124, 0.55);
  background: rgba(7, 18, 32, 0.78);
  backdrop-filter: blur(10px);
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.video-Control-btn:hover {
  background: var(--gold-main);
  color: var(--navy-deep);
}

/* B2B Distributor & Partner Tiers Section */
.b2b-container {
  max-width: 1240px;
  width: 100%;
  background: rgba(8, 20, 36, 0.86);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 30px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-deep);
}

.b2b-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.b2b-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.b2b-tier-card {
  background: rgba(15, 36, 60, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 22px;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.b2b-tier-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-bright);
}

.b2b-tier-card.featured {
  background: linear-gradient(160deg, rgba(24, 54, 88, 0.92), rgba(11, 27, 48, 0.96));
  border: 2px solid var(--gold-bright);
  box-shadow: 0 20px 50px -10px rgba(212, 175, 55, 0.32);
  transform: scale(1.03);
}

.tier-badge {
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.32rem 0.75rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream-main);
  margin-bottom: 0.85rem;
}

.tier-badge.gold {
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-main));
  color: var(--navy-deep);
}

.tier-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.tier-moq {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 1.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
  flex: 1;
}

.tier-list li {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-light);
}

.tier-select-btn {
  width: 100%;
  justify-content: center;
}

.company-footer-box {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.company-name {
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

/* Hero Badge & Seal */
.hero-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.gold-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 99px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(244, 212, 124, 0.45);
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cream-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  background: var(--cream-main);
  color: var(--navy-main);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.04;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: #ffffff;
}

.hero-title .gold-gradient {
  background: linear-gradient(95deg, #fff6db 0%, var(--gold-bright) 45%, var(--gold-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-desc {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

/* 4 Nutrition Highlight Strip (Matching Bottom of Front Bag) */
.nutrition-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(247, 231, 206, 0.96), rgba(232, 207, 166, 0.92));
  color: var(--navy-main);
  box-shadow: var(--shadow-deep);
  margin-bottom: 1.9rem;
  border: 1px solid var(--gold-bright);
}

.nutri-item {
  padding: 0.35rem 0.5rem;
  border-right: 1px solid rgba(15, 36, 60, 0.15);
}
.nutri-item:last-child {
  border-right: none;
}
.nutri-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy-main);
  line-height: 1.1;
}
.nutri-label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2c435e;
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 0.95rem 1.85rem;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-main) 60%, var(--gold-dark) 100%);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px -8px rgba(244, 212, 124, 0.65);
}

.btn-secondary {
  padding: 0.95rem 1.6rem;
  border-radius: 99px;
  background: rgba(15, 36, 60, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--cream-main);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-bright);
}

.drag-hint {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--gold-bright);
  opacity: 0.9;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-bright);
  animation: pulse 1.6s infinite;
}

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

/* Luxury Glass Cards */
.glass-card {
  background: rgba(10, 24, 43, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 26px;
  padding: 2.3rem;
  box-shadow: var(--shadow-deep);
  transition: all 0.4s ease;
}

body.theme-cream .glass-card.adaptive-cream {
  background: rgba(15, 36, 60, 0.93);
  border-color: var(--gold-main);
  box-shadow: 0 25px 60px rgba(15, 36, 60, 0.28);
}

.section-eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 0.65rem;
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.3vw, 2.9rem);
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

/* 4 Core Benefits Grid (Matching the 4 gold icons on front bag) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.95rem;
}

.benefit-card {
  padding: 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.22);
  transition: all 0.3s ease;
  cursor: pointer;
}

.benefit-card:hover,
.benefit-card.active {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold-bright);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-bright);
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  background: rgba(212, 175, 55, 0.1);
}

.benefit-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--cream-main);
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.benefit-vn {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 7 Real Macro Toppings Interactive Gallery */
.real-toppings-gallery {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.topping-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  padding: 0.45rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--cream-main);
  font-family: var(--font-sans);
}

.topping-chip img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.55));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.topping-chip span {
  font-size: 0.64rem;
  font-weight: 700;
  white-space: nowrap;
}

.topping-chip:hover,
.topping-chip.active {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-bright);
  transform: translateY(-3px);
}

.topping-chip:hover img,
.topping-chip.active img {
  transform: scale(1.18) rotate(8deg);
}

@media (max-width: 960px) {
  .real-toppings-gallery {
    display: flex;
    overflow-x: auto;
    gap: 0.55rem;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }
  .real-toppings-gallery::-webkit-scrollbar {
    display: none;
  }
  .topping-chip {
    min-width: 74px;
    flex-shrink: 0;
    padding: 0.55rem 0.4rem;
  }
}

/* Real Meat & Rich Toppings Breakdown */
.ingredient-bars {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.3rem 0 1.6rem;
}

.ing-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ing-row:hover {
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.11);
}

.ing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.ing-pct {
  color: var(--gold-bright);
  font-weight: 800;
}

.ing-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.ing-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-main), var(--gold-bright));
}

/* Guaranteed Analysis Table (From Back of Bag) */
.analysis-pills {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.ana-box {
  background: var(--cream-main);
  color: var(--navy-main);
  padding: 0.65rem 0.4rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--gold-main);
}

.ana-name {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.8;
}

.ana-val {
  font-size: 0.92rem;
  font-weight: 900;
  margin-top: 2px;
}

/* Interactive Feeding Calculator */
.calculator-box {
  background: linear-gradient(145deg, rgba(247, 231, 206, 0.97), rgba(234, 210, 172, 0.94));
  color: var(--navy-main);
  border-radius: 20px;
  padding: 1.5rem;
  margin-top: 1.2rem;
  border: 2px solid var(--gold-main);
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.calc-weight-display {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--navy-main);
}

.weight-slider {
  width: 100%;
  accent-color: var(--navy-main);
  height: 8px;
  cursor: pointer;
  margin: 0.6rem 0 1.2rem;
}

.calc-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.calc-stat {
  background: var(--navy-main);
  color: var(--cream-main);
  padding: 0.95rem;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--gold-main);
}

.calc-stat-val {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--gold-bright);
}

.calc-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-top: 3px;
}

/* Trust Badges (FDA / ISO / CFS from Back of Bag) */
.cert-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.cert-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-bright);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--cream-main);
  background: rgba(15, 36, 60, 0.7);
}

.cert-badge span {
  font-size: 0.5rem;
  color: var(--gold-bright);
  font-weight: 600;
}

/* Modal Order */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 10, 20, 0.82);
  backdrop-filter: blur(12px);
  display: none;
   place-items: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: grid;
}

.modal-card {
  max-width: 480px;
  width: 100%;
  background: linear-gradient(160deg, #0f243c, #081526);
  border: 1px solid var(--gold-bright);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-deep);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--cream-main);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(7, 18, 32, 0.8);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: rgba(15, 36, 60, 0.8);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  z-index: 49;
  background: rgba(7, 18, 32, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.25rem 1rem;
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-link {
  color: var(--cream-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.mobile-drawer-link:last-child {
  border-bottom: none;
}

/* Responsive adjustments for Tablet & Mobile */
@media (max-width: 960px) {
  .navbar {
    padding: 0.7rem 1rem;
  }
  .brand-logo-img {
    height: 36px;
  }
  .brand-title {
    font-size: 1.3rem;
  }
  .brand-sub {
    font-size: 0.54rem;
  }
  .paw-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .nav-cta {
    padding: 0.55rem 0.95rem;
    font-size: 0.78rem;
  }

  /* Reserve top 42vh of 3D sections as an unobstructed 3D Showcase Window on Mobile */
  .section {
    min-height: auto;
    justify-content: center !important;
    align-items: flex-end;
    padding: 44vh 1rem 5.5rem;
  }

  #hero.section {
    padding-top: 5.5rem;
    padding-bottom: 3rem;
  }

  #b2b-policy.section {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-video-stage {
    order: -1;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .b2b-container {
    padding: 1.6rem 1.15rem;
  }

  .b2b-tiers-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .b2b-tier-card.featured {
    transform: none;
  }

  .interactive-panel {
    max-width: 100%;
    background: rgba(8, 19, 35, 0.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 22px;
    padding: 1.45rem 1.25rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
  }

  .glass-card {
    padding: 1.45rem 1.25rem;
    border-radius: 22px;
  }

  .hero-title {
    font-size: clamp(2.15rem, 8vw, 3rem);
    margin-bottom: 0.75rem;
  }

  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.58;
    margin-bottom: 1.2rem;
  }

  .nutrition-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.8rem;
    margin-bottom: 1.25rem;
  }

  .nutri-item:nth-child(2) {
    border-right: none;
  }

  .nutri-val {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.88rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.95rem;
  }

  .benefit-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .analysis-pills {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }

  .calculator-box {
    padding: 1.15rem;
  }

  .calc-weight-display {
    font-size: 1.35rem;
  }

  .calc-stat-val {
    font-size: 1.2rem;
  }

  /* Thumb-friendly horizontal scrollable Camera Dock at bottom */
  .camera-dock {
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: calc(100vw - 1.2rem);
    padding: 0.38rem 0.5rem;
    gap: 0.35rem;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .camera-dock::-webkit-scrollbar {
    display: none;
  }

  .dock-btn {
    padding: 0.46rem 0.82rem;
    font-size: 0.74rem;
    flex-shrink: 0;
  }

  .modal-card {
    padding: 1.5rem 1.2rem;
    border-radius: 20px;
  }
}

@media (max-width: 420px) {
  .hero-badges {
    gap: 0.4rem;
  }
  .gold-pill,
  .cream-pill {
    font-size: 0.64rem;
    padding: 0.32rem 0.65rem;
  }
  .section-heading {
    font-size: 1.65rem;
  }
  .ing-top {
    font-size: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
}
