/**
 * ====================================================================
 * CAPSTONE AQUAPONIK — TEKNIK KOMPUTER FT UNNES 2026
 * DESIGN SYSTEM & STYLING
 * Theme: TreeCard Inspired Palette (Deep Forest Teal & Fresh Botanical Grass Green)
 * Primary Navbar & Brand: Deep Forest Teal (#105157, #0c3e42)
 * Primary Action Green: Vibrant Treecard Lime-Green (#60b260, #69bc6a)
 * Typography: Deep Pine Navy (#0f313a, #103e62) & Forest Slate (#2d4b53)
 * Backgrounds: Crisp Pure White (#ffffff), Soft Eco Sage (#f7faf8), Warm Sunlight (#fef8ee)
 * Accents: Botanical Mint (#eaf6eb), Warm Terracotta Soil (#e88d5e)
 * ====================================================================
 */

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

:root {
  /* Treecard Signature Teal & Pine Palette */
  --tree-teal: #105157;             /* Deep Forest Teal (Iconic Navbar & Brand) */
  --tree-teal-dark: #0c3e42;        /* Darker Teal for Footer / Depths */
  --tree-teal-hover: #16646b;       /* Lighter Teal on Hover */
  --tree-teal-muted: #1e6d75;

  /* Treecard Vibrant Action Green Palette */
  --tree-green: #60b260;            /* Fresh Lime/Grass Green (Buttons & Active States) */
  --tree-green-hover: #4fa04f;      /* Button Hover */
  --tree-green-bright: #69bc6a;      /* Secondary Fresh Green */
  --tree-green-light: #eaf6eb;      /* Soft Mint Badge Background */
  --tree-green-border: #c4e8c6;     /* Soft Green Border */
  --tree-green-dark: #1f6424;       /* Deep Green Text for Badges */

  /* Surface & Page Backgrounds */
  --bg-page: #ffffff;               /* Crisp Pure White */
  --bg-page-alt: #f7faf8;           /* Soft Eco Sage Light Neutral */
  --bg-surface: #ffffff;            /* Card White */
  --bg-surface-subtle: #edf5f2;     /* Subtle Mint-Gray */
  --bg-sunlight: #fef8ee;           /* Warm Sunlight Cream */
  --bg-sunlight-border: #fae4c3;

  /* Text & Typography Colors */
  --text-heading: #0f313a;          /* Deep Pine Navy / Dark Charcoal */
  --text-main: #103e62;             /* Deep Navy Slate */
  --text-body: #2d4b53;             /* Natural Forest Slate (High Readability) */
  --text-muted: #5c777f;            /* Subtle Secondary Text */
  --text-light: #8fa6ad;            /* Muted / Placeholder */
  --text-white: #ffffff;            /* Crisp White */

  /* Neutral Botanical Borders */
  --border-light: #e2ece8;          /* Standard Crisp Botanical Border */
  --border-subtle: #edf4f1;         /* Extra Subtle Line */
  --border-hover: #c8ded6;          /* Border on Hover */

  /* Earthy & Warm Illustration Accents */
  --accent-terracotta: #e88d5e;     /* Soil / Clay Warm Accent */
  --accent-terracotta-bg: #fdf1ea;
  --accent-terracotta-border: #f8c9b2;
  --accent-blue: #0284c7;
  --accent-blue-bg: #e0f2fe;

  /* Geometry & Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  /* Shadows (Clean, Organic, Premium) */
  --shadow-sm: 0 1px 3px rgba(16, 81, 87, 0.06);
  --shadow-card: 0 3px 12px rgba(16, 81, 87, 0.05), 0 1px 3px rgba(16, 81, 87, 0.03);
  --shadow-hover: 0 12px 28px rgba(16, 81, 87, 0.09), 0 4px 8px rgba(16, 81, 87, 0.04);
  --shadow-btn: 0 3px 10px rgba(96, 178, 96, 0.35);
  --shadow-nav: 0 6px 24px rgba(16, 81, 87, 0.22);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ====================================================================
   GLOBAL RESET & TYPOGRAPHY
   ==================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  color: inherit;
  background: none;
  touch-action: manipulation;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--tree-green);
  color: #ffffff;
  padding: 10px 18px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 20px;
}

/* ====================================================================
   BUTTONS & BADGES (TREECARD BOTANICAL STYLE)
   ==================================================================== */
.btn-leaf,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--tree-green);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-btn);
  transition: all 0.2s ease;
  border: 1px solid var(--tree-green);
}

.btn-leaf:hover,
.btn-primary:hover {
  background-color: var(--tree-green-hover);
  border-color: var(--tree-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(96, 178, 96, 0.42);
}

.btn-glass,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--tree-teal) !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--tree-teal);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-glass:hover,
.btn-secondary:hover {
  background-color: var(--tree-teal);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

/* Category Eyebrow Badges */
.eyebrow-chip,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--tree-green-light);
  color: var(--tree-teal);
  border: 1px solid var(--tree-green-border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--tree-green);
  box-shadow: 0 0 0 3px rgba(96, 178, 96, 0.3);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(96, 178, 96, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(96, 178, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(96, 178, 96, 0); }
}

/* Section Headings */
.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 46px;
}

.section-head .eyebrow-chip {
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-head p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ====================================================================
   SITE HEADER & NAVIGATION BAR (ATTACHED TOP FULL-WIDTH HEADER)
   ==================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background: rgba(10, 22, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background: rgba(10, 22, 18, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 13px 0;
  transition: padding 0.25s ease;
}

.site-header.scrolled .nav-pill {
  padding: 10px 0;
}

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

.brand-glyph {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  overflow: hidden;
}

.brand-glyph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.brand-text strong {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.2;
}

.brand-text small {
  font-size: 11px;
  font-weight: 600;
  color: #d1fae5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #e2ece8;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
  color: #8eff93;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-link-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2ece8;
  margin-left: 2px;
}

.nav-link-dashboard:hover {
  background-color: rgba(96, 178, 96, 0.25);
  border-color: rgba(96, 178, 96, 0.5);
  color: #a7f3d0;
}

.nav-icon-lock {
  font-size: 12px;
}

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

.nav-actions .btn-leaf {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  background-color: var(--tree-green);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.nav-actions .btn-leaf:hover {
  background-color: var(--tree-green-hover);
  border-color: rgba(255, 255, 255, 0.4);
}

.mobile-cta-wrap {
  display: none;
}

.nav-toggle {
  display: none;
}

/* ====================================================================
   HERO SECTION (OUTDOOR INNS CINEMATIC PHOTOGRAPHIC BACKGROUND)
   ==================================================================== */
.hero-leaves {
  position: relative;
  height: 100vh;
  min-height: 640px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.70) 100%
  ), url('/textures/aquaponics_render_hero.jpg');
  background-position: center 25%;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 115px 0 32px;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-leaves::before {
  display: none;
}

.hero-leaves .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  gap: 24px;
  height: 100%;
  margin: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: auto auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
  margin-bottom: 12px;
  text-align: center;
}

.text-accent-green {
  color: #8eff93;
  text-shadow: 0 0 18px rgba(142, 255, 147, 0.4), 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: #e2f4eb;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75), 0 2px 14px rgba(0, 0, 0, 0.5);
  max-width: 540px;
  text-wrap: balance;
  margin: 0 auto 20px;
  text-align: center;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-btn-row .btn-leaf {
  background-color: #60b260;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(96, 178, 96, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.hero-btn-row .btn-leaf:hover {
  background-color: #4fa04f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(96, 178, 96, 0.55);
}

.hero-btn-row .btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-btn-row .btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* HERO LIVE SENSOR QUICK-TICKER (3 CALM FOCUSED CARDS) */
.hero-ticker-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: all 0.2s ease;
}

.ticker-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.ticker-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ticker-content {
  display: flex;
  flex-direction: column;
}

.ticker-content small {
  font-size: 9.5px;
  font-weight: 800;
  color: #a3f2a8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ticker-content strong {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  line-height: 1.2;
}

.ticker-tag {
  font-size: 11px;
  color: #cbdcd5;
  font-weight: 500;
  margin-top: 1px;
}


/* ====================================================================
   SECTION 1: DEDICATED 3D CAD MODEL SECTION (CLEAN MODERN STUDIO)
   ==================================================================== */
.model3d-section {
  padding: 72px 0;
  background-color: var(--bg-page-alt);
  border-bottom: 1px solid var(--border-light);
}

.model3d-section .section-head h2 {
  color: var(--text-heading) !important;
}

.model3d-section .section-head p {
  color: var(--text-body) !important;
}

.model3d-stage {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.stage-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--tree-teal);
}

.stage-title svg {
  color: var(--tree-green);
}

.stage-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stage-tab {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-subtle);
  color: var(--tree-teal);
  border: 1px solid var(--border-light);
  transition: all 0.15s ease;
}

.stage-tab:hover {
  background: var(--tree-green-light);
  color: var(--tree-teal);
  border-color: var(--tree-green-border);
}

.stage-tab.active {
  background: var(--tree-teal);
  color: #ffffff;
  border-color: var(--tree-teal);
  box-shadow: 0 2px 8px rgba(16, 81, 87, 0.25);
}

.stage-canvas-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  background-color: var(--bg-surface-subtle);
  overflow: hidden;
}

.stage-canvas-target {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.stage-canvas-target:active {
  cursor: grabbing;
}

.showcase-loading {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(16, 81, 87, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 25;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.showcase-loading.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.showcase-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(142, 255, 147, 0.35);
  border-top-color: #8eff93;
  border-radius: 50%;
  animation: stageSpin 0.8s linear infinite;
}

@keyframes stageSpin {
  to { transform: rotate(360deg); }
}

.hud-chip-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--tree-teal);
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}

.stage-tools {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  box-shadow: 0 4px 18px rgba(16, 81, 87, 0.12);
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tree-teal);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.tool-chip:hover {
  background: var(--bg-surface-subtle);
  color: var(--tree-green-dark);
}

.tool-chip.active {
  background: var(--tree-green-light);
  color: var(--tree-teal);
  border-color: var(--tree-green-border);
}

.stage-footer {
  padding: 20px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.stage-footer strong {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.stage-footer p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ====================================================================
   SECTION 2: BENTO GRID MEKATRONIKA (2 PILAR RISET)
   ==================================================================== */
.bento-section {
  padding: 76px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: var(--tree-green-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pill-researcher {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: var(--tree-green-light);
  color: var(--tree-teal);
  border: 1px solid var(--tree-green-border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
}

.bento-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.35;
}

.bento-card p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.68;
}

/* FLOW DIAGRAM (CLEAN TREE-TEAL DESIGN) */
.flow-diagram {
  margin: 22px 0;
  background: var(--bg-page-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
}

.flow-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--tree-teal);
  margin-bottom: 14px;
}

.flow-title svg {
  color: var(--tree-green);
}

.flow-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
}

.flow-node {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.flow-node strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.flow-node small {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.3;
  display: block;
}

.flow-arrow {
  color: var(--tree-green);
  font-weight: 800;
  font-size: 16px;
}

/* SAFETY INTERLOCK BOX */
.interlock-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--tree-green-light);
  border: 1px solid var(--tree-green-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--tree-teal);
  line-height: 1.55;
  margin-top: auto;
}

.interlock-box svg {
  width: 18px;
  height: 18px;
  color: var(--tree-green);
  margin-top: 2px;
  flex-shrink: 0;
}

.interlock-box strong {
  color: var(--tree-teal);
}

/* INTERACTIVE CANOPY GRID (FELIX'S 24 ZONES) */
.canopy-grid-interactive {
  margin: 22px 0 16px;
  background: var(--bg-page-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
}

.grid-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--tree-teal);
  margin-bottom: 12px;
}

.canopy-tiles-4x6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.canopy-tile {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.canopy-tile:hover {
  border-color: var(--tree-green);
  transform: scale(1.05);
}

.canopy-tile.active {
  background: var(--tree-green-light);
  border-color: var(--tree-green);
  box-shadow: 0 0 0 2px var(--tree-green);
}

.canopy-tile strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-heading);
}

.canopy-tile small {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--tree-green-dark);
  margin-top: 2px;
}

.canopy-inspect-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--text-heading);
  box-shadow: var(--shadow-sm);
}

.canopy-inspect-panel strong {
  color: var(--tree-green-dark);
}

/* HARDWARE PHYSICAL SPECS CARD (FULL WIDTH BENTO) */
.bento-card-hardware {
  grid-column: 1 / -1;
  background: var(--bg-page-alt);
}

.hardware-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.hardware-col {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.hardware-col span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--tree-teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hardware-col strong {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.hardware-col p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
}

/* ====================================================================
   SECTION 3: DIGITAL TWIN SIMULATOR GATEWAY (TREECARD SUNLIGHT & MINT)
   ==================================================================== */
.simulator-gateway {
  padding: 72px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.gateway-banner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #fef8ee 0%, #eaf6eb 100%);
  border: 1.5px solid var(--tree-green-border);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: var(--shadow-card);
}

.gateway-copy h2 {
  font-size: 29px;
  font-weight: 800;
  color: var(--text-heading);
  margin: 14px 0;
  letter-spacing: -0.02em;
}

.gateway-copy p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.feat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--tree-green-border);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tree-teal);
  box-shadow: var(--shadow-sm);
}

/* GATEWAY TELEMETRY MONITOR (PREVIEW LIVE BOX) */
.gateway-preview {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-hover);
}

.preview-monitor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  color: var(--tree-teal);
  letter-spacing: 0.04em;
}

.live-indicator {
  color: var(--tree-green);
  font-weight: 800;
}

.preview-grid-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.prev-metric {
  background: var(--bg-page-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.prev-metric small {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--tree-teal);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.prev-metric strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-heading);
}

/* ====================================================================
   SECTION 4: RISALAH PROPOSAL ILMIAH (INTERACTIVE TABS)
   ==================================================================== */
.research-section {
  padding: 76px 0;
  background-color: var(--bg-page-alt);
  border-bottom: 1px solid var(--border-light);
}

.tab-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.tab-nav-pill {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 5px;
  box-shadow: var(--shadow-sm);
  gap: 6px;
}

.tab-trigger {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-body);
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
}

.tab-trigger:hover {
  color: var(--tree-teal);
}

.tab-trigger.active {
  background: var(--tree-teal);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 81, 87, 0.25);
}

.proposal-pane {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.prop-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--tree-teal);
  background: var(--tree-green-light);
  border: 1px solid var(--tree-green-border);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.proposal-pane h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 14px;
  line-height: 1.35;
}

.proposal-pane p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.72;
  margin-bottom: 26px;
}

.prop-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.prop-metric-box {
  background: var(--bg-page-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.prop-metric-box small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--tree-teal);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.prop-metric-box strong {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-heading);
}

/* ====================================================================
   SECTION 5: GALERI DOKUMENTASI ECO FARM UNNES
   ==================================================================== */
.gallery-section {
  padding: 76px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.gallery-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--tree-green-border);
  box-shadow: var(--shadow-hover);
}

.gallery-photo-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  background-color: var(--bg-surface-subtle);
}

.gallery-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-photo-wrap img {
  transform: scale(1.03);
}

.photo-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--tree-teal);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.gallery-caption {
  padding: 24px;
}

.gallery-caption h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.gallery-caption p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.62;
}

/* ====================================================================
   SECTION 6: TIM PENELITI & DOSEN PEMBIMBING
   ==================================================================== */
.team-section {
  padding: 76px 0;
  background-color: var(--bg-page-alt);
  border-bottom: 1px solid var(--border-light);
}

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

.team-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-2px);
  border-color: var(--tree-green-border);
  box-shadow: var(--shadow-hover);
}

.avatar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.avatar-initial {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--tree-teal);
  border: 1px solid var(--tree-teal);
  color: #ffffff;
  font-weight: 800;
  font-size: 16.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--tree-teal);
  background: var(--tree-green-light);
  border: 1px solid var(--tree-green-border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

.team-card h3 {
  font-size: 19.5px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.lead-role {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tree-teal);
  margin-bottom: 4px;
}

.meta-id {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 14px;
}

.spec-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.62;
  margin-top: auto;
}

/* ====================================================================
   FOOTER (TREECARD DEEP FOREST TEAL STYLE)
   ==================================================================== */
.site-footer {
  background-color: var(--tree-teal);
  color: #e2ece8;
  padding: 56px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 38px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 440px;
}

.footer-brand h4 {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.footer-brand p {
  font-size: 14px;
  color: #cbdcd5;
  line-height: 1.68;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 500px;
}

.footer-links a {
  font-size: 13.5px;
  color: #cbdcd5;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--tree-green-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #a3c4ba;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span:last-child {
  color: var(--tree-green-bright) !important;
  font-weight: 700;
}

/* ====================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE DEVICES)
   ==================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 38px;
  }
  .hero-ticker-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .hardware-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .gateway-banner {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* TABLETS & MOBILE SCREEN BREAKPOINT FOR HAMBURGER DRAWER */
@media (max-width: 880px) {
  .nav-pill {
    padding: 12px 0;
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-actions {
    display: none;
  }

  /* HAMBURGER TOGGLE BUTTON */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 1002;
  }

  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
  }

  .hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* HAMBURGER ANIMATION TO 'X' */
  .site-header.nav-open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* MOBILE SLIDE-DOWN DRAWER */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(8, 20, 16, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 20px 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    box-sizing: border-box;
    border-radius: 0 0 16px 16px;
  }

  .site-header.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    color: #e2ece8;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: #8eff93;
  }

  .mobile-cta-wrap {
    display: block;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    font-size: 14.5px;
    font-weight: 700;
    box-sizing: border-box;
    background-color: var(--tree-green);
    color: #ffffff !important;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(96, 178, 96, 0.4);
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 0;
  }

  .hero-leaves {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 36px;
    background-position: center 20%;
  }

  .hero-leaves .container {
    max-height: none;
    gap: 28px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 14.5px;
    line-height: 1.6;
    padding: 0 8px;
  }

  .hero-btn-row {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
  }

  .hero-btn-row .btn-leaf,
  .hero-btn-row .btn-glass {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  /* 3 STAT CARDS: CLEAN VERTICAL STACK ON MOBILE */
  .hero-ticker-row {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }

  .ticker-item {
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .stage-canvas-wrap {
    height: 380px;
  }

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

  .hardware-cols {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
