/* ═══════════════════════════════════════════════════════════════
   HeroicSupport — style.css
   Dark theme · Space Grotesk headlines · Inter body
═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:          #08080f;
  --bg-card:     #0f0f1a;
  --bg-elevated: #141424;
  --accent:      #6C63FF;
  --accent-dim:  rgba(108, 99, 255, 0.15);
  --accent-glow: rgba(108, 99, 255, 0.25);
  --text-primary:   #f0f0fa;
  --text-secondary: rgba(240, 240, 250, 0.48);
  --text-muted:     rgba(240, 240, 250, 0.28);
  --border:         rgba(255, 255, 255, 0.07);
  --border-strong:  rgba(255, 255, 255, 0.12);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --max-width: 1120px;
  --nav-h: 68px;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: #5a52e0; border-color: #5a52e0; transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); }

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn--ghost:hover { color: var(--text-primary); }

.btn--lg { padding: 13px 28px; font-size: 15px; }
.btn--block { width: 100%; justify-content: center; padding: 13px; }

/* ─── SECTION SHARED ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(8, 8, 15, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.navbar.scrolled { background: rgba(8, 8, 15, 0.96); }
.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  flex-shrink: 0;
}
.navbar__logo-img { height: 32px; width: auto; }
.navbar__logo-fallback {
  display: none; /* shown via JS/onerror */
  align-items: center;
  gap: 8px;
}
.navbar__logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.navbar__links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.navbar__links a:hover { color: var(--text-primary); }
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.navbar__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  padding-left: 32px;
  padding-right: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.hero__glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}
.hero__glow--top {
  width: 600px; height: 400px;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(108,99,255,0.2) 0%, transparent 70%);
}
.hero__glow--left {
  width: 300px; height: 300px;
  top: 40%; left: -100px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.1) 0%, transparent 70%);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(108,99,255,0.3);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: #a8a2ff;
  letter-spacing: 0.2px;
  margin-bottom: 28px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero__title-accent { color: var(--accent); }

.hero__subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.72;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero__note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__visual-glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(108,99,255,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.hero__screen {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 1px rgba(108,99,255,0.1), 0 32px 64px rgba(0,0,0,0.5);
}
.hero__screen-bar {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.hero__screen-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.hero__screen-bar span:nth-child(1) { background: rgba(255,100,100,0.4); }
.hero__screen-bar span:nth-child(2) { background: rgba(255,200,50,0.4); }
.hero__screen-bar span:nth-child(3) { background: rgba(80,200,100,0.4); }
.hero__screen-body { padding: 20px; }

/* Mock UI inside hero */
.mock-ticket {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}
.mock-ticket__header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  flex-shrink: 0;
}
.mock-line {
  height: 8px;
  background: var(--border-strong);
  border-radius: 4px;
}
.mock-line--sm { height: 8px; width: 120px; }
.mock-line--xs { height: 6px; margin-top: 5px; }
.mock-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
}
.mock-badge--open {
  background: rgba(108,99,255,0.15);
  color: #a8a2ff;
  border: 1px solid rgba(108,99,255,0.3);
}
.mock-ai {
  margin-top: 14px;
  padding: 12px;
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.18);
  border-radius: var(--radius-sm);
}
.mock-ai__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}
.mock-stats {
  display: flex;
  gap: 10px;
}
.mock-stat {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.mock-stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}
.mock-stat__label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   LOGO BAR
═══════════════════════════════════════════════════════════════ */
.logobar {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.logobar__label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.logobar__track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logobar__item {
  /*
    Ganti konten <div> ini dengan:
    <img src="assets/logo/partner-nama.svg" alt="Nama Partner" />
  */
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.2s;
  letter-spacing: 0.5px;
}
.logobar__item:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════════════ */
.features {
  padding: 100px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  position: relative;
}
.feature-card:hover {
  border-color: rgba(108,99,255,0.3);
  background: rgba(108,99,255,0.04);
  transform: translateY(-2px);
}
.feature-card--large {
  grid-column: span 2;
}
.feature-card--wide {
  grid-column: span 2;
}
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(108,99,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.feature-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.feature-card__tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--accent-dim);
  color: #a8a2ff;
  border: 1px solid rgba(108,99,255,0.25);
}

/* ═══════════════════════════════════════════════════════════════
   DEMO VIDEO
═══════════════════════════════════════════════════════════════ */
.demo-section { padding: 80px 0; }
.demo-video {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  aspect-ratio: 16/9;
  position: relative;
  box-shadow: 0 0 0 1px rgba(108,99,255,0.08), 0 24px 48px rgba(0,0,0,0.4);
}
.demo-video__player {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.demo-video__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-card);
}
.demo-video__play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.demo-video__play-btn:hover { transform: scale(1.08); background: #5a52e0; }
.demo-video__placeholder p {
  font-size: 15px;
  color: var(--text-secondary);
}
.demo-video__placeholder span {
  font-size: 13px;
  color: var(--text-muted);
}
.demo-video__placeholder code {
  font-family: monospace;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════════ */
.stats-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-card {
  background: var(--bg-card);
  padding: 40px 32px;
  text-align: center;
  transition: background 0.2s;
}
.stat-card:hover { background: var(--bg-elevated); }
.stat-card__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.stat-card__label {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 140px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════════ */
.pricing { padding: 100px 0; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s;
  position: relative;
}
.pricing-card:hover { border-color: var(--border-strong); }
.pricing-card--featured {
  border-color: rgba(108,99,255,0.45);
  background: rgba(108,99,255,0.04);
  box-shadow: 0 0 0 1px rgba(108,99,255,0.15), 0 20px 40px rgba(0,0,0,0.3);
}
.pricing-card__popular {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card__tier {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text-primary);
}
.pricing-card__price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0;
}
.pricing-card__period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-card__features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════════ */
.cta-section { padding: 80px 0; }
.cta-box {
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.22);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box__glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.2) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.cta-box__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.cta-box__sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}
.cta-box__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand .navbar__logo { margin-bottom: 14px; }
.footer__tagline {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 240px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer__socials { display: flex; gap: 10px; }
.footer__social {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.footer__social:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.footer__links-group { display: flex; flex-direction: column; gap: 10px; }
.footer__links-group h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.footer__links-group a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.footer__links-group a:hover { color: var(--text-primary); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p {
  font-size: 13px;
  color: var(--text-muted);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer__legal a:hover { color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__content > * { animation: fadeUp 0.6s ease both; }
.hero__badge           { animation-delay: 0.05s; }
.hero__title           { animation-delay: 0.15s; }
.hero__subtitle        { animation-delay: 0.25s; }
.hero__cta             { animation-delay: 0.32s; }
.hero__note            { animation-delay: 0.38s; }
.hero__visual          { animation: fadeUp 0.7s 0.2s ease both; }

/* Scroll reveal (class added by JS) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large,
  .feature-card--wide { grid-column: span 2; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-h) + 40px);
    text-align: center;
    gap: 48px;
  }
  .hero__subtitle { max-width: 100%; }
  .hero__cta { justify-content: center; }
  .hero__glow--left { display: none; }
  .navbar__links,
  .navbar__actions { display: none; }
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(8,8,15,0.98);
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .navbar__burger { display: flex; }
  .features__grid { grid-template-columns: 1fr; }
  .feature-card--large,
  .feature-card--wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 20px; }
  .cta-box { padding: 48px 24px; }
  .hero__screen { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
