/* Shared style for every language page. Pages are generated by _src/build.py. */
:root {
  --navy-1: #061633;
  --navy-2: #0b4f7a;
  --gold: #ffd21f;
  --gold-ink: #1a1400;
  --bg: #f4f6fb;
  --card: #ffffff;
  --ink: #0f1a2b;
  --muted: #5a6780;
  --line: #e1e6ef;
  --link: #0b5fa5;
  --icon-bg: rgba(11, 79, 122, .09);
  --icon-ink: #0b4f7a;
  --shadow: 0 10px 30px rgba(7, 26, 61, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}
html[lang="ka"] { --font: "Noto Sans Georgian", "Inter", system-ui, "Segoe UI", sans-serif; }
html[lang="fa"] { --font: "Vazirmatn", system-ui, "Segoe UI", Tahoma, sans-serif; }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1120;
    --card: #111a2c;
    --ink: #e9eef8;
    --muted: #9aa8c2;
    --line: #1f2b44;
    --link: #7cc4ff;
    --icon-bg: rgba(124, 196, 255, .1);
    --icon-ink: #7cc4ff;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
svg { display: block; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 210, 31, .14), transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(14, 106, 158, .45), transparent 45%),
    linear-gradient(160deg, var(--navy-1) 0%, var(--navy-2) 100%);
  padding: 1.1rem 0 4.5rem;
}
.hero .crosshair {
  position: absolute;
  width: 560px; height: 560px;
  inset-inline-end: -140px; top: 40px;
  color: var(--gold);
  opacity: .07;
  pointer-events: none;
}
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; font-weight: 700; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.langs { display: flex; gap: .25rem; flex-wrap: wrap; justify-content: flex-end; }
.langs a {
  color: #cfe0f5; text-decoration: none; font-size: .85rem; font-weight: 600;
  padding: .3rem .6rem; border-radius: 999px; border: 1px solid transparent;
}
.langs a:hover { border-color: rgba(255, 255, 255, .25); }
.langs a[aria-current="page"] { background: rgba(255, 255, 255, .14); color: #fff; }
.langs .short { display: none; }
@media (max-width: 560px) {
  .langs .full { display: none; }
  .langs .short { display: inline; }
  .langs { flex-wrap: nowrap; gap: 0; }
  .langs a { padding: .3rem .45rem; font-size: .8rem; }
  .brand { white-space: nowrap; gap: .5rem; font-size: .95rem; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: #cfe0f5;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: .3rem .8rem; border-radius: 999px;
}
.eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); }
.hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 1.1rem 0 1rem;
}
html[lang="ka"] .hero h1, html[lang="fa"] .hero h1 { letter-spacing: 0; line-height: 1.25; }
.hero h1 span { color: var(--gold); white-space: nowrap; }
.lead { font-size: 1.12rem; color: #d3e1f3; max-width: 34rem; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; text-decoration: none;
  padding: .95rem 1.35rem; border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn-gold {
  color: var(--gold-ink);
  background: linear-gradient(180deg, #ffdd45, #ffc800);
  box-shadow: 0 8px 24px rgba(255, 200, 0, .28);
}
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.chips { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: #bcd0ea; font-size: .93rem; }
.chips li { display: flex; align-items: center; gap: .4rem; }
.chips svg { width: 16px; height: 16px; color: var(--gold); }
.note { margin: .9rem 0 0; color: #9fb6d4; font-size: .9rem; }

/* phone mock: a deal card the way it lands in the bot */
.phone-col { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.phone {
  width: min(100%, 330px);
  background: #0e1621;
  border-radius: 30px;
  padding: 14px 14px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  direction: ltr;
  font-family: "Inter", system-ui, "Segoe UI", sans-serif;
}
.phone-top { display: flex; align-items: center; gap: .6rem; padding: 2px 4px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.phone-top img { width: 34px; height: 34px; border-radius: 50%; }
.phone-top b { display: block; font-size: .92rem; }
.phone-top small { color: #7f91a4; font-size: .78rem; }
.bubble {
  margin-top: 14px;
  background: #182533;
  color: #e9eef5;
  border-radius: 16px 16px 16px 5px;
  padding: 11px 13px 8px;
  font-size: .9rem;
  line-height: 1.5;
}
.bubble .hot { font-weight: 800; color: var(--gold); }
.bubble .model { font-weight: 700; margin-top: .45rem; }
.bubble .market { color: #9fb2c6; font-style: italic; padding-left: 1.4rem; }
.bubble time { display: block; text-align: right; color: #6f8296; font-size: .72rem; margin-top: 2px; }
.caption { color: #9fb6d4; font-size: .85rem; text-align: center; }

/* ---------- sections ---------- */
section { padding: 4.5rem 0 0; }
.section-head { max-width: 40rem; margin-bottom: 1.75rem; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}
.icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--icon-bg); color: var(--icon-ink);
  margin-bottom: 1rem;
}
.icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.card p { margin: 0; color: var(--muted); }
.step-no { float: inline-end; color: var(--muted); font-weight: 700; font-size: .85rem; opacity: .7; }

.trust {
  display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr);
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem; box-shadow: var(--shadow);
}
.trust div { display: flex; gap: .85rem; align-items: flex-start; }
.trust .icon { flex: none; margin: 0; width: 40px; height: 40px; border-radius: 11px; }
.trust .icon svg { width: 20px; height: 20px; }
.trust h3 { font-size: 1rem; margin: 0 0 .2rem; }
.trust p { margin: 0; color: var(--muted); font-size: .95rem; }

.final {
  margin-top: 4.5rem;
  border-radius: 24px;
  padding: 2.75rem 1.5rem;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 210, 31, .16), transparent 45%),
    linear-gradient(160deg, var(--navy-1), var(--navy-2));
}
.final h2 { margin-bottom: .5rem; }
.final p { color: #d3e1f3; margin: 0 auto 1.5rem; max-width: 30rem; }

.social { display: flex; flex-wrap: wrap; gap: .6rem; }
.social a {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: .55rem 1.05rem; font-weight: 600;
  transition: border-color .15s ease, transform .15s ease;
}
.social a:hover { border-color: var(--link); transform: translateY(-1px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

footer { margin-top: 4rem; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
footer ul { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2rem; }
  .cards, .trust { grid-template-columns: 1fr; }
  .hero .crosshair { width: 380px; height: 380px; inset-inline-end: -160px; top: 10px; }
}
