/* ==========================================================================
   PINAECO - MODERN LUXURY ECO DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Typography - Modern Eco-Tech Font Hierarchy */
  --font-display: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Color Tokens */
  --hue-green: 152;
  --hue-gold: 38;

  --primary-gold: #F5A623;
  --primary-gold-glow: rgba(245, 166, 35, 0.35);
  --primary-amber: #D97706;

  --eco-leaf: #15803D;
  --eco-emerald: #10B981;
  --eco-emerald-glow: rgba(16, 185, 129, 0.25);
  --eco-dark: #082115;

  /* Surfaces & Backgrounds */
  --bg-deep: #09130E;
  --bg-card: rgba(18, 32, 24, 0.7);
  --bg-card-hover: rgba(24, 44, 33, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-active: rgba(245, 166, 35, 0.5);

  /* Typography */
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  --text-gold: #FBBF24;
  --text-emerald: #34D399;

  /* Elevation */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px var(--primary-gold-glow);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variable Overrides */
[data-theme="light"] {
  --bg-deep: #F8FAF7;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(16, 185, 129, 0.04);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-active: rgba(217, 119, 6, 0.6);
  --text-main: #111827;
  --text-muted: #4B5563;
  --text-dim: #6B7280;
  --text-gold: #B45309;
  --text-emerald: #065F46;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-deep);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "kern";
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--text-main);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "kern";
}

h1 {
  letter-spacing: -0.035em;
  line-height: 1.18;
}

h2 {
  letter-spacing: -0.028em;
  line-height: 1.24;
}

h3 {
  letter-spacing: -0.02em;
  line-height: 1.32;
}

h4 {
  letter-spacing: -0.015em;
  line-height: 1.38;
}

p {
  line-height: 1.74;
  letter-spacing: -0.005em;
}

button, input, select, textarea {
  font-family: inherit;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  position: relative;
  transition: background-color var(--tr-smooth), color var(--tr-smooth);
}

/* Three.js 3D Background Canvas */
#scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Ambient Background Glow */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.ambient-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--eco-emerald);
  top: -100px;
  right: -50px;
}

.ambient-orb-2 {
  width: 450px;
  height: 450px;
  background: var(--primary-gold);
  bottom: 10%;
  left: -100px;
  animation-duration: 25s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(60px, 40px) scale(1.1);
  }

  100% {
    transform: translate(-40px, 60px) scale(0.95);
  }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 19, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--tr-fast);
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 247, 0.85);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--tr-fast);
}

.brand-logo:hover {
  transform: translateY(-2px);
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  transition: transform var(--tr-fast), filter var(--tr-fast);
}

[data-theme="dark"] .brand-logo-img {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.75)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)) brightness(1.2);
}

[data-theme="light"] .brand-logo-img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
}

.footer-brand-logo .brand-logo-img {
  height: 48px;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--tr-fast);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--eco-emerald), var(--primary-gold));
  transition: width var(--tr-fast);
  border-radius: 2px;
}

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

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

/* Control Buttons (Lang, Theme, Editor) */
.btn-icon {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--tr-fast);
}

.btn-icon:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.btn-editor-badge {
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--tr-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), #D97706);
  color: #0E1A14;
  box-shadow: 0 8px 24px var(--primary-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.btn-eco {
  background: linear-gradient(135deg, var(--eco-leaf), var(--eco-emerald));
  color: #fff;
  box-shadow: 0 8px 24px var(--eco-emerald-glow);
}

.btn-eco:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--text-emerald);
  margin-bottom: 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--eco-emerald);
  box-shadow: 0 0 10px var(--eco-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.hero-desktop-br {
  display: block;
}

@media (max-width: 640px) {
  .hero-desktop-br {
    display: inline;
  }
}

.text-gradient {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 50%, #FBBF24 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(245, 166, 35, 0.35));
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.76;
  margin-bottom: 36px;
  max-width: 580px;
  letter-spacing: -0.005em;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  transition: all var(--tr-smooth);
}

.stat-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-gold);
  background: rgba(245, 166, 35, 0.05);
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-gold);
  line-height: 1.2;
  margin-bottom: 3px;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
  letter-spacing: -0.005em;
}

/* Modern Balanced Hero Visual Card Showcase */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 35px var(--primary-gold-glow);
  background: var(--bg-card);
  height: 440px;
  transition: all var(--tr-smooth);
}

.hero-visual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px -12px rgba(0, 0, 0, 0.7), 0 0 45px var(--primary-gold-glow);
  border-color: var(--primary-gold);
}

.hero-image-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.hero-visual-card:hover .hero-pineapple-img {
  transform: scale(1.04);
}

/* Floating Glass Badges on Hero Visual */
.hero-glass-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(14, 26, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 166, 35, 0.45);
  color: #FBBF24;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 2;
  transition: all var(--tr-fast);
}

.hero-glass-card {
  position: absolute;
  bottom: 18px;
  left: 18px;
  max-width: 320px;
  background: rgba(14, 26, 20, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  z-index: 2;
  transition: all var(--tr-fast);
}

.hero-glass-card .mini-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.hero-glass-card strong {
  display: block;
  font-size: 0.9rem;
  color: #34D399;
  margin-bottom: 2px;
}

.hero-glass-card p {
  font-size: 0.78rem;
  color: #D1D5DB;
  line-height: 1.4;
  margin: 0;
}

.hero-glass-pill {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(16, 185, 129, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34D399;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Horizontal Circular Bio-Economy Flow Ribbon */
.hero-flow-horizontal {
  margin-top: 52px;
  padding: 32px 36px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all var(--tr-smooth);
}

.hero-flow-horizontal:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-lg);
}

.horizontal-flow-header {
  text-align: center;
  margin-bottom: 26px;
}

.horizontal-flow-badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--eco-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.horizontal-flow-header h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 6px;
}

.horizontal-flow-header p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.horizontal-steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.horizontal-step-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all var(--tr-smooth);
  position: relative;
}

.horizontal-step-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  background: rgba(245, 166, 35, 0.06);
  box-shadow: 0 12px 30px -8px var(--primary-gold-glow);
}

.hstep-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-gold);
  line-height: 1;
  opacity: 0.9;
  flex-shrink: 0;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hstep-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -2px;
}

.hstep-body h4 {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 4px;
}

.hstep-body p {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.hstep-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  opacity: 0.55;
  flex-shrink: 0;
}

/* Light Theme Overrides for Hero Visual Card & Flow Ribbon */
[data-theme="light"] .hero-visual-card {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .hero-glass-badge {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #B45309 !important;
  border-color: rgba(217, 119, 6, 0.35) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .hero-glass-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .hero-glass-card strong {
  color: #047857 !important;
}

[data-theme="light"] .hero-glass-card p {
  color: #4B5563 !important;
}

[data-theme="light"] .hero-glass-pill {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #047857 !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .hero-flow-horizontal {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .horizontal-flow-badge {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

[data-theme="light"] .horizontal-step-item {
  background: #F9FBFA !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .horizontal-step-item:hover {
  background: #FFFFFF !important;
  border-color: rgba(217, 119, 6, 0.45) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .horizontal-step-item h4 {
  color: #0F291E !important;
}

[data-theme="light"] .horizontal-step-item p {
  color: #4B5563 !important;
}

/* Responsive adjustments for horizontal ribbon */
@media (max-width: 992px) {
  .horizontal-steps-grid {
    flex-direction: column;
    gap: 14px;
  }

  .hstep-connector {
    transform: rotate(90deg);
    margin: -4px 0;
  }

  .horizontal-step-item {
    width: 100%;
  }

  .hero-visual-card {
    height: 340px;
  }
}

/* Story Farm Plantation Banner */
.story-farm-banner {
  margin: 36px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
}

.farm-banner-img-wrap {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.farm-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.story-farm-banner:hover .farm-banner-img {
  transform: scale(1.03);
}

.farm-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 33, 21, 0.2) 0%, rgba(8, 33, 21, 0.88) 100%);
  display: flex;
  align-items: flex-end;
  padding: 36px;
}

.farm-banner-content {
  max-width: 680px;
  color: #FFFFFF;
}

.farm-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34D399;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.farm-banner-content h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.farm-banner-content p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Product Visual Card with Authentic Peels */
.product-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  text-align: left;
}

.product-image-box {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.product-visual-card:hover .product-pineapple-img {
  transform: scale(1.05);
}

.product-img-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 26, 20, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #FBBF24;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.concept-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary-gold);
  color: #0E1A14;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px var(--primary-gold-glow);
}

.product-concept-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 14px 0 10px;
  color: var(--text-main);
}

.concept-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.concept-points li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.concept-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-gold);
  font-size: 1.2rem;
  line-height: 1;
}

.concept-points li strong {
  color: var(--text-main);
}

.concept-disclaimer {
  padding: 12px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--eco-emerald);
  line-height: 1.5;
}

/* Advisor & Expert Support Card (Section 7) */
.advisor-need-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all var(--tr-smooth);
}

.advisor-need-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-active);
}

.advisor-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.15);
  color: var(--eco-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.advisor-need-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.advisor-intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.advisor-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.advisor-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: all var(--tr-fast);
}

.advisor-item:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--border-active);
  transform: translateX(4px);
}

.adv-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-gold);
  color: #0E1A14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.advisor-item p {
  font-size: 0.86rem;
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

/* DB Status button and storage note enabled */

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.22;
  margin-bottom: 16px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.72;
  letter-spacing: -0.005em;
}

/* ==========================================================================
   STORY & VALUES SECTION
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  transition: all var(--tr-smooth);
  position: relative;
  overflow: hidden;
}

.card-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-badge {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-gold);
  margin-bottom: 12px;
  display: block;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.32;
  margin-bottom: 14px;
}

.card-desc {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.74;
  letter-spacing: -0.005em;
}

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

.value-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: left;
  transition: all var(--tr-fast);
}

.value-box:hover {
  border-color: var(--eco-emerald);
  transform: translateY(-4px);
}

.value-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-gold);
  margin-bottom: 12px;
  display: inline-block;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--eco-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.value-box h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.value-box p {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

/* ==========================================================================
   PRODUCT SHOWCASE SECTION
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.product-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
}

.product-img-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.product-badge-float {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--primary-gold);
  color: #0E1A14;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 15px var(--primary-gold-glow);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-glass);
}

.specs-table td {
  padding: 14px 0;
  font-size: 0.93rem;
  line-height: 1.6;
}

.specs-label {
  font-family: var(--font-display);
  color: var(--text-muted);
  font-weight: 650;
  letter-spacing: -0.01em;
  width: 38%;
}

.specs-value {
  font-family: var(--font-body);
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.62;
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-main);
}

.feature-item svg {
  color: var(--eco-emerald);
  flex-shrink: 0;
}

/* Steps Cards */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: all var(--tr-smooth);
}

.step-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-gold);
  opacity: 0.88;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.step-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ==========================================================================
   SCIENCE & ENZYME SECTION
   ========================================================================== */
.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.science-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
}

.science-img-box img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.science-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sci-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--tr-fast);
}

.sci-card:hover {
  border-color: var(--eco-emerald);
}

.sci-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-emerald);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sci-card p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.68;
}




/* ==========================================================================
   DEVELOPMENT LOG (DEVLOG TIMELINE)
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.tab-btn:hover {
  color: var(--text-main);
  border-color: var(--border-active);
}

.tab-btn.active {
  background: var(--primary-gold);
  color: #0E1A14;
  border-color: var(--primary-gold);
  box-shadow: 0 4px 15px var(--primary-gold-glow);
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, var(--eco-emerald), var(--primary-gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-node {
  position: absolute;
  left: -36px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--primary-gold);
  box-shadow: 0 0 12px var(--primary-gold-glow);
  z-index: 2;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--tr-fast);
}

.timeline-content:hover {
  border-color: var(--border-active);
  transform: translateX(6px);
}

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

.timeline-date {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-badge {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--eco-emerald);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.timeline-badge.badge-done {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.timeline-badge.badge-in-progress {
  background: rgba(245, 166, 35, 0.15);
  color: #F5A623;
  border: 1px solid rgba(245, 166, 35, 0.35);
}

.timeline-badge.badge-planned {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.timeline-badge.badge-future {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.timeline-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 0;
}

.timeline-author {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   TEAM MEMBERS SECTION
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--tr-smooth);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  border-color: var(--eco-emerald);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-card.highlight {
  border-color: var(--primary-gold);
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.08), var(--bg-card));
}

.member-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.member-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eco-emerald), var(--primary-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.member-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.member-spec {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-gold);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.member-task {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.68;
  flex-grow: 1;
}




/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  background: rgba(5, 11, 8, 0.8);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

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



/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {

  .hero-grid,
  .product-grid,
  .science-grid,
  .feedback-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual-card img,
  .product-img-wrapper img,
  .science-img-box img {
    height: 380px;
  }

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


  .steps-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

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

  .section-title {
    font-size: 1.85rem;
  }

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

  .story-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline-node {
    left: -28px;
  }

  .btn-editor-badge span {
    display: none;
  }

}

/* ==========================================================================
   DYNAMIC MOTION & ANIMATION SYSTEM
   ========================================================================== */
#ambient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Item Reveals */
.reveal-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HERO ENTRANCE ANIMATIONS
   ========================================================================== */
.hero-title-entrance {
  animation: heroTitleFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroTitleFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Card Animation */
.hero-visual-card {
  animation: gentleHeroFloat 5s ease-in-out infinite alternate;
}

@keyframes gentleHeroFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-12px) rotate(0.4deg);
  }
}

/* Hero badge pulse */
.badge-pill {
  animation: badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes badgePop {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================================
   SHIMMER BUTTON EFFECT
   ========================================================================== */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.45),
      transparent);
  transform: rotate(25deg);
  animation: btnShineSweep 4s infinite ease-in-out;
}

@keyframes btnShineSweep {

  0%,
  65% {
    left: -70%;
  }

  100% {
    left: 150%;
  }
}

/* ==========================================================================
   HEADER SCROLL EFFECT
   ========================================================================== */
.site-header.scrolled {
  height: 60px;
  background: rgba(9, 19, 14, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(248, 250, 247, 0.97) !important;
}

.site-header.scrolled .nav-wrapper {
  height: 60px;
}

/* ==========================================================================
   GLOWING TEXT GRADIENT (ANIMATED)
   ========================================================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #FDE68A 50%, var(--primary-gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ==========================================================================
   SECTION DIVIDERS (DECORATIVE GRADIENT LINES)
   ========================================================================== */
section+section::before {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--eco-emerald), var(--primary-gold), transparent);
  margin: 0 auto;
  opacity: 0.6;
}

/* ==========================================================================
   ENHANCED CARD HOVER EFFECTS
   ========================================================================== */
.card-glass {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  transform-style: preserve-3d;
}

.card-glass:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 30px var(--primary-gold-glow);
  border-color: rgba(245, 166, 35, 0.6);
}

.step-card {
  transition: all var(--tr-smooth);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.05), transparent);
  opacity: 0;
  transition: opacity var(--tr-smooth);
}

.step-card:hover::before {
  opacity: 1;
}

.step-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-gold);
  box-shadow: 0 15px 35px -10px var(--primary-gold-glow);
}

.value-box {
  position: relative;
  overflow: hidden;
}

.value-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--eco-emerald), var(--primary-gold));
  transition: width 0.4s ease;
}

.value-box:hover::after {
  width: 100%;
}

.value-box:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--eco-emerald);
  box-shadow: 0 15px 35px -10px var(--eco-emerald-glow);
}



/* ==========================================================================
   ANIMATED COUNTER NUMBERS
   ========================================================================== */
.stat-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-gold);
  text-shadow: 0 0 20px var(--primary-gold-glow);
}

.counter-val {
  transition: all 0.3s ease;
}

/* ==========================================================================
   SECTION TITLE DECORATION
   ========================================================================== */
.section-title {
  position: relative;
  display: inline-block;
}

.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--eco-emerald), var(--primary-gold));
  margin: 16px auto 0;
  border-radius: 3px;
  box-shadow: 0 0 10px var(--primary-gold-glow);
}

/* ==========================================================================
   ANIMATED TIMELINE NODE PULSE
   ========================================================================== */
.timeline-node {
  animation: timelineNodePulse 2.5s ease-in-out infinite;
}

@keyframes timelineNodePulse {

  0%,
  100% {
    box-shadow: 0 0 8px var(--primary-gold-glow);
  }

  50% {
    box-shadow: 0 0 20px var(--primary-gold), 0 0 35px var(--primary-gold-glow);
  }
}

/* ==========================================================================
   TIMELINE BADGE COLORS
   ========================================================================== */
.timeline-badge.badge-done {
  background: rgba(16, 185, 129, 0.15);
  color: var(--eco-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.timeline-badge.badge-new {
  background: rgba(245, 166, 35, 0.15);
  color: var(--primary-gold);
  border: 1px solid rgba(245, 166, 35, 0.3);
  animation: badgeNewPulse 2s infinite;
}

@keyframes badgeNewPulse {

  0%,
  100% {
    box-shadow: none;
  }

  50% {
    box-shadow: 0 0 8px var(--primary-gold-glow);
  }
}

.timeline-badge.badge-in-progress {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}


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

  100% {
    background-position: 200% center;
  }
}












@keyframes vsPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.4);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(245, 166, 35, 0.7);
  }
}



/* ==========================================================================
   FOOTER DECORATIVE GRADIENT TOP BORDER
   ========================================================================== */
.site-footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--eco-emerald) 30%, var(--primary-gold) 70%, transparent 100%);
  margin-bottom: 60px;
}

/* ==========================================================================
   BACKGROUND SECTION ALTERNATING GLOW
   ========================================================================== */
#product {
  background: linear-gradient(180deg, transparent, rgba(245, 166, 35, 0.03), transparent);
}

#technology {
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.03), transparent);
}

/* ==========================================================================
   LOADING SHIMMER FOR IMAGES
   ========================================================================== */
.hero-visual-card img,
.product-img-wrapper img,
.science-img-box img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.hero-visual-card:hover img {
  transform: scale(1.04);
}

.product-img-wrapper:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.science-img-box:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* ==========================================================================
   RESPONSIVE ENHANCEMENTS
   ========================================================================== */
@media (max-width: 1024px) {

  .hero-grid,
  .product-grid,
  .science-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual-card img,
  .product-img-wrapper img,
  .science-img-box img {
    height: 380px;
  }

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


  .steps-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .nav-links.show {
    display: flex;
    animation: slideDown 0.3s ease;
  }

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

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-toggle {
    display: block;
  }

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

  .section-title {
    font-size: 1.85rem;
  }

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

  .story-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline-node {
    left: -28px;
  }

  .btn-editor-badge span {
    display: none;
  }


}

/* ==========================================================================
   ACCESSIBILITY: REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll,
  .reveal-item {
    opacity: 1;
    transform: none;
  }
}



/* ==========================================================================
   LIGHT THEME (2 CHẾ ĐỘ SÁNG / TỐI HOÀN THIỆN TOÀN DIỆN)
   ========================================================================== */
[data-theme="light"] {
  --bg-deep: #F8FAF7;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(16, 185, 129, 0.05);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-active: rgba(217, 119, 6, 0.6);
  --text-main: #0F291E;
  --text-muted: #374151;
  --text-dim: #6B7280;
  --text-gold: #B45309;
  --text-emerald: #047857;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.09);
}

[data-theme="light"] .card-glass,
[data-theme="light"] .hero-visual-card,
[data-theme="light"] .product-visual-card,
[data-theme="light"] .advisor-need-card,
[data-theme="light"] .step-card,
[data-theme="light"] .team-card {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .card-glass:hover,
[data-theme="light"] .hero-visual-card:hover,
[data-theme="light"] .product-visual-card:hover,
[data-theme="light"] .advisor-need-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(217, 119, 6, 0.45) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .concept-step,
[data-theme="light"] .advisor-item {
  background: #F9FBFA !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .concept-step:hover,
[data-theme="light"] .advisor-item:hover {
  background: #FFFFFF !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .hero-flow-header h4,
[data-theme="light"] .advisor-need-card h3,
[data-theme="light"] .product-concept-body h4,
[data-theme="light"] .card-title,
[data-theme="light"] .section-title,
[data-theme="light"] .team-card h3,
[data-theme="light"] .step-card h3 {
  color: #0F291E !important;
}

[data-theme="light"] .concept-step .step-text strong,
[data-theme="light"] .advisor-item p,
[data-theme="light"] .concept-points li strong {
  color: #0F291E !important;
}

[data-theme="light"] .concept-step .step-text p,
[data-theme="light"] .advisor-intro,
[data-theme="light"] .concept-points li,
[data-theme="light"] .card-desc,
[data-theme="light"] .member-task,
[data-theme="light"] .step-card p {
  color: #374151 !important;
}

[data-theme="light"] .advisor-badge {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

[data-theme="light"] .concept-disclaimer {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #065F46 !important;
}