/* ============================================================
   HUB KIRIM — Landing Page Styles (LIGHT MODE)
   Sistem SaaS Ekspedisi & Logistik Terintegrasi
   Palet: putih lembut + biru navy + merah terracotta + oranye
   ============================================================ */

:root {
  /* Warna dasar */
  --bg-base: #FDFCFA;
  --bg-soft: #F6F8FB;
  --bg-panel: #FFFFFF;
  --bg-panel-tint: #F1F5FA;

  /* Warna brand */
  --navy: #0B3C6E;
  --navy-deep: #082C52;
  --red: #D8331A;
  --red-soft: #F4E2DE;
  --orange: #FF6A2C;
  --orange-light: #FF8951;
  --green-signal: #1B9C6E;

  /* Teks */
  --text-primary: #1E2A3A;
  --text-secondary: #5C6B7E;
  --text-muted: #94A2B3;

  /* Border & shadow */
  --border-soft: rgba(11, 60, 110, 0.1);
  --border-strong: rgba(11, 60, 110, 0.22);
  --shadow-soft: 0 4px 24px rgba(11, 60, 110, 0.07);
  --shadow-card: 0 12px 40px rgba(11, 60, 110, 0.09);

  /* Tipografi */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --container-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Ambient background: garis merah-oranye tipis di atas, biru lembut di bawah */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 460px at 88% -6%, rgba(255, 106, 44, 0.09), transparent 62%),
    radial-gradient(ellipse 700px 480px at 6% 8%, rgba(216, 51, 26, 0.05), transparent 60%),
    radial-gradient(ellipse 800px 600px at 50% 100%, rgba(11, 60, 110, 0.05), transparent 60%);
  pointer-events: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--navy-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(216, 51, 26, 0.5);
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy-deep);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--navy-deep);
  font-size: 26px;
  line-height: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 106, 44, 0.28);
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 106, 44, 0.36);
}

.btn-ghost {
  background: #FFFFFF;
  color: var(--navy-deep);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--bg-panel-tint);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15.5px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 96px 0 80px;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  margin-bottom: 20px;
  color: var(--navy-deep);
}

.hero h1 .highlight {
  color: var(--orange);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-deep);
}

.hero-stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- Signature visual: Live AWB tracking board --- */

.hero-visual {
  position: relative;
}

.awb-board {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.awb-board::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 106, 44, 0.10), transparent 70%);
  pointer-events: none;
}

.awb-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.awb-board-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.awb-board-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--green-signal);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-signal);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27, 156, 110, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(27, 156, 110, 0); }
}

.awb-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(11, 60, 110, 0.06);
}

.awb-row:last-child {
  border-bottom: none;
}

.awb-code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--navy-deep);
  font-weight: 600;
}

.awb-route {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.awb-status {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.status-transit {
  background: rgba(255, 106, 44, 0.12);
  color: var(--orange);
}

.status-delivered {
  background: rgba(27, 156, 110, 0.12);
  color: var(--green-signal);
}

.status-pickup {
  background: rgba(11, 60, 110, 0.08);
  color: var(--navy);
}

.awb-board-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.awb-progress {
  flex: 1;
  height: 4px;
  background: rgba(11, 60, 110, 0.09);
  border-radius: 4px;
  overflow: hidden;
  margin-right: 16px;
}

.awb-progress-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--red), var(--orange));
  border-radius: 4px;
}

.awb-progress-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 26px 0;
  background: var(--bg-soft);
}

.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--navy);
}

/* ============================================================
   SECTION SHARED
   ============================================================ */

.section {
  padding: 100px 0;
}

.section-tight {
  padding: 80px 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 16px;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-soft), rgba(246, 248, 251, 0));
}

/* ============================================================
   FEATURES GRID
   ============================================================ */

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

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 106, 44, 0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--navy-deep);
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* ============================================================
   FLOW / ALUR LAYANAN
   ============================================================ */

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.flow-step {
  padding: 0 22px;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -2px;
  width: calc(100% - 44px);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}

.flow-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--bg-panel);
  position: relative;
  z-index: 1;
}

.flow-step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
  color: var(--navy-deep);
}

.flow-step p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.price-card.featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, #FFFFFF, #FFF7F2);
  box-shadow: 0 20px 48px rgba(255, 106, 44, 0.16);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--orange);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.price-plan-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-deep);
}

.price-plan-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 40px;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--navy-deep);
}

.price-period {
  font-size: 13.5px;
  color: var(--text-muted);
}

.price-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.price-features {
  margin-bottom: 28px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 9px 0;
  border-bottom: 1px solid rgba(11, 60, 110, 0.06);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-signal);
}

/* ============================================================
   TESTIMONIAL / SOCIAL PROOF BAND
   ============================================================ */

.testimonial-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 4px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--red));
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
}

.testimonial-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  background: transparent;
  color: var(--navy-deep);
  text-align: left;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 600;
  font-family: var(--font-body);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--red);
  transition: transform 0.25s ease;
  font-size: 20px;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.final-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 24px;
  max-width: calc(var(--container-width) - 48px);
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 24px 60px rgba(11, 60, 110, 0.25);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 50% -10%, rgba(255, 106, 44, 0.25), transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 16px;
  position: relative;
  color: #FFFFFF;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 32px;
  position: relative;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.final-cta .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.final-cta .btn-ghost:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 28px;
  background: var(--bg-soft);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 280px;
}

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

.footer-col h4 {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 500;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--navy);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

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

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 0;
  }

  .flow-step:nth-child(2)::after {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .hero {
    padding: 56px 0 60px;
  }

  .hero-stats {
    gap: 26px;
  }

  .trust-strip .container {
    justify-content: center;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .flow-step::after {
    display: none !important;
  }

  .final-cta {
    padding: 44px 26px;
    margin: 0 16px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .final-cta-actions {
    flex-direction: column;
  }

  .final-cta-actions .btn {
    width: 100%;
  }
}
