/* =====================================================
   NEXAPASS — MAIN STYLESHEET (Dark Futuristic Theme)
   ===================================================== */
:root {
  --bg:      #060b1a;
  --bg2:     #0d1528;
  --bg3:     #111827;
  --card:    rgba(13,21,40,0.88);
  --blue:    #00cfff;
  --blue2:   #0080ff;
  --bglow:   rgba(0,207,255,0.10);
  --purple:  #7c3aed;
  --gold:    #f5a623;
  --green:   #00e676;
  --red:     #ff4757;
  --text:    #e8f0fe;
  --text2:   #8899b4;
  --muted:   #4a5568;
  --border:  rgba(0,207,255,0.10);
  --border2: rgba(0,207,255,0.35);
  --shadow:  0 8px 32px rgba(0,0,0,0.55);
  --glow:    0 0 24px rgba(0,207,255,0.18);
  --r:  14px;
  --rs: 8px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,128,255,0.12) 0%, transparent 60%); pointer-events: none; z-index: 0; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--blue2); border-radius: 3px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all .3s; }
.navbar.scrolled { background: rgba(6,11,26,.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 10px 0; }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--blue), var(--blue2)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 0 16px rgba(0,207,255,.4); }
.logo-text { font-size: 22px; font-weight: 800; }
.logo-text span { color: var(--blue); }
.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-links a { display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--rs); color: var(--text2); font-size: 13.5px; font-weight: 500; transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--bglow); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-balance { display: flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--bglow); border: 1px solid var(--border); border-radius: 30px; color: var(--blue); font-weight: 600; font-size: 13px; }
.nav-user { position: relative; }
.nav-user-btn { display: flex; align-items: center; gap: 8px; padding: 7px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 30px; color: var(--text); font-size: 13px; cursor: pointer; }
.avatar { width: 26px; height: 26px; background: linear-gradient(135deg,var(--blue),var(--purple)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; color: #fff; }
.nav-dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 8px; box-shadow: var(--shadow); }
.nav-user.open .nav-dropdown { display: block; }
.nav-dropdown a, .nav-dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border-radius: var(--rs); color: var(--text2); font-size: 13.5px; background: none; border: none; cursor: pointer; transition: all .2s; }
.nav-dropdown a:hover, .nav-dropdown button:hover { background: var(--bglow); color: var(--blue); }
.nav-dropdown hr { border: none; border-top: 1px solid var(--border); margin: 5px 0; }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 20px; cursor: pointer; }

/* ── LAYOUT ─────────────────────────────────────────── */
main { min-height: 100vh; padding-top: 70px; position: relative; z-index: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }

/* ── ALERTS ─────────────────────────────────────────── */
.alert { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: var(--rs); font-size: 14px; margin: 12px 0; }
.alert-success { background: rgba(0,230,118,.09); border: 1px solid rgba(0,230,118,.28); color: var(--green); }
.alert-error   { background: rgba(255,71,87,.09); border: 1px solid rgba(255,71,87,.28); color: var(--red); }
.alert-info    { background: var(--bglow); border: 1px solid var(--border2); color: var(--blue); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 30px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all .25s; text-decoration: none; }
.btn-primary  { background: linear-gradient(135deg,var(--blue),var(--blue2)); color: #000; box-shadow: 0 4px 18px rgba(0,207,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,207,255,.45); }
.btn-secondary{ background: var(--bglow); border: 1px solid var(--border2); color: var(--blue); }
.btn-secondary:hover { background: rgba(0,207,255,.16); }
.btn-ghost    { background: transparent; border: 1px solid var(--border); color: var(--text2); }
.btn-ghost:hover { border-color: var(--border2); color: var(--text); }
.btn-gold     { background: linear-gradient(135deg,var(--gold),#e08c00); color: #000; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(245,166,35,.4); }
.btn-danger   { background: rgba(255,71,87,.12); border: 1px solid rgba(255,71,87,.28); color: var(--red); }
.btn-sm  { padding: 7px 16px; font-size: 12.5px; }
.btn-lg  { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ── CARDS ─────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: all .3s; backdrop-filter: blur(10px); }
.card:hover { border-color: var(--border2); box-shadow: var(--glow); transform: translateY(-3px); }
.card-body { padding: 22px; }
.card-img { width: 100%; height: 200px; object-fit: cover; }

/* ── BADGES ─────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-blue   { background: rgba(0,207,255,.14); color: var(--blue);   border: 1px solid rgba(0,207,255,.28); }
.badge-gold   { background: rgba(245,166,35,.14); color: var(--gold);  border: 1px solid rgba(245,166,35,.28); }
.badge-green  { background: rgba(0,230,118,.14);  color: var(--green); border: 1px solid rgba(0,230,118,.28); }
.badge-red    { background: rgba(255,71,87,.14);  color: var(--red);   border: 1px solid rgba(255,71,87,.28); }
.badge-purple { background: rgba(124,58,237,.14); color: #a78bfa;      border: 1px solid rgba(124,58,237,.28); }

/* ── HERO ─────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 24px 80px; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; background: var(--bglow); border: 1px solid var(--border2); border-radius: 30px; font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 24px; }
.hero-title { font-size: clamp(40px,7vw,86px); font-weight: 900; line-height: 1.05; margin-bottom: 22px; }
.hero-title .line1 { display: block; color: var(--text); }
.hero-title .line2 { display: block; background: linear-gradient(90deg,var(--blue),#5f6fff,var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 17px; color: var(--text2); max-width: 600px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--blue); }
.stat-lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ── SEARCH BOX ─────────────────────────────────────── */
.search-box { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px; backdrop-filter: blur(20px); box-shadow: var(--shadow); position: relative; z-index: 10; }
.search-tabs { display: flex; gap: 5px; margin-bottom: 22px; background: var(--bg2); border-radius: 30px; padding: 5px; width: fit-content; }
.s-tab { padding: 8px 20px; border-radius: 25px; font-size: 13.5px; font-weight: 600; cursor: pointer; border: none; background: none; color: var(--text2); transition: all .2s; }
.s-tab.active { background: linear-gradient(135deg,var(--blue),var(--blue2)); color: #000; }
.search-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 14px; align-items: end; }

/* ── FORMS ─────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 7px; }
.form-control { width: 100%; padding: 11px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--rs); color: var(--text); font-size: 14px; outline: none; transition: all .2s; }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,207,255,.09); }
.form-control::placeholder { color: var(--muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; pointer-events: none; }
.input-icon .form-control { padding-left: 38px; }

/* ── FLIGHT CARD ─────────────────────────────────────── */
.flight-card { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 20px; padding: 20px 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); transition: all .3s; }
.flight-card:hover { border-color: var(--border2); box-shadow: var(--glow); }
.airline-logo { width: 44px; height: 44px; background: linear-gradient(135deg,var(--blue2),var(--purple)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; color: #fff; flex-shrink: 0; }
.route { text-align: center; }
.route-codes { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 4px; }
.code { font-size: 22px; font-weight: 800; }
.route-line { flex: 1; height: 1px; background: linear-gradient(90deg,transparent,var(--blue),transparent); position: relative; }
.route-line::after { content: '✈'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 13px; color: var(--blue); background: var(--bg); padding: 0 5px; }
.route-cities { font-size: 11.5px; color: var(--muted); display: flex; justify-content: space-between; }
.flight-meta { font-size: 12px; color: var(--text2); text-align: center; line-height: 1.9; }
.flight-price { text-align: right; }
.f-price { font-size: 26px; font-weight: 800; color: var(--blue); }

/* ── GRID ─────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }

/* ── SECTION HEADERS ─────────────────────────────────── */
.sec-header { text-align: center; margin-bottom: 48px; }
.sec-label { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); background: var(--bglow); border: 1px solid var(--border); padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; }
.sec-title { font-size: 36px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.sec-title span { background: linear-gradient(90deg,var(--blue),var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sec-sub { font-size: 15px; color: var(--text2); max-width: 520px; margin: 0 auto; }

/* ── PAGE HEADER ─────────────────────────────────────── */
.page-header { padding: 52px 0 36px; background: linear-gradient(180deg,rgba(0,128,255,.05) 0%,transparent 100%); border-bottom: 1px solid var(--border); }
.page-title { font-size: 32px; font-weight: 800; }
.page-sub-txt { color: var(--text2); margin-top: 6px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--blue); }

/* ── TABLE ─────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th { padding: 11px 16px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); background: var(--bg2); border-bottom: 1px solid var(--border); }
tbody td { padding: 14px 16px; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.04); vertical-align: middle; }
tbody tr:hover td { background: rgba(255,255,255,.02); }

/* ── SEAT MAP ─────────────────────────────────────── */
.seat-grid { display: flex; flex-wrap: wrap; gap: 6px; max-width: 340px; margin: 0 auto; justify-content: center; }
.seat { width: 38px; height: 38px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; cursor: pointer; border: 1px solid; transition: all .2s; user-select: none; }
.seat.av  { background: rgba(0,230,118,.10); border-color: var(--green); color: var(--green); }
.seat.av:hover { background: rgba(0,230,118,.25); transform: scale(1.1); }
.seat.bk  { background: rgba(255,71,87,.10); border-color: var(--red); color: var(--red); cursor: not-allowed; }
.seat.sel { background: linear-gradient(135deg,var(--blue),var(--blue2)); border-color: transparent; color: #000; transform: scale(1.05); }

/* ── PAYMENT OPTIONS ─────────────────────────────────── */
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 15px 18px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--rs); cursor: pointer; transition: all .2s; margin-bottom: 10px; }
.pay-opt:hover, .pay-opt.active { border-color: var(--blue); background: var(--bglow); }
.pay-opt input[type=radio] { accent-color: var(--blue); transform: scale(1.3); }
.pay-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: var(--bg3); }
.manual-box { background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--rs); padding: 18px; margin-bottom: 18px; font-size: 13.5px; color: var(--text2); line-height: 1.9; }
.manual-box strong { color: var(--blue); font-size: 15px; }

/* ── FOOTER ─────────────────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 0 0; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.footer-brand p { color: var(--text2); font-size: 13.5px; margin: 14px 0 20px; max-width: 280px; line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text2); transition: all .2s; }
.socials a:hover { background: var(--bglow); color: var(--blue); border-color: var(--border2); }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text2); font-size: 13.5px; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.app-badge { display: flex; align-items: center; gap: 10px; padding: 11px 18px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--rs); transition: all .2s; }
.app-badge:hover { border-color: var(--border2); background: var(--bglow); }
.app-badge i { font-size: 24px; color: var(--blue); }
.app-badge span { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; }
.app-badge small { font-size: 10px; color: var(--muted); font-weight: 400; }
.footer-bottom { border-top: 1px solid var(--border); text-align: center; padding: 18px 24px; font-size: 13px; color: var(--muted); }

/* ── UTILITY ─────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 22px 0; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state i { font-size: 48px; margin-bottom: 18px; opacity: .3; }
.text-blue  { color: var(--blue); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--muted); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 62px; left: 0; right: 0; background: var(--bg2); flex-direction: column; padding: 14px; border-bottom: 1px solid var(--border); z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .flight-card { grid-template-columns: 1fr; gap: 10px; }
  .hero-title { font-size: 36px; }
  .sec-title { font-size: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
