/* =====================================================================
   TravelOS — marketing site design system
   Brand register: premium gold-on-warm-black (RAWAF signature),
   positioned as the TravelOS platform identity.
   Product mockups reuse the real app palettes:
     • Admin dashboard  → "Atmosphere" (light) / "Graphite" (dark)
     • Consumer frontend → gold-on-black RAWAF storefront
   ===================================================================== */

:root {
  /* ---- Brand: gold on warm black ---- */
  --gold:        #E9C153;
  --gold-hi:     #F4DC86;
  --gold-deep:   #D4A93A;
  --gold-bronze: #C99A2E;
  --gold-ink:    #1A1407;   /* near-black text on gold fills */

  --black:   #0A0A0A;
  --panel:   #141210;
  --panel-2: #1C1916;
  --panel-3: #221E18;

  --ink:     #EDE6D6;
  --ink-2:   #C9C0AE;
  --muted:   #9A917E;

  --line:      rgba(233, 193, 83, 0.20);
  --line-soft: rgba(233, 193, 83, 0.10);
  --line-hair: rgba(255, 255, 255, 0.06);

  --danger:  #E5604F;
  --success: #57C98B;

  /* ---- Type ---- */
  --font-display: "Playfair Display", "Aref Ruqaa", Georgia, serif;
  --font-head:    "Outfit", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", "Tajawal", system-ui, sans-serif;

  /* ---- Geometry ---- */
  --container: 1200px;
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-gold: 0 18px 44px -20px rgba(233, 193, 83, 0.55);
  --shadow-deep: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image:
    radial-gradient(rgba(233, 193, 83, 0.04) 1px, transparent 1.4px),
    radial-gradient(circle at 100% -5%, rgba(233, 193, 83, 0.07) 0%, transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(201, 154, 46, 0.05) 0%, transparent 45%);
  background-size: 26px 26px, 100% 100%, 100% 100%;
  background-attachment: fixed, fixed, fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(233, 193, 83, 0.26); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }

.h-hero { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; }
.h2     { font-size: clamp(2rem, 4vw, 3.1rem); }
.h3     { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.lead   { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.muted  { color: var(--muted); }
.gold   { color: var(--gold); }

.gold-text {
  background: linear-gradient(95deg, var(--gold-hi), var(--gold), var(--gold-bronze));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.center { text-align: center; }
.center .lead { margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  color: var(--gold-ink);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { box-shadow: 0 22px 54px -18px rgba(233, 193, 83, 0.7); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); background: rgba(233, 193, 83, 0.06); }

.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px) saturate(140%);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand__mark { width: 34px; height: 34px; }
.brand b { color: var(--gold); font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem;
  color: var(--ink-2); padding: 9px 15px; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.nav__links a.active { color: var(--gold); }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; background: none; border: 0; color: var(--ink); padding: 8px; }

@media (max-width: 940px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(14, 13, 11, 0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); padding: 14px 24px 22px; gap: 4px;
  }
  .nav__links.open a { padding: 13px 16px; }
}

/* --------------------------------------------------------------- hero */
.hero { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% 0 auto 0; height: 620px; z-index: -1;
  background: radial-gradient(60% 80% at 50% 0%, rgba(233, 193, 83, 0.16), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 500;
  color: var(--ink-2); padding: 7px 15px 7px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(233, 193, 83, 0.04);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(87, 201, 139, 0.18); }
.pill b { color: var(--gold); font-weight: 600; }

.hero__title { margin-top: 22px; }
.hero__lead { margin-top: 22px; }
.hero__cta { margin-top: 30px; }
.hero__meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 0.88rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { color: var(--gold); }

/* --------------------------------------------------------------- browser-frame mockups */
.frame {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  position: relative;
}
.frame--float { transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); transition: transform .6s var(--ease); }
.frame--float:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }

.frame__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 16px; border-bottom: 1px solid rgba(0,0,0,0.12);
  background: rgba(0, 0, 0, 0.18);
}
.frame__dots { display: flex; gap: 7px; }
.frame__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.frame__dots i:nth-child(1) { background: #f15b50; }
.frame__dots i:nth-child(2) { background: #f5bd4f; }
.frame__dots i:nth-child(3) { background: #5ac056; }
.frame__url {
  flex: 1; font-family: var(--font-body); font-size: 0.76rem; color: var(--muted);
  background: rgba(0,0,0,0.22); border-radius: 7px; padding: 5px 12px;
  display: flex; align-items: center; gap: 7px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.frame__url svg { flex-shrink: 0; opacity: .7; }

/* theme-toggle for showcase frames */
.shot-toggle {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(0,0,0,0.3);
}
.shot-toggle button {
  border: 0; background: none; color: var(--ink-2);
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  padding: 7px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.shot-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }

/* =====================================================================
   APP MOCKUP — Atmosphere (light) / Graphite (dark) admin dashboard
   Self-contained palette; toggled by [data-mode]
   ===================================================================== */
.app {
  --bg:        #FBF9F3;
  --elev:      #FFFFFF;
  --sunk:      #ECE7DB;
  --ink:       #1E2530;
  --ink-2:     #545C68;
  --accent:    #2E6B4E;
  --accent-2:  #D6EFE0;
  --warm:      #C18A5E;
  --hair:      #DAD5C9;
  --ok:        #4A8F6A;
  --warn:      #C99A4E;
  --bad:       #C0533F;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  display: grid;
  grid-template-columns: 188px 1fr;
  min-height: 440px;
}
.app[data-mode="dark"] {
  --bg:     #201F1D;
  --elev:   #2B2926;
  --sunk:   #25231F;
  --ink:    #ECE9E2;
  --ink-2:  #ABA79F;
  --accent: #5AA37C;
  --accent-2: #2C3A30;
  --hair:   #3A3733;
  --ok:     #5AA37C;
  --warn:   #C99A4E;
  --bad:    #D06B54;
}

.app__side {
  background: var(--sunk);
  border-right: 1px solid var(--hair);
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.app__org { display: flex; align-items: center; gap: 9px; padding: 6px 8px 14px; }
.app__org .logo { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--accent), var(--warm)); }
.app__org b { font-family: var(--font-head); font-weight: 700; font-size: 0.86rem; }
.app__org small { display: block; color: var(--ink-2); font-size: 0.66rem; }
.app__nav { display: flex; flex-direction: column; gap: 2px; }
.app__nav a {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 500; color: var(--ink-2);
  padding: 8px 10px; border-radius: 8px;
}
.app__nav a .ic { width: 15px; height: 15px; border-radius: 4px; border: 1.6px solid currentColor; opacity: .7; }
.app__nav a.on { background: var(--accent); color: #fff; }
.app__nav a.on .ic { opacity: 1; border-color: #fff; }

.app__main { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.app__top { display: flex; align-items: center; justify-content: space-between; }
.app__top h4 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; }
.app__top .sub { font-size: 0.72rem; color: var(--ink-2); }
.app__search { background: var(--elev); border: 1px solid var(--hair); border-radius: 8px; padding: 7px 12px; font-size: 0.72rem; color: var(--ink-2); width: 150px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: var(--elev); border: 1px solid var(--hair); border-radius: 12px; padding: 13px 14px; }
.kpi small { font-size: 0.66rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.kpi b { display: block; font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; margin-top: 5px; letter-spacing: -0.02em; }
.kpi .trend { font-size: 0.66rem; font-weight: 600; margin-top: 4px; display: inline-flex; align-items: center; gap: 4px; }
.kpi .trend.up { color: var(--ok); }
.kpi .trend.down { color: var(--bad); }

.panes { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.pane { background: var(--elev); border: 1px solid var(--hair); border-radius: 12px; padding: 14px; }
.pane h5 { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.pane h5 span { font-size: 0.62rem; color: var(--ink-2); font-weight: 500; }

.chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 14px; }
.chart .bar { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--accent), color-mix(in oklab, var(--accent) 55%, transparent)); position: relative; }
.chart .bar::after { content: ""; position: absolute; inset: auto 0 -16px 0; height: 1px; }
.chart-x { display: flex; gap: 8px; margin-top: 8px; }
.chart-x span { flex: 1; text-align: center; font-size: 0.58rem; color: var(--ink-2); }

.rows { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.row { display: flex; align-items: center; gap: 10px; font-size: 0.74rem; }
.row .av { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-2); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 0.66rem; flex-shrink: 0; }
.app[data-mode="dark"] .row .av { color: var(--accent); }
.row .who { flex: 1; min-width: 0; }
.row .who b { font-weight: 600; font-size: 0.74rem; }
.row .who small { display: block; color: var(--ink-2); font-size: 0.64rem; }
.tag { font-size: 0.6rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.tag.new { background: var(--accent-2); color: var(--accent); }
.tag.won { background: color-mix(in oklab, var(--ok) 22%, transparent); color: var(--ok); }
.tag.risk { background: color-mix(in oklab, var(--warn) 24%, transparent); color: var(--warn); }

/* =====================================================================
   STOREFRONT MOCKUP — gold-on-black RAWAF consumer / Umrah surface
   ===================================================================== */
.store {
  background:
    radial-gradient(circle at 100% 0%, rgba(233,193,83,0.10), transparent 45%),
    var(--black);
  color: var(--ink);
  min-height: 440px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--font-body);
}
.store__top { display: flex; align-items: center; justify-content: space-between; }
.store__brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; }
.store__brand .logo { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--gold-hi), var(--gold-bronze)); }
.store__brand b { color: var(--gold); }
.store__nav { display: flex; gap: 14px; font-size: 0.72rem; color: var(--ink-2); }
.store__nav span:first-child { color: var(--gold); }

.umrah-hero { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: linear-gradient(135deg, rgba(233,193,83,0.07), transparent); }
.umrah-hero .kick { font-family: var(--font-head); font-size: 0.66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.umrah-hero h4 { font-family: var(--font-display); font-size: 1.4rem; margin-top: 6px; line-height: 1.1; }
.umrah-hero p { font-size: 0.74rem; color: var(--ink-2); margin-top: 6px; max-width: 42ch; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.pkg { border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; background: var(--panel-2); }
.pkg .ph { height: 64px; background: linear-gradient(135deg, var(--panel-3), #2c2419); position: relative; }
.pkg .ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(233,193,83,0.16), transparent 60%); }
.pkg .bd { padding: 10px 11px; }
.pkg .bd b { font-size: 0.76rem; font-weight: 600; }
.pkg .bd small { display: block; color: var(--muted); font-size: 0.64rem; margin-top: 2px; }
.pkg .price { margin-top: 8px; display: flex; align-items: baseline; gap: 5px; }
.pkg .price b { color: var(--gold); font-family: var(--font-head); font-size: 0.95rem; }
.pkg .price small { color: var(--muted); font-size: 0.6rem; }

.chat { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--panel); display: flex; flex-direction: column; gap: 9px; }
.bubble { font-size: 0.72rem; padding: 9px 12px; border-radius: 12px; max-width: 78%; line-height: 1.4; }
.bubble.them { background: var(--panel-2); border: 1px solid var(--line-soft); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.me { background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep)); color: var(--gold-ink); align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.chat .agent { font-size: 0.6rem; color: var(--gold); font-weight: 600; margin-bottom: -3px; }

/* --------------------------------------------------------------- showcase block */
.showcase { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.showcase--rev { grid-template-columns: 1.08fr 0.92fr; }
.showcase--rev .showcase__copy { order: 2; }
@media (max-width: 900px) {
  .showcase, .showcase--rev { grid-template-columns: 1fr; gap: 32px; }
  .showcase--rev .showcase__copy { order: 0; }
}
.showcase__copy h2 { margin-top: 16px; }
.showcase__copy .lead { margin-top: 14px; }
.feat-list { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.feat-list li { display: flex; gap: 12px; list-style: none; font-size: 0.96rem; color: var(--ink-2); }
.feat-list .tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(233, 193, 83, 0.12); color: var(--gold);
  display: grid; place-items: center; margin-top: 1px;
}
.feat-list b { color: var(--ink); font-weight: 600; }
.showcase__panel { display: flex; flex-direction: column; gap: 14px; }
.showcase__panel .shot-toggle { align-self: flex-start; }

/* --------------------------------------------------------------- logo strip */
.logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(24px, 5vw, 60px); }
.logos img { height: 26px; width: auto; opacity: 0.55; filter: brightness(0) invert(1); transition: opacity .3s var(--ease); }
.logos img:hover { opacity: 0.9; }
.logos-cap { text-align: center; color: var(--muted); font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 30px; font-family: var(--font-head); font-weight: 500; }

/* --------------------------------------------------------------- cards / grids */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 24px 50px -30px rgba(233,193,83,0.3); }
.card__ic {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(233, 193, 83, 0.1); color: var(--gold);
  border: 1px solid var(--line-soft);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.18rem; }
.card p { color: var(--ink-2); margin-top: 9px; font-size: 0.96rem; }

/* agent chips */
.agents { display: flex; flex-wrap: wrap; gap: 10px; }
.agent-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px 9px 10px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,0.02);
  font-size: 0.88rem; transition: border-color .25s var(--ease), background .25s var(--ease);
}
.agent-chip:hover { border-color: var(--line); background: rgba(233,193,83,0.05); }
.agent-chip .badge {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-bronze));
  color: var(--gold-ink); display: grid; place-items: center; font-weight: 700; font-size: 0.74rem;
}
.agent-chip b { font-weight: 600; }
.agent-chip span { color: var(--muted); font-size: 0.8rem; }

/* pipeline */
.pipe { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; counter-reset: step; }
.pipe__step {
  flex: 1; min-width: 150px; position: relative;
  padding: 22px 20px; border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
}
.pipe__step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.pipe__step:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.pipe__step + .pipe__step { border-left: 0; }
.pipe__step .n {
  font-family: var(--font-head); font-size: 0.72rem; color: var(--gold);
  font-weight: 700; letter-spacing: .1em;
}
.pipe__step b { display: block; margin-top: 8px; font-family: var(--font-head); font-size: 1.05rem; }
.pipe__step small { display: block; margin-top: 5px; color: var(--muted); font-size: 0.8rem; }
.pipe__step .arrow-r { position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; }
.pipe__step:last-child .arrow-r { display: none; }
@media (max-width: 760px) {
  .pipe { flex-direction: column; }
  .pipe__step { border-radius: 0 !important; border-left: 1px solid var(--line-soft) !important; }
  .pipe__step + .pipe__step { border-top: 0; }
  .pipe__step:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; }
  .pipe__step:last-child  { border-radius: 0 0 var(--radius) var(--radius) !important; }
  .pipe__step .arrow-r { right: 50%; top: auto; bottom: -9px; transform: translateX(50%) rotate(90deg); }
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { text-align: center; padding: 22px 12px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(255,255,255,0.015); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1; }
.stat small { display: block; margin-top: 10px; color: var(--ink-2); font-size: 0.86rem; }

/* testimonials */
.quote { background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.quote__mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--gold); height: 24px; }
.quote p { color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-hi), var(--gold-bronze)); color: var(--gold-ink); display: grid; place-items: center; font-weight: 700; }
.quote__by b { display: block; font-size: 0.92rem; }
.quote__by small { color: var(--muted); font-size: 0.78rem; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(233,193,83,0.16), transparent 70%),
    linear-gradient(180deg, var(--panel), var(--black));
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { margin: 16px auto 0; }
.cta-band .btn-row { margin-top: 30px; justify-content: center; }

/* --------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line-soft); padding-block: 60px 36px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin-top: 16px; max-width: 34ch; }
.footer__col h4 { font-family: var(--font-head); font-size: 0.82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--ink-2); font-size: 0.92rem; padding: 6px 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 0.84rem; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-soft); display: grid; place-items: center; color: var(--ink-2); transition: all .2s var(--ease); }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }

/* --------------------------------------------------------------- pricing */
.price-toggle { display: inline-flex; align-items: center; gap: 14px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); margin-top: 8px; }
.price-toggle button { border: 0; background: none; color: var(--ink-2); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; padding: 9px 20px; border-radius: 999px; transition: all .2s var(--ease); }
.price-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.price-toggle .save { font-size: 0.72rem; color: var(--success); font-weight: 600; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 22px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.tier:hover { transform: translateY(-4px); }
.tier--pop { border-color: var(--gold); box-shadow: var(--shadow-gold); position: relative; }
.tier__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep)); color: var(--gold-ink); font-family: var(--font-head); font-weight: 700; font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.tier__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.tier__desc { color: var(--muted); font-size: 0.84rem; margin-top: 5px; min-height: 38px; }
.tier__price { margin-top: 16px; display: flex; align-items: baseline; gap: 5px; }
.tier__price b { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; }
.tier__price .per { color: var(--muted); font-size: 0.84rem; }
.tier__price .custom { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; }
.tier .btn { width: 100%; margin-top: 20px; }
.tier__feats { list-style: none; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 12px; }
.tier__feats li { display: flex; gap: 10px; font-size: 0.88rem; color: var(--ink-2); }
.tier__feats .tick { color: var(--gold); flex-shrink: 0; }
.tier__feats .muted-feat { color: var(--muted); opacity: .6; }

.cmp { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.92rem; }
.cmp th, .cmp td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--line-soft); }
.cmp thead th { font-family: var(--font-head); color: var(--gold); font-size: 0.8rem; letter-spacing: .06em; text-transform: uppercase; }
.cmp tbody th { font-weight: 500; color: var(--ink); }
.cmp td { text-align: center; color: var(--ink-2); }
.cmp td.yes { color: var(--gold); }
.cmp tbody tr:hover { background: rgba(255,255,255,0.015); }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }

/* --------------------------------------------------------------- contact / forms */
.contact-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-size: 0.84rem; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem;
  background: var(--black); color: var(--ink);
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(233, 193, 83, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { color: var(--muted); font-size: 0.8rem; text-align: center; margin-top: 14px; }

.form__ok { display: none; text-align: center; padding: 30px 10px; }
.form__ok.show { display: block; }
.form__ok .check { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px; background: rgba(87,201,139,0.14); color: var(--success); display: grid; place-items: center; }
.form.sent .form__body { display: none; }

.contact-aside .card { margin-bottom: 16px; }
.contact-aside .ic-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.contact-aside .ic-row:last-child { border-bottom: 0; }
.contact-aside .ic-row .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(233,193,83,0.1); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.contact-aside .ic-row b { display: block; font-family: var(--font-head); font-size: 0.92rem; }
.contact-aside .ic-row small { color: var(--ink-2); font-size: 0.84rem; }

/* --------------------------------------------------------------- about */
.about-hero { text-align: center; }
.about-hero .lead { margin-inline: auto; }
.value-card { padding: 28px 24px; }
.value-card .num { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.tl-item:last-child { border-bottom: 0; }
.tl-item .yr { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--gold); }
.tl-item h3 { font-size: 1.15rem; }
.tl-item p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 560px) { .tl-item { grid-template-columns: 70px 1fr; gap: 18px; } }

/* --------------------------------------------------------------- reveal anim */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }
