/* ==========================================================================
   PANGLOBE PHARMA COMPONENTS
   Agency Grade - Doppelrand / Fluid Island Nav / Nested CTAs
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FLUID ISLAND NAVBAR
   -------------------------------------------------------------------------- */
.header-wrapper {
  position: fixed;
  top: 14px;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  transition: all var(--duration-hover) var(--ease-spring);
}

.navbar {
  pointer-events: auto;
  margin: 0 auto;
  width: calc(100% - 32px);
  max-width: var(--container-max);
  height: 64px;
  padding: 0 12px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(220, 230, 242, 0.8);
  box-shadow: 0 10px 30px -10px rgba(10, 35, 81, 0.08), 0 2px 6px rgba(10, 35, 81, 0.03);
  transition: all 0.4s var(--ease-spring);
}

.header-scrolled .navbar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px -10px rgba(10, 35, 81, 0.14), 0 4px 12px rgba(10, 35, 81, 0.06);
  border-color: rgba(200, 215, 235, 0.95);
  height: 60px;
}

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

.nav-brand img {
  height: 38px;
  width: auto;
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--navy-700);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--duration-hover) var(--ease-smooth);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--blue-600);
  background: rgba(230, 243, 253, 0.6);
}

.nav-link.active {
  color: var(--blue-600);
  background: var(--sky-100);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-600);
}

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

/* Hamburger toggle for mobile */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 249, 254, 0.9);
  border: 1px solid var(--line-200);
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: all var(--duration-hover) var(--ease-spring);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--navy-900);
  border-radius: 2px;
  transition: all 0.35s var(--ease-spring);
}

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

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

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

/* Mobile Navigation Full-Screen Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 35, 81, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s var(--ease-spring);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-content {
  position: absolute;
  top: 86px;
  left: 16px;
  right: 16px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-200);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-16px) scale(0.96);
  opacity: 0;
  transition: all 0.4s var(--ease-spring);
}

.mobile-menu-overlay.open .mobile-menu-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: all var(--duration-hover) var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--sky-100);
  color: var(--blue-600);
}

.mobile-nav-link span.arrow {
  color: var(--blue-600);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   2. BUTTON-IN-BUTTON (NESTED CTA ARCHITECTURE)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 8px 10px 8px 22px;
  gap: 12px;
  transition: all var(--duration-hover) var(--ease-spring);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-hover) var(--ease-spring);
  flex-shrink: 0;
}

.btn-icon svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-hover) var(--ease-spring);
}

/* Primary Button (Royal Blue) */
.btn-primary {
  background-color: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(28, 79, 196, 0.28);
}

.btn-primary .btn-icon {
  background-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10, 35, 81, 0.35);
  color: var(--white);
}

.btn-primary:hover .btn-icon {
  background-color: var(--green-600);
  transform: translateX(4px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Secondary Button (Outline) */
.btn-secondary {
  background-color: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--line-200);
  padding: 8px 10px 8px 22px;
}

.btn-secondary .btn-icon {
  background-color: var(--sky-100);
  color: var(--blue-600);
}

.btn-secondary:hover {
  border-color: var(--blue-600);
  background-color: var(--sky-100);
  color: var(--blue-600);
  transform: translateY(-2px);
}

.btn-secondary:hover .btn-icon {
  background-color: var(--blue-600);
  color: var(--white);
  transform: translateX(4px);
}

/* White Button (for dark backgrounds) */
.btn-white {
  background-color: var(--white);
  color: var(--navy-900);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white .btn-icon {
  background-color: var(--mint-100);
  color: var(--green-800);
}

.btn-white:hover {
  background-color: var(--mint-100);
  color: var(--green-800);
  transform: translateY(-2px);
}

.btn-white:hover .btn-icon {
  background-color: var(--green-600);
  color: var(--white);
  transform: translateX(4px);
}

/* Outline White Button */
.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white .btn-icon {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Large Hero Button */
.btn-lg {
  padding: 10px 12px 10px 28px;
  font-size: 1.05rem;
}

.btn-lg .btn-icon {
  width: 40px;
  height: 40px;
}

.btn-lg .btn-icon svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   3. DOUBLE-BEZEL (DOPPELRAND) ARCHITECTURE
   -------------------------------------------------------------------------- */
.double-bezel {
  position: relative;
  background: var(--bezel-bg);
  border: var(--bezel-border);
  border-radius: var(--bezel-outer-radius);
  padding: var(--bezel-padding);
  box-shadow: var(--bezel-shadow);
  transition: all var(--duration-hover) var(--ease-spring);
  perspective: 1000px;
}

.double-bezel:hover {
  box-shadow: 0 18px 40px -12px rgba(10, 35, 81, 0.14), 0 4px 10px rgba(10, 35, 81, 0.04);
  border-color: rgba(79, 179, 242, 0.4);
}

.bezel-inner {
  position: relative;
  background: var(--white);
  border-radius: var(--bezel-inner-radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--bezel-inner-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-hover) var(--ease-spring);
  overflow: hidden;
}

/* Dark variant of double-bezel */
.double-bezel-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.double-bezel-dark .bezel-inner {
  background: var(--grad-dark-card);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.double-bezel-dark h3, .double-bezel-dark p {
  color: var(--white);
}

.double-bezel-dark p {
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION WITH 3D CANVAS & BADGES
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 70px;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 179, 242, 0.35) 0%, transparent 70%);
  top: -100px;
  right: -50px;
  animation: float-blob 18s ease-in-out infinite alternate;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 158, 63, 0.2) 0%, transparent 70%);
  bottom: 0px;
  left: -80px;
  animation: float-blob 22s ease-in-out infinite alternate-reverse;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: var(--space-6);
  color: var(--navy-900);
}

.hero-content h1 span.gradient-text {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--green-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.65;
  color: var(--slate-600);
  margin-bottom: var(--space-8);
  max-width: 56ch;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

/* Hero Trust Badges */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(220, 230, 242, 0.8);
}

.hero-trust-label {
  font-size: var(--text-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
}

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

.hero-badge-pill {
  font-family: var(--font-heading);
  font-size: var(--text-micro);
  font-weight: 800;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-200);
  box-shadow: 0 1px 3px rgba(10, 35, 81, 0.05);
}

/* 3D Visual Stage on Hero */
.hero-visual-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin: 0 auto;
}

#hero-globe-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: grab;
}

#hero-globe-canvas:active {
  cursor: grabbing;
}

.hero-image-backdrop {
  position: absolute;
  inset: 12px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(10, 35, 81, 0.25);
  border: 4px solid var(--white);
  z-index: 1;
}

.hero-image-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 12s ease-out;
}

.hero-visual-stage:hover .hero-image-backdrop img {
  transform: scale(1.06);
}

/* Floating 3D Cards */
.floating-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: 0 14px 30px rgba(10, 35, 81, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-card 6s ease-in-out infinite alternate;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-4px) scale(1.03);
}

.floating-card-1 {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 12%;
  right: -25px;
  animation-delay: 2s;
}

.floating-card-3 {
  top: 65%;
  left: -30px;
  animation-delay: 4s;
}

.floating-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.floating-card-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
}

.floating-card-text span {
  font-size: 0.75rem;
  color: var(--slate-500);
}

@keyframes float-card {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   5. STATS STRIP
   -------------------------------------------------------------------------- */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--line-200);
  border-bottom: 1px solid var(--line-200);
  padding: 44px 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 32px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 clamp(8px, 2vw, 24px);
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line-200);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--navy-900);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number span.plus {
  color: var(--green-600);
  font-size: 0.7em;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 4px;
}

.stat-sub {
  font-size: var(--text-small);
  color: var(--slate-500);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   6. PRODUCT CATEGORY MARQUEE & GRID
   -------------------------------------------------------------------------- */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  animation: scroll-marquee 35s linear infinite;
}

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

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: all var(--duration-hover) var(--ease-spring);
  text-decoration: none;
}

.marquee-chip:hover {
  background: var(--sky-100);
  border-color: var(--blue-600);
  color: var(--blue-600);
  transform: translateY(-2px);
}

.marquee-chip-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.product-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--sky-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  transition: all var(--duration-hover) var(--ease-spring);
}

.product-card:hover .product-icon-wrap {
  background: var(--blue-600);
  color: var(--white);
  transform: scale(1.1) rotate(4deg);
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.product-sublabel {
  font-size: var(--text-small);
  color: var(--slate-500);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.product-enquire-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-100);
  transition: gap var(--duration-hover) var(--ease-spring);
}

.product-card:hover .product-enquire-link {
  color: var(--green-600);
  gap: 10px;
}

/* --------------------------------------------------------------------------
   7. THERAPEUTIC SEGMENTS TILES & FILTERS
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-600);
  background: var(--white);
  border: 1px solid var(--line-200);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: all var(--duration-hover) var(--ease-spring);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.filter-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(10, 35, 81, 0.2);
}

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

.segment-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-hover) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 179, 242, 0.5);
}

.segment-tile-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform var(--duration-hover) var(--ease-spring);
}

.segment-card:hover .segment-tile-icon {
  transform: scale(1.08) rotate(3deg);
}

.segment-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.segment-info p {
  font-size: var(--text-small);
  color: var(--slate-500);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. QUALITY & COMPLIANCE BADGES
   -------------------------------------------------------------------------- */
.quality-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.badge-card-inner {
  text-align: center;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 1.5rem;
}

.badge-acronym {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.badge-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-800);
  background: var(--mint-100);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* Check list with animated ticks */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  color: var(--navy-900);
  font-weight: 600;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon svg path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.6s ease-out;
}

.check-item.in-view .check-icon svg path {
  stroke-dashoffset: 0;
}

/* --------------------------------------------------------------------------
   9. SOURCING 9-STEP TIMELINE
   -------------------------------------------------------------------------- */
.sourcing-timeline {
  position: relative;
  padding: 20px 0;
}

.timeline-line-track {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 27px;
  width: 4px;
  background: var(--line-200);
  border-radius: 4px;
}

.timeline-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--blue-600) 0%, var(--green-600) 100%);
  border-radius: 4px;
  transition: height 0.2s ease-out;
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-marker {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--line-200);
  color: var(--slate-500);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(10, 35, 81, 0.06);
  transition: all var(--duration-hover) var(--ease-spring);
}

.timeline-step.active .step-marker {
  border-color: var(--green-600);
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 0 0 6px var(--mint-100), 0 8px 18px rgba(30, 158, 63, 0.25);
  transform: scale(1.08);
}

.step-card {
  flex-grow: 1;
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-hover) var(--ease-spring);
}

.timeline-step.active .step-card {
  border-color: rgba(79, 179, 242, 0.5);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.step-card p {
  font-size: var(--text-small);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. INTERACTIVE WORLD MAP & REGIONS
   -------------------------------------------------------------------------- */
.map-stage-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, #07193B 0%, #0A2351 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  color: var(--white);
}

.map-legend-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-items {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legend-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--duration-hover) var(--ease-spring);
}

.legend-btn:hover, .legend-btn.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: translateY(-1px);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.green { background: var(--green-600); box-shadow: 0 0 8px var(--green-600); }
.legend-dot.blue { background: var(--sky-400); box-shadow: 0 0 8px var(--sky-400); }
.legend-dot.orange { background: var(--orange-500); box-shadow: 0 0 8px var(--orange-500); }

#interactive-map-svg {
  width: 100%;
  height: auto;
  max-height: 520px;
}

/* Region hover tooltip */
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(10, 35, 81, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(79, 179, 242, 0.4);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-size: 0.85rem;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.map-tooltip.visible {
  opacity: 1;
}

/* Mobile region list under map */
.map-regions-mobile-list {
  display: none;
  margin-top: 24px;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   11. ENQUIRY FORM & FLOATING LABELS
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line-200);
  box-shadow: var(--shadow-lg);
}

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

.form-group-full {
  grid-column: 1 / -1;
}

.floating-group {
  position: relative;
  margin-bottom: 6px;
}

.floating-input, .floating-select, .floating-textarea {
  width: 100%;
  padding: 18px 16px 8px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--mist-50);
  border: 1.5px solid var(--line-200);
  border-radius: var(--radius-md);
  transition: all var(--duration-hover) var(--ease-spring);
  outline: none;
}

.floating-textarea {
  min-height: 120px;
  resize: vertical;
}

.floating-label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.95rem;
  color: var(--slate-500);
  pointer-events: none;
  transition: all 0.2s var(--ease-spring);
  transform-origin: left top;
}

.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label,
.floating-select:focus ~ .floating-label,
.floating-select:valid ~ .floating-label,
.floating-textarea:focus ~ .floating-label,
.floating-textarea:not(:placeholder-shown) ~ .floating-label {
  transform: translateY(-8px) scale(0.78);
  color: var(--blue-600);
  font-weight: 600;
}

.floating-input:focus, .floating-select:focus, .floating-textarea:focus {
  border-color: var(--blue-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(79, 179, 242, 0.25);
}

.floating-input.error, .floating-select.error, .floating-textarea.error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.field-error-msg {
  font-size: 0.78rem;
  color: #DC2626;
  margin-top: 4px;
  display: none;
  font-weight: 600;
}

.field-error-msg.visible {
  display: block;
}

/* Multi-select chip selectors */
.chip-group-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  display: block;
}

.chip-selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.selectable-chip {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--mist-50);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  cursor: pointer;
  user-select: none;
  transition: all var(--duration-hover) var(--ease-spring);
}

.selectable-chip:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.selectable-chip.selected {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 2px 8px rgba(28, 79, 196, 0.25);
}

/* Honeypot field (hidden from real users) */
.honey-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

/* Form success message */
.form-success-card {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success-card.visible {
  display: block;
  animation: fade-in-up 0.5s var(--ease-spring);
}

.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 2.2rem;
}

/* --------------------------------------------------------------------------
   12. CLOSING CTA BANNER & FOOTER
   -------------------------------------------------------------------------- */
.cta-banner-section {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--grad-navy);
  color: var(--white);
  overflow: hidden;
}

.cta-banner-content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner-content h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-banner-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: var(--space-8);
  margin-left: auto;
  margin-right: auto;
}

/* Footer (PRD Section 4 & 6) */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 80px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-small);
  text-decoration: none;
  transition: all var(--duration-hover) var(--ease-smooth);
}

.footer-link:hover {
  color: var(--sky-400);
  transform: translateX(4px);
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: var(--text-small);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-icon {
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-trade-notice {
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--sky-400);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS (PRD Section 10.4)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quality-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual-stage {
    margin-top: 24px;
    max-width: 420px;
  }
  .floating-card-1 {
    left: 0;
  }
  .floating-card-2 {
    right: 0;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .segments-grid {
    grid-template-columns: 1fr;
  }
  .quality-badges-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none !important;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .map-regions-mobile-list {
    display: flex;
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
