:root {
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: #d2d2d7;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 247, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.nav-logo img {
  height: 32px;
  width: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a.btn {
  color: #ffff;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

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

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  background: linear-gradient(180deg, #e8f1ff 0%, var(--bg) 100%);
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22%;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
  object-fit: cover;
  background: #fff;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
}

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border-radius: 14px;
  padding: 12px 24px;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.appstore-badge:hover {
  transform: scale(1.03);
  opacity: 0.9;
  text-decoration: none;
  color: #fff;
}

.appstore-badge svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}

.appstore-badge .badge-text {
  text-align: left;
  line-height: 1.15;
}

.appstore-badge .badge-text small {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  font-weight: 400;
}

.appstore-badge .badge-text strong {
  font-size: 18px;
  font-weight: 600;
}

.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---------- Sections ---------- */
section {
  padding: 80px 24px;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e8f1ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

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

/* ---------- Countries ---------- */
.countries {
  background: #fff;
}

.country-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 28px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
}

.chip .flag {
  font-size: 20px;
}

.chip.active {
  background: #e8f1ff;
  border-color: #bcd7ff;
  color: var(--accent);
}

.chip.soon {
  opacity: 0.6;
}

.countries-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
}

/* ---------- Real-time ---------- */
.realtime {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.realtime-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.realtime-text p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 12px;
}

.realtime-list {
  list-style: none;
  margin-top: 20px;
}

.realtime-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.realtime-list .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Phone mockup */
.phone {
  background: var(--bg-card);
  border: 10px solid #1d1d1f;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  width: 300px;
  margin: 0 auto;
  overflow: hidden;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-header {
  background: var(--bg);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.phone-header h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.phone-header span {
  font-size: 12px;
  color: var(--text-secondary);
}

.phone-body {
  padding: 12px;
}

.dep-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--bg);
}

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

.dep-line {
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  background: #e8f1ff;
  padding: 3px 10px;
  border-radius: 8px;
}

.dep-dest {
  font-size: 14px;
  color: var(--text);
  flex: 1;
  margin-left: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dep-time {
  font-size: 13px;
  font-weight: 600;
}

.dep-time .live {
  color: #34c759;
  font-size: 11px;
  font-weight: 600;
  display: block;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dep-time .delay {
  color: #ff3b30;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #e8f1ff 100%);
}

.cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.cta p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 32px;
}

/* ---------- Footer ---------- */
footer {
  background: #1d1d1f;
  color: #86868b;
  padding: 48px 24px 36px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #424245;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5f5f7;
  font-weight: 700;
  font-size: 18px;
}

.footer-brand img {
  height: 28px;
  width: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: #a1a1a6;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
}

.footer-bottom p {
  margin-bottom: 6px;
}

/* ---------- Privacy page ---------- */
.page-header {
  background: linear-gradient(180deg, #e8f1ff 0%, var(--bg) 100%);
  padding: 72px 24px 48px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.page-header p {
  color: var(--text-secondary);
}

.privacy-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.privacy-body h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -0.2px;
}

.privacy-body h2:first-child {
  margin-top: 0;
}

.privacy-body p {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.privacy-body ul {
  margin: 0 0 12px 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

.privacy-body li {
  margin-bottom: 6px;
}

.privacy-body strong {
  color: var(--text);
}

.privacy-updated {
  color: var(--text-secondary);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .nav-links {
    display: none;
  }

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

  .phone {
    order: -1;
  }

  section {
    padding: 56px 24px;
  }

  .hero {
    padding: 72px 24px 56px;
  }
}
