/* ==========================================================================
   BIONEX AGROTECH LTD. (https://bionex.info)
   Premium Animated Biotechnology Website Stylesheet
   Inspired by Positive Biotech (positivebt.com), Neospark (neospark.com)
   & Client's Flagship Product Graphics (FRONT PACK.pdf - BIONEX-PRO plus®)
   ========================================================================== */

:root {
  --bionex-indigo: #231968;
  --bionex-indigo-dark: #120c44;
  --bionex-navy: #022851;
  --bionex-navy-light: #14447a;
  --bionex-green: #16a34a;
  --bionex-green-dark: #14532d;
  --bionex-green-Script: #276749;
  --bionex-emerald: #10b981;
  --bionex-teal: #0d9488;
  --bionex-gold: #ffbf00;
  --bionex-gold-dark: #d97706;
  --bionex-halal-red: #e11d48;

  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-soft: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 50%, #f5f3ff 100%);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #e2e8f0;

  --gradient-primary: linear-gradient(135deg, #15803d 0%, #0d9488 55%, #231968 100%);
  --gradient-bionex: linear-gradient(135deg, #231968 0%, #14447a 50%, #15803d 100%);
  --gradient-gold: linear-gradient(135deg, #ffbf00 0%, #f59e0b 100%);
  --gradient-hero: linear-gradient(115deg, rgba(15, 23, 42, 0.92) 0%, rgba(2, 40, 81, 0.84) 48%, rgba(20, 83, 45, 0.78) 100%);

  --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-elegant: 0 20px 40px -15px rgba(2, 40, 81, 0.14), 0 8px 16px -6px rgba(22, 163, 74, 0.08);
  --shadow-glow: 0 0 28px rgba(22, 163, 74, 0.35);
  --shadow-gold: 0 10px 25px -5px rgba(255, 191, 0, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==========================================================================
   REGISTERED 'B' LOGO WORDMARK STYLING
   Client rule: "When you writing Company name use my registered logo 'B' as a letter there..."
   ========================================================================== */
.bionex-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  vertical-align: baseline;
}

.bionex-b-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 0.92em;
  height: 1.18em;
  margin-right: -0.03em;
  transform: translateY(0.16em);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 0.18em;
  padding: 0.04em 0.06em;
  box-shadow: 0 2px 8px rgba(35, 25, 104, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bionex-wordmark:hover .bionex-b-wrap {
  transform: translateY(0.12em) scale(1.07);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.32);
}

/* On light cards/surfaces, keep background subtle or transparent */
.on-light .bionex-b-wrap,
.section-light .bionex-b-wrap {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 4px rgba(35, 25, 104, 0.1);
}

.bionex-b-letter-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bionex-ionex {
  letter-spacing: 0.02em;
}

.bionex-pro-part {
  margin-left: 0.08em;
}

.bionex-plus-green {
  color: #16a34a;
  font-weight: 800;
}

.on-dark .bionex-plus-green {
  color: #4ade80;
}

.bionex-reg {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 0.08em;
  top: -0.6em;
  position: relative;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & NAVBAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #022042 0%, #062f5c 50%, #0b3b2e 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 60;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 191, 0, 0.16);
  border: 1px solid rgba(255, 191, 0, 0.32);
  color: var(--bionex-gold);
  padding: 0.18rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-weight: 600;
}

.top-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.top-bar-links a:hover {
  color: var(--bionex-gold);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 55;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -4px rgba(2, 40, 81, 0.06);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 12px 30px -8px rgba(2, 40, 81, 0.12);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.25rem;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-b-emblem {
  width: 44px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  border: 1.5px solid rgba(35, 25, 104, 0.14);
  box-shadow: 0 6px 16px rgba(35, 25, 104, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: var(--transition-smooth);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-company-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--bionex-indigo);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-company-name .bionex-b-wrap {
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: 0.96em;
  height: 1.26em;
  margin-right: -0.04em;
  transform: translateY(0.19em);
}

.brand-sub-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bionex-green);
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 0.28rem 0.38rem;
  border-radius: 999px;
}

@media (min-width: 960px) {
  .nav-links {
    display: inline-flex;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.44rem 0.68rem;
  border-radius: 999px;
  font-size: 0.81rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  transition: all 0.25s ease;
}

@media (min-width: 1200px) {
  .nav-links {
    gap: 0.22rem;
    padding: 0.32rem 0.45rem;
  }
  .nav-link {
    padding: 0.48rem 0.85rem;
    font-size: 0.85rem;
  }
}

.nav-link:hover,
.nav-link.active {
  color: var(--bionex-green);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.nav-link-featured {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1) 0%, rgba(35, 25, 104, 0.08) 100%);
  color: var(--bionex-indigo);
  border: 1px solid rgba(22, 163, 74, 0.22);
}

.nav-link-featured:hover {
  background: var(--bionex-indigo);
  color: #ffffff;
}

.nav-featured-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bionex-green);
  box-shadow: 0 0 6px var(--bionex-green);
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.nav-cta-btn {
  padding: 0.58rem 1.15rem;
  border-radius: 999px;
  font-size: 0.84rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(22, 163, 74, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(22, 163, 74, 0.55);
}

.btn-gold {
  background: var(--gradient-gold);
  color: #0f172a;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-cms {
  background: rgba(35, 25, 104, 0.08);
  color: var(--bionex-indigo);
  border: 1px solid rgba(35, 25, 104, 0.2);
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
}

.btn-cms:hover {
  background: var(--bionex-indigo);
  color: #ffffff;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
}

@media (min-width: 960px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-elegant);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-drawer-links a {
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
}

.mobile-drawer-links a:hover {
  background: rgba(22, 163, 74, 0.08);
  color: var(--bionex-green);
}

/* ==========================================================================
   HERO CAROUSEL SECTION (FUSION OF NEOSPARK & POSITIVE BIOTECH)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100svh - 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bionex-navy);
  color: #ffffff;
  padding: 4.5rem 0 5.5rem;
}

#bioParticleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-slides-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 6s ease;
  background-size: cover;
  background-position: center;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
  }
}

.hero-slide-content {
  display: none;
  animation: heroFadeIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide-content.active {
  display: block;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f0fdf4;
  margin-bottom: 1.35rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}

.hero-title {
  font-size: clamp(2.25rem, 4.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-title-gradient {
  background: linear-gradient(90deg, #4ade80 0%, #facc15 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

@media (min-width: 640px) {
  .hero-stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-stat-item {
  border-left: 3px solid var(--bionex-gold);
  padding-left: 0.85rem;
}

.hero-stat-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.hero-stat-lbl {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.2rem;
}

/* Right Column: Animated 3D Floating Flagship Pack Preview */
.hero-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-pack-showcase {
  position: relative;
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  perspective: 1000px;
}

.hero-pack-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.48) 0%, rgba(35, 25, 104, 0.35) 45%, transparent 72%);
  filter: blur(28px);
  z-index: 1;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.75; }
  100% { transform: scale(1.08); opacity: 1; }
}

.hero-pack-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 26px;
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  animation: floatPack 5s ease-in-out infinite;
  transition: transform 0.25s ease;
}

@keyframes floatPack {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.hero-pack-img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
}

.hero-halal-floating {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 96px;
  height: 96px;
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  z-index: 4;
  animation: spinSlowPulse 6s ease-in-out infinite;
}

@keyframes spinSlowPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(5deg); }
}

.hero-pack-floating-pill {
  position: absolute;
  bottom: 16px;
  left: -16px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(74, 222, 128, 0.5);
  color: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  z-index: 4;
  font-size: 0.8rem;
}

.hero-pack-floating-pill strong {
  color: #4ade80;
  display: block;
  font-size: 0.88rem;
}

/* Neospark-style Carousel Side Indicators */
.hero-carousel-dots {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: none;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 1280px) {
  .hero-carousel-dots {
    display: flex;
  }
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hero-dot.active,
.hero-dot:hover {
  background: var(--bionex-gold);
  border-color: var(--bionex-gold);
  transform: scale(1.25);
}

.hero-bottom-ticker {
  position: absolute;
  bottom: 1.1rem;
  right: 2rem;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   COMMON SECTION HEADERS & BADGES
   ========================================================================== */
.section-pad {
  padding: 5.5rem 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-navy {
  background: linear-gradient(135deg, #022851 0%, #14447a 55%, #120c44 100%);
  color: #ffffff;
}

.section-dark {
  background: #0f172a;
  color: #f8fafc;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(22, 163, 74, 0.12);
  color: var(--bionex-green);
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--bionex-navy);
  letter-spacing: -0.02em;
}

.section-navy .section-title,
.section-dark .section-title {
  color: #ffffff;
}

.text-gradient {
  background: linear-gradient(135deg, #16a34a 0%, #0d9488 50%, #231968 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-top: 0.85rem;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   FLAGSHIP PRODUCT SPOTLIGHT (FRONT PACK.pdf - BIONEX-PRO plus®)
   ========================================================================== */
.flagship-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  overflow: hidden;
}

.flagship-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(2, 40, 81, 0.14);
  border: 1px solid rgba(22, 163, 74, 0.18);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .flagship-card {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.flagship-visual-pane {
  background: linear-gradient(155deg, #e6f4ea 0%, #d1fae5 50%, #dbeafe 100%);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.flagship-view-switcher {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.35rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  z-index: 3;
}

.flagship-view-btn {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.flagship-view-btn.active {
  background: var(--bionex-indigo);
  color: #ffffff;
}

.flagship-main-img-wrap {
  position: relative;
  max-width: 380px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flagship-main-img {
  max-height: 460px;
  width: auto;
  border-radius: 18px;
  box-shadow: 0 22px 45px rgba(35, 25, 104, 0.22);
  transition: transform 0.4s ease;
}

.flagship-main-img:hover {
  transform: scale(1.03);
}

.flagship-halal-seal {
  position: absolute;
  bottom: 12px;
  right: -10px;
  width: 105px;
  height: 105px;
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  border: 2px solid #e11d48;
}

.flagship-netweight-pill {
  margin-top: 1.25rem;
  background: var(--bionex-gold);
  color: #0f172a;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 191, 0, 0.35);
}

.flagship-details-pane {
  padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .flagship-details-pane {
    padding: 3.25rem;
  }
}

.flagship-script-subtitle {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  color: #15803d;
  font-size: 1.55rem;
  font-weight: 600;
  margin-top: -0.25rem;
  margin-bottom: 0.75rem;
}

.flagship-headline-box {
  background: linear-gradient(90deg, rgba(35, 25, 104, 0.07) 0%, rgba(22, 163, 74, 0.08) 100%);
  border-left: 4px solid var(--bionex-indigo);
  padding: 0.9rem 1.2rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.5rem;
}

.flagship-head {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bionex-indigo);
  letter-spacing: 0.03em;
}

.flagship-subhead {
  font-size: 1rem;
  color: #1e1b4b;
  font-weight: 600;
  margin-top: 0.25rem;
}

.flagship-zones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.zone-card {
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.zone-card:hover,
.zone-card.active {
  background: #ffffff;
  border-color: var(--bionex-green);
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

.zone-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.zone-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--bionex-indigo);
}

.zone-subtitle {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bionex-green);
  background: rgba(22, 163, 74, 0.1);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

.zone-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
}

/* Interactive Pond Dosage Calculator Box */
.dosage-calc-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  margin-top: 1.5rem;
}

.dosage-calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
  align-items: center;
}

@media (min-width: 640px) {
  .dosage-calc-grid {
    grid-template-columns: 1fr 1fr 1.2fr;
  }
}

.calc-input-group label {
  display: block;
  font-size: 0.75rem;
  color: #cbd5e1;
  margin-bottom: 0.25rem;
}

.calc-input-group input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
}

.calc-result-box {
  background: rgba(22, 163, 74, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  text-align: center;
}

.calc-result-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #4ade80;
}

/* ==========================================================================
   PRODUCTS PORTFOLIO SECTION (POSITIVE BIOTECH TABS + NEOSPARK CARDS)
   ========================================================================== */
.category-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 2.5rem 0;
}

.category-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.category-tab-btn:hover {
  border-color: var(--bionex-green);
  color: var(--bionex-green);
}

.category-tab-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-elegant);
}

.category-panel {
  display: none;
  animation: heroFadeIn 0.45s ease forwards;
}

.category-panel.active {
  display: block;
}

.portfolio-showcase-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elegant);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .portfolio-showcase-card {
    grid-template-columns: 0.92fr 1.08fr;
  }
}

.portfolio-image-col {
  position: relative;
  min-height: 340px;
}

.portfolio-image-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 40, 81, 0.9) 0%, rgba(2, 40, 81, 0.35) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  color: #ffffff;
}

.portfolio-content-col {
  padding: 2.25rem;
}

@media (min-width: 768px) {
  .portfolio-content-col {
    padding: 2.75rem;
  }
}

.portfolio-sub-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bionex-green);
  margin-bottom: 0.65rem;
}

.microbes-list {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.microbes-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.benefit-check {
  color: var(--bionex-green);
  font-weight: 900;
  flex-shrink: 0;
}

.product-range-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.product-row-card:hover {
  background: #f0fdf4;
  border-color: rgba(22, 163, 74, 0.35);
  transform: translateX(4px);
}

.product-row-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.product-row-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background: #ffffff;
  flex-shrink: 0;
}

.product-row-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--bionex-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-mini-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--bionex-indigo);
  color: #ffffff;
}

.product-row-purpose {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-row-right {
  text-align: right;
  flex-shrink: 0;
}

.product-row-packs {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bionex-green);
}

.product-row-users {
  font-size: 0.74rem;
  color: var(--text-light);
}

.product-inquire-btn {
  margin-top: 0.3rem;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bionex-indigo);
  background: rgba(35, 25, 104, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}

.product-inquire-btn:hover {
  background: var(--bionex-indigo);
  color: #ffffff;
}

/* ==========================================================================
   NEOSPARK-STYLE SECTOR CARDS & YEARS OF SUCCESS CIRCLE
   ========================================================================== */
.neospark-sector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .neospark-sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.neospark-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.neospark-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elegant);
}

.neospark-img-leaf {
  overflow: hidden;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
  margin: 1rem 1rem 0;
  height: 210px;
}

.neospark-img-leaf img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.neospark-card:hover .neospark-img-leaf img {
  transform: scale(1.1);
}

.neospark-card-body {
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Years of Success Ring (Neospark style) */
.excellence-ring-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.excellence-ring {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 16px solid var(--bionex-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 40px rgba(255, 191, 0, 0.25);
  transition: transform 0.4s ease;
}

.excellence-ring:hover {
  transform: scale(1.05);
}

.excellence-ring-num {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--bionex-gold);
  line-height: 1;
}

.excellence-ring-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-top: 0.35rem;
}

/* ==========================================================================
   ABOUT & MARKET METRICS GRID (POSITIVE BIOTECH STYLE)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.metrics-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .metrics-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-card {
  background: var(--bg-soft);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(22, 163, 74, 0.14);
  transition: var(--transition-smooth);
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elegant);
}

.metric-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-glow);
}

.metric-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--bionex-navy);
}

.metric-lbl {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ==========================================================================
   TECHNOLOGY PILLARS SECTION
   ========================================================================== */
.tech-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .tech-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tech-img-wrap {
  position: relative;
}

.tech-img-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elegant);
  width: 100%;
}

.tech-floating-badge {
  position: absolute;
  bottom: -20px;
  right: -15px;
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  max-width: 230px;
  box-shadow: var(--shadow-glow);
}

.tech-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .tech-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tech-pillar-card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.tech-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elegant);
  border-color: var(--bionex-green);
}

.tech-pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tech-pillar-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(2, 40, 81, 0.14);
}

/* ==========================================================================
   CERTIFICATIONS GRID (NEOSPARK + 100% HALAL CERTIFIED)
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.75rem;
}

@media (min-width: 640px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cert-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 1.35rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elegant);
  border-color: var(--bionex-gold);
}

.cert-img-box {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cert-img-box img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.cert-card:hover .cert-img-box img {
  transform: scale(1.16);
}

.cert-title {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--bionex-navy);
  margin-bottom: 0.45rem;
}

.cert-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TECHNICAL INFORMATION & MARKET OPPORTUNITY
   ========================================================================== */
.tech-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .tech-info-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.tech-guide-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-guide-card {
  display: flex;
  background: #ffffff;
  color: var(--text-main);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.tech-guide-card:hover {
  transform: translateX(6px);
}

.tech-guide-thumb {
  width: 130px;
  min-height: 120px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.tech-guide-body {
  padding: 1.15rem 1.35rem;
  flex: 1;
}

/* ==========================================================================
   POSTS, SHARED LINKS & NEWS HUB
   ========================================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elegant);
  border-color: rgba(22, 163, 74, 0.35);
}

.post-thumb-wrap {
  height: 210px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.post-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-thumb-wrap img {
  transform: scale(1.08);
}

.post-tag-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.post-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-date {
  font-size: 0.76rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.post-head {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bionex-navy);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.post-subhead {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--bionex-green);
  margin-bottom: 0.65rem;
}

.post-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.post-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--bionex-indigo);
}

.post-link-btn:hover {
  color: var(--bionex-green);
}

/* ==========================================================================
   CONTACT & EXPORT INQUIRY SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-card {
  background: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elegant);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--bionex-green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0b1324;
  color: #cbd5e1;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }
}

.footer-heading {
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #4ade80;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  border-left: 5px solid #4ade80;
  padding: 1rem 1.35rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  display: none;
  max-width: 380px;
}

.toast-notification.show {
  display: block;
  animation: heroFadeIn 0.35s ease forwards;
}

/* ==========================================================================
   FLOATING GO UP (BACK TO TOP) BUTTON WITH PROGRESS RING
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--bionex-navy) 0%, #063970 100%);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 12px 28px rgba(2, 40, 81, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.12);
  z-index: 9900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.9);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, var(--bionex-green-dark) 0%, var(--bionex-green) 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.4);
}

.scroll-top-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.scroll-top-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
  pointer-events: none;
}

.scroll-top-ring-bg {
  stroke: rgba(255, 255, 255, 0.16);
}

.scroll-top-ring-progress {
  stroke: #4ade80;
  stroke-dasharray: 144.51;
  stroke-dashoffset: 144.51;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s linear;
}

.scroll-top-btn:hover .scroll-top-ring-progress {
  stroke: var(--bionex-gold);
}

.scroll-top-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.scroll-top-btn:hover .scroll-top-icon {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
  }
  .scroll-top-ring {
    width: 46px;
    height: 46px;
  }
}



/* Official Badges & QR Row in Flagship Section */
.flagship-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 1.15rem 0 1.35rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.flagship-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.flagship-badge-item:hover {
  transform: translateY(-2px);
  border-color: var(--bionex-green);
  box-shadow: 0 6px 14px rgba(22, 163, 74, 0.14);
}

.flagship-badge-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.flagship-badge-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.flagship-badge-tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.flagship-badge-meta strong {
  font-size: 0.8rem;
  color: var(--bionex-navy);
  font-weight: 800;
}

.flagship-badge-qr {
  border-color: rgba(35, 25, 104, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.flagship-badge-qr strong {
  color: var(--bionex-indigo);
}
