/* TechAWorld Indonesia — Bento Tech-Sport Dark Slate-Emerald Telemetry (.tw-) */
:root {
  --tw-bg: #090E17;
  --tw-surface: #101827;
  --tw-surface-2: #162133;
  --tw-ink: #F8FAFC;
  --tw-ink-2: #CBD5E1;
  --tw-muted: #94A3B8;
  --tw-em: #10B981;
  --tw-em-dark: #059669;
  --tw-cyan: #06B6D4;
  --tw-amber: #F59E0B;
  --tw-border: rgba(148, 163, 184, 0.18);
  --tw-border-hi: rgba(16, 185, 129, 0.42);
  --tw-r-sm: 8px;
  --tw-r-md: 14px;
  --tw-r-lg: 18px;
  --tw-f-disp: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --tw-f-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --tw-f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--tw-bg);
  color: var(--tw-ink);
  font-family: var(--tw-f-body);
  font-size: 16px;
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
}

a { color: #34D399; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: #67E8F9; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--tw-cyan);
  outline-offset: 2px;
}

.tw-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Sticky Compact Header */
.tw-hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 14, 23, 0.94);
  border-bottom: 1px solid var(--tw-border);
}
.tw-hdr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
}
.tw-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tw-ink);
  text-decoration: none;
  font-family: var(--tw-f-disp);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.tw-brand:hover { color: var(--tw-ink); }
.tw-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--tw-em), var(--tw-cyan));
  color: #04120E;
  font-family: var(--tw-f-mono);
  font-weight: 800;
  font-size: 13px;
}
.tw-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tw-nav::-webkit-scrollbar { display: none; }
.tw-nav a {
  color: var(--tw-ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--tw-r-sm);
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background-color 150ms ease, color 150ms ease;
}
.tw-nav a:hover, .tw-nav a[aria-current="page"] {
  background: var(--tw-surface-2);
  color: var(--tw-ink);
}
.tw-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--tw-em);
}

/* Telemetry Status Strip */
.tw-strip {
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-border);
  font-family: var(--tw-f-mono);
  font-size: 12px;
  color: var(--tw-muted);
}
.tw-strip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.tw-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #A7F3D0;
  font-weight: 700;
}
.tw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tw-em);
  flex-shrink: 0;
}

/* Bento Hero */
.tw-hero {
  padding: 28px 0 24px;
  background: radial-gradient(760px circle at 15% 0%, rgba(16, 185, 129, 0.12), transparent 62%),
              radial-gradient(640px circle at 90% 10%, rgba(6, 182, 212, 0.11), transparent 60%),
              var(--tw-bg);
  border-bottom: 1px solid var(--tw-border);
}
.tw-hero-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: start;
}
.tw-kicker {
  display: inline-block;
  font-family: var(--tw-f-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #67E8F9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
h1 {
  margin: 0 0 12px;
  font-family: var(--tw-f-disp);
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--tw-ink);
  font-weight: 800;
}
.tw-lead {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--tw-ink-2);
}
.tw-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tw-btn, .tw-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--tw-r-sm);
  font-family: var(--tw-f-disp);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  touch-action: manipulation;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}
.tw-btn {
  background: var(--tw-em);
  color: #031510;
}
.tw-btn:hover { background: #34D399; color: #031510; }
.tw-btn:active, .tw-btn-ghost:active { transform: scale(0.97); }
.tw-btn-ghost {
  background: var(--tw-surface);
  color: var(--tw-ink);
  border-color: var(--tw-border-hi);
}
.tw-btn-ghost:hover { background: var(--tw-surface-2); color: var(--tw-ink); }

/* Interactive Telemetry Console (Single Clean Surface) */
.tw-console {
  background: var(--tw-surface);
  border: 1px solid var(--tw-border-hi);
  border-radius: var(--tw-r-lg);
  padding: 18px;
}
.tw-console-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--tw-ink);
}
.tw-console-sub {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--tw-muted);
}
.tw-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.tw-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tw-ink-2);
  margin-bottom: 4px;
}
.tw-field input, .tw-field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--tw-r-sm);
  border: 1px solid var(--tw-border);
  background: var(--tw-bg);
  color: var(--tw-ink);
  font-family: var(--tw-f-mono);
  font-size: 16px;
  font-weight: 700;
}
.tw-out-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--tw-border);
}
.tw-metric small {
  display: block;
  font-size: 11.5px;
  color: var(--tw-muted);
  margin-bottom: 2px;
}
.tw-metric strong {
  font-family: var(--tw-f-mono);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  color: #34D399;
}
.tw-metric strong.tw-cy { color: #67E8F9; }
.tw-metric strong.tw-am { color: #FBBF24; }

/* Main Bento Sections */
main { padding: 30px 0 48px; }
.tw-sec { margin-bottom: 34px; }
.tw-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tw-border);
}
h2 {
  margin: 0;
  font-family: var(--tw-f-disp);
  font-size: clamp(20px, 2.4vw, 25px);
  letter-spacing: -0.02em;
  color: var(--tw-ink);
  font-weight: 800;
}
h3 {
  margin: 0 0 8px;
  font-family: var(--tw-f-disp);
  font-size: 17px;
  color: var(--tw-ink);
  font-weight: 800;
}
.tw-meta {
  font-family: var(--tw-f-mono);
  font-size: 12px;
  color: var(--tw-muted);
}

.tw-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tw-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tw-card {
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-r-md);
  padding: 18px;
}
.tw-card p { margin: 0 0 10px; color: var(--tw-ink-2); font-size: 15px; }
.tw-card p:last-child { margin-bottom: 0; }
.tw-num-tag {
  display: inline-block;
  font-family: var(--tw-f-mono);
  font-size: 12px;
  font-weight: 700;
  color: #67E8F9;
  margin-bottom: 6px;
}

/* Tables */
.tw-tbl-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-r-md);
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
thead th {
  text-align: left;
  padding: 11px 12px;
  background: var(--tw-surface-2);
  color: #E2E8F0;
  font-family: var(--tw-f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-bottom: 1px solid var(--tw-border);
}
tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--tw-border);
  color: var(--tw-ink-2);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(16, 185, 129, 0.06); }
.tw-mono {
  font-family: var(--tw-f-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--tw-ink);
  white-space: nowrap;
}
.tw-ok { color: #34D399; }
.tw-hi { color: #67E8F9; }

/* Breadcrumb & Code Formula */
.tw-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--tw-f-mono);
  font-size: 12px;
  color: var(--tw-muted);
  margin-bottom: 12px;
}
.tw-crumb a { color: #67E8F9; text-decoration: none; }
.tw-crumb a:hover { text-decoration: underline; }
.tw-formula {
  background: #060A12;
  border: 1px solid var(--tw-border);
  border-left: 3px solid var(--tw-em);
  border-radius: var(--tw-r-sm);
  padding: 14px 16px;
  font-family: var(--tw-f-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: #E2E8F0;
  overflow-x: auto;
  margin: 14px 0;
}

/* FAQ Hairline */
.tw-faq {
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-r-md);
  padding: 4px 18px;
}
.tw-faq-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--tw-border);
}
.tw-faq-row:last-child { border-bottom: none; }
.tw-faq-row h3 { font-size: 16px; margin-bottom: 5px; color: var(--tw-ink); }
.tw-faq-row p { margin: 0; font-size: 15px; color: var(--tw-ink-2); }

/* Footer */
.tw-ftr {
  background: #060A11;
  border-top: 1px solid var(--tw-border);
  padding: 32px 0 28px;
  color: var(--tw-muted);
  font-size: 14px;
}
.tw-ftr-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}
.tw-ftr-h {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--tw-ink);
}
.tw-ftr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.tw-ftr-list a { color: var(--tw-ink-2); text-decoration: none; }
.tw-ftr-list a:hover { color: #34D399; text-decoration: underline; }
.tw-ftr-bot {
  padding-top: 16px;
  border-top: 1px solid var(--tw-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

@media (max-width: 900px) {
  .tw-hero-bento, .tw-grid-3, .tw-ftr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tw-wrap { padding: 0 14px; }
  .tw-hdr-row { flex-wrap: wrap; padding: 8px 0; gap: 6px; }
  .tw-nav { width: 100%; padding-bottom: 4px; }
  .tw-grid-2, .tw-form, .tw-out-row { grid-template-columns: 1fr; }
  .tw-btn, .tw-btn-ghost { width: 100%; }
  .tw-card, .tw-console { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
