/**
 * Nusantara Ekosistem — Landing Page Stylesheet
 * assets/index.css
 */

:root {
  --bg-dark: #03060a;
  --bg-darker: #020407;
  --accent: #e43a2b;
  --accent-hover: #ff4d3d;
  --accent-gradient: linear-gradient(135deg, #e43a2b, #ff7142);
  --accent-2: #3fb0ff;
  --accent-2-gradient: linear-gradient(135deg, #3fb0ff, #0077ff);
  --accent-3: #10b981;
  --accent-3-gradient: linear-gradient(135deg, #10b981, #059669);
  --accent-4: #8b5cf6;
  --accent-4-gradient: linear-gradient(135deg, #8b5cf6, #6d28d9);
  --gold: #d4a94f;
  --muted: #94a3b8;
  --text: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.02);
  --card-border: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(6, 11, 20, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Removed container padding override to prevent horizontal scrolling with .row negative margins */

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Outfit', sans-serif;
}

/* Grid Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

/* Blob Decorations */
.blob {
  position: absolute;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  border-radius: 50%;
}
.blob-1 { top: -100px; left: -100px; width: 400px; height: 400px; background: var(--accent); }
.blob-2 { top: 40%; right: -150px; width: 500px; height: 500px; background: var(--accent-2); opacity: 0.2; }
.blob-3 { bottom: 10%; left: 10%; width: 350px; height: 350px; background: var(--accent-4); opacity: 0.15; }

/* Navigation */
.site-nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  padding: 0;
}

.site-nav .container {
  max-width: 1140px;
  padding-left: max(14px, env(safe-area-inset-left));
  padding-right: max(14px, env(safe-area-inset-right));
}

.nav-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 60px;
  width: 100%;
}

.site-nav .navbar-brand {
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  margin-right: 0;
  padding: 0;
  color: #fff;
}

.brand-text { line-height: 1.2; }
.brand-text--full { display: none; }
.brand-text--short { display: inline; }

.nav-logo { width: 34px; height: 34px; min-width: 34px; border-radius: 8px; object-fit: cover; }

.site-nav .navbar-toggler {
  padding: 7px 10px;
  border: 1px solid var(--glass-border) !important;
  border-radius: 10px;
  flex-shrink: 0;
  margin-left: 8px;
}

.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(228, 58, 43, 0.25); }

.site-nav .nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 10px 14px;
  transition: color 0.2s, background 0.2s;
  border-radius: 8px;
  text-align: center;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: #fff; background: rgba(255,255,255,0.05); }

.nav-auth-btns { gap: 8px; flex-wrap: wrap; }
.nav-auth-btns .btn-custom { padding: 8px 16px; font-size: 0.875rem; white-space: nowrap; }

/* Buttons */
.btn-custom {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-gradient {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(228, 58, 43, 0.3);
}
.btn-gradient:hover {
  background: linear-gradient(135deg, #ff4d3d, #ff8c6b);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(228, 58, 43, 0.4);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  position: relative;
  padding: clamp(110px, 18vw, 160px) 0 clamp(60px, 10vw, 100px);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(228, 58, 43, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(63, 176, 255, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: -1;
}
.hero .container { position: relative; z-index: 1; }
.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-inline: 4px;
}
.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(63, 176, 255, 0.1);
  border: 1px solid rgba(63, 176, 255, 0.2);
  color: var(--accent-2);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(1.85rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-inline: auto;
}
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: clamp(32px, 6vw, 60px);
  max-width: 640px;
  margin-inline: auto;
}
.pillar-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(0.78rem, 2.5vw, 0.95rem);
  color: var(--text);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  min-height: 48px;
}
.pillar-pill:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.pillar-pill i { font-size: 1.2rem; }
.c-1 { color: var(--accent); }
.c-2 { color: var(--accent-2); }
.c-3 { color: var(--accent-3); }
.c-4 { color: var(--accent-4); }
.c-3d { color: #f59e0b; }
.text-gradient-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #ff6b4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-badge-special {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(228, 58, 43, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.12);
}
.hero-badge-special:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(228, 58, 43, 0.25));
  border-color: rgba(245, 158, 11, 0.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.3);
}
.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: badgePulseAnim 1.8s infinite;
  flex-shrink: 0;
}
@keyframes badgePulseAnim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.pillar-pill--special {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0.02));
}
.pillar-pill--special:hover {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
  color: #fff;
}

/* Sections General */
.section {
  padding: clamp(56px, 8vw, 100px) 0;
  position: relative;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.2;
}
.section-lead {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: #e2e8f0 !important;
}
.text-muted {
  color: #cbd5e1 !important;
}
.section-header {
  margin-bottom: 60px;
  text-align: center;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.badge-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cards */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-5px);
  background: rgba(255,255,255,0.03);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* Simulator Section specific */
.preview-frame {
  padding: 8px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  border: 1px solid var(--card-border);
}
.preview-frame img {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  width: 100%;
  display: block;
}
.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap: 12px;
}

/* Station slider */
.station-slider-wrap { margin-top: 8px; }
.station-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-inline: 2px;
}
.station-slider-head h4 { margin: 0; font-size: clamp(1.1rem, 3vw, 1.35rem); }
.station-slider-nav { display: flex; gap: 8px; flex-shrink: 0; }
.slider-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.slider-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.slider-btn:disabled { opacity: 0.35; cursor: default; }
.station-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.station-slider::-webkit-scrollbar { display: none; }
.station-slide {
  flex: 0 0 min(72vw, 260px);
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .station-slide { flex-basis: min(42vw, 300px); }
}
@media (min-width: 1200px) {
  .station-slide { flex-basis: 280px; }
}
.station-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.station-card img {
  width: 100%; height: auto; object-fit: contain; display: block;
  transition: transform 0.5s;
}
.station-card:hover img { transform: scale(1.1); }
.station-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.station-name {
  position: absolute; bottom: 12px; left: 12px; z-index: 1;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem;
}

/* Pricing */
.price-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.1); }
.price-card.featured {
  background: linear-gradient(180deg, rgba(228, 58, 43, 0.05), rgba(255, 255, 255, 0.02));
  border-color: rgba(228, 58, 43, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.price-card.featured::before {
  content: 'Paling Diminati';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff; font-size: 0.8rem; font-weight: 700;
  padding: 4px 16px; border-radius: 99px;
}
.price-header { margin-bottom: 24px; border-bottom: 1px solid var(--card-border); padding-bottom: 24px; }
.price-header h4 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.price-amount { font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 800; font-family: 'Outfit', sans-serif; }
.price-amount span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-features { list-style: none; padding: 0; margin: 0 0 32px 0; flex: 1; }
.price-features li { margin-bottom: 12px; color: var(--text); font-size: 0.95rem; display: flex; align-items: flex-start; gap: 10px; }
.price-features li i { color: var(--accent-3); margin-top: 4px; }

  /* Lintas embed & preview */
.lintas-embed {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  height: clamp(260px, 50vw, 380px);
}
.lintas-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.lintas-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
  background:
    radial-gradient(circle at 30% 40%, rgba(63, 176, 255, 0.15), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(16, 185, 129, 0.1), transparent 45%),
    linear-gradient(160deg, rgba(6, 11, 20, 0.9), rgba(3, 6, 10, 0.95));
  position: relative;
  overflow: hidden;
}
.lintas-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(63, 176, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 176, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}
.lintas-preview > * { position: relative; z-index: 1; }
.lintas-preview i.main-icon {
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  color: var(--accent-2);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 20px rgba(63, 176, 255, 0.35));
}
.lintas-preview h4 { margin: 0 0 8px; font-size: clamp(1rem, 3vw, 1.2rem); }
.lintas-preview p { color: var(--muted); font-size: 0.9rem; margin: 0 0 16px; max-width: 280px; }

.lintas-feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  height: 100%;
}
.lintas-feature-card:hover {
  border-color: rgba(63, 176, 255, 0.35);
  background: rgba(63, 176, 255, 0.06);
  color: #fff;
  transform: translateY(-2px);
}
.lintas-feature-card .feature-icon {
  width: 44px; height: 44px; min-width: 44px;
  margin-bottom: 0;
  font-size: 1.1rem;
}
.lintas-feature-card h5 { margin: 0 0 2px; font-size: 0.95rem; }
.lintas-feature-card .small { font-size: 0.8rem; }
.lintas-feature-card .card-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Sahabat Nusantara AI Chat */
.sahabat-chat-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: clamp(420px, 70vw, 520px);
  max-height: min(72vh, 640px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.sahabat-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--card-border);
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.12), rgba(63, 176, 255, 0.06));
}
.sahabat-chat-head img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(63, 176, 255, 0.3));
}
.sahabat-chat-head-fallback {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(21, 101, 192, 0.2);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.sahabat-chat-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}
.sahabat-chat-head p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.sahabat-stats-chip {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-2);
  background: rgba(63, 176, 255, 0.1);
  border: 1px solid rgba(63, 176, 255, 0.2);
  padding: 6px 10px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sahabat-chat-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}
.sahabat-welcome {
  text-align: center;
  padding: 12px 8px 8px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 14px;
  padding-bottom: 16px;
}
.sahabat-welcome strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
}
.sahabat-welcome p {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}
.sahabat-suggest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.sahabat-suggest-btn {
  border: 1px solid rgba(63, 176, 255, 0.25);
  background: rgba(63, 176, 255, 0.08);
  color: var(--accent-2);
  border-radius: 99px;
  padding: 7px 12px;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.sahabat-suggest-btn:hover {
  background: rgba(63, 176, 255, 0.15);
  border-color: rgba(63, 176, 255, 0.4);
}
.sahabat-msg {
  display: flex;
  margin-bottom: 10px;
  gap: 8px;
}
.sahabat-msg.user { justify-content: flex-end; }
.sahabat-msg.assistant { justify-content: flex-start; align-items: flex-end; }
.sahabat-bubble {
  max-width: min(88%, 520px);
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.sahabat-msg.user .sahabat-bubble {
  background: var(--accent-2-gradient);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.sahabat-msg.assistant .sahabat-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-bottom-left-radius: 5px;
}
.sahabat-msg-meta {
  margin-top: 4px;
  font-size: 0.65rem;
  color: var(--muted);
}
.sahabat-source-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(63, 176, 255, 0.12);
  color: var(--accent-2);
  font-size: 0.65rem;
  font-weight: 600;
}
.sahabat-avatar-sm {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.sahabat-typing span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  margin: 0 2px;
  animation: sahabatBlink 1s infinite ease-in-out;
}
.sahabat-typing span:nth-child(2) { animation-delay: 0.15s; }
.sahabat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes sahabatBlink {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}
.sahabat-composer {
  padding: 12px 14px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--card-border);
  background: rgba(6, 11, 20, 0.85);
}
.sahabat-composer-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.sahabat-input {
  flex: 1;
  min-height: 44px;
  max-height: 100px;
  resize: none;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.sahabat-input:focus {
  outline: none;
  border-color: rgba(63, 176, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(63, 176, 255, 0.12);
}
.sahabat-send-btn, .sahabat-reset-btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 12px;
  min-height: 44px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
}
.sahabat-send-btn {
  background: var(--accent-2-gradient);
  color: #fff;
  padding: 0 16px;
}
.sahabat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.sahabat-reset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--muted);
  padding: 0 12px;
  font-size: 0.75rem;
}
.sahabat-error {
  display: none;
  margin: 0 16px 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(228, 58, 43, 0.12);
  border: 1px solid rgba(228, 58, 43, 0.25);
  color: #fca5a5;
  font-size: 0.82rem;
}
.sahabat-error.is-visible { display: block; }
.sahabat-open-full {
  font-size: 0.78rem;
  color: var(--accent-2);
  text-decoration: none;
  white-space: nowrap;
}
.sahabat-open-full:hover { color: #fff; }

@media (max-width: 575px) {
  .sahabat-chat-head { flex-wrap: wrap; }
  .sahabat-stats-chip { margin-left: 0; }
  .sahabat-open-full { display: none; }
}

/* Live booster visual */
.live-visual {
  padding: clamp(24px, 5vw, 40px);
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-align: center;
}
.live-visual i {
  font-size: clamp(4rem, 18vw, 8rem);
  color: var(--accent-3);
  opacity: 0.85;
  filter: drop-shadow(0 0 30px rgba(16,185,129,0.3));
}

.feature-inline .feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* Akademi specific */
.course-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 16px; overflow: hidden; transition: all 0.3s;
  text-decoration: none; color: inherit; display: block;
  height: 100%;
}
.course-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); }
.course-img { height: 160px; background: #111; position: relative; }
.course-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s; }
.course-card:hover .course-img img { opacity: 1; }
.course-body { padding: 20px; }
.course-body h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; color: #fff; }
.course-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin: 0; 
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Footer */
.site-footer {
  background: var(--bg-darker); border-top: 1px solid var(--glass-border);
  padding: clamp(40px, 6vw, 60px) 0 max(24px, env(safe-area-inset-bottom));
  margin-top: auto;
}
.footer-brand { font-size: 1.5rem; font-weight: 800; font-family: 'Outfit', sans-serif; margin-bottom: 16px; color: #fff;}
.footer-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.6; max-width: 300px; margin-bottom: 24px; }
.footer-links h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: #fff; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card-bg); border: 1px solid var(--card-border); color: #fff; margin-right: 8px; transition: all 0.3s; }
.social-icons a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--card-border); padding-top: 24px; margin-top: 40px; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Utilities */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.btn-custom { min-height: 44px; font-size: clamp(0.875rem, 2vw, 1rem); }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--card-border);
}
@media (min-width: 768px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-item {
  text-align: center;
  padding: 16px 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--card-border);
}
.stat-item strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.stat-item span {
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

@media (min-width: 576px) {
  .hero-pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar-pill { flex-direction: column; padding: 14px 10px; gap: 6px; }
  .pillar-pill i { font-size: 1.4rem; }
  .brand-text--full { display: inline; }
  .brand-text--short { display: none; }
}

@media (min-width: 992px) {
  .site-nav .navbar-brand { font-size: 1.15rem; flex: 0 1 auto; grid-column: 1; }
  .nav-bar-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px 20px;
  }
  .navbar-toggler { display: none; }
  .navbar-collapse {
    display: contents !important;
  }
  .navbar-nav {
    grid-column: 2;
    justify-self: center;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
  }
  .nav-auth-btns {
    grid-column: 3;
    justify-self: end;
    margin-top: 0 !important;
  }
  .hero-pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
  }
  .pillar-pill {
    flex-direction: row;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 991px) {
  html { scroll-padding-top: 72px; }
  .hero { min-height: auto; padding-top: 88px; }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: max(14px, env(safe-area-inset-left));
    right: max(14px, env(safe-area-inset-right));
    background: rgba(6, 11, 20, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 14px;
    margin-top: 4px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  }
  .site-nav .container { position: relative; }
  .navbar-nav {
    width: 100%;
    margin-bottom: 10px !important;
    gap: 2px;
  }
  .nav-auth-btns {
    flex-direction: row;
    width: 100%;
    justify-content: stretch;
  }
  .nav-auth-btns .btn-custom { flex: 1; min-width: 0; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn-custom { width: 100%; max-width: 300px; }
  .section-header { margin-bottom: 40px; }
  .price-card.featured { margin-top: 16px; }
  .hero-pillars { max-width: 100%; }
  .pillar-pill span { font-size: 0.72rem; }
  .stats-strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-item { padding: 12px 6px; }
  .stat-item span { font-size: 0.65rem; }
}

@media (max-width: 575px) {
  .stats-strip { grid-template-columns: 1fr; gap: 8px; }
  .stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 12px 16px;
  }
  .stat-item strong, .stat-item span { display: inline; margin: 0; }
  .stat-item span { text-align: right; max-width: 55%; font-size: 0.8rem; }
  .footer-bottom { font-size: 0.8rem; line-height: 1.5; padding-inline: 8px; }
  .social-icons a { width: 44px; height: 44px; }
  .station-slider-nav { display: none; }
  .lintas-feature-card { padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-custom:hover, .feature-card:hover, .price-card:hover, .pillar-pill:hover { transform: none; }
}

/* Counter Animation Styles */
.counter-animated {
  display: inline-block;
  font-size: inherit;
  font-weight: inherit;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(228, 58, 43, 0.3);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(228, 58, 43, 0.3), 0 0 40px rgba(228, 58, 43, 0.1);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 30px rgba(228, 58, 43, 0.6), 0 0 60px rgba(228, 58, 43, 0.3);
    transform: scale(1.05);
  }
}

/* Dual Role 3D & Masinis Showcase */
.dual-role-wrapper {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.1), transparent 60%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(6, 11, 20, 0.85) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 44px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  margin-bottom: 50px;
}
.dual-role-wrapper::before {
  content: '';
  position: absolute;
  top: -1px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, #f59e0b, #e43a2b, transparent);
}
.role-card {
  background: rgba(10, 16, 28, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 28px);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
}
.role-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.role-card--ppka {
  border-top: 3px solid var(--accent);
}
.role-card--ppka:hover {
  box-shadow: 0 16px 40px rgba(228, 58, 43, 0.2);
  border-color: rgba(228, 58, 43, 0.4);
}
.role-card--masinis {
  border-top: 3px solid #f59e0b;
}
.role-card--masinis:hover {
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 0.5);
}
.role-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 16px;
}
.role-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.role-feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.role-feature-list li {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.role-feature-list li i {
  margin-top: 3px;
  flex-shrink: 0;
}
.preview-3d-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55);
  background: #020407;
}
.preview-3d-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.preview-3d-frame:hover img {
  transform: scale(1.02);
}
.preview-3d-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 10, 0.25) 0%, rgba(3, 6, 10, 0.1) 40%, rgba(3, 6, 10, 0.88) 100%);
  pointer-events: none;
}
.preview-3d-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.preview-3d-badge-bot {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(6, 11, 20, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 2;
}
.dual-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dual-chip {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dual-chip i { color: #f59e0b; }
