/* ============================================================
   BURSALYX — LANDING STYLES
   Turunan DNA MEA Ecosystem (token warna, font, spacing, header,
   footer) — section badan halaman didesain khusus untuk Bursalyx.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: var(--mea-bg, #010615);
  --surface: var(--mea-surface, #0A0A0A);
  --surface-2: var(--mea-surface-raised, #121212);
  --border: var(--mea-border, #2A2A2A);
  --border-2: var(--mea-border-strong, #3A3A3A);
  --text: var(--mea-text-primary, #FAFAFA);
  --text-2: var(--mea-text-secondary, #A1A1A1);
  --text-3: var(--mea-text-muted, #6B6B6B);
  --accent: var(--mea-accent, #3B82F6);
  --accent-2: var(--mea-accent-hover, #2563EB);
  --accent-dim: var(--mea-accent-muted, rgba(59, 130, 246, 0.12));
  --accent-text: var(--mea-accent-text, #81D4FA);
  --green: var(--mea-success, #22C55E);
  --red: var(--mea-danger, #EF4444);

  --glass-bg: rgba(22, 22, 22, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px) saturate(140%);

  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', monospace;

  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

/* ============================================================
   RESET
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--border-2) transparent;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

body {
  background:
    radial-gradient(ellipse 900px 600px at 50% -10%, rgba(59, 130, 246, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 85% 15%, rgba(59, 130, 246, 0.04), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 2.5rem);
}

/* ============================================================
   GLASS
   ============================================================ */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* ============================================================
   BUTTONS (dari DNA induk)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #061121; }
.btn-primary:hover { background: #ffffff; transform: translateY(-1px); }

.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--accent-dim); }

.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ============================================================
   HEADER (struktur sama dengan induk, isi disesuaikan)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(8, 17, 32, 0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-lockup { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 26px; height: 26px; flex-shrink: 0; }
.brand-icon svg { width: 100%; height: 100%; }

.brand-lockup .brand {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--text);
}

.header-right { display: flex; align-items: center; gap: 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(64px + clamp(3rem, 8vw, 5rem)) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: auroraDrift 22s ease-in-out infinite;
}

.aurora span:nth-child(1) {
  width: 480px; height: 480px;
  top: -140px; left: 8%;
  background: radial-gradient(circle, rgba(59,130,246,0.55), transparent 70%);
}

.aurora span:nth-child(2) {
  width: 420px; height: 420px;
  top: 10%; right: 4%;
  background: radial-gradient(circle, rgba(129,212,250,0.4), transparent 70%);
  animation-delay: -7s;
}

.aurora span:nth-child(3) {
  width: 360px; height: 360px;
  bottom: -120px; left: 35%;
  background: radial-gradient(circle, rgba(37,99,235,0.35), transparent 70%);
  animation-delay: -14s;
}

@keyframes auroraDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora span { animation: none; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 2.5rem);
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 14ch;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 54ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   TICKER — strip bergerak, bukan card
   ============================================================ */
.ticker-section {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 20px 0;
}

.ticker-label-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.ticker-label {
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.ticker-track-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-duration: 90s; }
}

.ticker-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 28px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.ticker-symbol {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.ticker-price {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-2);
}

.ticker-change {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.ticker-change.up { color: var(--green); }
.ticker-change.down { color: var(--red); }

/* ============================================================
   SECTIONS GENERIC
   ============================================================ */
.section { position: relative; padding: clamp(4rem, 10vw, 7rem) 0; }

.section-head { max-width: 640px; margin-bottom: 48px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-text);
  margin-bottom: 14px;
}

.section-head h2,
.apa-itu-lead h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-head p { color: var(--text-2); font-size: 1.05rem; line-height: 1.65; }

/* ============================================================
   APA ITU — layout asimetris, divider tipis, no card
   ============================================================ */
.apa-itu-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.apa-itu-lead { position: sticky; top: 100px; }
.apa-itu-lead p { color: var(--text-2); font-size: 1.05rem; line-height: 1.65; max-width: 36ch; }

.apa-itu-points {
  display: flex;
  flex-direction: column;
}

.apa-itu-point {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.apa-itu-point:first-child { padding-top: 0; }
.apa-itu-point:last-child { border-bottom: none; }

.apa-itu-point h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 10px;
}

.apa-itu-point p { color: var(--text-2); font-size: 1rem; line-height: 1.65; max-width: 60ch; }

@media (max-width: 860px) {
  .apa-itu-grid { grid-template-columns: 1fr; gap: 2rem; }
  .apa-itu-lead { position: static; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:first-child { padding-top: 0; }

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 68ch;
}

/* ============================================================
   NOTIFY
   ============================================================ */
.notify-section { border-top: 1px solid var(--border); }

.notify-inner { max-width: 560px; }

.notify-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 14px;
}

.notify-inner p {
  color: var(--text-2);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ============================================================
   FOOTER — struktur identik induk, isi disesuaikan.
   HANYA border-top bawaan .site-footer — tidak ada garis lain.
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-logo-animated { width: 20px; height: auto; flex-shrink: 0; }

.footer-copyright { font-size: 13px; color: var(--text-3); }

.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social svg { width: 18px; height: 18px; color: var(--text-3); transition: color 0.2s ease; }
.footer-social a:hover svg { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero-content { text-align: left; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
