/* ============================================================
   RedCloud CSPM — Marketing site styles
   Dark, modern, glassmorphic. Bilingual (LTR/RTL).
   ============================================================ */

:root {
  --bg: #0b0d12;
  --bg-2: #0f1218;
  --bg-3: #131722;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e6e8ee;
  --text-muted: #9aa3b2;
  --text-dim: #6b7384;
  --accent: #ff3b3b;
  --accent-2: #ff7a45;
  --accent-glow: rgba(255, 59, 59, 0.35);
  --good: #38d399;
  --warn: #f6c552;
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.55);
  --font: "Inter", "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --transition: 240ms cubic-bezier(.2,.8,.2,1);
}

html[dir="rtl"] {
  --font: "Heebo", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  z-index: 200;
}
.skip-link:focus { inset-inline-start: 16px; top: 16px; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(11, 13, 18, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 32px; height: 32px;
  display: inline-grid; place-items: center;
  background: rgba(255, 59, 59, 0.12);
  border: 1px solid rgba(255, 59, 59, 0.28);
  border-radius: 9px;
}
.logo-text { color: #fff; }
.logo-text--accent { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline-start: 28px;
}
.nav__links a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
}
.nav__links a:hover { color: #fff; }

.nav__actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-toggle:hover { background: var(--surface-2); border-color: #fff; }

.nav__menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav__menu-btn span {
  width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  font-family: inherit;
}
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -8px var(--accent-glow);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-2); color: #fff; border-color: #fff; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.grid-overlay {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 35%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
}
.hero__glow--1 {
  background: radial-gradient(closest-side, var(--accent) 0%, transparent 70%);
  top: -180px; inset-inline-start: -160px;
}
.hero__glow--2 {
  background: radial-gradient(closest-side, var(--accent-2) 0%, transparent 70%);
  bottom: -200px; inset-inline-end: -180px;
  opacity: 0.35;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
}
.hero__title {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 22px auto 18px;
  font-weight: 800;
  max-width: 18ch;
}
.text-gradient {
  background: linear-gradient(110deg, #fff 0%, #ffd0bf 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 32px;
}
.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.stat { text-align: center; padding: 8px 6px; }
.stat__num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  font-feature-settings: "tnum" 1;
}
.stat__label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== BAND (why) ===== */
.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}
.band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.band__item {
  padding: 36px 26px;
  border-inline-end: 1px solid var(--border);
}
.band__item:last-child { border-inline-end: 0; }
.band__icon { font-size: 26px; margin-bottom: 10px; }
.band__item h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.band__item p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ===== SECTION ===== */
.section { padding: 110px 0; position: relative; }
.section--alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 800px;
  margin-inline: auto;
}
.section__head h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
  font-weight: 800;
}
.section__lede { color: var(--text-muted); font-size: 16px; margin: 0; }

/* ===== CARDS (capabilities) ===== */
.section--platform {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(255, 122, 69, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.platform-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.platform-node {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.028)),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 20px 70px -60px rgba(255, 59, 59, 0.8);
}

.platform-node::after {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,59,59,0.18), transparent 68%);
  pointer-events: none;
}

.platform-node--wide { grid-column: span 2; }

.platform-node__kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-node h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.platform-node p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.card__icon {
  font-size: 26px;
  margin-bottom: 12px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(255, 59, 59, 0.08);
  border: 1px solid rgba(255, 59, 59, 0.18);
  border-radius: 12px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.005em; }
.card p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* ===== TECH GRID ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.tech-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.tech-block h3 {
  font-size: 19px;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.tech-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.tech-list li {
  font-size: 14.5px;
  color: var(--text-muted);
  padding-inline-start: 18px;
  position: relative;
  line-height: 1.55;
}
.tech-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.tech-list li strong { color: #fff; font-weight: 600; margin-inline-end: 6px; }

.flow {
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.flow-step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 250px;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  inset-inline-end: -15px;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.flow-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(255, 59, 59, 0.1);
  border: 1px solid rgba(255, 59, 59, 0.28);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
}

.flow-step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.flow-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.kv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.kv > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14.5px;
}
.kv > div:last-child, .kv > div:nth-last-child(2) { border-bottom: 0; }
.kv__k { color: var(--text-muted); }
.kv__v { color: #fff; font-weight: 700; font-family: var(--font-mono); }

/* ===== CLOUDS ===== */
.cloud-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cloud-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
}
.cloud-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.cloud-card__head {
  display: flex; align-items: center; justify-content: space-between;
}
.cloud-logo {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
}
.cloud-logo--gcp { color: #4285f4; border-color: rgba(66,133,244,0.35); background: rgba(66,133,244,0.08); }
.cloud-logo--aws { color: #ff9900; border-color: rgba(255,153,0,0.35); background: rgba(255,153,0,0.08); }
.cloud-logo--azure { color: #50aaff; border-color: rgba(80,170,255,0.35); background: rgba(80,170,255,0.08); }
.cloud-logo--m365 { color: #cf6dff; border-color: rgba(207,109,255,0.35); background: rgba(207,109,255,0.08); }
.cloud-logo--saas { color: #38d399; border-color: rgba(56,211,153,0.35); background: rgba(56,211,153,0.08); }

.cloud-card__num {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
}
.cloud-card p { margin: 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.55; }
.cloud-card__paths {
  display: flex; align-items: center; justify-content: flex-start;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ===== CHIPS (compliance) ===== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  font-family: var(--font-mono);
}
.chip:hover { background: var(--surface-2); border-color: var(--accent); color: #fff; }

/* ===== COMPARE TABLE ===== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.cmp th, .cmp td {
  padding: 14px 16px;
  text-align: start;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}
.cmp thead th {
  background: rgba(255,255,255,0.03);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  position: sticky; top: 0;
}
.cmp thead th:nth-child(2) { color: var(--accent); }
.cmp tbody tr:hover { background: rgba(255,255,255,0.02); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td { color: var(--text-muted); }
.cmp td:first-child { color: var(--text); font-weight: 500; }
.cmp .y { color: var(--good); font-size: 18px; font-weight: 800; }
.cmp .p { color: var(--warn); font-size: 18px; font-weight: 800; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proof-card {
  padding: 28px 24px;
  min-height: 210px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025)),
    var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}

.proof-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 69, 0.45);
}

.proof-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.proof-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.cmp__legend {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: 18px 0 0;
}
.cmp__legend .y { color: var(--good); font-weight: 700; }
.cmp__legend .p { color: var(--warn); font-weight: 700; }

.cmp__sub {
  text-align: center;
  margin: 64px 0 8px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
}
.cmp__sublede {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 26px;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 26px;
}

/* ===== INTEGRATIONS ===== */
.int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.int-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.int-block h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: #fff; }
.int-block p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== USE CASES ===== */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.uc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: all var(--transition);
}
.uc:hover { border-color: var(--accent); }
.uc h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.uc p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* ===== CTA ===== */
.cta {
  padding: 110px 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(255, 59, 59, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-top: 1px solid var(--border);
}
.cta__inner { max-width: 720px; text-align: center; }
.cta h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 800;
}
.cta p { color: var(--text-muted); margin: 0 0 28px; font-size: 16px; }
.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px;
}
.cta__form input {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: #fff;
  padding: 13px 14px;
  font-size: 14.5px;
  font-family: inherit;
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.cta__form input::placeholder { color: var(--text-dim); }
.cta__form input:focus { background: rgba(255,255,255,0.06); border-color: var(--accent); }
.cta__form button {
  grid-column: 1 / -1;
  width: 100%;
  padding: 14px 22px;
  font-size: 15px;
}
.cta__note {
  margin-top: 18px;
  color: var(--good);
  font-weight: 600;
  font-size: 14px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 60px;
  background: var(--bg-2);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand p {
  color: var(--text-muted);
  margin: 14px 0 0;
  font-size: 14.5px;
  max-width: 360px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.footer__cols h5 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 700;
}
.footer__cols a {
  display: block;
  color: var(--text-muted);
  font-size: 14.5px;
  padding: 4px 0;
}
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .platform-map { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .cloud-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow-step { min-height: auto; }
  .flow-step:not(:last-child)::after {
    inset-inline-end: auto;
    left: 42px;
    right: auto;
    top: auto;
    bottom: -15px;
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, var(--accent), transparent);
  }
  html[dir="rtl"] .flow-step:not(:last-child)::after {
    left: auto;
    right: 42px;
  }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .int-grid, .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .band__grid { grid-template-columns: repeat(2, 1fr); }
  .band__item:nth-child(2) { border-inline-end: 0; }
  .band__item:nth-child(1), .band__item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4), .stat:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: flex; }
  .nav__inner { gap: 12px; }
  .hero { padding: 70px 0 50px; }
  .hero__title { margin-top: 18px; }
  .section { padding: 70px 0; }
  .cta { padding: 70px 0; }
  .platform-map, .proof-grid { grid-template-columns: 1fr; }
  .platform-node--wide { grid-column: span 1; }
  .cards, .cloud-grid, .int-grid, .uc-grid { grid-template-columns: 1fr; }
  .band__grid { grid-template-columns: 1fr; }
  .band__item { border-inline-end: 0 !important; border-bottom: 1px solid var(--border); }
  .band__item:last-child { border-bottom: 0; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); padding: 16px 12px; }
  .stat:last-child { grid-column: span 2; }
  .cta__form { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .nav-mobile-open .nav__links {
    display: flex;
    position: absolute;
    inset-inline: 12px;
    top: 64px;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: var(--bg-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    margin-inline-start: 0;
    box-shadow: var(--shadow);
  }
  .nav-mobile-open .nav__links a {
    padding: 10px 12px; border-radius: 8px;
  }
  .nav-mobile-open .nav__links a:hover { background: var(--surface-2); }
}

/* ===== Reveal anim ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== RTL adjustments ===== */
html[dir="rtl"] .hero__glow--1 { inset-inline-start: auto; right: -160px; }
html[dir="rtl"] .hero__glow--2 { inset-inline-end: auto; left: -180px; }
html[dir="rtl"] .text-gradient {
  background: linear-gradient(250deg, #fff 0%, #ffd0bf 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ===== Selection ===== */
::selection { background: var(--accent); color: #fff; }

/* ============================================================
   PRODUCT IN ACTION — real-screenshot showcase
   ============================================================ */
.section--product { position: relative; }
.section--product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255,59,59,0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.shot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0 auto 4rem;
  max-width: 1100px;
}
.shot:last-of-type { margin-bottom: 0; }

.shot__frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #11141b 0%, #0b0d12 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 24px 60px -20px rgba(0,0,0,0.7),
    0 8px 24px -6px rgba(255,59,59,0.12),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.shot__frame:hover {
  transform: translateY(-3px);
  box-shadow:
    0 32px 70px -20px rgba(0,0,0,0.8),
    0 12px 28px -6px rgba(255,59,59,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.shot__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.04) 0%,
    transparent 28%
  );
}
.shot__frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* Placeholder pattern while screenshot file isn't on disk yet */
.shot__frame img[src=""],
.shot__frame img:not([src]),
.shot__frame img[alt]:-moz-broken,
.shot__frame img[alt][data-broken="true"] {
  min-height: 320px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.03) 0,
      rgba(255,255,255,0.03) 12px,
      rgba(255,255,255,0.06) 12px,
      rgba(255,255,255,0.06) 24px
    );
}

.shot figcaption {
  padding: 0 0.5rem;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.shot figcaption h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.shot figcaption p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}
.shot--wide { max-width: 1180px; }

html[dir="rtl"] .shot figcaption { text-align: center; }

@media (max-width: 720px) {
  .shot { margin-bottom: 2.5rem; }
  .shot figcaption h3 { font-size: 1.15rem; }
  .shot figcaption p { font-size: 0.92rem; }
}
