:root {
  --bg-obsidian: #07090f;
  --bg-panel: rgba(18, 22, 34, 0.78);
  --bg-panel-solid: #121622;
  --edge-border: rgba(255, 255, 255, 0.09);
  --edge-highlight: rgba(180, 160, 245, 0.35);
  --text-main: #f3f4f8;
  --text-muted: #98a0b8;
  --accent-violet: #9d7ff5;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Automotive Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(157, 127, 245, 0.18), transparent 70%);
  top: -120px;
  left: -100px;
}
.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 70%);
  top: 260px;
  right: -150px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Top Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 15, 0.82);
  border-bottom: 1px solid var(--edge-border);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-mark {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.25em;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(157, 127, 245, 0.16);
  border: 1px solid rgba(157, 127, 245, 0.4);
  color: var(--accent-violet);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #7c5dfa 0%, #0ea5e9 100%);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(124, 93, 250, 0.42);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--edge-border);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-nav {
  padding: 10px 20px;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1rem;
  flex-direction: column;
  gap: 2px;
}

.btn-lg small {
  font-size: 0.74rem;
  font-weight: 400;
  opacity: 0.88;
}

.btn-block {
  width: 100%;
  padding: 15px 22px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  padding: 72px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.45rem);
  line-height: 1.13;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(95deg, #c4b5fd 0%, #38bdf8 55%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 30px;
  max-width: 580px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--edge-border);
}

.stat-item strong {
  display: block;
  font-size: 1.35rem;
  color: var(--text-main);
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--edge-border);
}

/* Head Unit Bezel Frame */
.headunit-bezel {
  position: relative;
  padding: 14px;
  border-radius: 26px;
  background: linear-gradient(145deg, #1e2436, #0d1018);
  border: 1.5px solid rgba(180, 160, 245, 0.35);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75), 0 0 45px rgba(56, 189, 248, 0.16);
}

.hero-img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(13, 16, 26, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.floating-badge strong {
  display: block;
  font-size: 0.84rem;
}

.floating-badge small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.badge-top-left {
  top: -16px;
  left: 18px;
}

.badge-bottom-right {
  bottom: -16px;
  right: 18px;
}

.badge-icon {
  font-size: 1.35rem;
}

/* Features Section */
.features-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 54px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--edge-border);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--edge-highlight);
}

.feature-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #0b0e17;
}

.feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-img-wrap img {
  transform: scale(1.04);
}

.feature-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(7, 9, 15, 0.85);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.feature-body {
  padding: 24px;
}

.feature-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* License Section */
.license-section {
  padding: 40px 0 90px;
}

.license-banner-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(24, 29, 46, 0.92), rgba(14, 18, 30, 0.95));
  border: 1px solid var(--edge-highlight);
}

.license-copy h2 {
  font-size: 1.9rem;
  margin-bottom: 22px;
}

.license-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.license-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.license-steps p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 3px;
}

.serial-card-mockup {
  background: #0b0e17;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.status-active {
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 9px;
  border-radius: 99px;
}

.mockup-serial {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.65rem;
  font-weight: 700;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px dashed rgba(56, 189, 248, 0.45);
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.mockup-meta {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.mockup-rules {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
  border-top: 1px solid var(--edge-border);
  padding-top: 14px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--edge-border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

/* Modal Dialogs */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 6, 12, 0.82);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hidden {
  display: none !important;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: #121624;
  border: 1.5px solid rgba(157, 127, 245, 0.4);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--edge-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  cursor: pointer;
  font-size: 1rem;
}

.modal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(157, 127, 245, 0.16);
  color: var(--accent-violet);
  margin-bottom: 10px;
}

.qris-badge {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
}

.success-badge {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

.modal-card h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #dbe2f0;
}

.form-group input {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0a0d16;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.96rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.price-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  margin: 4px 0;
}

.price-summary small {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.price-tag {
  font-size: 1.25rem;
  color: var(--accent-cyan);
}

.alert-error {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-size: 0.85rem;
}

/* QRIS Card UI */
.qris-frame {
  background: #ffffff;
  color: #111827;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  text-align: center;
}

.qris-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.qris-logo-text {
  font-weight: 900;
  font-size: 1.35rem;
  color: #dc2626;
  letter-spacing: 0.06em;
}

.qris-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: #4b5563;
}

.qris-merchant strong {
  display: block;
  font-size: 1rem;
  color: #111827;
}

.qris-merchant span {
  font-size: 0.76rem;
  color: #6b7280;
}

.qris-canvas-wrap {
  margin: 14px auto;
  display: inline-block;
  padding: 10px;
  border: 2px solid #111827;
  border-radius: 12px;
  background: #ffffff;
}

.qris-amount-box {
  background: #f3f4f6;
  border-radius: 10px;
  padding: 10px;
}

.qris-amount-box span {
  display: block;
  font-size: 0.78rem;
  color: #4b5563;
}

.qris-amount-box strong {
  font-size: 1.35rem;
  color: #dc2626;
}

.qris-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Serial Result Box */
.serial-result-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px dashed rgba(16, 185, 129, 0.5);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 18px;
}

.serial-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #34d399;
}

.serial-digits {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0 4px;
  letter-spacing: 0.06em;
}

.serial-raw {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.serial-raw code {
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.install-instructions {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.86rem;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.install-instructions ol {
  margin-top: 8px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 920px) {
  .hero-grid,
  .features-grid,
  .license-banner-card {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

