/* SROMBot - srombot.app. Black and gold, the Silk Road at sunset. */

:root {
  --bg: #0b0906;
  --surface: #14100a;
  --surface-2: #1c160d;
  --gold: #d5a93a;
  --gold-hi: #f6d98a;
  --gold-lo: #9a7422;
  --text: #f5ecd9;
  --muted: #bfae8c;
  --line: rgba(213, 169, 58, 0.34);
  --line-soft: rgba(213, 169, 58, 0.16);
  --glow: 0 0 0 1px var(--line), 0 18px 50px -24px rgba(213, 169, 58, 0.45);

  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --script: "Aref Ruqaa", "Cairo", serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

.gold-text {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 1.6em;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
}
.btn.gold {
  color: #1d1406;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #b98a26);
  box-shadow: 0 10px 30px -12px rgba(246, 217, 138, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn.gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(246, 217, 138, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn.gold:active { transform: translateY(0); }
.btn.ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(11, 9, 6, 0.55);
  backdrop-filter: blur(6px);
}
.btn.ghost:hover { border-color: var(--gold); background: rgba(213, 169, 58, 0.1); }
.btn.small { min-height: 42px; font-size: 0.95rem; padding: 0 1.1em; }
.chev { width: 0.5em; height: 0.5em; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }

/* ---------------------------------------------------------------- top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px var(--gutter);
  background: rgba(11, 9, 6, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.brand img { width: 64px; height: 64px; }
.topbar nav { flex: 1; }
.nav { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 34px); flex-wrap: wrap; }
.nav a { color: var(--muted); font-weight: 600; font-size: 0.98rem; padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.nav a:hover, .nav a.on { color: var(--gold-hi); border-color: var(--gold); }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  padding: 80px var(--gutter) 150px;
  isolation: isolate;
}
.hero-art, .hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 40%;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* The copy is on the right, where the sun is: darken that side, keep the rider. */
  background:
    linear-gradient(to left, rgba(11, 9, 6, 0.94) 0%, rgba(11, 9, 6, 0.7) 34%, rgba(11, 9, 6, 0.12) 64%, transparent 80%),
    linear-gradient(to top, var(--bg) 0%, rgba(11, 9, 6, 0) 30%);
}
.hero-copy { max-width: 720px; }
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  letter-spacing: -0.01em;
  color: var(--text);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.hero h1 span {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55));
}
@media (min-width: 861px) { .hero h1 span { white-space: nowrap; } }
.lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #efe3c8; max-width: 34em; }
.lead b { color: var(--gold-hi); font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.script {
  font-family: var(--script);
  color: var(--gold);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  opacity: 0.92;
}
.hero .script { margin-top: 34px; }

/* ---------------------------------------------------------------- trust strip */

.trust {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: -86px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 12px;
  font-weight: 800;
  font-size: 1.05rem;
  background: linear-gradient(180deg, rgba(28, 22, 13, 0.92), rgba(14, 11, 7, 0.95));
  border: 1px solid var(--line);
  border-inline-start-width: 0;
}
.trust li:first-child { border-inline-start-width: 1px; border-start-start-radius: var(--radius); border-end-start-radius: var(--radius); }
.trust li:last-child { border-start-end-radius: var(--radius); border-end-end-radius: var(--radius); }
.trust svg, .card svg { flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust svg { width: 30px; height: 30px; }

/* ---------------------------------------------------------------- sections */

.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--gutter) 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}
.section-head h2::before, .section-head h2::after {
  content: "";
  width: clamp(40px, 8vw, 110px);
  height: 1px;
  background: linear-gradient(to var(--dir, left), transparent, var(--gold));
}
.section-head h2::after { --dir: right; }
.section-head p { margin-top: 10px; color: var(--muted); }

/* ---------------------------------------------------------------- feature cards */

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative;
  padding: 34px 24px 30px;
  text-align: center;
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 50% 0%, rgba(213, 169, 58, 0.12), transparent 60%), var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--glow); }
.card svg { width: 54px; height: 54px; margin: 0 auto 18px; filter: drop-shadow(0 0 12px rgba(213, 169, 58, 0.35)); }
.card h3 { font-weight: 800; font-size: 1.22rem; color: var(--gold-hi); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; }

/* ---------------------------------------------------------------- play your way */

.split {
  max-width: var(--max);
  margin: clamp(72px, 9vw, 120px) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}
.split-copy {
  order: 0;
  padding: 44px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-end: 0;
  border-start-start-radius: var(--radius);
  border-end-start-radius: var(--radius);
}
.split-art {
  order: 1;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-start-end-radius: var(--radius);
  border-end-end-radius: var(--radius);
}
.split-art img { width: 100%; height: 100%; object-fit: cover; }
.split-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(20, 16, 10, 0.85), transparent 30%), linear-gradient(to top, rgba(11, 9, 6, 0.75), transparent 40%);
}
.script.on-art { position: absolute; z-index: 1; left: 28px; bottom: 22px; max-width: 12em; }
.split-copy h2 { font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.split-copy > p { color: var(--muted); margin: 6px 0 26px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(11, 9, 6, 0.6);
  font-weight: 700;
  font-size: 0.98rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.chips li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.chips li:hover { border-color: var(--gold); background: rgba(213, 169, 58, 0.08); }
.chips .wide { grid-column: 1 / -1; }
.chips .soon { color: var(--muted); border-style: dashed; }
.chips .soon::before { background: var(--gold-lo); box-shadow: none; }
.chips em { font-style: normal; margin-inline-start: auto; font-size: 0.8rem; color: #1d1406; background: var(--gold); padding: 2px 10px; border-radius: 999px; }

/* ---------------------------------------------------------------- how it works */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.steps b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: #1d1406;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
}
.steps h3 { font-weight: 800; font-size: 1.18rem; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* ---------------------------------------------------------------- pricing */

.pricing {
  position: relative;
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(64px, 8vw, 100px) var(--gutter);
  isolation: isolate;
  border-block: 1px solid var(--line-soft);
}
.pricing-art, .pricing-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pricing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(11, 9, 6, 0.86), rgba(11, 9, 6, 0.93)); }
.pricing-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}
.price-actions { order: 0; display: grid; gap: 14px; }
.price-card { order: 1; }
.flow { order: 2; }
.price-card {
  min-width: 300px;
  padding: 30px 40px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: radial-gradient(100% 80% at 50% 0%, rgba(213, 169, 58, 0.16), transparent 70%), rgba(14, 11, 7, 0.9);
  box-shadow: var(--glow);
}
.eyebrow { color: var(--muted); font-size: 0.92rem; }
.price { margin-top: 6px; font-size: 1.6rem; font-weight: 800; color: var(--gold-hi); }
.price b { font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 900; line-height: 1; }
.period { font-size: 1.4rem; font-weight: 800; }
.note { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
.pay-ways { color: var(--muted); font-size: 0.9rem; text-align: center; }
.flow { display: flex; align-items: flex-start; justify-content: center; gap: 18px; position: relative; }
.flow::before { content: ""; position: absolute; top: 25px; inset-inline: 46px; height: 1px; background: linear-gradient(to left, var(--gold-lo), var(--gold), var(--gold-lo)); z-index: 0; }
.flow li { display: grid; justify-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: 0.95rem; width: 92px; }
.flow b { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg); color: var(--gold-hi); font-size: 1.2rem; }

/* ---------------------------------------------------------------- FAQ */

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.2s;
}
.faq details[open], .faq details:hover { border-color: var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------------------------------------------------------------- closing */

.closing {
  max-width: var(--max);
  margin: clamp(72px, 9vw, 120px) auto 0;
  padding: 36px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  border-block: 1px solid var(--line-soft);
  background: radial-gradient(60% 120% at 80% 50%, rgba(213, 169, 58, 0.12), transparent 70%);
}
.closing-logo { width: 220px; height: 220px; filter: drop-shadow(0 12px 40px rgba(213, 169, 58, 0.35)); }
.closing h2 { font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.closing p { color: var(--muted); margin: 8px 0 20px; }

/* ---------------------------------------------------------------- footer */

.footer { padding: 36px var(--gutter) 44px; text-align: center; }
.footer .nav { margin-bottom: 18px; }
.legal { color: var(--muted); font-size: 0.88rem; }

/* ---------------------------------------------------------------- motion */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.cards .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------------------------------------------------------------- smaller screens */

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; justify-items: center; }
  .price-card { order: 0; }
  .price-actions { order: 1; width: min(100%, 420px); }
  .flow { order: 2; }
  .closing { grid-template-columns: auto 1fr; }
  .closing .script { display: none; }
}

@media (max-width: 860px) {
  .topbar nav { display: none; }
  .topbar { justify-content: space-between; }
  .brand img { width: 52px; height: 52px; }
  .hero { min-height: 92vh; align-items: flex-end; padding-bottom: 120px; }
  .hero-art img { object-position: 22% 50%; }
  .hero::before {
    background: linear-gradient(to top, var(--bg) 4%, rgba(11, 9, 6, 0.85) 42%, rgba(11, 9, 6, 0.25) 75%, rgba(11, 9, 6, 0.1));
  }
  .trust { grid-template-columns: repeat(2, 1fr); margin-top: -64px; }
  .trust li { border-inline-start-width: 1px; border-radius: 0 !important; font-size: 0.98rem; }
  .trust li:nth-child(1) { border-start-start-radius: var(--radius) !important; }
  .trust li:nth-child(2) { border-start-end-radius: var(--radius) !important; }
  .trust li:nth-child(3) { border-end-start-radius: var(--radius) !important; }
  .trust li:nth-child(4) { border-end-end-radius: var(--radius) !important; }
  .split { grid-template-columns: 1fr; }
  .split-art { order: 0; aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; }
  .split-copy { order: 1; border-inline-end: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 30px 22px; }
  .steps { grid-template-columns: 1fr; }
  .closing { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .closing-logo { width: 170px; height: 170px; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .price-card { min-width: 0; width: 100%; padding: 26px 20px; }
  .section-head h2::before, .section-head h2::after { display: none; }
}
