/* Orax — Global marketing site. Light default, dark optional. */
:root,
[data-theme="light"] {
  --bg0: #f8fafc;
  --bg1: #ffffff;
  --bg2: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --card: rgba(255, 255, 255, 0.85);
  --card-hover: #ffffff;
  --shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --red: #e63946;
  --red-soft: rgba(230, 57, 70, 0.12);
  --blue: #1d4ed8;
  --blue-soft: rgba(29, 78, 216, 0.1);
  --cyan: #0ea5e9;
  --gradient-hero: radial-gradient(ellipse 90% 70% at 10% 0%, rgba(29, 78, 216, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(230, 57, 70, 0.1), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  --nav-bg: rgba(255, 255, 255, 0.82);
  --mock-bg: #1e293b;
  --mock-panel: #334155;
}

[data-theme="dark"] {
  --bg0: #06080f;
  --bg1: #0c1018;
  --bg2: #121826;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --red-soft: rgba(230, 57, 70, 0.18);
  --blue-soft: rgba(59, 130, 246, 0.15);
  --gradient-hero: radial-gradient(ellipse 90% 70% at 10% 0%, rgba(59, 130, 246, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(230, 57, 70, 0.15), transparent 50%),
    linear-gradient(180deg, #06080f 0%, #0f172a 100%);
  --nav-bg: rgba(6, 8, 15, 0.85);
  --mock-bg: #0f172a;
  --mock-panel: #1e293b;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
  background: var(--bg0);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.35s, color 0.35s;
}

body[dir="rtl"] { font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* ── Nav ── */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img { width: 40px; height: 40px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.2s, background 0.2s;
}

.icon-btn:hover { transform: translateY(-2px); background: var(--card-hover); }

.lang-btn {
  padding: 0;
  width: 42px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  color: #fff;
  box-shadow: 0 12px 32px rgba(29, 78, 216, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(29, 78, 216, 0.45);
}

.btn-ghost {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover { transform: translateY(-2px); background: var(--card-hover); }

.menu-toggle { display: none; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue-soft);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--blue), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 520px;
  align-items: flex-end;
}

.hero-scene {
  position: absolute;
  inset: 0 0 8%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 0;
}

.hero-scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
}

.hero-scene-shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.15) 0%, transparent 35%),
    linear-gradient(135deg, rgba(29, 78, 216, 0.18), transparent 45%, rgba(230, 57, 70, 0.12));
  pointer-events: none;
}

[data-theme="dark"] .hero-scene-shine {
  background:
    linear-gradient(180deg, rgba(6, 8, 15, 0.2) 0%, transparent 40%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.22), transparent 50%, rgba(230, 57, 70, 0.15));
}

.hero-devices {
  position: absolute;
  bottom: 10%;
  inset-inline-end: 8%;
  inset-inline-start: auto;
  display: flex;
  gap: 10px;
  z-index: 4;
  flex-wrap: wrap;
  max-width: 220px;
}

.hero-device-chip {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
  animation: float 4.5s ease-in-out infinite;
}

[data-theme="dark"] .hero-device-chip {
  background: rgba(15, 23, 42, 0.85);
  color: #f1f5f9;
}

.hero-device-chip--mouse {
  background: linear-gradient(135deg, #e63946, #1d4ed8);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  animation-delay: 0s;
}

.hero-device-chip--laptop { animation-delay: 0.4s; }
.hero-device-chip--phone { animation-delay: 0.8s; }
.hero-device-chip--screen { animation-delay: 1.2s; }

.character-wrap {
  position: absolute;
  inset-inline-start: -6%;
  bottom: -2%;
  z-index: 3;
}

.character-wrap img,
.character-img {
  width: min(360px, 48vw);
  margin-inline: 0;
  filter: drop-shadow(0 32px 64px rgba(29, 78, 216, 0.25));
  background: transparent;
  transform: scaleX(-1);
  transform-origin: center bottom;
}

.hero-visual--cinema .character-img {
  animation: none;
}

.hero-visual--ready .character-img {
  animation: floatMirrored 5s ease-in-out infinite;
}

@keyframes floatMirrored {
  0%, 100% { transform: scaleX(-1) translateY(0); }
  50% { transform: scaleX(-1) translateY(-12px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.25), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* ── Stats ── */
.stats {
  padding: 48px 0;
  border-block: 1px solid var(--border);
  background: var(--bg1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-num.stat-icon {
  font-size: 2.4rem;
  background: none;
  -webkit-text-fill-color: initial;
  line-height: 1;
}

.stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }

/* ── Sections ── */
section { padding: 96px 0; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ── Products ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  padding: 36px 28px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  backdrop-filter: blur(8px);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  background: var(--card-hover);
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.product-icon.rdp { background: var(--blue-soft); }
.product-icon.access { background: var(--red-soft); }
.product-icon.suite { background: linear-gradient(135deg, var(--blue-soft), var(--red-soft)); }

.product-card h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.product-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ── Features ── */
.features { background: var(--bg2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 28px;
  border-radius: 20px;
  background: var(--bg1);
  border: 1px solid var(--border);
  transition: transform 0.25s;
}

.feature:hover { transform: translateY(-4px); }

.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; font-weight: 700; }
.feature p { font-size: 0.88rem; color: var(--text-muted); }

/* ── How it works + Mock UI ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.step {
  text-align: center;
  padding: 0 12px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 1.1rem;
}

.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

.showcase-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mock-window {
  border-radius: 16px;
  overflow: hidden;
  background: var(--mock-bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--mock-panel);
}

.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.r { background: #ef4444; }
.mock-dot.y- { background: #eab308; }
.mock-dot.g { background: #22c55e; }

.mock-body { padding: 24px 20px; min-height: 200px; }

.mock-code {
  font-family: Consolas, monospace;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-align: center;
  color: #60a5fa;
  margin: 20px 0;
}

.mock-label {
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mock-screen {
  height: 100px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1e3a5f, #0f172a);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}

.mock-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,0.02) 3px,
    rgba(255,255,255,0.02) 4px
  );
}

.mock-btn {
  display: block;
  margin: 16px auto 0;
  padding: 10px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  width: fit-content;
}

.mock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  font-size: 0.78rem;
  color: #86efac;
}

.mock-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

/* ── Global ── */
.global-section { background: var(--bg1); }

.global-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.region-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.region {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.region:hover { transform: translateX(6px); }
body[dir="rtl"] .region:hover { transform: translateX(-6px); }

.region-flag { font-size: 1.8rem; }
.region h4 { font-size: 1rem; font-weight: 700; }
.region p { font-size: 0.85rem; color: var(--text-muted); }

.globe-visual {
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--blue-soft), transparent 50%),
    radial-gradient(circle at 70% 60%, var(--red-soft), transparent 45%),
    var(--bg2);
  border: 1px solid var(--border);
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.globe-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 2px dashed var(--border);
  animation: spin 40s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.globe-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
  animation: pulse 2s infinite;
}

.globe-dot.d1 { top: 35%; left: 55%; }
.globe-dot.d2 { top: 48%; left: 42%; }
.globe-dot.d3 { top: 28%; left: 48%; }

/* ── Trust ── */
.trust { background: var(--bg2); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trust-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: var(--bg1);
  border: 1px solid var(--border);
}

.trust-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.trust-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.trust-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: start;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}

.faq-q span { font-size: 1.4rem; color: var(--blue); transition: transform 0.25s; }
.faq-item.open .faq-q span { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.faq-item.open .faq-a { max-height: 200px; padding-top: 12px; }

/* ── CTA ── */
.cta {
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  padding: 64px 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--blue), #1e40af);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(230, 57, 70, 0.35), transparent 50%);
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.cta-box p {
  opacity: 0.9;
  margin-bottom: 28px;
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* ── Footer ── */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 960px) {
  .hero-grid, .global-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .character-wrap img { width: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .features-grid, .showcase-row, .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    inset-inline: 0;
    flex-direction: column;
    padding: 24px;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav-links.open { display: flex; }
  .menu-toggle { display: grid; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── OraxTeams premium ── */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  z-index: 0;
}

body > *:not(.bg-grid) { position: relative; z-index: 1; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.15rem; letter-spacing: -0.03em; }
.brand-text small { font-size: 0.65rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.hero-slogan {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.btn-lg { flex-direction: column; padding: 16px 32px; min-width: 200px; }
.btn-lg small { font-size: 0.72rem; opacity: 0.85; font-weight: 500; }

.btn-glow {
  background: linear-gradient(135deg, #e63946, #1d4ed8) !important;
  box-shadow: 0 0 40px rgba(230, 57, 70, 0.35), 0 0 60px rgba(29, 78, 216, 0.25) !important;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-logo-card {
  position: absolute;
  top: 6%;
  inset-inline-end: 4%;
  text-align: center;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  z-index: 4;
}

[data-theme="dark"] .hero-logo-card {
  background: rgba(12, 16, 24, 0.78);
}

.hero-ot-logo {
  filter: drop-shadow(0 20px 40px rgba(29, 78, 216, 0.4));
  animation: float 4s ease-in-out infinite;
}

.hero-logo-caption { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.ot-mark {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #e63946, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.compare { padding: 80px 0; }
.compare-table {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 0.92rem;
}

.compare-row:last-child { border-bottom: none; }
.compare-head { font-weight: 700; background: var(--bg2); }
.compare-row .win { color: #22c55e; font-weight: 700; }

.cta-logo { margin: 0 auto 16px; filter: drop-shadow(0 8px 24px rgba(59,130,246,0.4)); }

.nav-sales { display: none; padding: 10px 18px; font-size: 0.88rem; }
@media (min-width: 1024px) { .nav-sales { display: inline-flex; } }

/* ── Trust bar (TeamViewer-style) ── */
.trust-bar {
  padding: 28px 0;
  background: var(--bg1);
  border-bottom: 1px solid var(--border);
}

.trust-bar-inner { text-align: center; }

.trust-bar-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.trust-logos span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.75;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
}

/* ── Use cases (AnyDesk 4 pillars) ── */
.usecases { padding: 80px 0; }

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.usecase-card {
  padding: 28px 22px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.usecase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.usecase-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.usecase-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.usecase-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── News banner (AnyDesk version) ── */
.news-banner {
  padding: 0 0 48px;
}

.news-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  padding: 24px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-soft), var(--red-soft));
  border: 1px solid var(--border);
}

.news-badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.news-content { flex: 1; min-width: 200px; }
.news-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.news-content p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Plan finder (AnyDesk configurator) ── */
.plan-finder {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 28px;
  text-align: center;
  border-radius: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
}

.plan-finder h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.plan-finder > p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 18px; }

.finder-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.finder-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg1);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.finder-pill:hover { border-color: var(--blue); color: var(--blue); }
.finder-pill.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.3);
}

.finder-result {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.finder-result strong { color: var(--blue); font-weight: 800; }

.pricing-card.plan-highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft), var(--shadow);
  transform: translateY(-6px);
}

.pricing-was {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}

/* ── Platform (TeamViewer ONE) ── */
.platform-section { padding: 80px 0; background: var(--bg1); }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-card {
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s;
}

.platform-card:hover { transform: translateY(-6px); }

.platform-card-accent {
  background: linear-gradient(180deg, var(--card), var(--blue-soft));
  border-color: rgba(29, 78, 216, 0.25);
}

.platform-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.platform-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.platform-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.55; }

.platform-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  transition: opacity 0.2s;
}

.platform-link:hover { opacity: 0.75; }

/* ── Testimonials ── */
.testimonials {
  padding: 80px 0;
  background: var(--bg2);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--bg1);
  border: 1px solid var(--border);
  margin: 0;
}

.testi-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
  color: var(--text);
}

.testi-card footer {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.testi-card-featured {
  background: linear-gradient(180deg, var(--bg1), var(--blue-soft));
  border-color: rgba(29, 78, 216, 0.2);
  box-shadow: var(--shadow-sm);
}

/* ── Solutions by size ── */
.solutions-section { padding: 80px 0; }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.solution-card:hover { transform: translateY(-4px); }
.solution-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.solution-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }

.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.compliance-badges span {
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg2);
  border: 1px solid var(--border);
}

/* ── Sales CTA (TeamViewer contact) ── */
.sales-cta {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--blue-soft), var(--red-soft));
  border-block: 1px solid var(--border);
}

.sales-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sales-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.sales-cta p { color: var(--text-muted); max-width: 480px; }

.sales-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid, .testi-grid, .solutions-grid { grid-template-columns: 1fr; }
  .news-banner-inner { flex-direction: column; text-align: center; }
  .sales-cta-inner { flex-direction: column; text-align: center; }
  .sales-cta-actions { justify-content: center; }
}

@media (max-width: 560px) {
  .usecases-grid { grid-template-columns: 1fr; }
}

.pricing-section {
  padding: 72px 0 48px;
}

.pricing-billing {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(29, 78, 216, 0.2);
}

.pricing-card-featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--card) 0%, var(--blue-soft) 100%);
  box-shadow: 0 20px 48px rgba(29, 78, 216, 0.15);
}

.pricing-card-enterprise {
  background: linear-gradient(180deg, var(--card) 0%, var(--bg2) 100%);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
  white-space: nowrap;
}

body[dir="rtl"] .pricing-badge {
  transform: translateX(50%);
}

.pricing-card-head {
  margin-bottom: 18px;
  min-height: 72px;
}

.pricing-tier {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-price {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.pricing-amount {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pricing-price-custom .pricing-amount {
  font-size: 1.35rem;
  line-height: 1.35;
}

.pricing-period {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pricing-features {
  flex: 1;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.pricing-features li {
  position: relative;
  padding-inline-start: 1.35rem;
  margin-bottom: 10px;
  color: var(--text);
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: #22c55e;
  font-weight: 700;
  font-size: 0.82rem;
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

.pricing-tax {
  margin-top: 28px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
}

/* ── Download (split layout) ── */
.download-section {
  padding: 48px 0 72px;
}

.download-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.download-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.download-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.download-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.download-logo {
  flex-shrink: 0;
  filter: drop-shadow(0 8px 20px rgba(59, 130, 246, 0.25));
}

.download-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.download-lead {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.download-btn {
  width: 100%;
  margin-bottom: 12px;
}

.download-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.download-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sha-panel {
  padding: 4px 0;
}

.sha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: start;
}

.sha-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  flex: 0 0 auto;
}

.sha-hash {
  flex: 1 1 200px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.72rem;
  word-break: break-all;
  color: var(--text);
  background: transparent;
}

.sha-copy { flex: 0 0 auto; min-width: 64px; }

.download-warning {
  text-align: start;
  padding: 18px 20px;
  border: 2px solid #f59e0b;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.08);
  font-size: 0.92rem;
  line-height: 1.65;
}

.download-warning strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
}

.download-warning ol {
  margin: 0;
  padding-inline-start: 1.25rem;
}

.download-warning li { margin-bottom: 6px; }

.download-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .download-card { padding: 28px 20px; }
  .download-layout { grid-template-columns: 1fr; gap: 24px; }
  .download-main { align-items: stretch; }
  .sha-row { flex-direction: column; align-items: stretch; }
}
.cta-meta { margin-top: 16px; font-size: 0.85rem; color: var(--text-muted); }
.cta-meta a { color: var(--cyan); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-visual { min-height: 420px; }
  .hero-scene { inset: 0 0 0; border-radius: 20px; }
  .hero-scene-img { object-position: center 30%; }
  .hero-devices { bottom: 6%; inset-inline-start: 50%; transform: translateX(-50%); justify-content: center; }
  body[dir="rtl"] .hero-devices { transform: translateX(50%); }
  .hero-logo-card { position: relative; inset: auto; margin-bottom: 16px; width: fit-content; margin-inline: auto; }
  .compare-row { grid-template-columns: 1fr 1fr; font-size: 0.82rem; }
  .compare-row span:first-child { grid-column: 1 / -1; font-weight: 600; }
}

/* ── Visual showcase gallery (added) ── */
.showcase-section {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, var(--bg0) 0%, var(--bg2) 45%, var(--bg0) 100%);
  position: relative;
  overflow: hidden;
}

.showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, var(--blue-soft), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 75%, var(--red-soft), transparent 50%);
  pointer-events: none;
}

.showcase-section .section-head {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.showcase-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.showcase-stage {
  position: relative;
  z-index: 1;
}

.showcase-char-intro {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  margin-bottom: 28px;
  pointer-events: none;
}

.showcase-char-mascot {
  width: min(280px, 52vw);
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 28px 48px rgba(29, 78, 216, 0.28));
  opacity: 0;
  transform: translateX(72px) translateY(28px) scale(0.94);
}

.showcase-char-ot {
  position: absolute;
  top: 18%;
  left: 50%;
  margin-left: -120px;
  z-index: 2;
  opacity: 0;
  transform: translateY(-24px) scale(0.85);
  filter: drop-shadow(0 12px 28px rgba(29, 78, 216, 0.35));
}

.showcase-char-caption {
  position: absolute;
  bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(12px);
}

.showcase-char-beams {
  position: absolute;
  inset: 0;
  max-width: 420px;
  margin-inline: auto;
  opacity: 0;
}

.showcase-char-beams .beam {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #e63946, #1d4ed8, #0ea5e9, transparent);
  transform-origin: left center;
}

.showcase-char-beams .beam-a {
  width: 140px;
  top: 58%;
  left: 28%;
  transform: rotate(-32deg) scaleX(0);
}

.showcase-char-beams .beam-b {
  width: 120px;
  top: 42%;
  left: 38%;
  transform: rotate(-18deg) scaleX(0);
}

.showcase-char-beams .packet {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0;
}

.showcase-char-beams .packet-a {
  background: #e63946;
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.8);
  top: 58%;
  left: 28%;
}

.showcase-char-beams .packet-b {
  background: #0ea5e9;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.8);
  top: 42%;
  left: 38%;
}

.showcase-stage--char .showcase-char-mascot {
  animation: mascotGalleryEnter 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    float 5.2s ease-in-out 1.05s infinite;
}

.showcase-stage--char .showcase-char-ot {
  animation: otLogoDrop 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards,
    float 4.8s ease-in-out 1.1s infinite;
}

.showcase-stage--char .showcase-char-beams {
  animation: beamsFadeIn 0.5s ease 0.55s forwards;
}

.showcase-stage--char .showcase-char-beams .beam-a {
  animation: beamStretch 0.7s ease 0.65s forwards;
}

.showcase-stage--char .showcase-char-beams .beam-b {
  animation: beamStretch 0.7s ease 0.78s forwards;
}

.showcase-stage--ready .showcase-char-beams .packet-a {
  animation: packetTravelA 1.35s ease-in-out 0s infinite;
}

.showcase-stage--ready .showcase-char-beams .packet-b {
  animation: packetTravelB 1.2s ease-in-out 0.35s infinite;
}

.showcase-stage--char .showcase-char-caption {
  animation: captionRise 0.65s ease 0.45s forwards;
}

.showcase-item.motion-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.showcase-item.motion-in img {
  animation: galleryKenBurns 14s ease-in-out infinite alternate;
}

.showcase-item--app {
  grid-column: span 2;
}

.showcase-item--app img {
  object-position: center top;
}

@keyframes mascotGalleryEnter {
  to { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}

@keyframes otLogoDrop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes beamsFadeIn {
  to { opacity: 1; }
}

@keyframes beamStretch {
  to { transform: rotate(var(--beam-rot, -32deg)) scaleX(1); }
}

.showcase-char-beams .beam-b { --beam-rot: -18deg; }

@keyframes captionRise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes packetTravelA {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate(88px, -52px); }
}

@keyframes packetTravelB {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate(72px, -38px); }
}

@keyframes galleryKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Hero — character enters first, then scene + chips */
.hero-visual--cinema .character-wrap {
  opacity: 0;
  transform: translateX(-64px) translateY(20px);
}

.hero-visual--cinema .hero-scene,
.hero-visual--cinema .hero-logo-card,
.hero-visual--cinema .hero-devices,
.hero-visual--cinema .hero-glow {
  opacity: 0;
}

.hero-visual--play .character-wrap {
  animation: mascotGalleryEnterLeft 1s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    floatMirroredWrap 5s ease-in-out 1s infinite;
}

@keyframes mascotGalleryEnterLeft {
  to { opacity: 1; transform: translateX(0) translateY(0); }
}

@keyframes floatMirroredWrap {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-visual--play .hero-scene {
  animation: heroSceneIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

.hero-visual--play .hero-scene-img {
  animation: heroKenBurns 18s ease-in-out 1.2s infinite alternate;
}

.hero-visual--play .hero-logo-card {
  animation: heroFadeUp 0.7s ease 0.68s forwards;
}

.hero-visual--play .hero-devices {
  animation: heroFadeUp 0.7s ease 0.82s forwards;
}

.hero-visual--play .hero-glow {
  animation: heroGlowPulse 0.8s ease 0.55s forwards;
}

.hero-visual--ready .hero-glow {
  animation: heroGlowPulse 0.8s ease 0.55s forwards,
    glowBreath 6s ease-in-out 1.4s infinite;
}

@keyframes heroSceneIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroKenBurns {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes heroGlowPulse {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes glowBreath {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hero-visual--ready .character-wrap,
.hero-visual--ready .hero-scene,
.hero-visual--ready .hero-logo-card,
.hero-visual--ready .hero-devices {
  opacity: 1;
}

.showcase-item {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  background: #0f172a;
  cursor: default;
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

[data-theme="dark"] .showcase-item {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.showcase-item:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 28px 64px rgba(29, 78, 216, 0.18), 0 12px 32px rgba(230, 57, 70, 0.1);
}

.showcase-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(6, 8, 15, 0.45) 100%
  );
  opacity: 0.75;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.showcase-item:hover img {
  transform: scale(1.04);
}

.showcase-item:hover::after {
  opacity: 0.9;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.showcase-item--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase-item--tall {
  grid-row: span 2;
}

.showcase-item--wide {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .showcase-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .showcase-item--hero {
    grid-column: span 2;
    grid-row: span 1;
  }

  .showcase-item--tall {
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .showcase-section { padding: 64px 0 72px; }

  .showcase-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .showcase-item,
  .showcase-item--hero,
  .showcase-item--wide,
  .showcase-item--app {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 220px;
  }
}

/* ── Floating orbs + animated grid ── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: orbFloat 18s ease-in-out infinite;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: rgba(29, 78, 216, 0.35);
  top: -8%;
  inset-inline-start: -6%;
}

.orb-b {
  width: 360px;
  height: 360px;
  background: rgba(230, 57, 70, 0.28);
  top: 35%;
  inset-inline-end: -8%;
  animation-delay: -6s;
}

.orb-c {
  width: 280px;
  height: 280px;
  background: rgba(14, 165, 233, 0.25);
  bottom: 5%;
  inset-inline-start: 30%;
  animation-delay: -12s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.06); }
  66% { transform: translate(-16px, 12px) scale(0.96); }
}

.bg-grid {
  animation: gridDrift 40s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

.hero-scene-img {
  animation: heroKenBurns 14s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-connect-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

.hero-scanline {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(59, 130, 246, 0.06) 48%,
    transparent 52%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: scanline 5s linear infinite;
  mix-blend-mode: soft-light;
}

@keyframes scanline {
  from { background-position: 0 -100%; }
  to { background-position: 0 200%; }
}

.hero-device-chip {
  animation: float 4.5s ease-in-out infinite, chipGlow 3s ease-in-out infinite;
}

@keyframes chipGlow {
  0%, 100% { box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12); }
  50% { box-shadow: 0 12px 32px rgba(29, 78, 216, 0.28), 0 0 20px rgba(230, 57, 70, 0.15); }
}

/* ── Connect lab (device mesh) ── */
.connect-lab {
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

.connect-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--blue-soft), transparent);
  opacity: 0.5;
  pointer-events: none;
}

.connect-stage {
  position: relative;
  height: min(420px, 62vw);
  min-height: 280px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, var(--blue-soft), transparent 70%),
    var(--bg1);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#connectCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.connect-live-badge {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #86efac;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 2;
}

[data-theme="light"] .connect-live-badge {
  background: rgba(255, 255, 255, 0.88);
  color: #15803d;
  border: 1px solid var(--border);
}

.connect-legend {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  z-index: 2;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.connect-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

[data-theme="light"] .connect-legend li {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
}

.connect-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-blue { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.dot-red { background: #e63946; box-shadow: 0 0 8px #e63946; }
.dot-cyan { background: #0ea5e9; box-shadow: 0 0 8px #0ea5e9; }

/* ── Demo cinema (video-like) ── */
.demo-cinema-wrap {
  padding: 48px 0 88px;
  background: linear-gradient(180deg, var(--bg0), var(--bg2));
}

.demo-cinema {
  max-width: 880px;
  margin: 0 auto;
}

.demo-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(59, 130, 246, 0.08);
  background: #0f172a;
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-dot-chrome {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-dot-chrome.r { background: #ef4444; }
.demo-dot-chrome.y { background: #eab308; }
.demo-dot-chrome.g { background: #22c55e; }

.demo-title {
  flex: 1;
  margin-inline-start: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
}

.demo-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #86efac;
}

.demo-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #0c1222, #111827);
  overflow: hidden;
}

.demo-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.65s ease, transform 0.65s ease;
  pointer-events: none;
}

.demo-scene.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.demo-ui {
  width: min(100%, 360px);
  padding: 24px;
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.demo-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 12px;
}

.demo-code {
  font-family: Consolas, ui-monospace, monospace;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #60a5fa;
  margin-bottom: 16px;
}

.typing-code {
  overflow: hidden;
  white-space: nowrap;
  border-inline-end: 2px solid #60a5fa;
  animation: typing 2.2s steps(11) infinite, blinkCaret 0.8s step-end infinite;
  width: 0;
  margin-inline: auto;
}

@keyframes typing {
  0%, 100% { width: 0; }
  40%, 60% { width: 11ch; }
}

@keyframes blinkCaret {
  50% { border-color: transparent; }
}

.demo-status-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 600;
}

.demo-status-pill.live {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.demo-device {
  position: absolute;
  bottom: 20px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
}

.demo-device--host { inset-inline-start: 24px; }
.demo-device--viewer { inset-inline-end: 24px; }

.demo-avatar-ring {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #e63946, #1d4ed8);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.45);
  animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.demo-btn-approve {
  padding: 10px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: default;
  animation: approveGlow 2.4s ease-in-out infinite;
}

@keyframes approveGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35); }
  50% { box-shadow: 0 8px 32px rgba(37, 99, 235, 0.65); }
}

.signal-bridge {
  position: absolute;
  inset-inline: 20%;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  container-type: inline-size;
}

.signal-packet {
  position: absolute;
  top: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 12px #3b82f6;
  animation: signalTravel 1.8s linear infinite;
}

.signal-packet.delay { animation-delay: 0.5s; background: #e63946; box-shadow: 0 0 12px #e63946; }
.signal-packet.delay2 { animation-delay: 1s; background: #0ea5e9; box-shadow: 0 0 12px #0ea5e9; }

@keyframes signalTravel {
  from { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { transform: translateX(calc(100% - 10px)); opacity: 0; }
}

.demo-screen-live {
  position: relative;
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e3a5f, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 14px;
}

.demo-screen-grid {
  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: 16px 16px;
  animation: gridDrift 8s linear infinite;
}

.demo-cursor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-inline-start: 2px solid #fff;
  border-block-start: 2px solid #fff;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.8));
  animation: cursorMove 4s ease-in-out infinite;
}

@keyframes cursorMove {
  0%, 100% { top: 30%; inset-inline-start: 25%; }
  25% { top: 55%; inset-inline-start: 60%; }
  50% { top: 40%; inset-inline-start: 75%; }
  75% { top: 65%; inset-inline-start: 35%; }
}

.demo-sync-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-sync-card {
  width: 100px;
  padding: 20px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #e2e8f0;
  animation: syncFloat 3s ease-in-out infinite;
}

.demo-sync-card span { display: block; font-size: 1.6rem; margin-bottom: 6px; }
.demo-sync-card small { font-size: 0.72rem; color: #94a3b8; }
.demo-sync-card.hub {
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.35), rgba(230, 57, 70, 0.2));
  border-color: rgba(59, 130, 246, 0.35);
  animation-delay: 0.4s;
}

.demo-sync-card:nth-child(1) { animation-delay: 0s; }
.demo-sync-card:nth-child(3) { animation-delay: 0.8s; }

@keyframes syncFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.demo-sync-caption {
  margin-top: 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.88rem;
}

.demo-footer {
  padding: 12px 16px 16px;
  background: #1e293b;
}

.demo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.demo-dots .demo-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #475569;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.demo-dots .demo-dot.active {
  background: #3b82f6;
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.demo-progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.demo-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e63946, #1d4ed8);
  border-radius: inherit;
}

@keyframes demoProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-item:not(.motion-in) img {
  animation: none;
}

.stat-num.counting {
  transition: transform 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .bg-grid, .orb, .hero-scene-img, .hero-scanline, .typing-code,
  .signal-packet, .demo-cursor, .demo-sync-card, .hero-device-chip,
  .showcase-char-mascot, .showcase-char-ot, .showcase-item.motion-in img {
    animation: none !important;
  }
  .showcase-item, .hero-visual--cinema .character-wrap,
  .hero-visual--cinema .hero-scene, .hero-visual--cinema .hero-logo-card,
  .hero-visual--cinema .hero-devices {
    opacity: 1 !important;
    transform: none !important;
  }
  .demo-scene { transition-duration: 0.01ms; }
}

@media (max-width: 768px) {
  .connect-stage { min-height: 240px; }
  .connect-legend { position: static; margin: 12px; justify-content: center; }
  .connect-live-badge { top: 10px; inset-inline-end: 10px; }
}

/* ── Wallpapers section ── */
.wallpaper-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg1) 70%, #1b65a6 30%) 100%);
}
.wallpaper-section-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.wallpaper-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}
.wallpaper-live-panel,
.wallpaper-static-panel {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.wallpaper-live-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2vw, 1.35rem);
  gap: 1rem;
}
.wallpaper-panel-head {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.wallpaper-panel-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.wallpaper-panel-title-row h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 800;
}
.wallpaper-panel-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 54ch;
}
.wallpaper-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, #e61b23, #1b65a6);
  box-shadow: 0 6px 18px rgba(230, 27, 35, 0.25);
}
.wallpaper-live-pill .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 2s ease-in-out infinite;
}
.wallpaper-preview-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(27, 101, 166, 0.25);
  background: #061628;
  min-height: 240px;
  aspect-ratio: 16 / 9;
  flex: 1;
}
.wallpaper-preview-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}
.wallpaper-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.15rem;
}
.wallpaper-static-panel {
  display: flex;
  flex-direction: column;
}
.wallpaper-static-thumb {
  line-height: 0;
  border-bottom: 1px solid var(--border);
  background: #061628;
}
.wallpaper-static-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.wallpaper-static-body {
  padding: clamp(1rem, 2vw, 1.35rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.wallpaper-static-tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.wallpaper-static-body h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}
.wallpaper-static-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}
.btn-block {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.wallpaper-steps {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px dashed var(--border);
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
  max-width: 900px;
  margin-inline: auto;
}
.wallpaper-steps h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
.wallpaper-steps ol {
  margin: 0;
  padding-inline-start: 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.wallpaper-steps code {
  font-size: 0.85em;
  padding: 0.12em 0.45em;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
@media (max-width: 960px) {
  .wallpaper-shell {
    grid-template-columns: 1fr;
  }
  .wallpaper-preview-wrap { min-height: 200px; }
}
@media (max-width: 560px) {
  .wallpaper-panel-actions .btn {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 0;
  }
}

/* ── Visual simulation (CSS only — no canvas / no server) ── */
.viz-mock {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.viz-mock--stage {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.viz-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--bg1);
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.viz-node--lg { width: 56px; height: 56px; font-size: 0.85rem; }
.viz-node--hub { left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--blue); }
.viz-mock--hero .viz-node--a { left: 18%; top: 28%; }
.viz-mock--hero .viz-node--b { left: 78%; top: 26%; }
.viz-mock--hero .viz-node--c { left: 20%; top: 72%; }
.viz-mock--stage .viz-node--a { left: 14%; top: 22%; }
.viz-mock--stage .viz-node--b { left: 82%; top: 20%; }
.viz-mock--stage .viz-node--c { left: 12%; top: 72%; }
.viz-mock--stage .viz-node--d { left: 84%; top: 70%; }

.viz-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.45), transparent);
  transform-origin: left center;
  opacity: 0.55;
  z-index: 1;
}

.viz-mock--hero .viz-line--a { left: 22%; top: 32%; width: 28%; transform: rotate(18deg); }
.viz-mock--hero .viz-line--b { left: 52%; top: 48%; width: 26%; transform: rotate(-12deg); }
.viz-mock--hero .viz-line--c { left: 24%; top: 58%; width: 30%; transform: rotate(8deg); }
.viz-mock--stage .viz-line--a { left: 18%; top: 28%; width: 32%; transform: rotate(15deg); }
.viz-mock--stage .viz-line--b { left: 50%; top: 50%; width: 30%; transform: rotate(-20deg); }
.viz-mock--stage .viz-line--c { left: 20%; top: 62%; width: 34%; transform: rotate(6deg); }
.viz-mock--stage .viz-line--d { left: 52%; top: 58%; width: 30%; transform: rotate(22deg); }

.viz-packet {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  z-index: 3;
  opacity: 0.9;
}

.viz-packet--a { background: var(--blue); animation: vizPacketA 2.8s ease-in-out infinite; }
.viz-packet--b { background: var(--red); animation: vizPacketB 3.2s ease-in-out infinite 0.4s; }
.viz-packet--c { background: var(--cyan); animation: vizPacketC 3s ease-in-out infinite 0.8s; }

@keyframes vizPacketA {
  0%, 100% { left: 22%; top: 30%; }
  50% { left: 48%; top: 48%; }
}

@keyframes vizPacketB {
  0%, 100% { left: 78%; top: 28%; }
  50% { left: 52%; top: 46%; }
}

@keyframes vizPacketC {
  0%, 100% { left: 18%; top: 70%; }
  50% { left: 46%; top: 52%; }
}

.connect-sim-note {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 16px;
  font-size: 0.72rem;
  color: var(--text-muted);
  z-index: 4;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg1) 88%, transparent);
  border: 1px solid var(--border);
}

.wallpaper-preview-static {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wallpaper-preview-badge {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(230, 57, 70, 0.9);
  color: #fff;
}

.hero-scene-img {
  animation: none;
}

.bg-grid { animation: none; opacity: 0.35; }
.orb { animation-duration: 28s; }

@media (prefers-reduced-motion: reduce) {
  .viz-packet, .viz-line, .orb, .hero-device-chip { animation: none !important; }
}
