@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=JetBrains+Mono:wght@600;700&display=swap');

/* ============================================
   AIRFIASCO — V4 REFINED
   Airport Terminal Theme
   ============================================ */

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

:root {
  --bg: #fffbf0;
  --surface: #fff;
  --warm: #f97316;
  --warm-dark: #ea580c;
  --warm-light: #fed7aa;
  --warm-glow: rgba(249,115,22,0.08);
  --whatsapp: #25D366;
  --whatsapp-hover: #1eba59;
  --text: #1c1917;
  --muted: #78716c;
  --light: #a8a29e;
  --border: #e7e5e4;
  --dark: #1c1917;
  --board-bg: #1a1a1a;
  --red: #dc2626;
  --green: #16a34a;
  --amber: #d97706;
  --radius: 14px;
}

body {
  font-family: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--warm); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- TARMAC BACKGROUND ---- */
.tarmac-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='30' y1='0' x2='30' y2='60' stroke='%2378716c' stroke-width='0.8' stroke-dasharray='4 12'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* ---- NAV ---- */
nav {
  padding: 14px 0;
  background: rgba(255,251,240,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 22px; font-weight: 900; letter-spacing: -0.5px; color: var(--dark); }
.logo span { color: var(--warm); }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--whatsapp); color: #fff !important;
  padding: 10px 22px; border-radius: 10px; font-weight: 700;
  transition: all 0.15s;
}
.nav-cta:hover { background: var(--whatsapp-hover); transform: scale(1.03); }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch select {
  appearance: none; background: var(--bg); border: 1px solid var(--border);
  padding: 6px 28px 6px 10px; border-radius: 8px; font-size: 13px;
  font-weight: 600; color: var(--muted); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2378716c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}

/* ---- HERO ---- */
.hero { padding: 80px 0 60px; position: relative; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-text h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900; line-height: 1.1; letter-spacing: -2px; margin-bottom: 16px;
}
.hero-text h1 .amt { color: var(--warm); }
.hero-text > p {
  font-size: 17px; color: var(--muted); margin-bottom: 28px;
  line-height: 1.7; max-width: 440px;
}

/* WhatsApp CTA */
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--whatsapp); color: #fff;
  padding: 16px 36px; border-radius: 12px;
  font-size: 17px; font-weight: 800;
  box-shadow: 0 6px 24px rgba(37,211,102,0.25);
  transition: all 0.2s; border: none; cursor: pointer;
}
.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.35);
  background: var(--whatsapp-hover);
}
.wa-btn svg { width: 22px; height: 22px; fill: currentColor; }

/* Hero badges */
.hero-badges { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.hbadge {
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 700; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.hbadge svg { width: 14px; height: 14px; fill: var(--warm); }

/* ---- DEPARTURE BOARD ---- */
.board {
  background: var(--board-bg); border-radius: 16px;
  padding: 20px 24px; box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  overflow: hidden; position: relative;
  border: 1px solid #333;
}
.board-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 3px; color: var(--amber);
  font-weight: 700; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.board-title .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.board-header {
  display: grid; grid-template-columns: 80px 1fr 1fr 110px;
  gap: 6px; padding: 6px 0; border-bottom: 1px solid #3a3a3a; margin-bottom: 4px;
}
.board-header span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: #666; letter-spacing: 1.5px; font-weight: 600;
}
.board-row {
  display: grid; grid-template-columns: 80px 1fr 1fr 110px;
  gap: 6px; padding: 7px 0; border-bottom: 1px solid #2a2a2a; align-items: center;
}
.board-row span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: #d4d4d4; font-weight: 600;
}
.board-row .status {
  padding: 3px 8px; border-radius: 4px;
  font-size: 10px; text-align: center; letter-spacing: 0.3px; font-weight: 700;
}
.status-delayed { background: rgba(220,38,38,0.15); color: #fca5a5; }
.status-cancelled { background: rgba(220,38,38,0.25); color: #fca5a5; }
.status-compensated { background: rgba(22,163,74,0.2); color: #86efac; animation: glow 2.5s ease infinite; }
@keyframes glow { 0%,100%{box-shadow:0 0 0 rgba(34,197,94,0)} 50%{box-shadow:0 0 12px rgba(34,197,94,0.3)} }
.board-footer {
  text-align: center; padding-top: 12px; margin-top: 4px;
  border-top: 1px solid #2a2a2a;
}
.board-footer span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: #555; letter-spacing: 1px;
}

/* ---- PLANE SEPARATOR ---- */
.plane-sep { text-align: center; padding: 16px 0; overflow: hidden; }
.plane-sep svg { height: 16px; width: 100%; }

/* ---- STATS ---- */
.stats { padding: 44px 0; border-bottom: 1px solid var(--border); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat-num { font-size: 28px; font-weight: 900; color: var(--warm); letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; line-height: 1.4; }
.stat-icon { margin-bottom: 6px; }
.stat-icon svg { width: 28px; height: 28px; fill: var(--warm-light); }

/* ---- GATE HEADERS ---- */
.gate-header { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; justify-content: center; }
.gate-num {
  background: var(--warm); color: #fff;
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 4px 12px rgba(249,115,22,0.2);
}
.gate-title { font-size: 30px; font-weight: 900; letter-spacing: -1px; }

/* ---- HOW IT WORKS ---- */
.how { padding: 80px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.2s; position: relative; overflow: hidden;
}
.step:hover { border-color: var(--warm); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(249,115,22,0.08); }
.step-icon {
  width: 52px; height: 52px; background: var(--warm-light);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-icon svg { width: 24px; height: 24px; fill: var(--warm-dark); }
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.step-time {
  display: inline-block; margin-top: 12px;
  font-size: 12px; font-weight: 700; color: var(--warm);
  background: var(--warm-glow); padding: 4px 12px; border-radius: 6px;
}

/* ---- COMPENSATION ---- */
.comp { padding: 80px 0; background: var(--surface); }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.comp-card {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; background: var(--bg);
  transition: all 0.2s; position: relative;
}
.comp-card:hover { border-color: var(--warm); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(249,115,22,0.08); }
.comp-card .distance { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.comp-card .amount { font-size: 48px; font-weight: 900; color: var(--warm); letter-spacing: -2px; margin: 4px 0; }
.comp-card .routes { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.comp-card .net {
  margin-top: 14px; padding: 8px;
  background: rgba(22,163,74,0.08); border-radius: 8px;
  font-size: 13px; font-weight: 700; color: var(--green);
}

/* ---- BOARDING PASS DIVIDER ---- */
.bp-divider { padding: 16px 0; overflow: hidden; }
.bp-divider svg { width: 100%; height: 32px; }

/* ---- COMPARISON TABLE ---- */
.compare { padding: 80px 0; }
.cmp-table {
  width: 100%; border-collapse: collapse;
  border: 2px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
}
.cmp-table th {
  padding: 13px 16px; text-align: left;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); background: var(--bg);
  border-bottom: 2px solid var(--border); font-weight: 700;
}
.cmp-table td {
  padding: 13px 16px; font-size: 14px; border-bottom: 1px solid var(--border);
}
.cmp-table td:first-child { font-weight: 700; }
.cmp-table .winner { background: rgba(249,115,22,0.04); }
.cmp-table .winner td { color: var(--warm-dark); font-weight: 700; }

/* ---- TIMELINE ---- */
.timeline { padding: 80px 0; background: var(--surface); }
.tl-container { max-width: 620px; margin: 0 auto; }
.tl-item { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; position: relative; }
.tl-line { position: absolute; left: 25px; top: 56px; bottom: -28px; width: 2px; background: var(--border); }
.tl-item:last-child .tl-line { display: none; }
.tl-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.tl-icon svg { width: 24px; height: 24px; fill: #fff; }
.tl-1 { background: var(--warm); }
.tl-2 { background: var(--amber); }
.tl-3 { background: var(--red); }
.tl-4 { background: var(--green); }
.tl-content .when { font-size: 12px; font-weight: 800; color: var(--warm); text-transform: uppercase; letter-spacing: 0.5px; }
.tl-content h4 { font-size: 16px; font-weight: 800; margin: 2px 0 4px; }
.tl-content p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---- LAW ABIDING METER ---- */
.lam { padding: 80px 0; }
.lam-intro { text-align: center; max-width: 560px; margin: 0 auto 40px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.lam-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lam-card {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 18px; text-align: center;
  transition: all 0.2s;
}
.lam-card:hover { transform: translateY(-4px); border-color: var(--warm); }
.lam-card .airline-name { font-size: 13px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.lam-card .lam-score { font-size: 36px; font-weight: 900; letter-spacing: -2px; }
.lam-card .lam-score.s-red { color: var(--red); }
.lam-card .lam-score.s-amber { color: var(--amber); }
.lam-card .lam-score.s-green { color: var(--green); }
.lam-card .lam-verdict { font-size: 11px; color: var(--muted); font-weight: 600; }
.lam-bar { height: 5px; border-radius: 3px; margin-top: 8px; background: var(--border); overflow: hidden; }
.lam-bar-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }
.lam-link { text-align: center; margin-top: 24px; }
.lam-link a { font-weight: 700; font-size: 15px; }
.lam-link a:hover { text-decoration: underline; }

/* ---- FINAL CTA ---- */
.final {
  padding: 100px 0; text-align: center;
  position: relative; overflow: hidden;
}
.final::before {
  content: ''; position: absolute; bottom: -200px; left: 50%;
  transform: translateX(-50%); width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.final h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 12px; position: relative; }
.final p { font-size: 17px; color: var(--muted); margin-bottom: 36px; position: relative; }
.final .wa-btn { position: relative; }
.final .sub { margin-top: 20px; font-size: 13px; color: var(--light); position: relative; }

/* ---- FOOTER ---- */
footer { padding: 32px 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 12px; }
footer a:hover { color: var(--text); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .board { margin-top: 24px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: 1fr; }
  .lam-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links .nav-link { display: none; }
  .hero-text h1 { font-size: 32px; }
  .gate-title { font-size: 24px; }
  .cmp-table { font-size: 12px; }
  .cmp-table th, .cmp-table td { padding: 10px 8px; }
  footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .board-header, .board-row { grid-template-columns: 70px 1fr 80px; }
  .board-header span:nth-child(3), .board-row span:nth-child(3) { display: none; }
  .hbadge { font-size: 11px; padding: 5px 10px; }
  .wa-btn { padding: 14px 28px; font-size: 15px; }
  .comp-card .amount { font-size: 40px; }
  .lam-grid { grid-template-columns: 1fr 1fr; }
}
</style>
