/* ==========================
   SeatSouq Landing – index.css
   ========================== */

/* TOKENS / VARIABLES */
:root {
  --primary: #00bfa6;
  --primary-dark: #009784;
  --navy: #0b1e3f;
  --ink: #142642;

  --bg-main: #f3f7f9;
  --bg-soft: #f9fafb;
  --card-bg: #ffffff;

  --text-main: #142642;
  --text-muted: #77818f;

  --border-soft: #e3e6ea;
  --border-strong: #d0d7e2;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);

  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --nav-height: 68px;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 191, 166, 0.12) 0, transparent 55%),
    radial-gradient(circle at top right, rgba(11, 30, 63, 0.07) 0, transparent 60%),
    var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
}

/* LAYOUT */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 247, 249, 0.96);
  border-bottom: 1px solid rgba(227, 230, 234, 0.85);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.nav-link {
  position: relative;
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.16s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.16s ease-out;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  transition: all 0.16s ease;
}

.nav-cta span {
  color: var(--primary);
}

.nav-cta:hover {
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

/* HERO */
.hero {
  padding: 48px 0 56px;
}

/* baris atas: copy + panel */
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

/* wrapper bawah (search + cta + meta) */
.hero-bottom {
  margin-top: 32px;
}

/* sedikit spacing bawah teks agar tidak terlalu nempel ke search */
.hero-copy {
  max-width: 560px;
}


.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hero-kicker-pill {
  background: rgba(0, 191, 166, 0.12);
  color: var(--primary-dark);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--ink);
}

.hero-title span {
  color: var(--primary-dark);
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* HERO SEARCH CARD */
.hero-search {
  margin-top: 0;
  margin-bottom: 16px;

  /* kartu full lebar container */
  width: 100%;
  padding: 18px 24px 16px;

  border-radius: 24px;
  border: 1px solid rgba(227, 230, 234, 0.9);
  background: #ffffff;
  box-shadow: var(--shadow-soft);

  /* HAPUS max-width & auto margin supaya tidak mengecil di tengah */
  /* no max-width, no margin-left/right */
}

.hero-search-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
}

.hero-search-title {
  font-weight: 600;
  color: var(--text-main);
}

.hero-search-tag {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 191, 166, 0.08);
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 11px;
  white-space: nowrap;
}

/* Grid 2 + 1 tombol di bawah full width */
.hero-search-grid {
  display: grid;
  /* Setiap kolom min 220px, sisanya fleksibel */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-items: flex-end;
}

.hero-search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.hero-search-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* Input umum */
.hero-search-input,
.hero-search-input-inner {
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: #fafafa;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
  transition: all 0.16s ease;
}

.hero-search-input:focus,
.hero-search-input-inner:focus {
  border-color: rgba(0, 191, 166, 0.85);
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 191, 166, 0.18);
}

/* Prefix IDR */
.hero-search-input-wrap {
  display: flex;
  align-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: #fafafa;
  padding: 0 10px;
}

.hero-search-prefix {
  font-size: 11px;
  color: var(--text-muted);
  margin-right: 6px;
}

.hero-search-input-inner {
  border: none;
  background: transparent;
  flex: 1;
  padding-left: 0;
  padding-right: 0;
}

/* Hint */
.hero-search-hint {
  font-size: 10px;
  color: var(--text-muted);
} -_______________________________

/* Kolom tombol – full width di bawah */
.hero-search-action {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 4px;
}

/* BUTTONS */
.btn-primary {
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 20px rgba(0, 191, 166, 0.4);
  transition: all 0.16s ease;
}

.btn-primary span {
  font-size: 16px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(0, 191, 166, 0.5);
}

.hero-search-btn {
  width: auto;
}

.hero-search-flag {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-search-flag input {
  accent-color: var(--primary);
}

/* HERO – bawah teks */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  margin-top: 4px;
}

.btn-ghost {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.8);
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.btn-ghost:hover {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.hero-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

/* HERO RIGHT: PANEL PREVIEW */
.hero-panel {
  background: rgba(255, 255, 255, 0.98);
  padding: 18px 18px 20px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.95);
  position: relative;
  overflow: hidden;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hero-panel-title {
  font-size: 13px;
  font-weight: 600;
}

.hero-panel-pill {
  font-size: 11px;
  color: var(--primary-dark);
  background: rgba(0, 191, 166, 0.1);
  border-radius: var(--radius-pill);
  padding: 4px 8px;
}

.pnr-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.pnr-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 10px 11px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
  font-size: 11px;
  display: grid;
  grid-template-columns: 1.4fr 1.2fr;
  gap: 10px;
  align-items: center;
}

.pnr-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.pnr-airline-chip {
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.06);
  font-size: 10px;
  font-weight: 600;
}

.pnr-locator {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pnr-route {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pnr-sub {
  color: var(--text-muted);
  font-size: 10px;
}

.pnr-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.pnr-price {
  font-size: 13px;
  font-weight: 700;
}

.pnr-price span {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.pnr-seats {
  font-size: 10px;
  color: var(--text-muted);
}

.pnr-tag {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: rgba(0, 191, 166, 0.06);
  color: var(--primary-dark);
  border: 1px solid rgba(0, 191, 166, 0.2);
}

/* GENERIC SECTIONS */
.section {
  padding: 36px 0;
}

.section-header {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.03);
  font-size: 13px;
}

.info-chip {
  font-size: 11px;
  margin-bottom: 8px;
  color: var(--primary-dark);
  background: rgba(0, 191, 166, 0.07);
  border-radius: var(--radius-pill);
  display: inline-flex;
  padding: 3px 9px;
  font-weight: 500;
}

.info-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-body {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* HOW IT WORKS */
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.step-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 14px 13px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  font-size: 12px;
}

.step-index {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: rgba(15, 23, 42, 0.06);
  margin-bottom: 6px;
}

.step-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 13px;
}

.step-body {
  color: var(--text-muted);
  line-height: 1.6;
}

/* SAMPLE PNR STRIP */
.sample-strip {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 16px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  margin-top: 6px;
}

.sample-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
}

.sample-header span {
  color: var(--text-muted);
  font-size: 11px;
}

.sample-cta {
  font-size: 11px;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sample-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 10px;
  font-size: 11px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
}

.sample-route {
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 2px;
}

.sample-meta {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sample-price {
  font-size: 12px;
  font-weight: 600;
}

.sample-price span {
  font-size: 10px;
  color: var(--text-muted);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 12px 12px;
  font-size: 12px;
}

.faq-q {
  font-weight: 600;
  margin-bottom: 4px;
}

.faq-a {
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA SECTION */
.cta-section {
  padding: 30px 0 40px;
}

.cta-box {
  background: linear-gradient(135deg, #ffffff, #e0fffa);
  border-radius: 22px;
  padding: 20px 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 16px 32px rgba(0, 191, 166, 0.24);
}

.cta-text {
  max-width: 420px;
}

.cta-title {
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cta-body {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-primary-cta {
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 191, 166, 0.35);
  transition: all 0.16s ease;
}

.btn-primary-cta span {
  font-size: 16px;
}

.btn-primary-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 191, 166, 0.45);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 14px 0 16px;
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(249, 250, 251, 0.9);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-panel {
    max-width: 420px;
    margin: 0 auto;
  }

  .grid-3,
  .steps-list,
  .sample-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .navbar-inner {
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-search {
    padding: 14px 12px 12px;
  }

  .hero-search-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-search-action {
    align-items: stretch;
  }

  .hero-search-btn {
    width: 100%;
    justify-content: center;
  }

  .cta-box {
    align-items: flex-start;
  }
}
