/* ==========================================================================
   Aali Tab Yaghoot Kavir — Light Modern Redesign
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #f6f7fb;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f1f3fa;

  /* Text */
  --ink: #0e1424;
  --body: #4b566b;
  --muted: #78849b;
  --faint: #9aa4b8;

  /* Lines */
  --line: #e6e9f2;
  --line-strong: #d6dbea;

  /* Brand */
  --indigo: #4f46e5;
  --indigo-2: #6366f1;
  --indigo-soft: #eef0ff;
  --mint: #10b8a2;
  --mint-soft: #e6f8f5;
  --amber: #f59e0b;
  --amber-soft: #fff5e3;
  --sky: #0ea5e9;
  --sky-soft: #e7f5fe;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, .05);
  --shadow: 0 10px 30px rgba(16, 24, 40, .07);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .12);
  --shadow-brand: 0 14px 34px rgba(79, 70, 229, .28);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --maxw: 1200px;
  --font: 'Vazirmatn', 'Plus Jakarta Sans', system-ui, sans-serif;
  --display: 'Plus Jakarta Sans', 'Vazirmatn', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Persian/Arabic-script languages read better with Vazirmatn for headings too */
html[lang="fa"], html[lang="ps"], html[lang="ckb"] { --display: 'Vazirmatn', 'Plus Jakarta Sans', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* `clip` avoids the extra scroll container `hidden` creates on iOS WebKit,
   which can stop scroll-driven effects from updating. */
@supports (overflow: clip) {
  body { overflow-x: clip; }
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, background .25s, border-color .25s; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 800; letter-spacing: -.02em; text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
p { margin: 0; }
::selection { background: var(--indigo); color: #fff; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 44px);
  position: relative;
  z-index: 2;
}

.mono { font-family: var(--mono); }

/* ---------- Ambient background ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.aurora .b1 { width: 620px; height: 620px; top: -220px; inset-inline-start: -180px; background: radial-gradient(circle, #c7d2fe, transparent 68%); }
.aurora .b2 { width: 520px; height: 520px; top: 12%; inset-inline-end: -200px; background: radial-gradient(circle, #ccfbef, transparent 68%); }
.aurora .b3 { width: 480px; height: 480px; top: 58%; inset-inline-start: 40%; background: radial-gradient(circle, #ffe8bf, transparent 70%); opacity: .38; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  z-index: 90;
  background: linear-gradient(90deg, var(--indigo), var(--mint));
  border-end-end-radius: 3px;
  transition: width .1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--indigo-2), var(--indigo)); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(79, 70, 229, .36); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--indigo); color: var(--indigo); }
.btn-light { background: #fff; color: var(--indigo); box-shadow: 0 12px 30px rgba(9, 14, 40, .18); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow.light { color: #fff; background: rgba(255, 255, 255, .16); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 60;
  padding-block: 18px;
  transition: padding .35s var(--ease);
}
.site-header.scrolled { padding-block: 10px; }
/* Sits above the mobile overlay so the close button stays reachable */
.header-inner { position: relative; z-index: 60; max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(14px, 4vw, 44px); }

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
  padding-inline: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 6px 24px rgba(16, 24, 40, .06);
  transition: box-shadow .35s, background .35s, height .35s var(--ease);
}
.site-header.scrolled .nav-shell {
  height: 60px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 34px rgba(16, 24, 40, .1);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--indigo-2), var(--indigo) 55%, #8b5cf6);
  box-shadow: var(--shadow-brand);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 15px; font-weight: 800; color: var(--ink); }
.brand-text small {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav { position: relative; display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.main-nav a {
  position: relative;
  z-index: 2;
  color: var(--body);
  padding: 9px 15px;
  border-radius: 999px;
}
.main-nav a:hover { color: var(--indigo); }
.main-nav a.active { color: var(--indigo); }
.nav-pill {
  position: absolute;
  z-index: 1;
  inset-block-start: 50%;
  height: 38px;
  border-radius: 999px;
  background: var(--indigo-soft);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity .3s, inset-inline-start .35s var(--ease), width .35s var(--ease);
}
.nav-pill.on { opacity: 1; }

.nav-right { display: flex; align-items: center; gap: 10px; }

/* Language */
.lang { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  background: var(--surface);
}
.lang-btn:hover { border-color: var(--indigo); color: var(--indigo); }
.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 12px);
  min-width: 190px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 70;
}
.lang-menu.open { display: block; animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.lang-menu button {
  display: block;
  width: 100%;
  text-align: start;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
}
.lang-menu button:hover { background: var(--surface-soft); color: var(--ink); }
.lang-menu button.active { background: var(--indigo); color: #fff; font-weight: 700; }

/* Mobile menu */
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(246, 247, 251, .97);
  backdrop-filter: blur(14px);
  padding: 118px 26px 40px;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu > a:not(.btn) {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn.block { width: 100%; margin-top: 22px; }
.mobile-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.mobile-langs button {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--body);
  font-size: 14px;
  font-weight: 600;
}
.mobile-langs button.active { background: var(--indigo); border-color: var(--indigo); color: #fff; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-block: clamp(130px, 16vw, 180px) clamp(40px, 6vw, 70px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .8);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.hero .badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(16, 184, 162, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(16, 184, 162, 0); } }

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.3rem);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero h1 .hl {
  background: linear-gradient(115deg, var(--indigo-2), var(--mint) 55%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.95;
  color: var(--body);
  max-width: 52ch;
  margin-bottom: 34px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-copy > * { animation: rise .85s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Hero visual */
.hero-visual { position: relative; animation: rise 1s var(--ease) .2s both; }
.weave-card {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #ffffff, #f3f5fd);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: clamp(16px, 3vw, 30px);
}
.weave-card svg { width: 100%; height: auto; }
.spin-slow { animation: spin 46s linear infinite; }
.spin-rev { animation: spin 62s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.draw { stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 3.2s var(--ease) .4s forwards; }
.draw.d2 { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.float-chip .dot.mint { background: var(--mint); }
.float-chip .dot.amber { background: var(--amber); }
.float-chip .dot.indigo { background: var(--indigo); }
.chip-a { top: 8%; inset-inline-start: -18px; }
.chip-b { top: 46%; inset-inline-end: -22px; animation-delay: 1.4s; }
.chip-c { bottom: 7%; inset-inline-start: 8%; animation-delay: 2.6s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(42px, 6vw, 72px);
}
/* No backdrop-filter here: on iOS/iPadOS WebKit an element that both blurs its
   backdrop and animates its opacity can render blank. */
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-card .idx {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--indigo);
  display: block;
  margin-bottom: 10px;
}
.stat-card strong { display: block; font-size: 17px; font-weight: 800; color: var(--ink); font-family: var(--display); }
.stat-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 4px; }
.stat-card:nth-child(2) .idx { color: var(--mint); }
.stat-card:nth-child(3) .idx { color: var(--amber); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding-block: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 38px; width: max-content; white-space: nowrap; animation: scroll 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  display: flex;
  align-items: center;
  gap: 38px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}
.marquee span::after { content: "✦"; color: var(--indigo); font-size: 10px; }
@keyframes scroll { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* ==========================================================================
   Sections
   ========================================================================== */
.sec { position: relative; z-index: 2; padding-block: clamp(70px, 9vw, 112px); }
.sec-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.2; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 17px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(30px, 5vw, 66px);
  align-items: start;
}
.about-body p { color: var(--body); font-size: 17px; margin-bottom: 18px; }

.about-visual {
  position: relative;
  margin-top: 26px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3.4;
  background: #fff;
  box-shadow: var(--shadow);
}
.about-visual-art {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(79, 70, 229, .10) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(-45deg, rgba(16, 184, 162, .10) 0 2px, transparent 2px 13px),
    radial-gradient(90% 80% at 20% 10%, rgba(199, 210, 254, .55), transparent 60%),
    radial-gradient(80% 70% at 90% 90%, rgba(255, 232, 191, .6), transparent 60%),
    linear-gradient(160deg, #ffffff, #eef1fb);
  animation: shift 18s ease-in-out infinite alternate;
}
@keyframes shift { to { background-position: 26px 26px, -26px 26px, 0 0, 0 0, 0 0; } }
.about-visual .overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 24px;
  background: linear-gradient(transparent, rgba(255, 255, 255, .92) 60%);
}
.about-visual .overlay span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--indigo);
}

.highlight-card {
  position: relative;
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--indigo-soft), #fff 65%);
  box-shadow: var(--shadow-sm);
}
.hl-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fff;
  color: var(--amber);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.highlight-card h3 { font-size: 18px; margin-bottom: 8px; }
.highlight-card p { color: var(--body); font-size: 15px; }

/* ---------- Products ---------- */
.products { background: var(--bg-alt); border-block: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .38s var(--ease), box-shadow .38s, border-color .38s;
}
.product-card::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--mint));
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .45s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.product-card:hover::after { transform: scaleX(1); }
.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.product-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--indigo-soft);
  color: var(--indigo);
}
.product-num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: .12em; }
.product-card h3 { font-size: 20px; margin-bottom: 10px; }
.product-card p { color: var(--body); font-size: 15px; line-height: 1.85; }
.product-card:nth-child(2) .product-icon { background: var(--amber-soft); color: var(--amber); }
.product-card:nth-child(3) .product-icon { background: var(--mint-soft); color: var(--mint); }
.product-card:nth-child(4) .product-icon { background: var(--sky-soft); color: var(--sky); }
.product-card:nth-child(2)::after { background: linear-gradient(90deg, var(--amber), var(--indigo)); }
.product-card:nth-child(3)::after { background: linear-gradient(90deg, var(--mint), var(--sky)); }
.product-card:nth-child(4)::after { background: linear-gradient(90deg, var(--sky), var(--indigo)); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(140deg, var(--indigo-2), var(--indigo));
  box-shadow: var(--shadow-brand);
  margin-bottom: 20px;
}
.why-card:nth-child(2) .why-num { background: linear-gradient(140deg, #2dd4bf, var(--mint)); box-shadow: 0 14px 30px rgba(16, 184, 162, .28); }
.why-card:nth-child(3) .why-num { background: linear-gradient(140deg, #fbbf24, var(--amber)); box-shadow: 0 14px 30px rgba(245, 158, 11, .26); }
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { color: var(--body); font-size: 15px; }

/* ---------- Network ---------- */
.network { background: var(--bg-alt); border-block: 1px solid var(--line); }
.network-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
.network-map {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #fff, #f4f6fd);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow);
}
.network-map svg { width: 100%; height: auto; }

.city-list { display: grid; gap: 12px; }
.city-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.city-item:hover { transform: translateX(0) translateY(-3px); border-color: var(--indigo); box-shadow: var(--shadow); }
.city-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .14);
}
.city-item:nth-child(3n+2) .city-dot { background: var(--mint); box-shadow: 0 0 0 4px rgba(16, 184, 162, .16); }
.city-item:nth-child(3n) .city-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 158, 11, .16); }
.city-item strong { display: block; font-size: 15px; color: var(--ink); font-weight: 700; line-height: 1.5; }
.city-item span { font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 70px); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-xl);
  color: #fff;
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(45, 212, 191, .55), transparent 55%),
    radial-gradient(70% 130% at 0% 100%, rgba(139, 92, 246, .55), transparent 55%),
    linear-gradient(135deg, #4338ca, #4f46e5);
  box-shadow: 0 30px 70px rgba(67, 56, 202, .3);
  overflow: hidden;
}
.cta-copy h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.cta-copy p { color: rgba(255, 255, 255, .82); max-width: 52ch; font-size: 16px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; z-index: 2; background: var(--bg-alt); border-block-start: 1px solid var(--line); padding-block: 58px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 38ch; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.footer-col a:hover { color: var(--indigo); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}

/* ==========================================================================
   Reveal + responsive
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.visible { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .main-nav, .desk-cta { display: none; }
  .menu-btn { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; }
  .about-grid, .network-wrap { grid-template-columns: 1fr; }
  .product-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .brand-text small { display: none; }
  .brand-text b { font-size: 14px; white-space: nowrap; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .lang-btn { padding: 9px 11px; }
  .lang-btn #lang-label { display: none; }
  .nav-shell { padding-inline: 12px; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-chip { font-size: 10px; padding: 7px 12px; }
  .chip-a { inset-inline-start: -6px; }
  .chip-b { inset-inline-end: -6px; }
  .product-card, .why-card { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .draw { stroke-dashoffset: 0; }
}
