/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #00E5A0;
  --green-dark: #00b87d;
  --green-glow: rgba(0, 229, 160, 0.15);
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --orange: #f59e0b;
  --pink: #ec4899;
  --teal: #14b8a6;
  --red: #ef4444;

  --bg: #080d16;
  --bg-card: #0e1520;
  --bg-card-2: #111927;
  --bg-hover: #162030;
  --border: #1e2d3d;
  --border-light: #243447;

  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --shadow-green: 0 0 40px rgba(0, 229, 160, 0.12);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== UTILITY ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.accent { color: var(--green); }
.gradient-text {
  background: linear-gradient(135deg, var(--green) 0%, #4ade80 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.positive { color: var(--green); }
.negative { color: var(--red); }
.neutral { color: var(--orange); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--green), #22c55e);
  color: #080d16; font-weight: 700; font-size: 14px;
  padding: 11px 22px; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(0,229,160,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 32px rgba(0,229,160,0.5); }
.btn-primary.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }

.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  padding: 11px 18px; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer;
  background: transparent; transition: var(--transition);
}
.btn-ghost:hover { color: var(--text); background: var(--bg-card); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-size: 14px; font-weight: 600;
  padding: 11px 22px; border-radius: 8px;
  text-decoration: none; border: 1.5px solid var(--border-light); cursor: pointer;
  background: transparent; transition: var(--transition);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); background: var(--green-glow); }
.btn-outline.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }

.btn-sm-outline {
  display: inline-flex; align-items: center;
  color: var(--green); font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 8px;
  text-decoration: none; border: 1px solid rgba(0,229,160,0.3);
  background: rgba(0,229,160,0.05); transition: var(--transition);
}
.btn-sm-outline:hover { background: rgba(0,229,160,0.12); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  color: white; font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,0.3); cursor: pointer;
  background: rgba(255,255,255,0.08); transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.15); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 52px; left: 0; right: 0; z-index: 100;
  background: rgba(8, 13, 22, 0.8); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); background: rgba(8, 13, 22, 0.95); }

.nav-inner {
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--text); letter-spacing: -0.5px;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; flex: 1;
}
.nav-links a {
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  text-decoration: none; padding: 6px 12px; border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--bg-card); }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dim); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== TICKER BAR ===== */
.ticker-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: 52px; background: #050a11;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--red);
  color: white; font-size: 11px; font-weight: 700;
  padding: 4px 10px; letter-spacing: 1px;
  display: flex; align-items: center;
  height: 100%;
}
.ticker-wrapper { flex: 1; overflow: hidden; position: relative; }
.ticker-track {
  display: flex; gap: 48px; align-items: center;
  white-space: nowrap; height: 52px;
  animation: tickerScroll 40s linear infinite;
}
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}
.ticker-code { color: var(--text); font-weight: 700; }
.ticker-price { color: var(--text-dim); }
.ticker-chg.up { color: var(--green); }
.ticker-chg.down { color: var(--red); }

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTION LAYOUT ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-card); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-tag {
  display: inline-flex; align-items: center;
  background: rgba(0,229,160,0.1); color: var(--green);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 16px;
  border: 1px solid rgba(0,229,160,0.2);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.5px; margin-bottom: 16px;
}
.section-header p { color: var(--text-muted); font-size: 17px; line-height: 1.7; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,229,160,0.08) 0%, transparent 70%);
}
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.4; }

.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 24px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,229,160,0.08); color: var(--green);
  font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 20px;
  border: 1px solid rgba(0,229,160,0.2);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,160,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(0,229,160,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -2px; max-width: 900px;
}

.hero-sub {
  color: var(--text-muted); font-size: clamp(16px, 2vw, 19px);
  max-width: 620px; line-height: 1.7;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(14,21,32,0.8); backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 40px; margin-top: 16px;
  flex-wrap: wrap; justify-content: center;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0 32px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800;
  color: var(--green); line-height: 1;
  letter-spacing: -1px;
}
.stat-suffix { font-size: 22px; font-weight: 700; color: var(--green); }
.stat-label { color: var(--text-muted); font-size: 13px; white-space: nowrap; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* ===== MARKET OVERVIEW ===== */
.market-overview {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 32px;
}
.index-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  transition: var(--transition);
}
.index-card:hover { border-color: var(--border-light); box-shadow: var(--shadow); }
.index-name { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; letter-spacing: 0.5px; }
.index-value {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; color: var(--text);
  margin-bottom: 6px; letter-spacing: -0.5px;
}
.index-change { font-size: 13px; font-weight: 600; }

/* ===== STOCK TABLE ===== */
.stock-table-wrapper {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.table-controls {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 14px; flex: 1; max-width: 280px;
}
.search-box svg { color: var(--text-muted); flex-shrink: 0; }
.search-box input {
  background: none; border: none; outline: none;
  color: var(--text); font-size: 14px; width: 100%;
}
.search-box input::placeholder { color: var(--text-muted); }
.filter-tabs { display: flex; gap: 4px; }
.filter-btn {
  background: none; border: 1px solid transparent;
  color: var(--text-muted); font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 6px; cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { color: var(--text); background: var(--bg-hover); }
.filter-btn.active { color: var(--green); background: rgba(0,229,160,0.1); border-color: rgba(0,229,160,0.2); }

.stock-table { width: 100%; overflow-x: auto; }
.table-head, .table-row {
  display: grid;
  grid-template-columns: 90px 1fr 100px 100px 90px 110px 100px 80px;
  padding: 12px 20px; align-items: center;
}
.table-head {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--text-muted);
  background: rgba(0,0,0,0.2); border-bottom: 1px solid var(--border);
}
.table-row {
  font-size: 14px; border-bottom: 1px solid rgba(30,45,61,0.5);
  transition: var(--transition); cursor: pointer;
}
.table-row:hover { background: var(--bg-hover); }
.table-row:last-child { border-bottom: none; }
.stock-code { font-weight: 700; color: var(--text); font-size: 13px; }
.stock-name { color: var(--text-muted); font-size: 13px; }
.price-cell { font-weight: 700; text-align: right; }
.chg-cell { font-weight: 600; text-align: right; }
.signal-cell { text-align: center; }
.signal-badge-sm {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; letter-spacing: 0.5px;
}
.signal-badge-sm.buy { background: rgba(0,229,160,0.15); color: var(--green); }
.signal-badge-sm.sell { background: rgba(239,68,68,0.15); color: var(--red); }
.signal-badge-sm.hold { background: rgba(245,158,11,0.15); color: var(--orange); }

.table-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-top: 1px solid var(--border);
  font-size: 13px;
}
.update-time { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); animation: pulse 1.5s infinite;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.feature-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--border-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card-large {
  grid-column: span 1;
  grid-row: span 2;
}
.feature-card:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.feature-card:nth-child(6) { grid-column: 3; grid-row: 1 / span 2; }

.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon.green { background: rgba(0,229,160,0.12); color: var(--green); }
.feature-icon.blue { background: rgba(59,130,246,0.12); color: var(--blue); }
.feature-icon.purple { background: rgba(139,92,246,0.12); color: var(--purple); }
.feature-icon.orange { background: rgba(245,158,11,0.12); color: var(--orange); }
.feature-icon.teal { background: rgba(20,184,166,0.12); color: var(--teal); }
.feature-icon.pink { background: rgba(236,72,153,0.12); color: var(--pink); }

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.feature-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.feature-tags span {
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  background: rgba(0,229,160,0.1); color: var(--green);
  border-radius: 4px; letter-spacing: 0.5px;
}
.alert-demo { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.alert-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card-2); border-radius: 8px;
  padding: 10px 12px; font-size: 13px; color: var(--text-dim);
}
.alert-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.alert-dot.green { background: var(--green); }
.alert-dot.orange { background: var(--orange); }
.alert-dot.red { background: var(--red); }
.alert-time { margin-left: auto; color: var(--text-muted); font-size: 12px; white-space: nowrap; }

/* ===== ANALYSIS TABS ===== */
.analysis-showcase { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.analysis-tabs {
  display: flex; border-bottom: 1px solid var(--border);
  padding: 0 24px; gap: 0;
}
.tab-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 14px; font-weight: 600;
  padding: 18px 20px; position: relative;
  transition: var(--transition); border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--green); border-bottom-color: var(--green); }

.tab-content { display: none; padding: 32px; }
.tab-content.active { display: block; }

.analysis-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chart-mockup { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.chart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.chart-symbol { font-weight: 800; font-size: 16px; margin-right: 8px; }
.chart-name { font-size: 13px; color: var(--text-muted); }
.chart-price { text-align: right; }
.price-val { font-weight: 700; font-size: 18px; display: block; }
.price-change { font-size: 13px; font-weight: 600; }
.indicator-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
.indicator {
  padding: 10px 14px; font-size: 12px; color: var(--text-muted);
  display: flex; flex-direction: column; gap: 3px;
  border-right: 1px solid var(--border);
}
.indicator:last-child { border-right: none; }
.indicator .val-positive { color: var(--green); font-weight: 700; }
.indicator .val-neutral { color: var(--orange); font-weight: 700; }

.signal-panel { display: flex; flex-direction: column; gap: 20px; }
.signal-header { display: flex; justify-content: space-between; align-items: center; }
.signal-header h4 { font-size: 16px; font-weight: 700; }
.signal-badge {
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 6px;
  letter-spacing: 0.5px;
}
.signal-badge.buy { background: rgba(0,229,160,0.15); color: var(--green); }
.signal-badge.sell { background: rgba(239,68,68,0.15); color: var(--red); }
.signal-badge.hold { background: rgba(245,158,11,0.15); color: var(--orange); }

.gauge-track {
  height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden;
}
.gauge-fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--orange), var(--green)); border-radius: 5px; }
.gauge-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); margin-top: 6px; }

.signal-breakdown { display: flex; flex-direction: column; gap: 12px; }
.breakdown-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.breakdown-dots { display: flex; gap: 8px; }
.dot { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.dot.sell { background: rgba(239,68,68,0.15); color: var(--red); }
.dot.neutral { background: rgba(245,158,11,0.15); color: var(--orange); }
.dot.buy { background: rgba(0,229,160,0.15); color: var(--green); }

.key-levels h5 { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.level-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.level-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px;
  display: flex; flex-direction: column; gap: 3px;
}
.level-item span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.level-item strong { font-size: 16px; font-weight: 700; }

/* Fundamental */
.fundamental-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fundamental-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.fundamental-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 18px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.metric-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px;
  gap: 8px;
}
.metric-row:last-child { border-bottom: none; }
.metric-row strong { font-weight: 700; }
.vs-sector { font-size: 12px; color: var(--text-muted); text-align: right; }
.vs-sector.positive { color: var(--green); }

/* Sentiment */
.sentiment-grid { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.sentiment-gauge-big h4 { font-size: 14px; font-weight: 700; color: var(--text-muted); margin-bottom: 16px; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; }
.big-gauge { position: relative; text-align: center; }
.gauge-svg { max-width: 200px; }
.gauge-score { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: 40px; font-weight: 800; font-family: var(--font-display); }
.gauge-label { font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: 2px; margin-top: 4px; }

.sentiment-breakdown { display: flex; flex-direction: column; gap: 20px; }
.sentiment-source { display: grid; grid-template-columns: 140px 1fr 100px; align-items: center; gap: 12px; font-size: 14px; }
.sentiment-bar { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; }
.bar-fill.positive { background: linear-gradient(90deg, #00E5A0, #4ade80); }
.bar-fill.neutral { background: var(--orange); }

/* Bandarmologi */
.bandar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bandar-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.bandar-card h4 { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.flow-indicator { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; background: rgba(0,229,160,0.15); color: var(--green); margin-bottom: 8px; }
.flow-amount { font-size: 28px; font-weight: 800; color: var(--green); font-family: var(--font-display); margin-bottom: 12px; }
.bandar-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.accumulation-chart { height: 80px; background: var(--bg-card); border-radius: 8px; margin: 12px 0; position: relative; overflow: hidden; }
.pattern-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px; background: var(--bg-card-2); color: var(--text-dim); }
.tag.green { background: rgba(0,229,160,0.1); color: var(--green); }
.broker-flow { display: flex; flex-direction: column; gap: 10px; }
.broker-row { display: grid; grid-template-columns: 40px 1fr 70px; align-items: center; gap: 10px; font-size: 13px; }
.mini-bar { height: 6px; background: var(--bg-card); border-radius: 3px; overflow: hidden; }
.bar-buy { height: 100%; background: var(--green); border-radius: 3px; }
.bar-sell { height: 100%; background: var(--red); border-radius: 3px; }

/* ===== AI PREDICTION ===== */
.ai-features { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ai-badge {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 28px;
}
.ai-icon { flex-shrink: 0; }
.ai-title { font-weight: 700; font-size: 16px; }
.ai-sub { font-size: 13px; color: var(--green); font-weight: 500; }
.ai-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.ai-metric {
  text-align: center; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 12px;
}
.metric-val { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 6px; }
.metric-lbl { font-size: 12px; color: var(--text-muted); text-align: center; }
.ai-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ai-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-dim); }

.prediction-cards { display: flex; flex-direction: column; gap: 16px; }
.pred-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  transition: var(--transition);
}
.pred-card:hover { border-color: var(--border-light); box-shadow: var(--shadow); }
.pred-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.pred-code { font-size: 16px; font-weight: 800; }
.pred-name { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.pred-signal { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 6px; letter-spacing: 1px; }
.pred-signal.bullish { background: rgba(0,229,160,0.15); color: var(--green); }
.pred-signal.bearish { background: rgba(239,68,68,0.15); color: var(--red); }
.pred-signal.neutral { background: rgba(245,158,11,0.15); color: var(--orange); }
.pred-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pred-label { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 3px; }
.pred-val { font-size: 20px; font-weight: 800; font-family: var(--font-display); }
.pred-val.green { color: var(--green); }
.pred-val.red { color: var(--red); }
.pred-confidence { margin-bottom: 12px; }
.conf-bar { height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.conf-fill { height: 100%; background: var(--green); border-radius: 3px; }
.conf-fill.orange { background: var(--orange); }
.conf-fill.yellow { background: var(--orange); }
.pred-confidence span { font-size: 12px; color: var(--text-muted); }
.pred-factors { display: flex; gap: 6px; flex-wrap: wrap; }
.factor { font-size: 11px; padding: 3px 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 4px; color: var(--text-muted); }

/* ===== MEMBERSHIP ===== */
.membership-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.benefit-col h3, .testimonials-col h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.benefit-list { display: flex; flex-direction: column; gap: 16px; }
.benefit-item { display: flex; gap: 16px; }
.benefit-icon { font-size: 24px; flex-shrink: 0; }
.benefit-item strong { display: block; font-size: 15px; margin-bottom: 3px; }
.benefit-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.testimonials-slider { position: relative; min-height: 180px; }
.testimonial { display: none; }
.testimonial.active { display: block; }
.testi-quote {
  font-size: 16px; line-height: 1.7; color: var(--text-dim);
  font-style: italic; margin-bottom: 20px;
  padding-left: 20px; border-left: 3px solid var(--green);
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #22d3ee);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #080d16;
}
.testi-author strong { display: block; font-size: 15px; }
.testi-author span { font-size: 13px; color: var(--text-muted); }
.testi-stars { margin-left: auto; color: var(--orange); font-size: 14px; }
.testi-dots { display: flex; gap: 6px; margin-top: 20px; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); cursor: pointer; transition: var(--transition);
}
.testi-dot.active { background: var(--green); width: 24px; border-radius: 4px; }

.trust-bar {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 32px;
  padding: 28px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.trust-item svg { color: var(--green); }

/* ===== PRICING ===== */
.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 48px;
}
.toggle-label { font-size: 15px; font-weight: 600; color: var(--text-dim); }
.toggle-switch { position: relative; width: 52px; height: 28px; display: block; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: var(--border);
  border-radius: 14px; transition: var(--transition);
}
.toggle-slider::before {
  content: ''; position: absolute;
  width: 22px; height: 22px; border-radius: 50%;
  background: white; top: 3px; left: 3px;
  transition: var(--transition);
}
input:checked + .toggle-slider { background: var(--green); }
input:checked + .toggle-slider::before { transform: translateX(24px); }
.save-badge {
  background: rgba(0,229,160,0.15); color: var(--green);
  font-size: 11px; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; letter-spacing: 0.5px;
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px;
  position: relative; transition: var(--transition);
}
.pricing-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-lg); }
.pricing-card.popular {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-green);
  transform: scale(1.02);
}
.pricing-card.elite { border-color: rgba(245,158,11,0.4); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #080d16;
  font-size: 12px; font-weight: 800; padding: 4px 16px;
  border-radius: 20px; white-space: nowrap;
}
.plan-label { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.plan-price { display: flex; align-items: flex-end; gap: 2px; margin-bottom: 8px; line-height: 1; }
.currency { font-size: 18px; font-weight: 700; color: var(--text-dim); align-self: flex-start; padding-top: 6px; }
.amount { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--text); }
.period { font-size: 14px; color: var(--text-muted); padding-bottom: 6px; }
.plan-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; min-height: 40px; }
.btn-plan {
  display: block; text-align: center; text-decoration: none;
  font-size: 15px; font-weight: 700; padding: 13px;
  border-radius: 10px; margin-bottom: 28px;
  transition: var(--transition); cursor: pointer; border: none;
}
.btn-plan.outline { background: var(--bg); border: 1.5px solid var(--border); color: var(--text); }
.btn-plan.outline:hover { border-color: var(--green); color: var(--green); }
.btn-plan.primary { background: linear-gradient(135deg, var(--green), #22c55e); color: #080d16; box-shadow: 0 0 24px rgba(0,229,160,0.3); }
.btn-plan.primary:hover { box-shadow: 0 0 40px rgba(0,229,160,0.5); transform: translateY(-2px); }
.btn-plan.elite { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #080d16; box-shadow: 0 0 24px rgba(245,158,11,0.3); }
.btn-plan.elite:hover { box-shadow: 0 0 40px rgba(245,158,11,0.5); transform: translateY(-2px); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.plan-features li.has { color: var(--text-dim); }
.plan-features li.no { color: var(--text-muted); }
.pricing-note {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 32px;
  font-size: 14px; color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq-container { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; font-size: 15px; font-weight: 600; color: var(--text);
  gap: 16px; transition: var(--transition);
}
.faq-q:hover { color: var(--green); background: rgba(0,229,160,0.02); }
.faq-q svg { flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--green); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 14px; color: var(--text-muted); line-height: 1.8;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 22px; }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative; text-align: center;
  padding: 100px 0; overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,160,0.12) 0%, rgba(34,197,94,0.06) 50%, rgba(56,189,248,0.08) 100%);
}
.cta-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,229,160,0.08), transparent);
}
.cta-inner { position: relative; z-index: 2; }
.cta-badge {
  display: inline-flex; align-items: center;
  background: rgba(0,229,160,0.1); color: var(--green);
  font-size: 13px; font-weight: 700; padding: 8px 18px;
  border-radius: 20px; border: 1px solid rgba(0,229,160,0.2);
  margin-bottom: 20px;
}
.cta-section h2 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.cta-section p { font-size: 18px; color: var(--text-muted); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.cta-note { font-size: 13px; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--green); color: var(--green); background: var(--green-glow); }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; flex-direction: column; gap: 6px;
  align-items: center; text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.disclaimer { font-size: 12px; max-width: 600px; color: var(--text-muted); opacity: 0.7; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 50;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-dim); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { border-color: var(--green); color: var(--green); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .market-overview { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(1),
  .feature-card:nth-child(6) { grid-column: span 1; grid-row: span 1; }
  .ai-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .analysis-card-grid { grid-template-columns: 1fr; }
  .fundamental-grid { grid-template-columns: 1fr; }
  .bandar-grid { grid-template-columns: 1fr; }
  .sentiment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-card); border-bottom: 1px solid var(--border);
    padding: 16px; gap: 4px; z-index: 100;
  }
  .hamburger { display: flex; }
  .navbar { top: 52px; }

  .hero-stats { flex-direction: column; gap: 24px; padding: 24px; }
  .stat-divider { width: 100%; height: 1px; }
  .stat-item { flex-direction: row; gap: 16px; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .membership-benefits { grid-template-columns: 1fr; }
  .market-overview { grid-template-columns: 1fr 1fr; }
  .table-head, .table-row { grid-template-columns: 70px 1fr 90px 80px; }
  .table-head > :nth-child(5),
  .table-head > :nth-child(6),
  .table-head > :nth-child(7),
  .table-row > :nth-child(5),
  .table-row > :nth-child(6),
  .table-row > :nth-child(7) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hero-cta { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .analysis-tabs { overflow-x: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .market-overview { grid-template-columns: 1fr 1fr; gap: 10px; }
  .index-card { padding: 14px 16px; }
  .index-value { font-size: 18px; }
  .hero-stats { padding: 16px; }
  .stat-number { font-size: 28px; }
  .filter-tabs { flex-wrap: wrap; }
  .ticker-bar { height: 42px; }
  .navbar { top: 42px; }
}
