:root {
  --bg: #0e131f;
  --bg-2: #121a29;
  --surface: #161f31;
  --surface-2: #1b2539;
  --border: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.14);
  --ink: #eef2f9;
  --muted: #9aa6bf;
  --faint: #6b7791;
  --gold: #d9b46a;
  --gold-2: #e7c98a;
  --gold-soft: rgba(217,180,106,0.13);
  --gold-line: rgba(217,180,106,0.34);
  --green: #7ee0a6;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--gold-2); }

.reveal { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d,0) * 90ms + 40ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(14,19,31,0.82); backdrop-filter: blur(12px); z-index: 20; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; text-decoration: none; letter-spacing: -0.01em; }
.logo-mark { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold) 55%, #a8823f); box-shadow: 0 0 16px rgba(217,180,106,0.35); }
.nav-right { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav-right a { color: var(--muted); text-decoration: none; transition: color .15s; }
.nav-right a:hover { color: var(--ink); }
.nav-right .signin { color: var(--ink); border: 1px solid var(--border-2); padding: 7px 16px; border-radius: 999px; }
.nav-right .signin:hover { border-color: var(--gold-line); color: var(--gold-2); }

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

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding: 72px 0 64px; }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; margin: 0 0 22px; }
.hero-copy p { font-size: 17px; color: var(--muted); max-width: 480px; margin: 0 0 30px; line-height: 1.6; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: #16110a; font-weight: 600; font-size: 16px; text-decoration: none; padding: 14px 26px; border-radius: 999px; transition: transform .16s, box-shadow .16s; box-shadow: 0 10px 30px -12px rgba(217,180,106,0.5); }
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(217,180,106,0.6); }
.cta-arr { transition: transform .2s; }
.cta:hover .cta-arr { transform: translateX(4px); }
.trust { margin-top: 16px; font-size: 13px; color: var(--faint); }

/* deal card (shared) */
.deal { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); border-radius: 16px; padding: 20px; position: relative; transition: border-color .18s, transform .18s; }
.deal:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.deal-cabin { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.deal-route { font-family: var(--serif); font-size: 22px; margin: 8px 0 2px; display: flex; align-items: center; gap: 9px; }
.deal-route .arr { color: var(--gold); }
.deal-city { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.deal-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.deal-price { font-size: 28px; font-weight: 600; color: var(--green); font-family: var(--serif); }
.deal-typical { font-size: 15px; color: var(--faint); text-decoration: line-through; }
.deal-badge { font-size: 12px; font-weight: 700; color: #16110a; background: var(--gold); padding: 3px 9px; border-radius: 999px; }
.deal-meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 5px; }
.deal-meta .row { display: flex; justify-content: space-between; gap: 12px; }
.deal-meta .row span:first-child { color: var(--faint); }
.hero-card .deal { box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7); }

/* deals strip */
.deals-strip { padding: 24px 0 40px; }
.strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.strip-head h2 { font-size: 26px; margin: 0; }
.strip-sub { font-size: 13px; color: var(--faint); max-width: 380px; }
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deal.locked { filter: saturate(0.5); }
.deal.locked::after { content: "Members only"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14,19,31,0.78); backdrop-filter: blur(4px); border-radius: 16px; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--gold-2); letter-spacing: 0.04em; }
.locked-hint { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }

/* how */
.how { padding: 56px 0; }
.how h2 { font-size: 30px; margin: 0 0 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.sn { font-family: var(--serif); font-size: 14px; color: var(--gold); }
.step h3 { font-size: 19px; margin: 12px 0 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* pricing */
.pricing { padding: 40px 0 64px; display: flex; justify-content: center; }
.price-card { width: 100%; max-width: 560px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--gold-line); border-radius: 22px; padding: 34px; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7); }
.price-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.plan-name { font-family: var(--serif); font-size: 20px; }
.price .amount { font-family: var(--serif); font-size: 40px; font-weight: 600; }
.price .per { color: var(--muted); font-size: 15px; }
.price-list { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.price-list li { font-size: 14.5px; color: var(--ink); padding-left: 26px; position: relative; }
.price-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* signup + forms */
.signup { border-top: 1px solid var(--border); padding-top: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field label .opt { color: var(--faint); font-weight: 400; }
input, select { width: 100%; background: var(--bg); border: 1px solid var(--border-2); color: var(--ink); border-radius: 11px; padding: 12px 14px; font-family: var(--sans); font-size: 15px; }
input:focus, select:focus { outline: none; border-color: var(--gold-line); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa6bf' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--muted); cursor: pointer; user-select: none; transition: .15s; background: var(--bg); }
.chip.on { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-2); }
.subscribe-btn { width: 100%; background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: #16110a; font-weight: 600; font-size: 16px; font-family: var(--sans); border: none; padding: 14px; border-radius: 12px; cursor: pointer; transition: transform .16s; margin-top: 6px; }
.subscribe-btn:hover { transform: translateY(-1px); }
.subscribe-btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.signup-msg { font-size: 13px; margin-top: 12px; min-height: 18px; }
.signup-msg.err { color: #f2a08f; }
.signup-msg.ok { color: var(--green); }
.fineprint { font-size: 12px; color: var(--faint); margin-top: 12px; text-align: center; }

/* faq */
.faq { padding: 40px 0 72px; max-width: 720px; }
.faq h2 { font-size: 30px; margin: 0 0 26px; }
.faq-item { padding: 18px 0; border-top: 1px solid var(--border); }
.faq-item h4 { font-size: 17px; margin: 0 0 6px; font-family: var(--sans); font-weight: 600; }
.faq-item p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* footer */
.foot { border-top: 1px solid var(--border); padding: 28px 40px; display: flex; justify-content: space-between; font-size: 13px; color: var(--faint); }
.foot a { color: var(--gold); text-decoration: none; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(6,9,15,0.72); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 18px; padding: 30px; }
.modal-card h3 { font-size: 24px; margin: 0 0 6px; }
.modal-sub { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.modal-card input { margin-bottom: 12px; }
.modal-x { position: absolute; top: 16px; right: 18px; background: none; border: none; color: var(--faint); font-size: 24px; cursor: pointer; line-height: 1; }

/* dashboard / admin shared */
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; flex-wrap: wrap; }
.app-title { font-family: var(--serif); font-size: 28px; }
.app-sub { color: var(--muted); font-size: 14px; }
.pill { font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--muted); }
.pill.active { color: var(--green); border-color: rgba(126,224,166,0.4); }
.pill.canceled { color: #f2a08f; border-color: rgba(242,160,143,0.4); }
.btn { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--ink); background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 10px; padding: 9px 16px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.btn:hover { border-color: var(--gold-line); }
.btn.gold { background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: #16110a; border: none; font-weight: 600; }
.section-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin: 30px 0 14px; font-weight: 600; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--border-2); border-radius: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .deal-grid, .steps { grid-template-columns: 1fr; }
  .nav { padding: 16px 20px; }
  .nav-right a[href="#how"], .nav-right a[href="#pricing"] { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
}
