/* ===== HooshYar (هوش‌یار) — Design System ===== */
:root {
  --navy-950: #050914;
  --navy-900: #0a1226;
  --navy-800: #101b34;
  --navy-700: #16233f;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --cobalt-700: #1d3f91;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --gradient-brand: linear-gradient(95deg, var(--cobalt-700) 0%, var(--blue-600) 45%, var(--cyan-400) 100%);
  --ink-900: #0b1220;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 60px -20px rgba(11, 18, 32, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(11, 18, 32, 0.18);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
  color: var(--ink-900);
  background: var(--white);
  direction: rtl;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue-600);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow.on-dark {
  color: var(--cyan-300);
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.25);
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.35; color: var(--ink-900); }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 20px; }
p { color: var(--slate-600); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 17px; margin-top: 14px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 12px 30px -8px rgba(37, 99, 235, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.65); }
.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--slate-300);
}
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-outline.on-dark { color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline.on-dark:hover { border-color: var(--cyan-300); color: var(--cyan-300); }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 9, 20, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(103, 232, 249, 0.14);
  box-shadow: 0 1px 30px -6px rgba(34, 211, 238, 0.15);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--white); }
.brand .mark { width: 36px; height: 36px; filter: drop-shadow(0 0 10px rgba(34,211,238,.45)); }
.brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.06em; color: var(--cyan-300); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-links a.nav-link:hover, .nav-links a.nav-link.active { background: rgba(255,255,255,0.08); color: var(--white); }
.has-dropdown { display: flex; align-items: center; gap: 4px; }
.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  min-width: 240px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s ease;
  box-shadow: var(--shadow-soft);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 12px 14px; border-radius: 10px; color: rgba(255,255,255,0.85); font-size: 14.5px; }
.dropdown a:hover { background: rgba(255,255,255,0.06); color: var(--cyan-300); }
.dropdown a span { display: block; font-size: 12px; color: var(--slate-500); margin-top: 2px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 26px; cursor: pointer; }

@media (max-width: 960px) {
  .nav-links { position: fixed; inset: 76px 0 0 0; background: var(--navy-950); flex-direction: column; align-items: stretch; padding: 20px; gap: 4px; transform: translateY(-110%); transition: transform .3s ease; overflow-y: auto; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a.nav-link { display: block; padding: 16px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; margin: 0 0 8px 0; background: rgba(255,255,255,0.04); }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
}

/* ---- Hero (dark) ---- */
.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 15% -10%, rgba(37,99,235,0.35), transparent 60%),
              radial-gradient(900px 500px at 100% 0%, rgba(34,211,238,0.22), transparent 55%),
              var(--navy-950);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 110px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 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: 46px 46px;
  mask-image: radial-gradient(circle at 60% 20%, black, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; max-width: 860px; text-align: center; margin: 0 auto; }
.hero h1 { color: var(--white); }
.hero p.lead { color: rgba(255,255,255,0.78); font-size: 18px; max-width: 700px; margin: 22px auto 0; }
.hero .cta-row { justify-content: center; }

/* Hero with visual (two-column) */
.hero.has-media .container { max-width: var(--container); text-align: right; }
.hero-columns { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-columns .hero-text { max-width: 620px; }
.hero-columns .hero-text .lead { margin: 22px 0 0; }
.hero-columns .cta-row { justify-content: flex-start; }
.hero-media { position: relative; }
.hero-media .frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 6px;
  background: linear-gradient(140deg, rgba(37,99,235,0.55), rgba(34,211,238,0.35));
  box-shadow: 0 30px 80px -20px rgba(6, 12, 30, 0.65);
}
.hero-media img {
  border-radius: 16px;
  width: 100%;
  display: block;
}
@media (max-width: 900px) {
  .hero-columns { grid-template-columns: 1fr; text-align: center; }
  .hero-columns .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-columns .cta-row { justify-content: center; }
  .hero.has-media .container { text-align: center; }
}

/* Ecosystem diagram visual */
.eco-visual { margin-bottom: 46px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-soft); }
.eco-visual img { width: 100%; display: block; }

/* Security / air-gapped visual */
.security-visual { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-soft); }
.security-visual img { width: 100%; display: block; }

.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 420px at 90% -10%, rgba(34,211,238,0.22), transparent 60%), var(--navy-950);
  color: var(--white);
  padding: 96px 0 80px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { color: var(--white); max-width: 820px; }
.page-hero p.lead { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 700px; margin-top: 16px; }

/* ---- Grids / Cards ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -18px rgba(11,18,32,0.22); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand); color: var(--white); margin-bottom: 18px;
  font-size: 22px; font-weight: 800;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; }
.card .tag { display: inline-block; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--blue-600); }

/* Product ecosystem cards on dark */
.eco-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--white);
}
.eco-card h3 { color: var(--white); margin-bottom: 8px; }
.eco-card p { color: rgba(255,255,255,0.68); font-size: 14.5px; margin-bottom: 18px; }
.eco-card .badge { font-size: 12px; font-weight: 700; color: var(--cyan-300); background: rgba(34,211,238,0.1); padding: 4px 12px; border-radius: 999px; display: inline-block; margin-bottom: 14px; }
.eco-card a.tag { color: var(--cyan-300); font-weight: 700; font-size: 14px; }

.ecosystem-section { background: var(--navy-950); color: var(--white); }
.ecosystem-section .section-head h2 { color: var(--white); }
.ecosystem-section .section-head p { color: rgba(255,255,255,0.7); }

/* ---- Stats ---- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  text-align: center;
}
.stat-card .num {
  font-size: 34px;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 6px;
}
.stat-card p { font-size: 14px; color: var(--slate-600); }

/* ---- Timeline (pipeline) ---- */
.pipeline { display: flex; flex-direction: column; gap: 0; border-inline-start: 2px solid var(--slate-100); margin-inline-start: 14px; }
.pipeline-step { position: relative; padding: 0 0 40px 0; padding-inline-start: 34px; }
.pipeline-step:last-child { padding-bottom: 0; }
.pipeline-step::before {
  content: "";
  position: absolute;
  right: -7px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gradient-brand);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--slate-100);
}
.pipeline-step .step-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pipeline-step h4 { font-size: 17px; font-weight: 700; color: var(--ink-900); }
.pipeline-step .time { font-size: 13px; font-weight: 700; color: var(--blue-600); background: rgba(37,99,235,0.08); padding: 3px 12px; border-radius: 999px; }
.pipeline-step p { margin-top: 6px; font-size: 14.5px; }

/* ---- Callout / banner ---- */
.callout {
  background: var(--gradient-brand);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.callout h3 { color: var(--white); font-size: 22px; max-width: 780px; margin: 0 auto; }
.callout p { color: rgba(255,255,255,0.85); margin-top: 10px; }

.banner-dark {
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.banner-dark h3 { color: var(--white); font-size: 20px; max-width: 760px; margin: 0 auto; }

/* ---- Feature list w/ check icons ---- */
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--slate-700); }
.check-list li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 6px;
  background: var(--gradient-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ---- Deployment tabs (3 cards) ---- */
.deploy-card { border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--slate-100); background: var(--white); }
.deploy-card h3 { margin-bottom: 10px; }
.deploy-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.deploy-card ul li { font-size: 14px; color: var(--slate-600); padding-inline-start: 16px; position: relative; }
.deploy-card ul li::before { content: "—"; position: absolute; right: 0; color: var(--cyan-400); }
.deploy-card.featured { border-color: transparent; background: var(--navy-900); color: var(--white); }
.deploy-card.featured h3, .deploy-card.featured p { color: var(--white); }
.deploy-card.featured ul li { color: rgba(255,255,255,0.75); }

/* ---- Section variants ---- */
.section-alt { background: var(--slate-50); }
.section-dark { position: relative; overflow: hidden; background: var(--navy-950); color: var(--white); }
.section-dark .container { position: relative; z-index: 1; }
.section-dark .section-head h2 { color: var(--white); }
.section-dark .section-head p { color: rgba(255,255,255,0.7); }
.section-dark p { color: rgba(255,255,255,0.72); }

/* ---- Product page template ---- */
.product-hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.powered-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.powered-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); }

.value-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: center; }
@media (max-width: 800px) { .value-strip { grid-template-columns: 1fr; } }

/* ---- Table (sitemap on about / API list) ---- */
.simple-table { width: 100%; border-collapse: collapse; }
.simple-table th, .simple-table td { text-align: right; padding: 16px 18px; border-bottom: 1px solid var(--slate-100); font-size: 14.5px; }
.simple-table th { color: var(--slate-500); font-weight: 700; font-size: 13px; }
.simple-table td { color: var(--slate-700); }
.simple-table code { background: var(--slate-100); padding: 3px 8px; border-radius: 6px; font-size: 13px; color: var(--cobalt-700); direction: ltr; display: inline-block; }

/* ---- Code block ---- */
.code-block {
  background: var(--navy-950);
  color: #d7e3ff;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  font-family: 'Courier New', monospace;
  font-size: 13.5px;
  direction: ltr;
  text-align: left;
  overflow-x: auto;
  line-height: 1.7;
}
.code-block .k { color: var(--cyan-300); }
.code-block .s { color: #a5f3c1; }

/* ---- Contact form ---- */
.form-card { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--slate-700); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--slate-300);
  background: var(--white);
  color: var(--ink-900);
  outline: none;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--slate-500); margin-top: 16px; }
.form-alert { border-radius: 12px; padding: 16px 20px; font-size: 14.5px; margin-bottom: 24px; }
.form-alert.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .item .icon-sm { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--gradient-brand); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.contact-info .item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info .item p { font-size: 14px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .brand { color: var(--white); margin-bottom: 14px; }
.footer-grid p.desc { font-size: 14px; max-width: 320px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fbadge { font-size: 11px; font-weight: 700; color: var(--cyan-300); background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.2); padding: 4px 12px; border-radius: 999px; }
.footer-col h5 { color: var(--white); font-size: 14px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.62); transition: color .2s; }
.footer-col a:hover { color: var(--cyan-300); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--cyan-300); font-weight: 600; }

/* ---- Visual refresh: glass cards, neon accents, glow, tabs, compare table, journey ---- */
.bg-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; }
.bg-orb.cyan { background: var(--cyan-400); opacity: .32; }
.bg-orb.blue { background: var(--blue-600); opacity: .28; }
.bg-orb.size-lg { width: 480px; height: 480px; }
.bg-orb.size-md { width: 360px; height: 360px; }
.bg-orb.top-right { top: -140px; inset-inline-end: -140px; }
.bg-orb.bottom-left { bottom: -120px; inset-inline-start: -140px; }
.bg-orb.top-left { top: -120px; inset-inline-start: -160px; }

.neon-text {
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500), #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: rgba(16, 27, 52, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(103, 232, 249, 0.14);
  border-radius: var(--radius-lg);
}

.glow-border { position: relative; }
.glow-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34,211,238,.65), rgba(37,99,235,.25), rgba(34,211,238,.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Ecosystem section as glass-on-dark */
.ecosystem-section { position: relative; overflow: hidden; }
.ecosystem-section .container { position: relative; z-index: 1; }
.eco-card { background: rgba(255,255,255,0.04); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(103,232,249,0.14); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.eco-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,.45); box-shadow: 0 20px 50px -18px rgba(34,211,238,.3); }

/* Hero orbs need containing context */
.hero { z-index: 1; }
.hero .bg-orb { z-index: 0; }

/* ---- Tabs (module architecture) ---- */
.tab-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tab-btn {
  font-family: inherit;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: transparent;
  color: var(--slate-500);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
}
.tab-btn:hover { color: var(--blue-600); border-color: rgba(37,99,235,.45); }
.tab-btn.tab-active {
  background: var(--gradient-brand);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 10px 26px -10px rgba(37,99,235,.55);
}
.tab-panel-wrap { background: var(--navy-900); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-soft); }
.tab-panel { display: none; }
.tab-panel.tab-panel-active { display: block; }
.tab-panel h3 { color: var(--white); margin-bottom: 8px; }
.tab-panel p { color: rgba(255,255,255,0.72); font-size: 15px; }

/* ---- Guardrails as glass grid ---- */
.guardrail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 700px) { .guardrail-grid { grid-template-columns: 1fr; } }
.guardrail-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px 26px; background: var(--navy-900); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); transition: border-color .25s ease, transform .25s ease; }
.guardrail-item:hover { border-color: rgba(34,211,238,.35); transform: translateY(-3px); }
.guardrail-item .g-num { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--gradient-brand); color: var(--white); font-weight: 800; font-size: 13.5px; display: flex; align-items: center; justify-content: center; }
.guardrail-item h4 { font-size: 15.5px; color: var(--white); margin-bottom: 4px; }
.guardrail-item p { font-size: 13.5px; color: rgba(255,255,255,0.68); margin: 0; }

/* ---- Comparison table ---- */
.compare-panel { padding: 6px; }
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: right; font-size: 14.5px; }
.compare-table thead th { color: rgba(255,255,255,0.75); font-weight: 700; font-size: 13px; border-bottom: 1px solid rgba(103,232,249,0.2); }
.compare-table thead th.highlight { color: var(--cyan-300); }
.compare-table tbody td { color: rgba(255,255,255,0.66); border-bottom: 1px solid rgba(255,255,255,0.06); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td.feature { color: var(--white); font-weight: 700; }
.compare-table tbody td.yes { color: var(--cyan-300); font-weight: 700; }
.compare-table tbody td.no { color: #fb7185; }
.compare-table tbody td.partial { color: #fbbf24; }

/* ---- Trust bar (under hero) ---- */
.trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 36px; padding: 20px 24px;
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-bar span { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.78); }
.trust-bar span::before { content: "✓"; color: var(--cyan-400); font-weight: 800; }

/* ---- Deployment journey (roadmap-style) ---- */
.journey-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.journey-grid::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 16%;
  left: 16%;
  height: 1px;
  background: linear-gradient(90deg, rgba(37,99,235,.5), rgba(34,211,238,.4), rgba(37,99,235,.5));
  z-index: 0;
}
@media (max-width: 900px) { .journey-grid { grid-template-columns: 1fr; } .journey-grid::before { display: none; } }
.journey-step { position: relative; z-index: 1; }
.journey-step .step-num {
  width: 52px; height: 52px; margin: 0 0 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  background: var(--white); border: 1.5px solid var(--slate-300); color: var(--blue-600);
}
.journey-step.featured .step-num {
  background: var(--gradient-brand); color: var(--white); border-color: transparent;
  box-shadow: 0 10px 30px -8px rgba(37,99,235,.55);
}
.journey-step .deploy-card { height: 100%; }

/* ---- Utilities ---- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
