/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0b1830;
  --bg-2:       #0f2040;
  --bg-card:    #132038;
  --surface:    rgba(255,255,255,0.05);
  --surface-hover: rgba(255,255,255,0.08);
  --border:     rgba(255,255,255,0.08);
  --border-active: rgba(245,158,11,0.35);

  /* Brand colors — navy + orange/amber */
  --accent:     #f59e0b;   /* amber-500 */
  --accent-2:   #fbbf24;   /* amber-400 */
  --accent-glow: rgba(245,158,11,0.25);
  --blue-mid:   #1e4080;

  --text:       #f0f5ff;
  --text-muted: #8499bb;
  --text-dim:   #3b5070;
  --radius:     16px;
  --radius-lg:  24px;
  --font:       'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,24,48,0.85);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #1a3a7c, #0f2040);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}
.logo-text span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.btn-nav {
  background: var(--accent);
  color: #0b1830;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-nav:hover { opacity: 0.85; transform: translateY(-1px); }


/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
  max-width: 1160px;
  margin: 0 auto;
}
.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(30,64,128,0.6), transparent);
  top: -200px; left: -200px;
}
.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.12), transparent);
  bottom: 0; right: 0;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 460px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0b1830;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 24px rgba(245,158,11,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,158,11,0.4);
  opacity: 0.9;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--border);
  transition: transform 0.2s, background 0.2s;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--surface-hover);
}
.hero-note {
  font-size: 13px;
  color: var(--text-dim);
}


/* ===== PHONE MOCKUP ===== */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 60px;
  position: relative;
}
.phone-wrapper {
  position: relative;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}
.phone-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.12), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.phone-frame {
  width: 270px;
  background: linear-gradient(160deg, #162540, #0d1a30);
  border-radius: 40px;
  border: 1.5px solid rgba(255,255,255,0.1);
  padding: 14px;
  box-shadow:
    0 50px 100px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.phone-notch {
  width: 90px; height: 28px;
  background: #0d1a30;
  border-radius: 0 0 18px 18px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: linear-gradient(160deg, #0b1e3d, #0d2244);
  border-radius: 28px;
  padding: 16px;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

/* Dot trails like in the app */
.phone-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(245,158,11,0.4) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  pointer-events: none;
}

/* Diagonal light band */
.phone-screen::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -30%;
  width: 80%;
  height: 160%;
  background: rgba(255,255,255,0.03);
  transform: rotate(-20deg);
  pointer-events: none;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.app-brand-icon {
  width: 26px; height: 26px;
  background: linear-gradient(135deg, #1a3a7c, #0f2040);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.app-notif {
  width: 28px; height: 28px;
  background: rgba(245,158,11,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.search-bar {
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}
.search-placeholder {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  flex: 1;
}
.search-btn {
  width: 28px; height: 28px;
  background: rgba(99,159,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.flight-card {
  background: linear-gradient(135deg, rgba(30,64,130,0.5), rgba(15,32,64,0.4));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
}
.flight-airline {
  font-size: 9px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.flight-route {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.airport { text-align: center; }
.iata {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
}
.city { font-size: 8px; color: var(--text-muted); }
.flight-line {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.line-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}
.line-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 67%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}
.plane-icon {
  position: absolute;
  left: 67%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  filter: drop-shadow(0 0 4px var(--accent));
}
.progress-label { font-size: 8px; color: var(--text-muted); }
.flight-status {
  display: flex;
  align-items: center;
  gap: 5px;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22d3a0;
  animation: pulse 2s infinite;
}
.status-text { font-size: 10px; color: #22d3a0; font-weight: 600; }

.stat-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.stat {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.stat-val { font-size: 10px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 8px; color: var(--text-muted); margin-top: 2px; }

.notif-card {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 12px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  z-index: 1;
}
.notif-icon { font-size: 14px; }
.notif-title { font-size: 10px; font-weight: 700; color: var(--text); }
.notif-sub { font-size: 8px; color: var(--text-muted); }


/* ===== SECTIONS ===== */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 56px;
}


/* ===== FEATURES ===== */
.features {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(245,158,11,0.08);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(245,158,11,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  border: 1px solid rgba(245,158,11,0.15);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}


/* ===== HOW IT WORKS ===== */
.how {
  padding: 120px 0;
}
.steps {
  display: flex;
  align-items: stretch;
  gap: 20px;
}
.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.step-num {
  font-size: 56px;
  font-weight: 900;
  color: rgba(245,158,11,0.12);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -3px;
}
.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.step-arrow {
  font-size: 22px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  padding-bottom: 8px;
  flex-shrink: 0;
}


/* ===== PREMIUM SECTION ===== */
.premium {
  padding: 80px 0;
}
.premium-card {
  background: linear-gradient(135deg, #c08a20, #a06a10, #c08a20);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,220,100,0.2), transparent, rgba(255,180,0,0.1));
  pointer-events: none;
}
.premium-left h2 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 12px;
}
.premium-left p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  max-width: 420px;
}
.premium-features {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.premium-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.premium-feat span { font-size: 20px; }
.premium-cta {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 14px 32px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.premium-cta:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}


/* ===== CTA ===== */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.07), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 44px;
}
.cta-inner .hero-cta { justify-content: center; }


/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }


/* ===== RESPONSIVE ===== */
@media (max-width: 920px) {
  .hero { flex-direction: column; text-align: center; gap: 60px; }
  .hero-content { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-badge { margin: 0 auto 28px; }
  .hero-cta { justify-content: center; }
  .hero-visual { padding-left: 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .premium-card { flex-direction: column; text-align: center; padding: 40px 32px; }
  .premium-features { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .nav-links .nav-link { display: none; }
  .phone-frame { width: 240px; }
}
