/* Dejanu — Premium marketing design system */

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn[wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #04080f;
  --navy-900: #0a1628;
  --navy-800: #0f2137;
  --navy-700: #1a3a52;
  --navy-600: #234a66;
  --cyan-400: #22d3ee;
  --cyan-500: #00d4ff;
  --cyan-600: #00b4d8;
  --cyan-glow: rgba(0, 212, 255, 0.35);
  /* Secondary accents for a richer, modern startup palette */
  --blue-500: #3b82f6;
  --indigo-500: #6366f1;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;
  --violet-glow: rgba(139, 92, 246, 0.35);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: #94a3b8;
  --surface: #ffffff;
  --surface-elevated: #f8fafc;
  --surface-muted: #f1f5f9;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-fa: 'Vazirmatn', 'Plus Jakarta Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-h: 76px;
  --max-w: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 80px rgba(0, 212, 255, 0.15);
  /* Signature gradient used across CTAs, accents, and brand moments */
  --grad-brand: linear-gradient(120deg, var(--cyan-500) 0%, var(--blue-500) 45%, var(--violet-500) 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(0,212,255,0.16), rgba(99,102,241,0.16) 60%, rgba(139,92,246,0.16));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="fa"] body { font-family: var(--font-fa); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
body.menu-open { overflow: hidden; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3 { letter-spacing: 0; font-weight: 800; }

.gradient-text {
  background: linear-gradient(110deg, #fff 0%, var(--cyan-400) 35%, var(--violet-400) 80%, #c4b5fd 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-pan 8s ease-in-out infinite alternate;
}
@keyframes gradient-pan { from { background-position: 0% center; } to { background-position: 100% center; } }
.gradient-text-dark {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--blue-500) 55%, var(--violet-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-500);
}
html[lang="fa"] .eyebrow { letter-spacing: 0; text-transform: none; }
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: linear-gradient(90deg, var(--cyan-500), transparent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  position: relative;
  background: var(--grad-brand);
  background-size: 180% auto;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,212,255,0.30), 0 6px 24px rgba(139,92,246,0.18);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-position 0.5s var(--ease);
}
.btn-primary:hover { background-position: right center; box-shadow: 0 10px 38px rgba(0,212,255,0.40), 0 10px 38px rgba(139,92,246,0.28); }
/* Sweeping shine on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::after { left: 140%; }
.btn-ghost-dark {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--surface-muted); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.8125rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
/* Header logo — dual assets (no CSS filters) */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; display: block; }
.logo-light { display: none; }

/* Dark/transparent header over hero: white logo */
.site-header:not(.scrolled):not(.site-header--light) .logo-dark { display: none; }
.site-header:not(.scrolled):not(.site-header--light) .logo-light { display: block; }

/* Light header (scrolled or article pages): dark logo */
.site-header.scrolled .logo-light,
.site-header--light .logo-light { display: none; }
.site-header.scrolled .logo-dark,
.site-header--light .logo-dark { display: block; }

/* Light header pages start with solid bar + dark nav */
.site-header--light {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.site-header--light .nav-desktop a { color: var(--text-secondary); }
.site-header--light .nav-desktop a:hover,
.site-header--light .nav-desktop a.active { color: var(--text-primary); background: var(--surface-muted); }
.site-header--light .lang-switch a { color: var(--text-muted); }
.site-header--light .lang-switch a.active { color: var(--text-primary); background: var(--surface-muted); }
.site-header--light .menu-toggle span { background: var(--text-primary); }

.site-header:not(.scrolled):not(.site-header--light) .nav-desktop a { color: rgba(255,255,255,0.85); }
.site-header:not(.scrolled):not(.site-header--light) .nav-desktop a:hover,
.site-header:not(.scrolled):not(.site-header--light) .nav-desktop a.active { color: #fff; background: rgba(255,255,255,0.08); }
.site-header:not(.scrolled):not(.site-header--light) .lang-switch a { color: rgba(255,255,255,0.6); }
.site-header:not(.scrolled):not(.site-header--light) .lang-switch a.active { color: #fff; background: rgba(255,255,255,0.1); }
.site-header:not(.scrolled):not(.site-header--light) .menu-toggle span { background: #fff; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.nav-desktop { display: none; align-items: center; gap: 0.125rem; }
@media (min-width: 1100px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
}
.nav-desktop a:hover, .nav-desktop a.active {
  color: var(--text-primary);
  background: var(--surface-muted);
}
@media (min-width: 1100px) and (max-width: 1240px) {
  .nav-desktop a {
    padding: 0.45rem 0.58rem;
    font-size: 0.8125rem;
  }

  .header-actions {
    gap: 0.55rem;
  }

  .btn-sm {
    padding-inline: 0.9rem;
  }
}
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
@media (min-width: 1100px) and (max-width: 1240px) {
  .header-actions {
    gap: 0.55rem;
  }
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.lang-switch a {
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  color: var(--text-muted);
}
.lang-switch a.active { color: var(--text-primary); background: var(--surface-muted); }
.lang-switch .sep { opacity: 0.3; font-size: 0.65rem; }
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
@media (min-width: 1100px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.2s;
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--surface);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.0625rem;
  font-weight: 500;
  padding: 1rem;
  border-radius: var(--radius);
  color: var(--text-primary);
}
.nav-mobile a:hover { background: var(--surface-muted); }
.hide-mobile { display: none; }
@media (min-width: 1100px) { .hide-mobile { display: inline-flex; } }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 4rem) 0 6rem;
  background: var(--navy-950);
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}
.hero-glow {
  position: absolute;
  width: 820px; height: 820px;
  top: -22%; right: -10%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.16) 0%, transparent 65%);
  transition: transform 0.4s ease-out;
  will-change: transform;
}
.hero-glow-2 {
  position: absolute;
  width: 680px; height: 680px;
  bottom: -14%; left: -16%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.20) 0%, transparent 65%);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
/* Slow drifting aurora blobs add living depth behind the hero */
.hero-bg::before, .hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-bg::before {
  width: 460px; height: 460px;
  top: 12%; left: 8%;
  background: radial-gradient(circle, rgba(59,130,246,0.22), transparent 70%);
  animation: aurora-drift 14s ease-in-out infinite alternate;
}
.hero-bg::after {
  width: 380px; height: 380px;
  bottom: 6%; right: 14%;
  background: radial-gradient(circle, rgba(34,211,238,0.18), transparent 70%);
  animation: aurora-drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes aurora-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.12); }
  100% { transform: translate(-30px, 20px) scale(0.95); }
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 1.15fr; gap: 3rem; }
}
.hero-content { max-width: 560px; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cyan-400);
  margin-bottom: 1.75rem;
}
.hero-pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 12px var(--cyan-500);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: #fff;
}
.hero-lead {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  color: var(--text-on-dark-muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-metric strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cyan-400);
  font-variant-numeric: tabular-nums;
}
.hero-metric span {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  margin-top: 0.25rem;
  display: block;
}

/* Product showcase */
.showcase {
  position: relative;
  perspective: 1200px;
}
.showcase-frame {
  position: relative;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(20,32,52,0.9), rgba(10,22,40,0.9)) padding-box,
    linear-gradient(145deg, rgba(0,212,255,0.5), rgba(139,92,246,0.35) 50%, rgba(255,255,255,0.06)) border-box;
  border: 1px solid transparent;
  padding: 1px;
  box-shadow: var(--shadow-glow), 0 50px 90px rgba(0,0,0,0.55);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.showcase:hover .showcase-frame { transform: rotateY(0deg) rotateX(0deg); }
.showcase-inner {
  border-radius: calc(var(--radius-xl) - 1px);
  background: var(--navy-900);
  overflow: hidden;
}
.showcase-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.showcase-dots { display: flex; gap: 6px; }
.showcase-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: block;
}
.showcase-dots i:nth-child(1) { background: #ff5f57; }
.showcase-dots i:nth-child(2) { background: #febc2e; }
.showcase-dots i:nth-child(3) { background: #28c840; }
.showcase-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  background: rgba(0,0,0,0.25);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.showcase-url .lock { color: var(--success); }
.showcase-body {
  display: grid;
  grid-template-columns: 1fr 200px;
  min-height: 320px;
}
@media (max-width: 600px) { .showcase-body { grid-template-columns: 1fr; } }
.showcase-viewer {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.showcase-page-mock {
  flex: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.mock-bar { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 0.75rem; width: 60%; }
.mock-bar.short { width: 40%; }
.mock-line { height: 4px; background: rgba(255,255,255,0.05); border-radius: 2px; margin-bottom: 0.5rem; }
.mock-line:nth-child(3) { width: 90%; }
.mock-line:nth-child(4) { width: 75%; }
.mock-line:nth-child(5) { width: 85%; }
.stream-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--cyan-400);
  font-family: var(--font-mono);
}
.stream-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-500);
  animation: blink 1.5s infinite;
}
.showcase-sidebar {
  background: rgba(0,0,0,0.2);
  border-inline-start: 1px solid rgba(255,255,255,0.06);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (max-width: 600px) { .showcase-sidebar { display: none; } }
.policy-chip {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.6875rem;
}
.policy-chip .label { color: rgba(255,255,255,0.4); margin-bottom: 0.2rem; }
.policy-chip .value { color: #fff; font-weight: 600; }
.policy-chip.ok .value { color: var(--success); }
.policy-chip.warn .value { color: var(--warning); }

.float-card {
  position: absolute;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  font-size: 0.75rem;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}
.float-card-1 { top: 8%; right: -8%; animation-delay: 0s; }
.float-card-2 { bottom: 15%; left: -6%; animation-delay: -2s; }
html[lang="fa"] .float-card-1 { right: auto; left: -8%; }
html[lang="fa"] .float-card-2 { left: auto; right: -6%; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card .fc-title { font-weight: 700; color: #fff; margin-bottom: 0.15rem; }
.float-card .fc-sub { color: var(--text-on-dark-muted); font-size: 0.6875rem; }
.float-card .fc-badge {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
}
.fc-badge.green { background: rgba(16,185,129,0.15); color: var(--success); }
.fc-badge.red { background: rgba(239,68,68,0.15); color: var(--danger); }

/* Marquee */
.marquee-section {
  padding: 2.5rem 0;
  background: var(--navy-900);
  border-block: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}
html[lang="fa"] .marquee-label { letter-spacing: 0; text-transform: none; }
.marquee {
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[lang="fa"] .marquee-track { animation-direction: reverse; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.marquee-item svg { opacity: 0.6; }

/* Sections */
.section { padding: 6rem 0; }
.section-dark { background: var(--navy-950); color: var(--text-on-dark); }
.section-muted { background: var(--surface-elevated); }
.section-header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-header.center { text-align: center; margin-inline: auto; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.75rem 0 1rem;
  color: inherit;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.section-dark .section-header p { color: var(--text-on-dark-muted); }

/* Bento grid */
.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}
.bento-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 212, 255, 0.2);
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.bento-card:hover::before { opacity: 1; }
.bento-card.span-4 { grid-column: span 12; }
.bento-card.span-6 { grid-column: span 12; }
.bento-card.span-8 { grid-column: span 12; }
@media (min-width: 768px) {
  .bento-card.span-4 { grid-column: span 4; }
  .bento-card.span-6 { grid-column: span 6; }
  .bento-card.span-8 { grid-column: span 8; }
}
.section-dark .bento-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.section-dark .bento-card:hover { border-color: rgba(0,212,255,0.25); }
.bento-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(0,180,216,0.05));
  color: var(--cyan-600);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0,212,255,0.15);
}
.bento-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: inherit;
}
.bento-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.section-dark .bento-card p { color: var(--text-on-dark-muted); }
.bento-card.featured {
  background: linear-gradient(145deg, var(--navy-800), var(--navy-900));
  border-color: rgba(0,212,255,0.2);
  color: #fff;
}
.bento-card.featured p { color: var(--text-on-dark-muted); }
.bento-card.featured .bento-icon {
  background: rgba(0,212,255,0.15);
  color: var(--cyan-400);
}

/* Problem / solution split */
.split-section {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split-section { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.problem-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.problem-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: border-color 0.3s;
}
.problem-list li:hover { border-color: rgba(239,68,68,0.25); }
.problem-list .icon-x {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(239,68,68,0.1);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
}
.solution-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(0,212,255,0.15);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.solution-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }
.solution-card p { color: var(--text-on-dark-muted); margin-bottom: 1.5rem; line-height: 1.7; }
.solution-stat {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.solution-stat div strong {
  display: block;
  font-size: 1.5rem;
  color: var(--cyan-400);
}
.solution-stat div span { font-size: 0.8125rem; color: var(--text-on-dark-muted); }

/* Pipeline / steps */
.pipeline {
  display: grid;
  gap: 0;
  position: relative;
}
@media (min-width: 900px) {
  .pipeline { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .pipeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 16.66%; right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan-500), var(--navy-700), var(--cyan-500));
    opacity: 0.3;
  }
}
.pipeline-step {
  text-align: center;
  padding: 1.5rem;
}
.pipeline-icon {
  width: 42px;
  height: 42px;
  margin: -0.85rem auto 1.05rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(139,92,246,0.08));
  border: 1px solid rgba(0,212,255,0.18);
  color: var(--cyan-600);
  box-shadow: 0 10px 30px rgba(0,212,255,0.08);
  position: relative;
  z-index: 2;
}
.pipeline-icon svg { width: 22px; height: 22px; display: block; }
.pipeline-num {
  width: 72px; height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan-600);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}
.section-dark .pipeline-num {
  background: var(--navy-800);
  border-color: rgba(0,212,255,0.2);
  color: var(--cyan-400);
}
.section-dark .pipeline-icon {
  background: rgba(0,212,255,0.10);
  border-color: rgba(0,212,255,0.22);
  color: var(--cyan-400);
}
.pipeline-step h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.pipeline-step p { font-size: 0.9rem; color: var(--text-secondary); }
.section-dark .pipeline-step p { color: var(--text-on-dark-muted); }

/* Security section intro needs higher contrast on dark background */
.security-section .section-header p {
  color: rgba(226, 232, 240, 0.92);
}

/* Comparison */
.compare-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) { .compare-grid { grid-template-columns: repeat(4, 1fr); } }
.compare-col {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.compare-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.10), rgba(0,180,216,0.04));
  border: 1px solid rgba(0,212,255,0.16);
  color: var(--cyan-600);
  margin-bottom: 1rem;
}
.compare-icon svg { width: 22px; height: 22px; display: block; }
.compare-col.highlight {
  background: linear-gradient(180deg, rgba(0,212,255,0.06), var(--surface));
  border-color: rgba(0,212,255,0.25);
  box-shadow: var(--shadow-glow);
  position: relative;
  padding-top: 2.35rem; /* room for the badge without clipping */
}
.compare-col.highlight .compare-icon {
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.20);
}
.compare-col.highlight::after {
  content: 'Recommended';
  position: absolute;
  top: 0.9rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
  color: var(--navy-950);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 2;
}
html[lang="fa"] .compare-col.highlight::after { content: 'پیشنهادی'; letter-spacing: 0; text-transform: none; }
.compare-col h4 { font-size: 0.8125rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
html[lang="fa"] .compare-col h4 { text-transform: none; letter-spacing: 0; }
.compare-col .name { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.25rem; }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.compare-col li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.compare-col li::before { content: '·'; color: var(--text-muted); }
.compare-col.highlight li::before { content: '✓'; color: var(--cyan-600); font-weight: 700; }
.compare-col .bad li::before { content: '✕'; color: var(--danger); }

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}
.testimonial-quote::before { content: '"'; color: var(--cyan-500); font-size: 1.5rem; font-weight: 800; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--cyan-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}
.testimonial-author strong { display: block; font-size: 0.875rem; }
.testimonial-author span { font-size: 0.75rem; color: var(--text-muted); }
.testimonial-result {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--success);
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 3rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(0,212,255,0.12);
}
@media (min-width: 768px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--cyan-400);
  font-variant-numeric: tabular-nums;
}
.stat-item span { font-size: 0.8125rem; color: var(--text-on-dark-muted); margin-top: 0.35rem; display: block; }

/* CTA */
.cta-section {
  padding: 5rem 0;
}
.cta-box {
  position: relative;
  padding: 4rem 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-900) 0%, #061018 50%, var(--navy-800) 100%);
  border: 1px solid rgba(0,212,255,0.15);
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(0,212,255,0.15), transparent);
  pointer-events: none;
}
.cta-box h2 {
  position: relative;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
  color: #fff;
}
.cta-box p {
  position: relative;
  color: var(--text-on-dark-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
}
.cta-box .btn { position: relative; }

/* Page hero (inner) */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: var(--navy-950);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(0,212,255,0.1), transparent),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: 1rem;
  color: #fff;
}
.page-hero p {
  font-size: 1.125rem;
  color: var(--text-on-dark-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features grid (inner pages) */
.features-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.08);
  color: var(--cyan-600);
  margin-bottom: 1rem;
  border: 1px solid rgba(0,212,255,0.12);
}
.feature-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(0,212,255,0.05), var(--surface));
  border-color: rgba(0,212,255,0.3);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.pricing-tier { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-600); margin-bottom: 0.5rem; }
html[lang="fa"] .pricing-tier { letter-spacing: 0; text-transform: none; }
.pricing-card h3 { font-size: 1.375rem; margin-bottom: 0.25rem; }
.pricing-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.pricing-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.pricing-amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 1.75rem 0; flex: 1; }
.pricing-features li {
  padding: 0.55rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--cyan-600); font-weight: 800; flex-shrink: 0; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  text-align: start;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
}
.faq-question svg { flex-shrink: 0; color: var(--cyan-600); transition: transform 0.3s var(--ease); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.25rem; }
.faq-answer p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.75; }

/* Blog */
.blog-featured-wrap {
  padding: 2.5rem 0 0;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
}
.blog-featured {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.blog-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-featured-link {
  display: grid;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 900px) {
  .blog-featured-link { grid-template-columns: 1.15fr 1fr; min-height: 340px; }
}
.blog-featured-visual {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 900px) {
  .blog-featured-visual { aspect-ratio: auto; min-height: 100%; align-self: stretch; }
}
.blog-featured-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,212,255,0.22), transparent 60%);
}
.blog-featured-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35));
  z-index: 3;
}
.blog-featured-visual .blog-img { z-index: 2; }
.blog-featured:hover .blog-featured-visual .blog-img { transform: scale(1.04); }
.blog-featured-body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 900px) { .blog-featured-body { padding: 2.5rem 2.75rem; } }
.blog-featured-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.blog-featured-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.35;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.blog-featured-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.blog-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.blog-listing { padding-top: 4rem; }
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.blog-toolbar h2 { font-size: 1.35rem; letter-spacing: -0.02em; }
.blog-topics { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.blog-topic {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  color: var(--text-secondary);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.blog-topic:hover { border-color: rgba(0,212,255,0.2); color: var(--text-primary); }
.blog-card.is-hidden, .blog-featured.is-hidden { display: none; }
.blog-featured-wrap.is-hidden { display: none; }
.blog-topic.active {
  color: var(--cyan-600);
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.25);
}
.blog-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  color: #fff;
  background: var(--grad-brand);
}
.blog-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  color: var(--cyan-600);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.18);
}
.blog-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.blog-card-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,212,255,0.2); }
.blog-card-top { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.75rem; }
.blog-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-top: 0.25rem;
}
.blog-read-time { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.blog-visual {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4));
}
.blog-visual-icon { font-size: 2.5rem; position: relative; z-index: 1; }
.blog-visual:has(.blog-img) .blog-visual-icon { opacity: 0; }
.blog-body { padding: 1.5rem; position: relative; z-index: 1; }
.blog-meta { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
.blog-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card h3 a { position: relative; z-index: 5; }
.blog-card h3 a:hover { color: var(--cyan-600); }
.blog-card p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 0.75rem; line-height: 1.65; }
.blog-card .read-link { position: relative; z-index: 5; }
.read-link { font-size: 0.8125rem; font-weight: 700; color: var(--cyan-600); }
.page-hero--blog h1 .gradient-text {
  background: linear-gradient(135deg, var(--cyan-400), #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Article */
.article-header {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
}
.article-header h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); max-width: 720px; margin-bottom: 0.75rem; }
.article-meta { font-size: 0.875rem; color: var(--text-muted); }
.article-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}
.article-content h2 { font-size: 1.375rem; margin: 2.5rem 0 0.85rem; }
.article-content h3 { font-size: 1.125rem; margin: 2rem 0 0.65rem; }
.article-content p { margin-bottom: 1.25rem; color: var(--text-secondary); line-height: 1.8; }
.article-content ul, .article-content ol { margin: 0 0 1.25rem 1.5rem; color: var(--text-secondary); }
.article-content li { margin-bottom: 0.45rem; }
.article-content blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-inline-start: 3px solid var(--cyan-500);
  background: var(--surface-muted);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Use cases */
.section-compact { padding: 2.5rem 0; }
.use-case-row {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 5.5rem;
}
.use-case-row:last-child { border-bottom: none; }
@media (min-width: 900px) {
  .use-case-row { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .use-case-row.flip .use-case-visual { order: -1; }
}
html[lang="fa"] .use-case-row.flip .use-case-visual { order: 1; }
.uc-content { max-width: 540px; }
.uc-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.uc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0,212,255,0.1); color: var(--cyan-600);
  border: 1px solid rgba(0,212,255,0.2);
  flex-shrink: 0;
}
.uc-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-muted);
  padding: 0.35rem 0.75rem; border-radius: 100px;
  background: var(--surface-muted); border: 1px solid var(--border);
}
html[lang="fa"] .uc-tag { text-transform: none; letter-spacing: 0; }
.use-case-row h3 { font-size: clamp(1.35rem, 2.5vw, 1.65rem); margin-bottom: 0.85rem; line-height: 1.25; }
.uc-lead { color: var(--text-secondary); margin-bottom: 1.25rem; font-size: 1.02rem; line-height: 1.65; }
.uc-pain {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65;
  padding: 1rem 1.15rem; margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: rgba(239,68,68,0.04);
  border-inline-start: 3px solid rgba(239,68,68,0.45);
}
.uc-pain strong { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--danger); margin-bottom: 0.35rem; }
html[lang="fa"] .uc-pain strong { text-transform: none; letter-spacing: 0; }
.uc-outcome {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65;
  margin-top: 1.25rem; padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(16,185,129,0.05);
  border-inline-start: 3px solid rgba(16,185,129,0.5);
}
.uc-outcome strong { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--success); margin-bottom: 0.35rem; }
html[lang="fa"] .uc-outcome strong { text-transform: none; letter-spacing: 0; }
.use-case-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  border: 1px solid rgba(0,212,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.use-case-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.use-case-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  line-height: 1.55;
}
.use-case-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-500);
  flex-shrink: 0;
  margin-top: 0.55rem;
}
.uc-nav {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
}
.uc-nav-pill {
  display: inline-flex; align-items: center;
  padding: 0.55rem 1.1rem; border-radius: 100px;
  font-size: 0.8125rem; font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: transform 0.25s var(--ease), border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.uc-nav-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(0,212,255,0.45);
  color: var(--cyan-600);
  box-shadow: 0 4px 16px rgba(0,212,255,0.1);
}
.uc-thread {
  display: grid; gap: 1.25rem;
  max-width: 900px; margin: 0 auto;
}
@media (min-width: 768px) { .uc-thread { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.uc-thread-item {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.uc-thread-item:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-3px); }
.uc-thread-item strong { display: block; font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.uc-thread-item span { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* Contact */
.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-info h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 2rem; }
.contact-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(139,92,246,0.06));
  border: 1px solid rgba(0,212,255,0.15);
  color: var(--cyan-600);
  margin-top: 0.15rem;
}
.contact-icon svg { width: 20px; height: 20px; display: block; }
.contact-item-body { min-width: 0; }
.contact-item strong { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.25rem; }
html[lang="fa"] .contact-item strong { text-transform: none; letter-spacing: 0; }
.contact-item a { color: var(--cyan-600); font-weight: 600; }
.contact-form-wrap {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.45rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9375rem;
  background: var(--surface-elevated);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--text-on-dark-muted);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
html[lang="fa"] .footer-col h4 { letter-spacing: 0; text-transform: none; }
.footer-col a {
  display: block;
  font-size: 0.875rem;
  padding: 0.35rem 0;
  color: var(--text-on-dark-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Arch diagram */
.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--surface-muted);
  border: 1px solid var(--border);
}
.arch-node {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  min-width: 130px;
}
.arch-node strong { display: block; font-size: 0.875rem; margin-bottom: 0.2rem; }
.arch-node span { font-size: 0.75rem; color: var(--text-muted); }
.arch-node.hot {
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 0 30px rgba(0,212,255,0.1);
}
.arch-arrow { font-size: 1.25rem; color: var(--cyan-600); }
html[lang="fa"] .arch-arrow { transform: scaleX(-1); }

/* Comparison table (legacy inner pages) */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  text-align: start;
  border-bottom: 1px solid var(--border);
}
.comparison-table th { background: var(--navy-900); color: #fff; font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--surface-elevated); }

/* ============================================================
   Premium polish layer (v2) — depth, motion, new sections
   ============================================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 2000;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(0,212,255,0.6);
  transition: width 0.1s linear;
}

/* Brand gradient accents on key numbers */
.hero-metric strong, .solution-stat div strong, .stat-item strong {
  background: linear-gradient(120deg, var(--cyan-400), var(--violet-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Richer hero pill with gradient hairline */
.hero-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(10,22,40,0.6), rgba(10,22,40,0.6)),
    var(--grad-brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* Bento icons + feature icons get the brand gradient */
.bento-icon, .feature-icon {
  background: var(--grad-brand-soft);
  border: 1px solid rgba(99,102,241,0.18);
  color: var(--indigo-500);
}
.bento-card.featured .bento-icon { color: var(--cyan-400); }

/* Spotlight glow that follows the cursor across cards */
.bento-card, .feature-card, .pricing-card, .testimonial { position: relative; }
.bento-card::after, .feature-card::after, .pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0,212,255,0.10), transparent 45%);
  pointer-events: none;
}
.bento-card:hover::after, .feature-card:hover::after, .pricing-card:hover::after { opacity: 1; }
.section-dark .bento-card::after { background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(99,102,241,0.18), transparent 45%); }

/* Featured bento gets an animated gradient border */
.bento-card.featured {
  background:
    linear-gradient(145deg, var(--navy-800), var(--navy-900)) padding-box,
    var(--grad-brand) border-box;
  border: 1px solid transparent;
}

/* Marquee items pop a brand color on hover */
.marquee-item { transition: color 0.3s, transform 0.3s; }
.marquee-item:hover { color: var(--cyan-400); transform: translateY(-2px); }

/* Pipeline numbers carry the gradient */
.pipeline-num {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-brand) border-box;
  border: 1.5px solid transparent;
}
.section-dark .pipeline-num {
  background:
    linear-gradient(var(--navy-800), var(--navy-800)) padding-box,
    var(--grad-brand) border-box;
}

/* Section eyebrow chip upgrade */
.eyebrow {
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: var(--grad-brand-soft);
}
.eyebrow::before { display: none; }
.section-dark .eyebrow { background: rgba(255,255,255,0.06); }

/* Logo cloud / footer brand glow */
.footer-brand img { filter: drop-shadow(0 0 18px rgba(0,212,255,0.25)); }

/* Glass header refinement */
.site-header.scrolled, .site-header--light {
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 30px rgba(2, 8, 20, 0.06);
}

/* CTA box: animated conic shimmer behind content */
.cta-box::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(0,212,255,0.10), transparent 30%, rgba(139,92,246,0.10), transparent 60%);
  animation: spin-slow 18s linear infinite;
  pointer-events: none;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---- Trust / security strip ---- */
.security-section { background: var(--navy-950); color: var(--text-on-dark); }
.security-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .security-grid { grid-template-columns: repeat(3, 1fr); } }
.security-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.security-item:hover { transform: translateY(-3px); border-color: rgba(0,212,255,0.3); background: rgba(255,255,255,0.05); }
.security-check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--cyan-400);
  font-weight: 800;
}
.security-item strong { display: block; font-size: 0.95rem; color: #fff; margin-bottom: 0.2rem; }
.security-item span { font-size: 0.82rem; color: var(--text-on-dark-muted); line-height: 1.6; }

/* ---- AI assistant feature band ---- */
.ai-band {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(139,92,246,0.18), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(139,92,246,0.2);
  color: #fff;
  overflow: hidden;
  position: relative;
}
@media (min-width: 900px) { .ai-band { grid-template-columns: 1.1fr 1fr; } }
.ai-band h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1rem; color: #fff; }
.ai-band p { color: var(--text-on-dark-muted); line-height: 1.75; margin-bottom: 1.5rem; }
.ai-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ai-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--violet-400);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.ai-chip:hover { transform: translateY(-2px); background: rgba(139,92,246,0.15); color: #fff; }
.ai-visual {
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.ai-line { display: flex; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ai-line:last-child { border-bottom: none; }
.ai-line .role { color: var(--cyan-400); flex-shrink: 0; }
.ai-line .txt { color: rgba(255,255,255,0.78); }
.ai-guardrails { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.ai-guardrails span {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.6rem; border-radius: 6px;
  background: rgba(16,185,129,0.12); color: var(--success);
}

/* Stronger section rhythm: subtle top hairline on muted sections */
.section-muted { position: relative; }
.section-muted::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* Use-case visual: animated gradient sheen */
.use-case-visual { position: relative; overflow: hidden; }
.use-case-visual[data-scene="high-risk"]::before {
  background: radial-gradient(circle at 30% 20%, rgba(0,212,255,0.22), transparent 55%),
             radial-gradient(circle at 80% 90%, rgba(239,68,68,0.12), transparent 55%);
}
.use-case-visual[data-scene="saas"]::before {
  background: radial-gradient(circle at 40% 30%, rgba(59,130,246,0.22), transparent 55%),
             radial-gradient(circle at 75% 80%, rgba(139,92,246,0.18), transparent 55%);
}
.use-case-visual[data-scene="bpo"]::before {
  background: radial-gradient(circle at 50% 40%, rgba(0,212,255,0.2), transparent 60%),
             radial-gradient(circle at 20% 80%, rgba(59,130,246,0.15), transparent 55%);
}
.use-case-visual[data-scene="soc"]::before {
  background: radial-gradient(circle at 50% 45%, rgba(239,68,68,0.15), transparent 55%),
             radial-gradient(circle at 80% 20%, rgba(0,212,255,0.18), transparent 55%);
}
.use-case-visual[data-scene="contractor"]::before {
  background: radial-gradient(circle at 50% 50%, rgba(139,92,246,0.2), transparent 55%),
             radial-gradient(circle at 20% 20%, rgba(0,212,255,0.15), transparent 55%);
}
.use-case-visual > * { position: relative; }

/* Blog visual gradients per-card variety via icon glow */
.blog-visual { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.blog-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,212,255,0.22), transparent 60%);
}
.blog-card:nth-child(2) .blog-visual::before { background: radial-gradient(circle at 70% 30%, rgba(139,92,246,0.25), transparent 60%); }
.blog-card:nth-child(3) .blog-visual::before { background: radial-gradient(circle at 70% 30%, rgba(59,130,246,0.25), transparent 60%); }

/* Fit a 9-item nav comfortably */
@media (min-width: 1100px) {
  .nav-desktop { gap: 0; }
  .nav-desktop a { padding: 0.5rem 0.6rem; font-size: 0.85rem; }
}
@media (min-width: 1240px) {
  .nav-desktop a { padding: 0.5rem 0.8rem; }
}

/* ---- Compliance strip (Security/About) ---- */
.compliance-strip { text-align: center; }
.compliance-label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.compliance-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.compliance-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: transform 0.25s var(--ease), border-color 0.25s, color 0.25s;
}
.compliance-chip svg { color: var(--cyan-600); }
.compliance-chip:hover { transform: translateY(-2px); border-color: rgba(0,212,255,0.4); color: var(--cyan-600); }

/* ---- Security two-column deep dive ---- */
.sec-cols { display: grid; gap: 2rem; }
@media (min-width: 900px) { .sec-cols { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.sec-col h3 { font-size: 1.35rem; margin: 0.75rem 0 1.25rem; }
.sec-row { display: flex; gap: 0.85rem; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.sec-row:last-child { border-bottom: none; }
.sec-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin-top: 0.15rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(139,92,246,0.06));
  border: 1px solid rgba(0,212,255,0.15);
  color: var(--cyan-600);
}
.sec-icon svg { width: 20px; height: 20px; display: block; }
.sec-body { min-width: 0; }
.sec-row strong { display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.sec-row span { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ---- Use-case visual upgrade ---- */
.uc-scene {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.uc-scene-svg { width: 100%; height: 100%; object-fit: cover; }
.use-case-visual.has-img .uc-scene { display: none; }
.uc-stat {
  position: absolute;
  bottom: 1rem; inset-inline-end: 1rem;
  text-align: end;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: rgba(4,8,15,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  color: var(--text-on-dark-muted);
  font-size: 0.7rem;
  line-height: 1.3;
  max-width: 60%;
  z-index: 3;
}
.uc-stat strong {
  display: block;
  font-size: 1.5rem;
  background: linear-gradient(120deg, var(--cyan-400), var(--violet-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Pricing feature matrix ---- */
.matrix-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.feature-matrix { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
.feature-matrix th, .feature-matrix td { padding: 0.95rem 1.1rem; text-align: center; border-bottom: 1px solid var(--border); }
.feature-matrix thead th { background: var(--navy-900); color: #fff; font-weight: 700; }
.feature-matrix thead th:first-child { background: var(--navy-950); }
.feature-matrix .row-label { text-align: start; font-weight: 600; color: var(--text-primary); }
.feature-matrix tbody tr:nth-child(even) td { background: var(--surface-elevated); }
.feature-matrix .yes { color: var(--cyan-600); font-weight: 800; }
.feature-matrix .no { color: var(--text-muted); }
.feature-matrix .cell-val { font-weight: 700; color: var(--text-primary); }
.feature-matrix tr:last-child td { border-bottom: none; }

.included-band {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--grad-brand-soft);
  border: 1px solid rgba(99,102,241,0.18);
  text-align: center;
}
.included-band h3 { font-size: 1.1rem; margin-bottom: 1.25rem; }
.included-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; }
.included-chip {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}

/* ---- Article enrichments ---- */
.article-back { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--cyan-600); margin-bottom: 1rem; }
.article-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  color: var(--cyan-600);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.18);
  margin-bottom: 0.85rem;
}
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; }
.article-meta .dot { opacity: 0.4; }
.article-avatar {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-brand);
  color: #fff; font-weight: 800; font-size: 0.75rem;
}
.article-content blockquote {
  border-inline-start: 3px solid transparent;
  border-image: var(--grad-brand) 1;
}
.article-cta {
  margin: 3rem 0 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(0,212,255,0.15);
  text-align: center;
}
.article-cta h3 { color: #fff; margin-bottom: 1.25rem; font-size: 1.25rem; }

/* ============================================================
   Polish layer (v3) — texture, depth, typography, motion craft
   ============================================================ */

/* Premium selection + focus states */
::selection { background: rgba(0, 212, 255, 0.25); }
:focus-visible { outline: 2px solid var(--cyan-500); outline-offset: 3px; border-radius: 6px; }

/* Custom scrollbar (webkit) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--surface-muted); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--navy-700), var(--navy-900)); border-radius: 10px; border: 3px solid var(--surface-muted); }

/* Film-grain texture over the whole page for a premium, non-flat feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Tighter, more confident display typography */
h1 { letter-spacing: -0.035em; }
h2, h3, h1, .hero h1, .section-header h2, .page-hero h1 { text-wrap: balance; }
.section-header p, .hero-lead, .page-hero p { text-wrap: pretty; }
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3 { text-wrap: normal; }

/* Refined reveal: add a soft blur + scale for a more cinematic entrance */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  filter: blur(8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.visible { opacity: 1; transform: none; filter: none; }

/* ---- Hero: deeper light, vignette, scroll cue, product glow ---- */
.hero {
  background:
    radial-gradient(ellipse 120% 75% at 50% -8%, #0d1f38 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 80% 110%, #0b1830 0%, transparent 50%),
    var(--navy-950);
}
/* Animated scroll cue */
.hero { position: relative; }
.hero::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 22px;
  width: 16px; height: 16px;
  border-right: 2px solid rgba(255,255,255,0.38);
  border-bottom: 2px solid rgba(255,255,255,0.38);
  transform: translateX(-50%) rotate(45deg);
  animation: scroll-bob 2.2s var(--ease) infinite;
  z-index: 3;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) rotate(45deg) translate(0,0); opacity: 0.45; }
  50% { transform: translateX(-50%) rotate(45deg) translate(6px,6px); opacity: 1; }
}
/* Glow halo beneath the product showcase */
.showcase { position: relative; }
.showcase::before {
  content: '';
  position: absolute;
  inset: -8% -4% -22%;
  background: radial-gradient(ellipse at 50% 55%, rgba(0,212,255,0.20), rgba(139,92,246,0.12) 45%, transparent 68%);
  filter: blur(46px);
  z-index: 0;
  pointer-events: none;
}
.showcase-frame { position: relative; z-index: 1; }
.float-card { z-index: 4; }

/* Hero pill: animated sheen */
.hero-pill { position: relative; overflow: hidden; }
.hero-pill::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.25), transparent 70%);
  transform: translateX(-120%);
  animation: pill-sheen 5s ease-in-out infinite;
}
@keyframes pill-sheen { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---- Layered, less-flat dark sections ---- */
.section-dark {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, #0e2038 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-950), #060e1b 50%, var(--navy-950));
}
.security-section {
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, #102542 0%, transparent 55%),
    var(--navy-950);
}
/* Hairline gradient seam at the top of dark bands */
.section-dark, .security-section, .cta-section, .site-footer { position: relative; }
.section-dark::after, .security-section::after, .site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.4), rgba(139,92,246,0.4), transparent);
  opacity: 0.6;
}

/* Page-hero gets the same living aurora as the home hero */
.page-hero::after {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  top: -30%; right: -8%;
  background: radial-gradient(circle, rgba(0,212,255,0.14), transparent 65%);
  animation: aurora-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

/* ---- Cards: richer depth + crisp gradient ring on hover ---- */
.bento-card, .feature-card, .pricing-card, .testimonial, .blog-card {
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.04);
}
.bento-card:hover, .feature-card:hover, .pricing-card:hover, .testimonial:hover, .blog-card:hover {
  box-shadow: 0 24px 60px rgba(2,8,20,0.14), 0 0 0 1px rgba(0,212,255,0.22);
}
.section-dark .bento-card { box-shadow: none; }
.section-dark .bento-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(99,102,241,0.3); }

/* Icon tiles get a soft inner glow */
.bento-icon, .feature-icon { box-shadow: inset 0 0 18px rgba(99,102,241,0.12); }
.bento-card:hover .bento-icon, .feature-card:hover .feature-icon { transform: scale(1.06) rotate(-2deg); }
.bento-icon, .feature-icon { transition: transform 0.35s var(--ease); }

/* Section headings: optional gradient emphasis on the lead word handled inline;
   give all section h2 a touch more presence */
.section-header h2 { font-size: clamp(2.05rem, 4.2vw, 2.9rem); letter-spacing: -0.035em; }
.section-header.center { max-width: 720px; }

/* Nav: gradient underline on active/hover for a sharper feel */
.nav-desktop a { position: relative; }
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 6px;
  height: 2px; border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav-desktop a:hover::after, .nav-desktop a.active::after { transform: scaleX(1); }

/* Buttons: a hair larger and rounder for confidence */
.btn-lg { padding: 1.05rem 2.15rem; font-size: 1.02rem; border-radius: 14px; }

/* Stat numbers: subtle glow */
.hero-metric strong, .stat-item strong, .solution-stat div strong { text-shadow: 0 0 28px rgba(0,212,255,0.18); }

/* Marquee items become subtle glass chips */
.marquee-item {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

/* Pricing featured card: animated gradient ring */
.pricing-card.featured {
  background:
    linear-gradient(180deg, rgba(0,212,255,0.05), var(--surface)) padding-box,
    var(--grad-brand) border-box;
  border: 1.5px solid transparent;
}

/* Footer brand wordmark spacing polish */
.footer-bottom { color: var(--text-on-dark-muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .gradient-text, .hero-glow-2, .hero-bg::before, .hero-bg::after, .cta-box::after,
  .hero::after, .hero-pill::after, .page-hero::after { animation: none; }
  .hero::after { opacity: 0.5; }
}

/* ============================================================
   Image slots — graceful AI-image drop-in (see generated/IMAGE_PROMPTS.md)
   Wrappers render normally so the (lazy) image can load; main.js adds
   .has-img once it loads (for framing) and removes any image that fails,
   so a missing file collapses cleanly instead of leaving an empty band.
   ============================================================ */
[data-img-slot] { position: relative; }

/* Hero background image (visible), with a scrim that keeps text readable */
.hero-texture { position: absolute; inset: 0; overflow: hidden; }
.hero-texture-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.hero-texture::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,8,15,0.90) 0%, rgba(4,8,15,0.50) 45%, rgba(4,8,15,0.12) 100%);
}
html[lang="fa"] .hero-texture::after {
  background: linear-gradient(260deg, rgba(4,8,15,0.90) 0%, rgba(4,8,15,0.50) 45%, rgba(4,8,15,0.12) 100%);
}

/* Blog post cover banner */
.article-cover { padding: 0; }
.article-cover.has-img {
  padding: 2rem 0;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
}
.article-cover-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* Blog thumbnails + featured — fixed 16:9 slots, cover fill */
.blog-featured-visual .blog-img,
.blog-visual .blog-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-visual .blog-img { transform: scale(1.05); }
.blog-visual::after { z-index: 3; }

/* Use-case visual: photo over the emoji fallback, metric chip stays on top */
.use-case-visual .uc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; border-radius: inherit; transition: transform 0.6s var(--ease); }
.use-case-row:hover .use-case-visual .uc-img { transform: scale(1.04); }
.use-case-visual .uc-stat { z-index: 3; }

/* About concept illustration */
.concept-figure { margin: 0; }
.concept-figure.has-img { margin: 2rem 0; }
.concept-img { width: 100%; border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }

/* Security page banner */
.security-banner { padding: 0; margin-top: -1px; }
.security-banner.has-img { padding: 2.5rem 0 0; }
.security-banner-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius-xl); border: 1px solid rgba(0,212,255,0.18); box-shadow: var(--shadow-lg); }

/* Security page defence diagram/illustration */
.security-defence-figure {
  margin: 0 auto;
  max-width: 1040px;
}
.security-defence-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,212,255,0.14);
  box-shadow: var(--shadow-lg);
}

/* Features page hero visual */
.page-hero--features .features-hero-visual {
  margin: 2.25rem auto 0;
  max-width: 980px;
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0; /* no visual "padding frame" around the image */
  background: transparent;
  border: 0;
  box-shadow: 0 26px 70px rgba(4, 8, 15, 0.14);
  overflow: hidden; /* clips glow + image to same radius */
}
.page-hero--features .features-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(1200px 420px at 35% -10%, rgba(0,212,255,0.28), transparent 55%),
              radial-gradient(900px 360px at 85% 0%, rgba(139,92,246,0.20), transparent 55%),
              linear-gradient(135deg, rgba(0,212,255,0.22), rgba(139,92,246,0.18));
  opacity: 0.55;
  pointer-events: none;
}
.page-hero--features .features-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(800px 260px at 30% 5%, rgba(0,212,255,0.12), transparent 55%),
              radial-gradient(700px 240px at 85% 10%, rgba(139,92,246,0.10), transparent 55%);
  pointer-events: none;
}
.page-hero--features .features-hero-img {
  width: 100%;
  display: block;
  height: auto;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .page-hero--features .features-hero-visual { margin-top: 1.5rem; }
}

/* Deji mascot — Meet Deji section */
.deji-section { overflow: hidden; }
.deji-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .deji-split { grid-template-columns: 1fr 0.95fr; gap: 4rem; }
}
.deji-copy h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  margin: 0.75rem 0 1.25rem;
  color: #fff;
}
.deji-copy p {
  color: var(--text-on-dark-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 34rem;
}
.deji-tagline {
  margin-top: 1.25rem !important;
  font-size: 0.8125rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-400) !important;
}
.deji-figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 212, 255, 0.14);
}
.deji-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 320px at 70% 20%, rgba(0, 212, 255, 0.22), transparent 60%),
              radial-gradient(420px 280px at 20% 80%, rgba(139, 92, 246, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.deji-hero-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

/* Deji session states grid */
.deji-states-section .section-header p { max-width: 42rem; margin-inline: auto; }
.deji-states-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .deji-states-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .deji-states-grid { grid-template-columns: 1fr; }
}
.deji-state-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.15rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.deji-state-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 180, 216, 0.28);
}
.deji-state-visual {
  margin: 0 0 0.85rem;
  aspect-ratio: 12 / 10;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: #0a1628;
}
.deji-state-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.deji-state-card h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--brand-ink);
}
.deji-state-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.page-hero--features .features-hero-visual--states .features-hero-img {
  object-fit: contain;
  background: linear-gradient(160deg, #07111f 0%, #0f2038 100%);
  padding: 0.5rem;
}

/* ============================================================
   Design refresh (v4) — enterprise product clarity
   ============================================================ */

:root {
  --brand-navy: #12324a;
  --brand-teal: #00b4d8;
  --brand-ink: #263141;
  --paper: #fbfcfe;
  --paper-warm: #f6f8fb;
  --line-soft: rgba(38, 49, 65, 0.1);
  --line-strong: rgba(38, 49, 65, 0.16);
  --shadow-card: 0 16px 42px rgba(18, 50, 74, 0.09);
  --shadow-card-hover: 0 24px 64px rgba(18, 50, 74, 0.14);
  --grad-brand: linear-gradient(135deg, #00b4d8 0%, #2f6f95 56%, #12324a 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(0,180,216,0.12), rgba(47,111,149,0.08) 52%, rgba(18,50,74,0.08));
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

body {
  color: var(--brand-ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 48%, #ffffff 100%);
}

body::after,
.hero-glow,
.hero-glow-2,
.hero-bg::before,
.hero-bg::after,
.page-hero::after {
  display: none;
}

h1,
h2,
h3,
h4,
.hero h1,
.section-header h2,
.page-hero h1 {
  letter-spacing: 0;
}

.container { max-width: 1180px; }
.section { padding: 5.25rem 0; }

.site-header.scrolled,
.site-header--light {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(18, 50, 74, 0.1);
  box-shadow: 0 10px 30px rgba(18, 50, 74, 0.07);
}

.nav-desktop a {
  color: rgba(38, 49, 65, 0.78);
  border-radius: 8px;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--brand-navy);
  background: rgba(0, 180, 216, 0.08);
}

.nav-desktop a::after {
  left: 0.7rem;
  right: 0.7rem;
  bottom: 4px;
  background: var(--brand-teal);
}

.hero {
  min-height: auto;
  padding: calc(var(--header-h) + 4.5rem) 0 5.25rem;
  background:
    linear-gradient(90deg, rgba(4, 8, 15, 0.96) 0%, rgba(6, 17, 30, 0.88) 43%, rgba(7, 22, 37, 0.5) 100%),
    var(--navy-950);
}

html[lang="fa"] .hero {
  background:
    linear-gradient(270deg, rgba(4, 8, 15, 0.96) 0%, rgba(6, 17, 30, 0.88) 43%, rgba(7, 22, 37, 0.5) 100%),
    var(--navy-950);
}

.hero::after { display: none; }
.hero-grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black 0%, transparent 76%);
}

html[lang="fa"] .hero-grid-pattern {
  mask-image: linear-gradient(270deg, black 0%, transparent 76%);
}

.hero-texture-img {
  opacity: 0.54;
  object-position: center;
  filter: saturate(0.86) contrast(1.08);
}

.hero-texture::after {
  background:
    linear-gradient(90deg, rgba(4,8,15,0.96) 0%, rgba(4,8,15,0.72) 42%, rgba(4,8,15,0.2) 100%),
    linear-gradient(180deg, rgba(4,8,15,0.35), rgba(4,8,15,0.92));
}

html[lang="fa"] .hero-texture::after {
  background:
    linear-gradient(270deg, rgba(4,8,15,0.96) 0%, rgba(4,8,15,0.72) 42%, rgba(4,8,15,0.2) 100%),
    linear-gradient(180deg, rgba(4,8,15,0.35), rgba(4,8,15,0.92));
}

.hero-inner { gap: 3.5rem; }
@media (min-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 0.95fr) minmax(560px, 1.05fr); }
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 5.8vw, 5rem);
  line-height: 0.98;
}

.hero-lead {
  max-width: 650px;
  color: rgba(241, 245, 249, 0.78);
}

.hero-pill,
.eyebrow {
  border-radius: 999px;
  box-shadow: none;
}

.hero-pill {
  color: #a7eef8;
  background:
    linear-gradient(rgba(4, 18, 30, 0.78), rgba(4, 18, 30, 0.78)) padding-box,
    linear-gradient(90deg, rgba(0,180,216,0.6), rgba(255,255,255,0.16)) border-box;
}

.hero-pill::after,
.btn-primary::after,
.cta-box::after { display: none; }

.btn {
  min-height: 44px;
  border-radius: 9px;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00a8ca, #167294);
  box-shadow: 0 14px 34px rgba(0, 180, 216, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 44px rgba(0, 180, 216, 0.3);
}

.btn-ghost-dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
}

.hero-metrics {
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top-color: rgba(255,255,255,0.12);
}

.hero-metric {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-metric strong,
.solution-stat div strong,
.stat-item strong {
  color: #55d7eb;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

.showcase::before { display: none; }

.showcase-frame {
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(12, 25, 42, 0.96), rgba(7, 17, 30, 0.96)) padding-box,
    linear-gradient(145deg, rgba(0,180,216,0.42), rgba(255,255,255,0.08)) border-box;
  box-shadow: 0 42px 82px rgba(0, 0, 0, 0.42);
  transform: none;
}

.showcase:hover .showcase-frame { transform: translateY(-4px); }
.showcase-inner { border-radius: 17px; }
.showcase-topbar {
  background: rgba(1, 8, 16, 0.72);
  padding: 0.8rem 1rem;
}

.showcase-url {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.07);
}

.showcase-body {
  grid-template-columns: minmax(0, 1fr) 190px;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), transparent 42%),
    #07111e;
}

.showcase-viewer { padding: 1.25rem; }

.showcase-page-mock {
  position: relative;
  display: grid;
  grid-template-rows: 42px 1fr;
  gap: 1rem;
  min-height: 255px;
  background:
    linear-gradient(180deg, rgba(248,250,252,0.97), rgba(232,238,245,0.95));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
}

.showcase-page-mock::before {
  content: 'Policy console';
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font: 700 0.72rem/1 var(--font-mono);
  color: #456173;
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(18,50,74,0.1);
}

.showcase-page-mock::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1.05rem;
  height: 94px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(0,180,216,0.16) 0 22%, transparent 22% 26%, rgba(18,50,74,0.1) 26% 58%, transparent 58% 62%, rgba(16,185,129,0.16) 62% 100%),
    linear-gradient(180deg, rgba(18,50,74,0.08), rgba(18,50,74,0.03));
  border: 1px solid rgba(18,50,74,0.08);
}

.mock-bar,
.mock-line {
  margin-inline: 1rem;
  background: rgba(18,50,74,0.14);
}

.mock-bar {
  width: 46%;
  height: 10px;
  margin-top: 0.25rem;
}

.mock-bar.short { width: 28%; }
.mock-line { height: 6px; }

.stream-tag {
  align-self: flex-start;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.2);
}

.policy-chip {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.09);
}

.float-card {
  background: rgba(6, 17, 30, 0.9);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 22px 45px rgba(0,0,0,0.28);
}

.marquee-section {
  background: #071321;
  padding: 1.8rem 0;
}

.marquee-label { margin-bottom: 1rem; }
.marquee-item {
  color: rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.08);
}

.section-muted {
  background:
    linear-gradient(180deg, var(--paper-warm), #ffffff);
}

.section-dark,
.security-section,
.site-footer {
  background: #071321;
}

.page-hero {
  padding: calc(var(--header-h) + 3.75rem) 0 4.75rem;
  background:
    linear-gradient(180deg, rgba(7,19,33,0.94), rgba(7,19,33,0.98)),
    var(--navy-950);
}

.page-hero::before {
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 90%);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.page-hero p { max-width: 680px; }

.section-header h2 {
  font-size: clamp(1.95rem, 3.8vw, 2.75rem);
  letter-spacing: 0;
}

.section-header p {
  color: rgba(38, 49, 65, 0.72);
}

.eyebrow {
  color: #006f8a;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.16);
}

.section-dark .eyebrow,
.security-section .eyebrow,
.ai-band .eyebrow {
  color: #a7eef8;
  background: rgba(0,180,216,0.1);
  border-color: rgba(0,180,216,0.18);
}

.bento-card,
.feature-card,
.pricing-card,
.testimonial,
.compare-col,
.uc-thread-item,
.contact-form-wrap,
.blog-card,
.blog-featured,
.arch-flow,
.arch-node {
  border-color: var(--line-soft);
  box-shadow: var(--shadow-card);
}

.bento-card,
.feature-card,
.pricing-card,
.testimonial,
.compare-col,
.uc-thread-item,
.contact-form-wrap {
  border-radius: 14px;
}

.bento-card:hover,
.feature-card:hover,
.pricing-card:hover,
.testimonial:hover,
.blog-card:hover,
.uc-thread-item:hover {
  border-color: rgba(0,180,216,0.24);
  box-shadow: var(--shadow-card-hover);
}

.bento-card::after,
.feature-card::after,
.pricing-card::after {
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0,180,216,0.08), transparent 45%);
}

.bento-card.featured,
.solution-card,
.stats-bar,
.cta-box,
.article-cta,
.ai-band {
  background:
    linear-gradient(145deg, #0c2237, #071321) padding-box,
    linear-gradient(135deg, rgba(0,180,216,0.45), rgba(255,255,255,0.08)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 22px 60px rgba(7,19,33,0.18);
}

.bento-icon,
.feature-icon,
.uc-icon,
.security-check,
.pipeline-num {
  border-radius: 10px;
  color: #087a95;
  background: rgba(0,180,216,0.1);
  border-color: rgba(0,180,216,0.16);
  box-shadow: none;
}

.bento-card.featured .bento-icon,
.section-dark .pipeline-num,
.security-check {
  color: #8fefff;
  background: rgba(0,180,216,0.12);
}

.problem-list li {
  border-color: var(--line-soft);
  box-shadow: 0 10px 28px rgba(18,50,74,0.05);
}

.problem-list .icon-x {
  border-radius: 8px;
}

.solution-stat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pipeline::before {
  background: linear-gradient(90deg, transparent, rgba(0,180,216,0.7), transparent);
}

.compare-col.highlight {
  background:
    linear-gradient(180deg, rgba(0,180,216,0.08), #ffffff);
  border-color: rgba(0,180,216,0.32);
  box-shadow: var(--shadow-card-hover);
}

.compare-col.highlight::after {
  background: #0b7f9b;
  color: #fff;
}

.compare-col.bad li::before {
  content: 'x';
  color: var(--danger);
  font-weight: 800;
}

.testimonial-quote::before {
  color: var(--brand-teal);
}

.testimonial-avatar {
  background: linear-gradient(135deg, #12324a, #0c8aaa);
  border-radius: 9px;
}

.security-grid {
  gap: 1rem;
}

.security-item {
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.09);
}

.security-item:hover {
  background: rgba(255,255,255,0.065);
  border-color: rgba(0,180,216,0.26);
}

.ai-band {
  gap: 2.5rem;
}

.ai-visual {
  background: rgba(1,8,16,0.42);
}

.ai-chip,
.ai-guardrails span {
  border-radius: 8px;
}

.use-case-visual,
.blog-featured-visual,
.blog-visual,
.security-banner-img,
.concept-img,
.article-cover-img {
  border-radius: 16px;
}

.use-case-visual::after,
.blog-featured-visual::after,
.blog-visual::after {
  background:
    linear-gradient(180deg, transparent 44%, rgba(7,19,33,0.56));
}

.uc-stat {
  border-radius: 10px;
  background: rgba(7,19,33,0.72);
}

.uc-stat strong {
  color: #6de5f7;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.blog-topic,
.blog-category,
.article-category,
.compliance-chip,
.included-chip,
.uc-nav-pill,
.uc-tag {
  border-radius: 999px;
}

.blog-topic.active {
  color: #006f8a;
  background: rgba(0,180,216,0.1);
}

.contact-item strong,
.footer-col h4,
.pricing-tier,
.compare-col h4,
.uc-pain strong,
.uc-outcome strong {
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #fff;
  border-color: var(--line-strong);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(0,180,216,0.12);
}

.site-footer {
  padding-top: 4rem;
}

.footer-brand img { filter: none; }

.scroll-progress {
  background: #00b4d8;
  box-shadow: none;
}

.reveal {
  filter: none;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.visible {
  filter: none;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    padding: calc(var(--header-h) + 2.75rem) 0 4rem;
  }

  .hero-inner {
    gap: 2.5rem;
  }

  .hero-metrics,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .hero-metric {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }

  .hero-metric span {
    text-align: end;
  }

  .showcase-body {
    grid-template-columns: 1fr;
  }

  .showcase-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-inline-start: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .float-card {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .ai-band,
  .cta-box,
  .stats-bar {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.15rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .showcase-sidebar {
    grid-template-columns: 1fr;
  }

  .solution-stat {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Design polish (v5) — composition, hierarchy, interaction
   ============================================================ */

:root {
  --section-grid: rgba(18, 50, 74, 0.045);
  --card-highlight: rgba(0, 180, 216, 0.42);
}

main {
  background:
    linear-gradient(90deg, var(--section-grid) 1px, transparent 1px),
    linear-gradient(180deg, var(--section-grid) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero,
.page-hero,
.section-dark,
.security-section,
.site-footer {
  background-color: #071321;
}

.hero-content {
  position: relative;
}

.hero-content::before {
  content: '';
  position: absolute;
  inset-block: 0.35rem 0.55rem;
  inset-inline-start: -1.45rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-teal), transparent);
  opacity: 0.65;
}

html[lang="fa"] .hero-content::before {
  inset-inline-start: -1.45rem;
  inset-inline-end: auto;
}

.hero-actions .btn,
.cta-box .btn,
.contact-form-wrap .btn {
  position: relative;
  isolation: isolate;
}

.hero-actions .btn::before,
.cta-box .btn::before,
.contact-form-wrap .btn::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 42%);
  pointer-events: none;
  z-index: -1;
}

.showcase {
  transform: translateY(1rem);
}

@media (min-width: 1100px) {
  .showcase-frame {
    min-height: 430px;
  }

  .showcase-body {
    min-height: 383px;
  }
}

.showcase-frame::after {
  content: '';
  position: absolute;
  inset: auto 11% -18px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0, 180, 216, 0.18);
  filter: blur(18px);
  pointer-events: none;
}

.showcase-inner {
  position: relative;
}

.showcase-inner::after {
  content: 'Container tears down at session end';
  position: absolute;
  inset-inline-start: 1rem;
  bottom: 0.85rem;
  padding: 0.34rem 0.55rem;
  border-radius: 7px;
  color: rgba(241,245,249,0.72);
  background: rgba(1,8,16,0.68);
  border: 1px solid rgba(255,255,255,0.08);
  font: 600 0.66rem/1 var(--font-mono);
}

html[lang="fa"] .showcase-inner::after {
  content: 'حذف کانتینر در پایان نشست';
}

.float-card-1 { right: -2.5%; }
.float-card-2 { left: -2.5%; }
html[lang="fa"] .float-card-1 { left: -2.5%; }
html[lang="fa"] .float-card-2 { right: -2.5%; }

.section {
  position: relative;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-muted::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78), transparent 42%),
    linear-gradient(180deg, transparent, rgba(0,180,216,0.035));
  pointer-events: none;
}

.section-header {
  position: relative;
}

.section-header.center::after {
  content: '';
  display: block;
  width: 72px;
  height: 2px;
  margin: 1.4rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--brand-teal), transparent);
}

.bento,
.features-grid,
.testimonial-grid,
.blog-grid,
.security-grid,
.uc-thread {
  align-items: stretch;
}

.bento-card,
.feature-card,
.pricing-card,
.testimonial,
.blog-card,
.compare-col,
.uc-thread-item {
  overflow: hidden;
}

.bento-card::before,
.feature-card::before,
.pricing-card::before,
.testimonial::before,
.blog-card::before,
.compare-col::before,
.uc-thread-item::before,
.contact-form-wrap::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-teal), rgba(18,50,74,0.18));
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.bento-card:hover::before,
.feature-card:hover::before,
.pricing-card:hover::before,
.testimonial:hover::before,
.blog-card:hover::before,
.compare-col:hover::before,
.uc-thread-item:hover::before,
.contact-form-wrap:focus-within::before {
  opacity: 1;
}

.bento-card.featured::before,
.compare-col.highlight::before {
  opacity: 1;
}

.bento-card h3,
.feature-card h3,
.testimonial-author strong,
.uc-thread-item strong {
  color: #202b3a;
}

.bento-card.featured h3,
.bento-card.featured p,
.solution-card h3,
.solution-card p,
.cta-box h2,
.cta-box p {
  color: inherit;
}

.bento-card p,
.feature-card p,
.blog-card p,
.uc-thread-item span {
  color: rgba(38,49,65,0.76);
}

.bento-card.featured p,
.section-dark .bento-card p,
.security-item span {
  color: rgba(226,232,240,0.72);
}

.bento-card.span-8.featured {
  min-height: 260px;
}

.bento-card.span-8.featured::after {
  opacity: 1;
  background:
    linear-gradient(135deg, transparent 0 52%, rgba(0,180,216,0.08) 52% 100%),
    radial-gradient(360px circle at 92% 20%, rgba(0,180,216,0.18), transparent 55%);
}

.problem-list li {
  align-items: center;
}

.solution-card {
  position: relative;
  overflow: hidden;
}

.solution-card::before,
.stats-bar::before,
.ai-band::before,
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(135deg, black, transparent 72%);
  pointer-events: none;
}

.solution-card > *,
.stats-bar > *,
.ai-band > *,
.cta-box > * {
  position: relative;
  z-index: 1;
}

.pipeline-step {
  border-radius: 14px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.pipeline-step:hover {
  background: rgba(255,255,255,0.045);
  transform: translateY(-3px);
}

.page-hero {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.page-hero + .security-banner.has-img {
  padding-top: 0;
  margin-top: -2.4rem;
}

.security-banner .container {
  position: relative;
  z-index: 2;
}

.security-banner-img {
  min-height: 260px;
  box-shadow: 0 26px 80px rgba(7,19,33,0.28);
}

.compliance-strip {
  max-width: 940px;
  margin: 0 auto;
  padding: 1.6rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.security-item {
  min-height: 154px;
}

.sec-cols {
  align-items: start;
}

.sec-col {
  padding: 2rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

.sec-row {
  border-bottom-color: rgba(38,49,65,0.09);
}

.ai-line {
  align-items: flex-start;
}

.ai-line .role {
  min-width: 2.4rem;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

html[lang="fa"] .ai-line .role {
  letter-spacing: 0;
}

.compare-grid {
  align-items: stretch;
}

.compare-col {
  position: relative;
}

.compare-col.highlight {
  transform: translateY(-0.65rem);
}

.testimonial {
  min-height: 100%;
}

.testimonial-quote {
  position: relative;
  padding-top: 1.1rem;
}

.testimonial-quote::before {
  position: absolute;
  top: -0.6rem;
  inset-inline-start: 0;
}

.stats-bar {
  position: relative;
  overflow: hidden;
}

.stat-item {
  padding: 0.5rem;
}

.stat-item + .stat-item {
  border-inline-start: 1px solid rgba(255,255,255,0.08);
}

.blog-featured,
.blog-card {
  background: rgba(255,255,255,0.92);
}

.blog-featured-visual::before,
.blog-visual::before {
  background:
    linear-gradient(135deg, rgba(0,180,216,0.16), transparent 45%),
    linear-gradient(315deg, rgba(18,50,74,0.18), transparent 58%);
}

.article-content {
  font-size: 1.015rem;
}

.article-content p,
.article-content li {
  color: rgba(38,49,65,0.78);
}

.article-content h2 {
  padding-top: 0.45rem;
  border-top: 1px solid rgba(38,49,65,0.1);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 28px rgba(18,50,74,0.045);
  overflow: hidden;
}

.faq-question {
  padding: 1.15rem 1.25rem;
}

.faq-item.open .faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.use-case-row {
  position: relative;
  padding: 3rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88));
  box-shadow: var(--shadow-card);
}

.use-case-row:last-child {
  margin-bottom: 0;
}

.use-case-row::before {
  content: '';
  position: absolute;
  inset-block: 2rem;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-teal), transparent);
}

html[lang="fa"] .use-case-row::before {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

.use-case-visual {
  box-shadow: 0 24px 54px rgba(18,50,74,0.16);
}

.use-case-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,33,0.08), rgba(7,19,33,0.34));
  z-index: 2;
  pointer-events: none;
}

.use-case-visual .uc-stat {
  z-index: 4;
}

.uc-nav {
  position: sticky;
  top: calc(var(--header-h) + 0.8rem);
  z-index: 20;
  padding: 0.6rem;
  margin-inline: auto;
  max-width: max-content;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line-soft);
  box-shadow: 0 14px 36px rgba(18,50,74,0.08);
  backdrop-filter: blur(14px);
}

.uc-nav-pill {
  background: transparent;
}

.uc-nav-pill:hover {
  background: rgba(0,180,216,0.08);
}

.arch-flow {
  background:
    linear-gradient(135deg, rgba(0,180,216,0.08), rgba(255,255,255,0.92));
}

.arch-node.hot {
  background: #071321;
  color: #fff;
  border-color: rgba(0,180,216,0.35);
}

.arch-node.hot span {
  color: rgba(226,232,240,0.72);
}

.contact-grid {
  align-items: start;
}

.contact-info {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line-soft);
}

.contact-form-wrap {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}

.footer-grid {
  padding-bottom: 0.5rem;
}

@media (min-width: 1100px) {
  .hero {
    padding-bottom: 6.25rem;
  }

  .showcase {
    transform: translateY(2rem);
  }

  .page-hero {
    padding-bottom: 5.5rem;
  }
}

@media (max-width: 900px) {
  .hero-content::before {
    display: none;
  }

  .showcase {
    transform: none;
  }

  .showcase-inner::after {
    display: none;
  }

  .stat-item + .stat-item {
    border-inline-start: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .compare-col.highlight {
    transform: none;
  }

  .use-case-row {
    padding: 2rem 1.25rem;
  }

  .uc-nav {
    position: static;
    max-width: none;
    border-radius: 16px;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  main {
    background-size: 48px 48px;
  }

  .section-header.center::after {
    margin-top: 1rem;
  }

  .compliance-strip,
  .sec-col,
  .contact-info {
    padding: 1.25rem;
  }

  .security-banner-img {
    min-height: 210px;
  }

  .uc-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .uc-nav::-webkit-scrollbar {
    display: none;
  }
}

/* Hero image tuning: use hero-bg.webp as the atmospheric product backdrop. */
.hero-texture-img {
  opacity: 0.68;
  object-position: center right;
  filter: saturate(1.05) contrast(1.08);
}

html[lang="fa"] .hero-texture-img {
  object-position: center left;
  transform: scaleX(-1);
}

.hero-texture::after {
  background:
    linear-gradient(90deg, rgba(4,8,15,0.98) 0%, rgba(4,8,15,0.82) 38%, rgba(4,8,15,0.42) 100%),
    linear-gradient(180deg, rgba(4,8,15,0.18), rgba(4,8,15,0.9));
}

html[lang="fa"] .hero-texture::after {
  background:
    linear-gradient(270deg, rgba(4,8,15,0.98) 0%, rgba(4,8,15,0.82) 38%, rgba(4,8,15,0.42) 100%),
    linear-gradient(180deg, rgba(4,8,15,0.18), rgba(4,8,15,0.9));
}

/* Use-case image normalization: different source ratios, consistent cards. */
.use-case-row {
  align-items: center;
}

.use-case-visual {
  width: 100%;
  aspect-ratio: 16 / 11;
  min-height: 340px;
  max-height: 430px;
  background: #071321;
  isolation: isolate;
}

.use-case-visual .uc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.use-case-visual[data-scene="high-risk"] .uc-img { object-position: 50% 50%; }
.use-case-visual[data-scene="saas"] .uc-img { object-position: 50% 48%; }
.use-case-visual[data-scene="bpo"] .uc-img { object-position: 50% 48%; }
.use-case-visual[data-scene="soc"] .uc-img { object-position: 50% 50%; }
.use-case-visual[data-scene="contractor"] .uc-img { object-position: 50% 48%; }

.use-case-visual::before {
  background:
    linear-gradient(180deg, rgba(7,19,33,0.04), rgba(7,19,33,0.22)),
    linear-gradient(90deg, rgba(7,19,33,0.12), transparent 45%, rgba(7,19,33,0.12));
}

.use-case-visual::after {
  content: '';
  position: absolute;
  inset: auto 1rem 1rem;
  height: 42%;
  border-radius: 14px;
  background: linear-gradient(180deg, transparent, rgba(7,19,33,0.58));
  z-index: 3;
  pointer-events: none;
}

.use-case-visual.has-img .uc-scene {
  display: none;
}

.use-case-visual .uc-stat {
  z-index: 5;
}

@media (max-width: 900px) {
  .use-case-visual {
    min-height: 260px;
    max-height: none;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .use-case-visual {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .use-case-visual .uc-stat {
    max-width: calc(100% - 2rem);
  }
}

/* Blog and article polish: editorial hierarchy and stable media. */
.page-hero--blog {
  position: relative;
  overflow: hidden;
  padding-bottom: 5.25rem;
}

.page-hero--blog::before {
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 120%, rgba(0,180,216,0.12), transparent 44%);
  background-size: 56px 56px, 56px 56px, auto;
}

.page-hero--blog h1 {
  font-size: clamp(2.65rem, 6vw, 5rem);
}

.blog-featured-wrap {
  padding: 0 0 3.5rem;
  margin-top: -3.25rem;
  background:
    linear-gradient(180deg, transparent 0 3.25rem, rgba(246,248,251,0.86) 3.25rem 100%);
  border-bottom: 0;
}

.blog-featured {
  position: relative;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94));
  border-color: rgba(38,49,65,0.11);
  box-shadow: 0 28px 80px rgba(18,50,74,0.16);
}

.blog-featured::before {
  opacity: 1;
  height: 4px;
}

.blog-featured-link {
  min-height: 390px;
}

@media (min-width: 900px) {
  .blog-featured-link {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  }
}

.blog-featured-visual,
.blog-visual {
  background: #071321;
}

.blog-featured-visual {
  min-height: 310px;
}

.blog-featured-visual .blog-img,
.blog-visual .blog-img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.04);
}

.blog-featured-visual::after,
.blog-visual::after {
  background:
    linear-gradient(180deg, transparent 44%, rgba(7,19,33,0.58)),
    linear-gradient(90deg, rgba(7,19,33,0.22), transparent 48%);
}

.blog-featured-body {
  padding: 2.35rem;
}

@media (min-width: 900px) {
  .blog-featured-body {
    padding: 3rem 3.25rem;
  }
}

.blog-featured-body h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: 0;
  color: #202b3a;
}

.blog-featured-body p {
  font-size: 1.02rem;
  color: rgba(38,49,65,0.74);
}

.blog-featured-meta,
.blog-card-footer {
  color: rgba(38,49,65,0.58);
}

.blog-badge {
  border-radius: 999px;
  background: #071321;
  color: #b7f5ff;
  border: 1px solid rgba(0,180,216,0.25);
}

.blog-category,
.article-category {
  color: #007c98;
  background: rgba(0,180,216,0.1);
  border-color: rgba(0,180,216,0.2);
}

.blog-listing {
  padding-top: 4.5rem;
}

.blog-toolbar {
  align-items: flex-end;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(38,49,65,0.1);
}

.blog-toolbar h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: 0;
}

.blog-topics {
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(38,49,65,0.1);
  box-shadow: 0 12px 34px rgba(18,50,74,0.06);
}

.blog-topic {
  border-color: transparent;
  background: transparent;
  color: rgba(38,49,65,0.72);
}

.blog-topic:hover,
.blog-topic.active {
  color: #006f8a;
  background: rgba(0,180,216,0.1);
  border-color: rgba(0,180,216,0.16);
}

.blog-grid {
  gap: 1.4rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card::after {
  content: '';
  position: absolute;
  inset: auto 1rem 1rem;
  height: 28%;
  border-radius: 18px;
  background: rgba(0,180,216,0.08);
  filter: blur(22px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}

.blog-card:hover::after {
  opacity: 1;
}

.blog-visual {
  aspect-ratio: 16 / 10;
}

.blog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.55rem;
}

.blog-card h3 {
  font-size: 1.18rem;
  line-height: 1.32;
  letter-spacing: 0;
}

.blog-card p {
  color: rgba(38,49,65,0.74);
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 0.6rem;
}

.read-link {
  color: #007c98;
}

.article-header {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background:
    linear-gradient(180deg, rgba(7,19,33,0.97), rgba(7,19,33,0.94)),
    #071321;
  color: #fff;
  border-bottom: 0;
}

.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
}

.article-header .container {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.article-back {
  color: #8fefff;
}

.article-header h1 {
  max-width: 900px;
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: #fff;
}

.article-header .article-meta {
  color: rgba(226,232,240,0.76);
}

.article-avatar {
  background: linear-gradient(135deg, #00b4d8, #12324a);
}

.article-cover.has-img {
  padding: 0;
  margin-top: -2.6rem;
  background: transparent;
  border-bottom: 0;
}

.article-cover .container {
  max-width: 1050px;
}

.article-cover-img {
  aspect-ratio: 21 / 9;
  border-radius: 22px;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 30px 90px rgba(7,19,33,0.24);
}

.article-content {
  max-width: 760px;
  padding-top: 4rem;
}

.article-content > p:first-child {
  font-size: 1.14rem;
  line-height: 1.85;
  color: rgba(38,49,65,0.84);
}

.article-content h2 {
  margin-top: 3rem;
  padding-top: 1.4rem;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  letter-spacing: 0;
  color: #202b3a;
  border-top: 1px solid rgba(38,49,65,0.1);
}

.article-content p,
.article-content li {
  font-size: 1.02rem;
}

.article-content ul,
.article-content ol {
  padding: 1.1rem 1.35rem;
  border-radius: 16px;
  background: rgba(246,248,251,0.82);
  border: 1px solid rgba(38,49,65,0.08);
}

html[lang="fa"] .article-content ul,
html[lang="fa"] .article-content ol {
  margin-left: 0;
  margin-right: 1.5rem;
}

.article-content li::marker {
  color: var(--brand-teal);
}

.article-content blockquote {
  position: relative;
  margin: 2.2rem 0;
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(0,180,216,0.18);
  border-inline-start: 4px solid var(--brand-teal);
  border-image: none;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0,180,216,0.09), rgba(255,255,255,0.92));
  color: #203047;
  font-size: 1.08rem;
}

.article-cta {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 62px rgba(7,19,33,0.16);
}

@media (max-width: 900px) {
  .blog-featured-wrap {
    margin-top: -2rem;
  }

  .blog-featured-link {
    min-height: auto;
  }

  .blog-toolbar {
    align-items: flex-start;
  }

  .blog-topics {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .blog-topics::-webkit-scrollbar {
    display: none;
  }

  .article-cover-img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .page-hero--blog {
    padding-bottom: 4rem;
  }

  .blog-featured-body,
  .blog-body {
    padding: 1.25rem;
  }

  .blog-featured-body h2 {
    font-size: 1.55rem;
  }

  .article-header {
    padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  }

  .article-cover.has-img {
    margin-top: -1.4rem;
  }

  .article-content {
    padding-top: 2.6rem;
  }
}

/* Comparison page */
.page-hero--comparison {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4,8,15,0.92), rgba(7,19,33,0.94)),
    url('../img/generated/hero-bg.webp') center / cover no-repeat,
    #071321;
}

.page-hero--comparison::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(0,212,255,0.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(139,92,246,0.22), transparent 24%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 96%);
  pointer-events: none;
}

.page-hero--comparison .container {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.page-hero--comparison h1 {
  max-width: 980px;
  margin-inline: auto;
}

.page-hero--comparison p {
  max-width: 820px;
}

.comparison-verdict {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid rgba(0,180,216,0.18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0,180,216,0.11), rgba(255,255,255,0.94) 52%, rgba(139,92,246,0.08)),
    #fff;
  box-shadow: 0 24px 70px rgba(7,19,33,0.10);
}

.comparison-verdict::after {
  content: '';
  position: absolute;
  inset-inline-end: -80px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(0,180,216,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.48);
}

.comparison-verdict > * {
  position: relative;
  z-index: 1;
}

.comparison-verdict h2 {
  max-width: 900px;
  margin-top: 0.85rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
}

.comparison-verdict p {
  max-width: 820px;
  margin-top: 1rem;
  color: rgba(38,49,65,0.78);
  font-size: 1.08rem;
}

.comparison-kicker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.comparison-card,
.positioning-card {
  border: 1px solid rgba(38,49,65,0.09);
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 16px 48px rgba(7,19,33,0.07);
}

.comparison-card {
  padding: 1.15rem;
}

.cmp-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(0,180,216,0.05));
  color: var(--cyan-600);
  border: 1px solid rgba(0,212,255,0.15);
  margin-bottom: 0.85rem;
  flex: 0 0 auto;
}

.cmp-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.positioning-card.featured .cmp-icon {
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.18);
}

.comparison-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #172033;
  font-size: 1rem;
}

.comparison-card span,
.positioning-card p {
  color: rgba(38,49,65,0.72);
}

.comparison-card {
  position: relative;
  overflow: hidden;
}

.comparison-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 1.15rem;
  top: 0;
  width: 42px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--grad-brand);
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.positioning-card {
  padding: 1.55rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
}

.positioning-card-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.05rem;
}

.positioning-card-top .cmp-icon {
  margin-bottom: 0;
}

.positioning-card span {
  display: inline-flex;
  margin-bottom: 0;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(0,180,216,0.09);
  color: #007c98;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
}

.positioning-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.18rem;
  letter-spacing: 0;
  line-height: 1.35;
}

.positioning-card p {
  margin: 0;
  line-height: 1.68;
  color: rgba(38,49,65,0.72);
}

.positioning-card.featured {
  border-color: rgba(0,180,216,0.24);
  background:
    linear-gradient(135deg, rgba(0,180,216,0.13), rgba(255,255,255,0.92)),
    #fff;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(38,49,65,0.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(7,19,33,0.08);
}

.matrix-guide {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.matrix-guide-card {
  padding: 1.2rem;
  border: 1px solid rgba(38,49,65,0.09);
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 14px 42px rgba(7,19,33,0.06);
}

.matrix-guide-card.primary {
  border-color: rgba(0,180,216,0.22);
  background:
    linear-gradient(135deg, rgba(0,180,216,0.13), rgba(255,255,255,0.94)),
    #fff;
}

.matrix-guide-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #172033;
  font-size: 1.02rem;
}

.matrix-guide-card span {
  color: rgba(38,49,65,0.72);
}

.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.matrix-legend > span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(38,49,65,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.82);
  color: rgba(38,49,65,0.72);
  font-size: 0.84rem;
  line-height: 1.45;
}

.matrix-legend-desc {
  color: rgba(38,49,65,0.68);
}

.signal {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.signal-strong { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.16); }
.signal-partial { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,0.14); }
.signal-no { background: #94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,0.16); }

.comparison-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1.05rem 1rem;
  border-bottom: 1px solid rgba(38,49,65,0.08);
  text-align: start;
  vertical-align: top;
}

.comparison-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f6f9fc;
  color: #172033;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

html[lang="fa"] .comparison-table th {
  letter-spacing: 0;
  text-transform: none;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  position: sticky;
  inset-inline-start: 0;
  z-index: 2;
  width: 230px;
  background: #fff;
  color: #172033;
  font-weight: 700;
  box-shadow: 1px 0 0 rgba(38,49,65,0.08);
}

.comparison-table th:first-child {
  z-index: 3;
  background: #f6f9fc;
}

.comparison-table td:nth-child(2),
.comparison-table th:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(0,180,216,0.07), rgba(0,180,216,0.035));
}

.comparison-table strong {
  color: #007c98;
}

.comparison-table td small {
  display: block;
  max-width: 210px;
  margin-top: 0.42rem;
  color: rgba(38,49,65,0.58);
  font-size: 0.76rem;
  line-height: 1.5;
}

.comparison-table tbody td:has(> .matrix-pill.strong) {
  box-shadow: inset 0 0 0 9999px rgba(34, 197, 94, 0.06);
}

.comparison-table tbody td:has(> .matrix-pill.partial) {
  box-shadow: inset 0 0 0 9999px rgba(245, 158, 11, 0.055);
}

.comparison-table tbody td:has(> .matrix-pill.no) {
  box-shadow: inset 0 0 0 9999px rgba(148, 163, 184, 0.07);
}

.matrix-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 1.84rem;
  padding: 0.34rem 0.72rem 0.34rem 0.62rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.matrix-pill::before {
  content: '';
  width: 0.92rem;
  height: 0.92rem;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--matrix-icon) center / contain no-repeat;
  mask: var(--matrix-icon) center / contain no-repeat;
}

.matrix-pill.strong {
  --matrix-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  color: #15803d;
  background: rgba(34,197,94,0.14);
  border: 1px solid rgba(34,197,94,0.26);
  box-shadow: 0 1px 0 rgba(34,197,94,0.10);
}

.matrix-pill.partial {
  --matrix-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
  color: #8a5600;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.24);
  box-shadow: 0 1px 0 rgba(245,158,11,0.08);
}

.matrix-pill.no {
  --matrix-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  color: #475569;
  background: rgba(148,163,184,0.18);
  border: 1px solid rgba(148,163,184,0.28);
  box-shadow: 0 1px 0 rgba(148,163,184,0.08);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.decision-figure {
  margin: 0 auto 1.5rem;
  max-width: 1040px;
}
.decision-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,212,255,0.14);
  box-shadow: var(--shadow-lg);
}

.decision-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 1.45rem;
  border: 1px solid rgba(38,49,65,0.09);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,249,252,0.9)),
    #fff;
  box-shadow: 0 18px 52px rgba(7,19,33,0.07);
}

.decision-card::after {
  content: '';
  position: absolute;
  inset-inline-end: -42px;
  top: -42px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(0,180,216,0.14);
  border-radius: 999px;
}

.decision-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,180,216,0.22);
}

.decision-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.decision-card p {
  color: rgba(38,49,65,0.72);
}

.decision-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  margin-top: 1rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(0,180,216,0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0,180,216,0.1), rgba(255,255,255,0.9)),
    #fff;
  color: rgba(38,49,65,0.78);
}

.decision-result strong {
  color: #007c98;
}

@media (max-width: 980px) {
  .comparison-kicker-grid,
  .positioning-grid,
  .matrix-guide,
  .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matrix-guide-card.primary,
  .decision-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .comparison-kicker-grid,
  .positioning-grid,
  .matrix-guide,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .matrix-guide-card.primary,
  .decision-card:first-child {
    grid-column: auto;
  }

  .comparison-verdict {
    border-radius: 18px;
  }

  .comparison-table {
    min-width: 920px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.85rem;
  }

  .matrix-legend {
    display: grid;
  }

  .decision-result {
    grid-template-columns: 1fr;
  }
}
