/* =============================================
   KolamIQ — Stylesheet
   Modern Aquaculture Platform
   ============================================= */

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --purple-500: #a855f7;
  --red-500: #ef4444;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --grad-main: linear-gradient(135deg, var(--sky-500) 0%, var(--emerald-500) 100%);
  --grad-hero: linear-gradient(160deg, #0a1628 0%, #0d2137 40%, #0a2e2a 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.15), 0 4px 12px rgba(0,0,0,.08);
  --shadow-glow: 0 0 30px rgba(14,165,233,.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--sky-500); border-radius: 99px; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; }
.logo-icon svg { width: 36px; height: 36px; display: block; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 800;
  color: #fff; letter-spacing: -0.5px;
}
.logo-accent { color: var(--emerald-500); }
.nav-links {
  display: flex; gap: 4px; list-style: none; margin-left: auto;
}
.nav-links a {
  display: block; padding: 8px 14px;
  color: rgba(255,255,255,.75);
  text-decoration: none; font-size: .9rem; font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 9px 20px;
  background: var(--grad-main);
  color: #fff; font-weight: 700; font-size: .875rem;
  border-radius: 99px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(14,165,233,.35);
  transition: var(--transition); white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,165,233,.5); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none; flex-direction: column;
  padding: 12px 24px 20px; gap: 4px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a {
  color: rgba(255,255,255,.8); text-decoration: none;
  padding: 10px 0; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu.open { display: flex; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex; align-items: center;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.bubble {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .25;
}
.b1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--sky-500), transparent 70%);
  top: -200px; right: -100px;
  animation: floatBubble 8s ease-in-out infinite;
}
.b2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--emerald-500), transparent 70%);
  bottom: -100px; left: -50px;
  animation: floatBubble 10s ease-in-out infinite reverse;
}
.b3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--teal-400), transparent 70%);
  top: 40%; left: 40%;
  animation: floatBubble 12s ease-in-out infinite 2s;
}
@keyframes floatBubble {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}
.wave-lines {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23f8fafc' fill-opacity='1' d='M0,60 C360,100 720,20 1080,60 C1260,80 1380,40 1440,60 L1440,120 L0,120 Z'/%3E%3C/svg%3E") no-repeat bottom / cover;
}
.hero-container {
  position: relative; z-index: 1;
  max-width: 680px; width: 100%;
  margin: 0 auto 0 max(24px, calc(50vw - 640px));
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,165,233,.15);
  border: 1px solid rgba(14,165,233,.3);
  color: var(--sky-400);
  font-size: .8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 99px;
  margin-bottom: 24px;
  animation: fadeUp .6s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--sky-400); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  color: #fff; letter-spacing: -1.5px;
  margin-bottom: 20px;
  animation: fadeUp .7s .1s ease both;
}
.title-gradient {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,.7);
  margin-bottom: 36px; max-width: 520px; line-height: 1.7;
  animation: fadeUp .7s .2s ease both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp .7s .3s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--grad-main);
  color: #fff; font-weight: 700; font-size: .95rem;
  border-radius: 99px; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(14,165,233,.4);
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(14,165,233,.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-weight: 600; font-size: .95rem;
  border-radius: 99px; text-decoration: none;
  transition: var(--transition); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.hero-stats {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  animation: fadeUp .7s .4s ease both;
}
.hstat-num {
  display: block;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: #fff; line-height: 1;
}
.hstat-label { font-size: .78rem; color: rgba(255,255,255,.55); font-weight: 500; }
.hstat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.15); }
.hero-visual {
  position: absolute; right: max(24px, calc(50vw - 640px)); top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  z-index: 2;
  animation: fadeUp .8s .4s ease both;
}
.float-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(20px);
  padding: 14px 20px; border-radius: var(--radius-md);
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  animation: floatCard 4s ease-in-out infinite;
}
.fc2 { animation-delay: 1.5s; }
.fc3 { animation-delay: 3s; }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.fc-icon { font-size: 1.8rem; }
.fc-label { font-size: .72rem; color: rgba(255,255,255,.6); font-weight: 500; }
.fc-val { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; margin-top: 2px; }
@keyframes fadeUp { from{ opacity:0; transform:translateY(24px); } to{ opacity:1; transform:translateY(0); } }

/* ============ STATS STRIP ============ */
.stats-strip {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  position: relative; z-index: 10;
}
.stats-container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0 24px;
}
.stat-card {
  padding: 24px 28px;
  border-right: 1px solid var(--gray-100);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: var(--gray-50); }
.stat-icon { font-size: 1.5rem; margin-bottom: 8px; }
.stat-num {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  color: var(--gray-900); line-height: 1;
  transition: color .3s;
}
.stat-lbl { font-size: .78rem; color: var(--gray-500); font-weight: 500; margin-top: 4px; }
.stat-bar {
  height: 3px; background: var(--gray-100); border-radius: 99px;
  margin-top: 14px; overflow: hidden;
}
.stat-fill { height: 100%; background: var(--grad-main); border-radius: 99px; transition: width .5s ease; }
.modal-fill { background: linear-gradient(90deg, var(--orange-400), var(--orange-500)); }
.pakan-fill { background: linear-gradient(90deg, var(--teal-400), var(--teal-500)); }
.laba-fill { background: linear-gradient(90deg, var(--green-400), var(--green-500)); }
.highlight-card { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); }
.highlight-card .stat-num { color: var(--green-600); }

/* ============ SECTION COMMONS ============ */
.section-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(14,165,233,.1), rgba(16,185,129,.1));
  border: 1px solid rgba(14,165,233,.2);
  color: var(--sky-600); font-size: .8rem; font-weight: 700;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 14px;
  letter-spacing: .5px;
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--gray-900); letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-header p { font-size: 1rem; color: var(--gray-500); max-width: 520px; margin: 0 auto; }

/* ============ SIMULATOR ============ */
.simulator-section { padding: 80px 0; background: var(--gray-50); }
.sim-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; align-items: start;
}
.sim-inputs, .sim-results {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.input-group-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .85rem; font-weight: 700;
  color: var(--gray-700); letter-spacing: .5px;
  padding: 8px 0; border-bottom: 2px solid var(--gray-100);
  margin-bottom: 20px;
}
.input-group-title.mt { margin-top: 24px; }
.igt-icon { font-size: 1rem; }
.input-row { margin-bottom: 18px; }
.input-row label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--gray-600); margin-bottom: 7px;
}
.input-wrap {
  display: flex; align-items: center;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--gray-50);
  transition: border-color .2s;
}
.input-wrap:focus-within { border-color: var(--sky-500); background: #fff; box-shadow: 0 0 0 3px rgba(14,165,233,.12); }
.input-prefix, .input-suffix {
  padding: 10px 12px; font-size: .82rem;
  font-weight: 600; color: var(--gray-500);
  background: var(--gray-100); border-right: 1px solid var(--gray-200);
  white-space: nowrap; flex-shrink: 0;
}
.input-suffix { border-right: none; border-left: 1px solid var(--gray-200); }
.input-wrap input {
  flex: 1; border: none; background: transparent;
  padding: 10px 12px; font-size: .9rem;
  font-family: var(--font-body); font-weight: 500; color: var(--gray-800);
  min-width: 0; outline: none;
}
.input-wrap input::-webkit-inner-spin-button,
.input-wrap input::-webkit-outer-spin-button { opacity: .5; }
.input-wrap.slim { max-width: 130px; }
.fish-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fish-btn {
  padding: 9px 10px; border: 1.5px solid var(--gray-200);
  background: var(--gray-50); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .82rem; font-weight: 600;
  color: var(--gray-600); cursor: pointer; transition: var(--transition);
  text-align: center;
}
.fish-btn:hover { border-color: var(--sky-400); color: var(--sky-600); background: var(--blue-50); }
.fish-btn.active {
  border-color: var(--sky-500); background: linear-gradient(135deg, var(--blue-50), #ecfdf5);
  color: var(--sky-700);
  box-shadow: 0 0 0 2px rgba(14,165,233,.15);
}
.slider-group { display: flex; gap: 10px; align-items: center; }
.sim-slider {
  flex: 1; appearance: none; height: 5px;
  background: var(--gray-200); border-radius: 99px; outline: none;
  cursor: pointer; transition: var(--transition);
}
.sim-slider::-webkit-slider-thumb {
  appearance: none; width: 18px; height: 18px;
  background: var(--grad-main); border-radius: 50%;
  box-shadow: 0 2px 8px rgba(14,165,233,.4);
  cursor: pointer; transition: var(--transition);
}
.sim-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.btn-reset {
  width: 100%; padding: 11px;
  background: none; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: .85rem; font-weight: 600; color: var(--gray-500);
  cursor: pointer; margin-top: 8px; transition: var(--transition);
}
.btn-reset:hover { border-color: var(--gray-400); color: var(--gray-700); background: var(--gray-50); }

/* RESULTS */
.results-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.results-header h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--gray-900);
}
.results-badge {
  padding: 5px 12px; border-radius: 99px;
  font-size: .75rem; font-weight: 700;
  background: var(--gray-100); color: var(--gray-500);
  transition: var(--transition);
}
.results-badge.profit { background: #dcfce7; color: var(--green-600); }
.results-badge.loss { background: #fee2e2; color: var(--red-500); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.result-card {
  padding: 16px; border-radius: var(--radius-md);
  border: 1.5px solid transparent; transition: var(--transition);
}
.result-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.rc-label { font-size: .72rem; font-weight: 600; margin-bottom: 6px; letter-spacing: .2px; }
.rc-val { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.rc-blue { background: #eff6ff; border-color: #bfdbfe; }
.rc-blue .rc-label { color: var(--blue-600); }
.rc-blue .rc-val { color: var(--blue-700); }
.rc-teal { background: #f0fdfa; border-color: #99f6e4; }
.rc-teal .rc-label { color: var(--teal-500); }
.rc-teal .rc-val { color: #0d9488; }
.rc-green { background: #f0fdf4; border-color: #bbf7d0; }
.rc-green .rc-label { color: var(--green-600); }
.rc-green .rc-val { color: #15803d; }
.rc-orange { background: #fff7ed; border-color: #fed7aa; }
.rc-orange .rc-label { color: var(--orange-500); }
.rc-orange .rc-val { color: #c2410c; }
.rc-purple { background: #faf5ff; border-color: #e9d5ff; }
.rc-purple .rc-label { color: var(--purple-500); }
.rc-purple .rc-val { color: #7e22ce; }
.rc-red { background: #fff1f2; border-color: #fecdd3; }
.rc-red .rc-label { color: var(--red-500); }
.rc-red .rc-val { color: #be123c; }
.laba-card {
  border-radius: var(--radius-lg); padding: 24px;
  background: linear-gradient(135deg, #0a2e2a, #0d2137);
  color: #fff; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.laba-card::before {
  content: ''; position: absolute;
  inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.laba-label { font-size: .8rem; color: rgba(255,255,255,.6); font-weight: 600; margin-bottom: 6px; }
.laba-val {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  line-height: 1; margin-bottom: 8px;
  background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.laba-roi { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.laba-bar-wrap { height: 5px; background: rgba(255,255,255,.15); border-radius: 99px; overflow: hidden; }
.laba-bar-fill { height: 100%; background: var(--grad-main); border-radius: 99px; transition: width .6s ease; }
.breakdown-section {}
.bs-title { font-size: .82rem; font-weight: 700; color: var(--gray-600); margin-bottom: 12px; }
.bl-item { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--gray-600); margin-bottom: 5px; }
.bl-bar { height: 6px; background: var(--gray-100); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.bl-fill { height: 100%; border-radius: 99px; transition: width .5s ease; }
.bibit-fill { background: linear-gradient(90deg, var(--sky-400), var(--sky-500)); }
.pakan-b-fill { background: linear-gradient(90deg, var(--teal-400), var(--teal-500)); }
.ops-fill { background: linear-gradient(90deg, var(--orange-400), var(--orange-500)); }

/* ============ CHARTS ============ */
.charts-section { padding: 80px 0; background: #fff; }
.charts-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.full-width-chart { grid-column: 1 / -1; }
.chart-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 28px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.chart-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.chart-title {
  font-family: var(--font-display); font-size: .9rem; font-weight: 700;
  color: var(--gray-700); margin-bottom: 20px;
}
.chart-wrap { position: relative; height: 280px; }
.chart-donut-wrap { height: 260px; }

/* ============ SCENARIOS ============ */
.scenario-section { padding: 80px 0; background: var(--gray-50); }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.scenario-card {
  background: #fff; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.sc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sc-icon { font-size: 1.3rem; }
.sc-title { font-weight: 700; color: var(--gray-800); font-size: .88rem; flex: 1; }
.sc-val {
  font-family: var(--font-display); font-size: .88rem; font-weight: 800;
  color: var(--sky-600);
  background: var(--blue-50); padding: 3px 10px; border-radius: 99px;
}
.scenario-slider {
  width: 100%; appearance: none; height: 6px;
  background: var(--gray-200); border-radius: 99px;
  outline: none; cursor: pointer; margin-bottom: 12px;
}
.scenario-slider::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px;
  background: var(--grad-main); border-radius: 50%;
  box-shadow: 0 2px 8px rgba(14,165,233,.35);
  cursor: pointer; transition: transform .15s;
}
.scenario-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.sc-desc { font-size: .75rem; color: var(--gray-500); line-height: 1.5; }
.scenario-result {
  background: #fff; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.sr-item { text-align: center; min-width: 140px; }
.sr-label { font-size: .75rem; color: var(--gray-500); font-weight: 600; margin-bottom: 6px; }
.sr-val {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  color: var(--gray-900);
}
.sr-val.delta.positive { color: var(--green-600); }
.sr-val.delta.negative { color: var(--red-500); }
.sr-arrow { font-size: 1.2rem; color: var(--gray-300); }

/* ============ EDUKASI ============ */
.edu-section { padding: 80px 0; background: #fff; }
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 60px; }
.edu-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 36px;
}
.edu-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.edu-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  color: var(--gray-900); margin-bottom: 14px;
}
.edu-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 12px; }
.edu-card ul { padding-left: 20px; margin-bottom: 12px; }
.edu-card li { font-size: .85rem; color: var(--gray-600); margin-bottom: 5px; line-height: 1.6; }
.edu-tip {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid #bfdbfe; border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: .82rem; color: var(--blue-700); line-height: 1.6;
}
.tips-section { margin-top: 12px; }
.tips-title {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  color: var(--gray-900); text-align: center; margin-bottom: 32px;
}
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tip-card {
  background: #fff; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.tip-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-main);
}
.tip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tip-num {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  color: var(--gray-100); line-height: 1; margin-bottom: 10px;
}
.tip-card h4 { font-size: .9rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.tip-card p { font-size: .82rem; color: var(--gray-500); line-height: 1.6; }

/* ============ FAQ ============ */
.faq-section { padding: 80px 0; background: var(--gray-50); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md); margin-bottom: 12px;
  overflow: hidden; cursor: pointer; transition: var(--transition);
}
.faq-item:hover { border-color: var(--sky-400); box-shadow: 0 4px 16px rgba(14,165,233,.1); }
.faq-item.open { border-color: var(--sky-500); box-shadow: 0 4px 20px rgba(14,165,233,.15); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; font-weight: 700; font-size: .9rem; color: var(--gray-800);
}
.faq-arrow { color: var(--gray-400); transition: transform .3s; font-size: .75rem; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--sky-500); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 20px; }
.faq-a p { font-size: .87rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ============ CTA ============ */
.cta-section {
  padding: 80px 24px;
  background: var(--grad-hero);
  text-align: center; position: relative; overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(14,165,233,.2), transparent 70%);
}
.cta-container { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-section h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 14px;
}
.cta-section p { color: rgba(255,255,255,.65); margin-bottom: 32px; font-size: 1.02rem; }
.cta-btn { font-size: 1rem; padding: 16px 36px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--gray-900); color: rgba(255,255,255,.6);
  padding: 60px 24px 0;
}
.footer-container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 280px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fl-title {
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
  color: #fff; letter-spacing: .5px; margin-bottom: 14px;
}
.fl-group a {
  display: block; color: rgba(255,255,255,.5); text-decoration: none;
  font-size: .83rem; margin-bottom: 8px; transition: color .2s;
}
.fl-group a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: .78rem;
  flex-wrap: wrap; gap: 8px;
}

/* ============ TRANSITIONS for numbers ============ */
.animating { color: var(--sky-500) !important; transition: color .3s !important; }

/* ============ FEEDBACK FAB & MODAL ============ */
/* ============ WELCOME MODAL ============ */
.welcome-modal {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.welcome-modal.show { opacity: 1; pointer-events: auto; }
.wm-content {
  background: #fff; border-radius: var(--radius-xl);
  width: 100%; max-width: 480px; padding: 36px 32px;
  position: relative; transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  box-shadow: var(--shadow-lg);
}
.welcome-modal.show .wm-content { transform: translateY(0) scale(1); }
.wm-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--gray-100); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.2rem; color: var(--gray-600);
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.wm-close:hover { background: var(--gray-200); color: var(--gray-900); }
.wm-header { text-align: center; margin-bottom: 28px; }
.wm-icon { font-size: 3rem; margin-bottom: 12px; line-height: 1; animation: wave 2s infinite; display: inline-block; transform-origin: 70% 70%; }
@keyframes wave { 0% { transform: rotate( 0.0deg) } 10% { transform: rotate(14.0deg) } 20% { transform: rotate(-8.0deg) } 30% { transform: rotate(14.0deg) } 40% { transform: rotate(-4.0deg) } 50% { transform: rotate(10.0deg) } 60% { transform: rotate( 0.0deg) } 100% { transform: rotate( 0.0deg) } }
.wm-header h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 800; color: var(--gray-900); margin-bottom: 8px;
}
.wm-header p { font-size: 0.95rem; color: var(--gray-500); }
.wm-body { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.wm-step { display: flex; gap: 16px; }
.wm-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-600);
  font-weight: 800; font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.9rem;
}
.wm-step-text strong { display: block; font-size: 0.95rem; color: var(--gray-800); margin-bottom: 4px; }
.wm-step-text p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }
.wm-footer { text-align: center; }
.wm-start { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }
.fab-feedback {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-main); color: #fff;
  font-size: 1.5rem; border: none;
  box-shadow: 0 4px 20px rgba(14,165,233,0.4);
  cursor: pointer; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.fab-feedback:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(14,165,233,0.5);
}
.feedback-modal {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.feedback-modal.show { opacity: 1; pointer-events: auto; }
.fm-content {
  background: #fff; border-radius: var(--radius-xl);
  width: 100%; max-width: 400px; padding: 32px;
  position: relative; transform: translateY(20px);
  transition: transform 0.3s ease; box-shadow: var(--shadow-lg);
}
.feedback-modal.show .fm-content { transform: translateY(0); }
.fm-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--gray-100); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.2rem; color: var(--gray-600);
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.fm-close:hover { background: var(--gray-200); color: var(--gray-900); }
.fm-header { text-align: center; margin-bottom: 24px; }
.fm-header h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 800; color: var(--gray-900); margin-bottom: 6px;
}
.fm-header p { font-size: 0.9rem; color: var(--gray-500); }
.fm-form { display: flex; flex-direction: column; gap: 16px; }
.fm-group { display: flex; flex-direction: column; gap: 6px; }
.fm-group label { font-size: 0.82rem; font-weight: 600; color: var(--gray-700); }
.fm-group input, .fm-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--gray-800);
  background: var(--gray-50); transition: border-color 0.2s; outline: none;
}
.fm-group input:focus, .fm-group textarea:focus {
  border-color: var(--sky-500); background: #fff;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}
.fm-submit { width: 100%; justify-content: center; margin-top: 8px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .hero-container { max-width: 100%; }
}
@media (max-width: 900px) {
  .stats-container { grid-template-columns: 1fr 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .sim-layout { grid-template-columns: 1fr; }
  .charts-grid { grid-template-columns: 1fr; }
  .full-width-chart { grid-column: 1; }
  .scenario-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .stats-container { grid-template-columns: 1fr 1fr; }
  .hero { padding: 110px 20px 80px; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .hero-stats { gap: 16px; }
  .sim-inputs, .sim-results { padding: 22px; }
  .result-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .fish-selector { grid-template-columns: 1fr 1fr; }
  .scenario-result { flex-direction: column; gap: 16px; }
  .sr-arrow { display: none; }
}
@media (max-width: 400px) {
  .stats-container { grid-template-columns: 1fr; }
}
