/* ============================================================
   قيم POS — Marketing site design system
   Brand: Indigo #1E40AF · Sky #0EA5E9  (matches the app theme)
   ============================================================ */
:root {
  --indigo: #1e40af;
  --indigo-600: #2f4fd6;
  --indigo-400: #6b82ea;
  --sky: #0ea5e9;
  --sky-300: #4cc4f5;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;

  --ink: #0b1220;
  --ink-2: #111a2e;
  --slate: #475569;
  --slate-light: #64748b;
  --line: #e6eaf2;
  --surface: #f4f6fb;
  --white: #ffffff;

  --grad: linear-gradient(120deg, var(--indigo) 0%, var(--sky) 100%);
  --grad-soft: linear-gradient(120deg, rgba(30,64,175,.10), rgba(14,165,233,.10));

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
  --shadow: 0 18px 44px -18px rgba(30, 64, 175, .28);
  --shadow-lg: 0 40px 90px -30px rgba(15, 23, 42, .35);
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
section { position: relative; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .8rem; letter-spacing: .3px;
  color: var(--indigo); background: var(--grad-soft);
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(30,64,175,.14);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(14,165,233,.18); }
h1, h2, h3 { line-height: 1.25; font-weight: 900; letter-spacing: -.3px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--slate); font-size: clamp(1.02rem, 1.6vw, 1.2rem); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 1rem; padding: 15px 26px; border-radius: 14px;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -18px rgba(30,64,175,.5); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.btn-outline { background: #fff; color: var(--indigo); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { transform: translateY(-3px); border-color: var(--indigo-400); }

/* ---- Google Play badge button ---- */
.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0b1220; color: #fff; padding: 11px 22px 11px 20px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 16px 34px -16px rgba(0,0,0,.5);
}
.play-badge:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(0,0,0,.6); }
.play-badge .g { width: 30px; height: 33px; flex: none; }
.play-badge .t { text-align: start; line-height: 1.15; }
.play-badge .t small { display: block; font-size: .62rem; opacity: .8; font-weight: 600; }
.play-badge .t b { font-size: 1.18rem; font-weight: 800; letter-spacing: .2px; }
.play-badge.light { background: #fff; color: var(--ink); border-color: var(--line); }

/* ============================= HEADER ============================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(11,18,32,.72); border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 900; font-size: 1.25rem; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 18px -6px rgba(14,165,233,.7); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: #cdd6ea; font-weight: 700; font-size: .95rem; padding: 9px 14px; border-radius: 10px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; font-size: 1.3rem; }

/* ============================= HERO ============================= */
.hero { position: relative; color: #fff; background: var(--ink); padding: clamp(40px, 7vw, 96px) 0 clamp(60px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 120%;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(14,165,233,.34), transparent 60%),
    radial-gradient(52% 55% at 12% 8%, rgba(30,64,175,.5), transparent 60%),
    radial-gradient(40% 45% at 60% 90%, rgba(47,79,214,.25), transparent 60%);
  filter: blur(6px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); margin: 20px 0 18px; }
.hero .lead { color: #c6d0e6; max-width: 40ch; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .86rem; color: #dce4f5; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 8px 14px; border-radius: 999px; }
.chip svg { width: 16px; height: 16px; color: var(--sky-300); }

/* phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 630;
  background: #0a1020; border: 9px solid #0a1020; border-radius: 42px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06) inset;
  overflow: hidden; transform: rotate(-3deg); transition: transform .5s var(--ease);
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 40%; height: 20px; background: #0a1020; border-radius: 0 0 14px 14px; z-index: 3; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.float-card {
  position: absolute; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 11px; font-weight: 800;
  border: 1px solid rgba(255,255,255,.6); animation: floaty 5s ease-in-out infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card small { display: block; color: var(--slate-light); font-weight: 700; font-size: .74rem; }
.fc-1 { top: 12%; inset-inline-start: -8%; }
.fc-2 { bottom: 14%; inset-inline-end: -10%; animation-delay: 1.4s; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }

/* trust marquee under hero */
.trust { background: var(--ink-2); color: #93a2c2; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.06); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; font-weight: 800; }
.trust b { color: #fff; }
.trust .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); opacity: .7; }

/* ============================= SECTIONS ============================= */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.alt { background: var(--surface); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 16px 0 12px; }

/* bento value props */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento .cell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; position: relative;
}
.section.alt .bento .cell { background: #fff; }
.bento .cell:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(30,64,175,.28); }
.bento .cell.big { grid-column: span 2; grid-row: span 2; background: var(--ink); color: #fff; border: none; }
.bento .cell.wide { grid-column: span 2; }
.cell .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; background: var(--grad-soft); color: var(--indigo); }
.bento .cell.big .ic { background: rgba(255,255,255,.12); color: #fff; }
.cell h3 { font-size: 1.22rem; margin-bottom: 8px; }
.cell p { color: var(--slate); font-size: .97rem; }
.bento .cell.big p { color: #c6d0e6; }
.bento .cell.big h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.mini-list { margin-top: 16px; display: grid; gap: 9px; }
.mini-list li { display: flex; align-items: center; gap: 9px; color: #dbe3f5; font-weight: 700; font-size: .93rem; }
.mini-list svg { width: 18px; height: 18px; color: var(--sky-300); flex: none; }

/* features grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; box-shadow: var(--shadow-sm);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(14,165,233,.3); }
.feature .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; background: var(--grad); color: #fff; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--slate); font-size: .93rem; }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.shot { position: relative; border-radius: 30px; overflow: hidden; border: 8px solid var(--ink); box-shadow: var(--shadow); background: var(--ink); transition: transform .35s var(--ease); }
.shot:hover { transform: translateY(-8px) scale(1.02); }
.shot img { width: 100%; display: block; }
.screens-more { text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.screens-more .btn { font-size: .98rem; }
.shot-cap {
  position: absolute; inset-inline: 10px; bottom: 10px; text-align: center;
  color: #fff; font-weight: 800; font-size: .9rem; padding: 7px 10px; border-radius: 12px;
  background: linear-gradient(0deg, rgba(11,18,32,.92), rgba(11,18,32,.6));
  backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.12);
}

/* comparison table */
.compare { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: .96rem; }
table.cmp thead th { background: var(--ink); color: #fff; font-weight: 800; position: sticky; top: 0; }
table.cmp thead th.qcol { background: var(--grad); }
table.cmp tbody th { text-align: start; font-weight: 800; color: var(--ink); background: #fbfcfe; }
table.cmp td.qcol { background: rgba(14,165,233,.07); font-weight: 800; }
.yes { color: var(--success); font-weight: 900; }
.no { color: #c0c7d4; font-weight: 900; }
.cmp .tag { font-size: .78rem; color: var(--slate-light); font-weight: 700; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 18px; inset-inline-end: 22px; font-size: 2.6rem; font-weight: 900; color: rgba(30,64,175,.10); }
.step .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--indigo); margin-bottom: 14px; }
.step h3 { font-size: 1.14rem; margin-bottom: 6px; }
.step p { color: var(--slate); font-size: .95rem; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
details.q { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; box-shadow: var(--shadow-sm); transition: border-color .25s; }
details.q[open] { border-color: rgba(30,64,175,.3); }
details.q summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 1.06rem; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary .plus { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--grad-soft); color: var(--indigo); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s; }
details.q[open] summary .plus { transform: rotate(45deg); }
details.q p { color: var(--slate); padding: 0 0 18px; }

/* final CTA */
.cta-final { position: relative; overflow: hidden; color: #fff; text-align: center; background: var(--ink); }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(14,165,233,.4), transparent 60%), radial-gradient(50% 120% at 20% 100%, rgba(30,64,175,.5), transparent 60%); }
.cta-final .wrap { position: relative; z-index: 2; }
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.cta-final p { color: #c6d0e6; max-width: 55ch; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-final .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* footer */
.footer { background: #070c17; color: #93a2c2; padding: 56px 0 26px; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p.desc { color: #7d8cab; font-size: .94rem; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { display: block; color: #93a2c2; padding: 6px 0; font-weight: 600; transition: color .2s; }
.footer a:hover { color: var(--sky-300); }
.footer .wa { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; background: #1f8f4e22; border: 1px solid #25d36655; padding: 10px 16px; border-radius: 12px; margin-top: 8px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #6b7a99; font-size: .88rem; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================= RESPONSIVE ============================= */

/* ---- tablets / small laptops ---- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-chips { justify-content: center; }
  .hero-visual { margin-top: 30px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .cell.big { grid-column: span 2; grid-row: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---- phones (portrait/landscape) ---- */
@media (max-width: 720px) {
  .wrap { width: min(100% - 32px, var(--maxw)); }
  .section { padding: 52px 0; }
  .sec-head { margin-bottom: 30px; }

  /* header: keep a compact, persistent download CTA */
  .nav { gap: 10px; padding: 12px 0; }
  .brand { font-size: 1.12rem; gap: 9px; }
  .brand img { width: 34px; height: 34px; }
  .nav-links { display: none; position: absolute; top: 66px; inset-inline: 12px; flex-direction: column; align-items: stretch; background: #0e1728; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 10px; gap: 4px; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .menu-btn { display: grid; place-items: center; width: 42px; height: 42px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-primary { padding: 9px 15px; font-size: .85rem; border-radius: 11px; }

  /* hero */
  .hero { padding: 34px 0 56px; }
  .hero h1 { margin: 16px 0 14px; font-size: clamp(1.6rem, 6.6vw, 2.4rem); line-height: 1.32; }
  .hero .lead { max-width: none; font-size: 1rem; }

  /* headings scale down so long Arabic lines never crowd the edges */
  .sec-head h2 { font-size: clamp(1.42rem, 5.6vw, 2rem); }
  .sec-head .lead { font-size: .98rem; }
  .cta-final h2 { font-size: clamp(1.5rem, 5.8vw, 2.1rem); }
  .cta-final p { font-size: 1rem; }
  .bento .cell.big h3 { font-size: 1.3rem; }
  .hero-cta { margin: 24px 0 18px; }
  .hero-cta .play-badge { flex: 1 1 auto; justify-content: center; }
  .hero-cta .btn-ghost { flex: 1 1 auto; }
  .phone { width: min(268px, 70vw); }
  .float-card { display: none; }

  /* trust bar */
  .trust .wrap { gap: 10px 20px; font-size: .9rem; }
  .trust .sep { display: none; }

  /* value + features */
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento .cell { grid-column: auto !important; padding: 22px; }
  .bento .cell.big { grid-column: auto; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature { padding: 18px; }
  .feature h3 { font-size: 1.02rem; }
  .feature p { font-size: .88rem; }

  /* screenshots: 2-up gallery */
  .shots { grid-template-columns: 1fr 1fr; gap: 14px; }
  .shot { border-width: 6px; border-radius: 22px; }
  .shot-cap { font-size: .78rem; padding: 5px 8px; bottom: 8px; inset-inline: 8px; }

  /* comparison → stacked cards (no horizontal scroll on mobile) */
  .compare { overflow: visible; border: none; box-shadow: none; background: transparent; border-radius: 0; }
  table.cmp { min-width: 0; width: 100%; }
  table.cmp thead { display: none; }
  table.cmp, table.cmp tbody, table.cmp tr, table.cmp th, table.cmp td { display: block; }
  table.cmp tr {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow-sm); padding: 4px 16px 10px; margin-bottom: 14px;
  }
  table.cmp tbody th {
    text-align: start; font-size: 1.06rem; font-weight: 800; color: var(--ink);
    padding: 12px 0 10px; margin-bottom: 4px; border-bottom: 2px solid var(--line); background: transparent;
  }
  table.cmp td {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid var(--surface); font-size: .95rem; text-align: start;
  }
  table.cmp tr td:last-child { border-bottom: none; }
  table.cmp td::before { content: attr(data-label); font-weight: 700; color: var(--slate); }
  table.cmp td.qcol {
    background: rgba(14,165,233,.07); border-radius: 10px; padding-inline: 12px; margin: 2px 0;
    border-bottom: none;
  }
  table.cmp td.qcol::before { color: var(--indigo); font-weight: 800; }
  .cmp .tag { font-size: .82rem; }

  /* steps */
  .step { padding: 24px 22px; }

  /* CTA + footer */
  .cta-final .row .play-badge, .cta-final .row .btn { flex: 1 1 auto; justify-content: center; }
  .footer { padding: 44px 0 22px; }
  .footer .top { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer .top > div:first-child { grid-column: 1 / -1; }
  .footer .bottom { justify-content: center; text-align: center; }
}

/* ---- small phones ---- */
@media (max-width: 460px) {
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; gap: 16px; max-width: 320px; margin-inline: auto; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .play-badge { justify-content: center; }
  .footer .top { grid-template-columns: 1fr; }
  .trust .wrap { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .phone { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   GUIDE / DOCS PAGE (guide.html)
   ============================================================ */
.guide-hero { background: var(--ink); color: #fff; padding: clamp(40px,7vw,84px) 0 clamp(30px,4vw,48px); position: relative; overflow: hidden; }
.guide-hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 130%; pointer-events: none;
  background:
    radial-gradient(55% 55% at 80% 8%, rgba(14,165,233,.34), transparent 60%),
    radial-gradient(52% 55% at 15% 6%, rgba(30,64,175,.5), transparent 60%);
  filter: blur(6px);
}
.guide-hero .wrap { position: relative; z-index: 2; text-align: center; }
.guide-hero h1 { font-size: clamp(1.85rem,4.6vw,3rem); margin: 14px 0 12px; }
.guide-hero p.lead { color: #c6d0e6; max-width: 62ch; margin: 0 auto 26px; }
.guide-search { position: relative; max-width: 560px; margin: 0 auto; }
.guide-search input {
  width: 100%; padding: 15px 52px 15px 18px; border-radius: 14px; font-family: inherit;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font-size: 1.05rem;
}
.guide-search input::placeholder { color: #9fb0d0; }
.guide-search input:focus { outline: none; border-color: var(--sky-300); background: rgba(255,255,255,.12); }
.guide-search .si { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: #9fb0d0; width: 22px; height: 22px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.chip-f {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #dce4f5;
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; cursor: pointer; font-family: inherit;
  transition: background .2s, border-color .2s, color .2s;
}
.chip-f:hover { background: rgba(255,255,255,.16); }
.chip-f.active { background: var(--grad); border-color: transparent; color: #fff; }

.guide-list { padding: clamp(40px,6vw,78px) 0; display: grid; gap: clamp(30px,4.5vw,56px); }
.guide-row { display: flex; align-items: center; gap: clamp(26px,4vw,56px); scroll-margin-top: 90px; }
.guide-row:nth-child(even) { flex-direction: row-reverse; }
.gr-phone { flex: 0 0 clamp(230px,26vw,290px); }
.gr-phone .frame { border-radius: 30px; overflow: hidden; border: 8px solid var(--ink); background: var(--ink); box-shadow: var(--shadow); max-width: 290px; margin-inline: auto; }
.gr-phone img { width: 100%; display: block; }
.gr-text { flex: 1; min-width: 0; }
.gr-cat { display: inline-block; font-weight: 800; font-size: .78rem; color: var(--indigo); background: var(--grad-soft); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(30,64,175,.14); margin-bottom: 12px; }
.gr-text h2 { font-size: clamp(1.35rem,2.6vw,1.95rem); margin-bottom: 10px; }
.gr-text > p { color: var(--slate); font-size: 1.04rem; margin-bottom: 16px; }
.gr-steps { display: grid; gap: 10px; }
.gr-steps li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink); font-weight: 600; font-size: .98rem; }
.gr-steps li .n { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .82rem; margin-top: 1px; }
.guide-empty { display: none; text-align: center; color: var(--slate); padding: 50px 0; font-weight: 700; font-size: 1.1rem; }
.guide-cta { text-align: center; padding: 0 0 clamp(50px,8vw,90px); }
.guide-cta .btn, .guide-cta .play-badge { margin-inline: auto; }

@media (max-width: 860px) {
  .guide-row, .guide-row:nth-child(even) { flex-direction: column; gap: 22px; }
  .gr-phone { flex: none; width: min(240px,66vw); }
  .gr-text { width: 100%; }
  .gr-text h2 { font-size: clamp(1.3rem,5.4vw,1.7rem); }
  .gr-cat { margin-inline: 0; }
}
