@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* Product-aligned palette (RemoteHub / VeltoDesk app) */
:root,
html[data-theme="light"] {
  --bg: #eef2f0;
  --bg-elevated: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.9);
  --fg: #1f2933;
  --muted: #6b7280;
  --line: rgba(31, 41, 51, 0.1);
  --accent: #2fb665;
  --accent-hot: #249653;
  --accent-soft: rgba(47, 182, 101, 0.14);
  --accent-glow: rgba(47, 182, 101, 0.28);
  --accent-fg: #ffffff;
  --download: #ff2d2d;
  --download-hot: #e01818;
  --download-glow: rgba(255, 45, 45, 0.38);
  --download-fg: #ffffff;
  --panel: #ffffff;
  --panel-border: rgba(31, 41, 51, 0.08);
  --sidebar: #f3faf6;
  --sidebar-edge: #d7eadf;
  --shadow: 0 18px 50px rgba(31, 41, 51, 0.1);
  --shadow-soft: 0 8px 24px rgba(31, 41, 51, 0.06);
  --hero-grad: linear-gradient(165deg, #f7fcf9 0%, #eef2f0 55%, #e8f5ee 100%);
  --wrap: 1180px;
  --radius: 12px;
  --radius-pill: 999px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

html[data-theme="dark"] {
  --bg: #121318;
  --bg-elevated: #1c1d22;
  --bg-header: rgba(18, 19, 24, 0.92);
  --fg: #f2f3f5;
  --muted: #a0a6b2;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #2fb665;
  --accent-hot: #249653;
  --accent-soft: rgba(47, 182, 101, 0.18);
  --accent-glow: rgba(47, 182, 101, 0.35);
  --accent-fg: #ffffff;
  --download: #ff3b3b;
  --download-hot: #ff1f1f;
  --download-glow: rgba(255, 59, 59, 0.42);
  --download-fg: #ffffff;
  --panel: #1c1d22;
  --panel-border: rgba(255, 255, 255, 0.08);
  --sidebar: #0e0f12;
  --sidebar-edge: #2e313a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.25);
  --hero-grad: linear-gradient(165deg, #16181e 0%, #121318 50%, #101612 100%);
}

/* Subtle locale personality (same brand, different feel) */
html.locale-it {
  --accent: #2fb665;
  --accent-hot: #249653;
}
html.locale-en {
  --accent: #22b85c;
  --accent-hot: #1a9a4c;
}
html.locale-es,
html.locale-pt {
  --accent: #26c06a;
  --accent-hot: #1fa357;
}
html.locale-fr {
  --accent: #2aad5f;
  --accent-hot: #218a4c;
}
html.locale-de,
html.locale-nl,
html.locale-pl {
  --accent: #28b35f;
  --accent-hot: #1f944d;
}
html.locale-ru,
html.locale-tr {
  --accent: #31c46d;
  --accent-hot: #25a358;
}
html.locale-ar {
  --accent: #2db866;
  --accent-hot: #239653;
}
html.locale-zh,
html.locale-ja,
html.locale-ko {
  --accent: #25b85a;
  --accent-hot: #1d9a4a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.5;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.site-header,
.main,
.hero,
.feature-band,
.page-hero,
.pillars,
.site-footer {
  width: 100%;
  max-width: 100%;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(100% - 1.25rem, var(--wrap));
  margin-inline: auto;
}

@media (min-width: 720px) {
  .wrap {
    width: min(100% - 2.5rem, var(--wrap));
  }
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--sidebar) 70%, transparent);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  min-height: 2.2rem;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.15rem 0.3rem 0.15rem 0.15rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-pill);
}

.theme-toggle:hover {
  color: var(--fg);
}

.theme-toggle-track {
  position: relative;
  width: 2.35rem;
  height: 1.25rem;
  border-radius: var(--radius-pill);
  background: rgba(31, 41, 51, 0.08);
  border: 1px solid var(--line);
}

html[data-theme="dark"] .theme-toggle-track {
  background: rgba(255, 255, 255, 0.1);
}

.theme-toggle-thumb {
  position: absolute;
  top: 1px;
  left: 2px;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
  transition: transform 0.2s ease;
}

.theme-toggle.is-light .theme-toggle-thumb {
  transform: translateX(1rem);
}

.topbar-link {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s ease;
}

.topbar-link:hover {
  color: var(--fg);
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.32rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  color: var(--fg);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lang-btn:hover,
.lang-switcher.is-open .lang-btn {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.lang-btn .globe {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--accent);
}

.lang-btn .chevron {
  width: 0.7rem;
  height: 0.7rem;
  opacity: 0.65;
  transition: transform 0.15s ease;
}

.lang-switcher.is-open .chevron {
  transform: rotate(180deg);
}

.lang-btn-label {
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 60;
  min-width: 11.5rem;
  max-height: min(70vh, 22rem);
  overflow: auto;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-option {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  color: var(--fg);
  font-size: 0.85rem;
  font-weight: 500;
}

.lang-option:hover {
  background: var(--accent-soft);
}

.lang-option.is-active {
  color: var(--accent-hot);
  font-weight: 700;
  background: var(--accent-soft);
}

.header-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--accent-hot));
  box-shadow: 0 6px 14px var(--accent-glow);
  position: relative;
}

.brand-mark::after {
  content: "V";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.35rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.25rem 0;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--fg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-inline-start: auto;
}

.header-text-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.header-text-link:hover {
  color: var(--fg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.58rem 1.15rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-icon {
  flex-shrink: 0;
  display: block;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hot);
}

.btn-download {
  background: var(--download);
  color: var(--download-fg);
  border-color: transparent;
  box-shadow: 0 10px 26px var(--download-glow);
}

.btn-download:hover {
  background: var(--download-hot);
  box-shadow: 0 12px 30px var(--download-glow);
}

.btn-xl.btn-download {
  box-shadow: 0 14px 36px var(--download-glow);
}

.btn-outline {
  background: var(--bg-elevated);
  color: var(--accent-hot);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}

.btn-lg {
  padding: 0.9rem 1.55rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-xl {
  padding: 1.05rem 1.85rem;
  font-size: 1.12rem;
  border-radius: 14px;
  min-width: min(100%, 17rem);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.main {
  flex: 1;
  width: 100%;
}

.main--page {
  width: 100%;
  margin: 0 0 3rem;
}

.page-hero {
  padding: 2.75rem 0 2.5rem;
  background: var(--hero-grad);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero .lead {
  margin-bottom: 1.25rem;
}

.page-hero-screen {
  position: relative;
  pointer-events: none;
  user-select: none;
}

.page-hero-screen .preview-badge {
  margin-bottom: 0.55rem;
}

.hero-kicker {
  color: var(--accent-hot);
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 0.45rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 2.25rem 0 1rem;
}

.feature-card {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.feature-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-body {
  padding: 2rem 0 1rem;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-shot--live {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: min(100%, 420px);
  transform: translate(-2%, 4%) scale(0.82);
  transform-origin: center right;
}

.app-window--compact .app-body {
  min-height: 220px;
}

.app-window--compact .app-empty {
  display: none;
}

/* ——— Hero ——— */

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0 4rem;
  background: var(--hero-grad);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}

.preview-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin: 0 0 0.65rem 0.25rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

.device-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(10px);
  opacity: 0.55;
  z-index: 0;
}

.app-window {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-window--preview {
  opacity: 0.92;
  transform: scale(0.96);
  filter: saturate(0.92);
}

.app-window--preview .app-side-btn,
.app-window--preview .app-connect .go {
  background: color-mix(in srgb, var(--accent) 55%, #9ca3af);
  box-shadow: none;
  cursor: default;
}

.app-window--preview .app-connect .file {
  font-size: 0.62rem;
  font-weight: 700;
  width: auto;
  min-width: 2.75rem;
  padding: 0 0.45rem;
}

.app-window-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--sidebar) 80%, var(--panel));
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.app-window-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #d1d5db;
}

.app-window-dot.g {
  background: var(--accent);
}

.app-body {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  min-height: 280px;
}

.app-side {
  background: var(--sidebar);
  border-right: 1px solid var(--sidebar-edge);
  padding: 1rem;
}

.app-brand-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.app-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.app-brand-text {
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--muted);
}

.app-brand-text strong {
  display: block;
  color: var(--fg);
  font-size: 0.85rem;
}

.app-card-mini {
  background: var(--bg-elevated);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.65rem;
}

.app-card-mini .label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}

.app-card-mini .value {
  margin-top: 0.2rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.app-side-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.app-main {
  padding: 1rem 1.1rem 1.15rem;
}

.app-main-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.app-main-title .play {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-hot);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
}

.app-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  background: color-mix(in srgb, var(--bg) 55%, var(--panel));
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.app-connect {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.app-connect .go {
  flex: 1;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  padding: 0.7rem;
  box-shadow: 0 8px 18px var(--accent-glow);
}

.app-connect .file {
  width: 2.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1rem;
}

.app-tabs {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.app-tabs span.is-on {
  color: var(--accent-hot);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.25rem;
}

.app-empty {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-copy {
  max-width: 36rem;
  position: relative;
  z-index: 2;
}

.hero-title {
  margin: 0 0 0.9rem;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.hero-title .h1-brand {
  color: var(--fg);
}

.hero-title .h1-sep {
  color: var(--download);
  margin-right: 0.25rem;
}

.hero-title .h1-rest {
  color: var(--accent-hot);
  font-weight: 800;
}

.serp-sitelinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.serp-sitelinks a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.serp-sitelinks a:hover {
  color: var(--download-hot);
}

.hero-lead {
  margin: 0 0 1.65rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
  max-width: 28rem;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.cta-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.feature-cta {
  margin-top: 1.35rem;
}

/* ——— Feature band ——— */

.feature-band {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.feature-band-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-hot);
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.feature-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.feature-visual {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-orb {
  position: absolute;
  width: min(72%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6ee7a0, var(--accent) 55%, var(--accent-hot) 100%);
  box-shadow: 0 0 70px var(--accent-glow);
  opacity: 0.9;
}

.glow-orb-num {
  position: absolute;
  font-size: clamp(5rem, 12vw, 8.5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: -0.06em;
  z-index: 1;
  user-select: none;
}

.feature-shot {
  position: relative;
  z-index: 2;
  width: min(86%, 340px);
  margin-inline-start: auto;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  padding: 1rem;
  transform: translate(-4%, 6%);
}

.feature-shot-row {
  height: 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(31, 41, 51, 0.08);
  margin-bottom: 0.5rem;
}

html[data-theme="dark"] .feature-shot-row {
  background: rgba(255, 255, 255, 0.08);
}

.feature-shot-row.accent {
  width: 42%;
  background: var(--accent);
  opacity: 0.85;
}

.feature-shot-screen {
  height: 130px;
  border-radius: 10px;
  margin-top: 0.65rem;
  background:
    linear-gradient(145deg, var(--accent-soft), transparent 60%),
    var(--sidebar);
  border: 1px solid var(--panel-border);
}

/* ——— Pillars / pages ——— */

.pillars {
  padding: 3rem 0 4rem;
}

.pillars-inner {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.pillars h2 {
  margin: 0 0 1.25rem;
  font-size: 1.45rem;
  font-weight: 800;
}

.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.pillar-list li {
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
  font-weight: 500;
}

.shell h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shell h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.lead {
  color: var(--muted);
  max-width: 40rem;
}

.placeholder-block {
  margin-top: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

.download-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.download-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.download-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.download-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 2.5rem 0 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  align-items: start;
}

.footer-col--brand {
  max-width: 20rem;
}

.footer-heading {
  margin: 0 0 0.75rem;
  color: var(--fg);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a,
.footer-seo-grid a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.35;
}

.footer-links a:hover,
.footer-seo-grid a:hover {
  color: var(--fg);
}

.footer-cta {
  margin-top: 1rem;
}

.footer-brand {
  font-weight: 800;
  color: var(--fg);
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.footer-note {
  margin: 0;
  line-height: 1.5;
  font-size: 0.88rem;
}

.footer-seo {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.footer-seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem 1rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.footer-copy {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
}

.footer-oss {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.3;
}

.footer-oss a {
  color: var(--muted, #8a9299);
  text-decoration: none;
  opacity: 0.75;
}

.footer-oss a:hover {
  opacity: 1;
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Mobile-first responsive ——— */

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 18, 16, 0.45);
}

.nav-link--mobile-only {
  display: none;
}

.btn-label-short {
  display: none;
}

.btn-label-full {
  display: inline;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-inline-start: auto;
  }

  .header-main {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0;
  }

  .brand {
    order: 1;
  }

  .header-actions {
    order: 3;
    margin-inline-start: 0;
  }

  .header-text-link,
  .topbar-link--portal {
    display: none;
  }

  .btn-label-full {
    display: none;
  }

  .btn-label-short {
    display: inline;
  }

  .header-actions .btn-download {
    padding: 0.5rem 0.75rem;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 55;
    width: min(18rem, 86vw);
    height: 100vh;
    margin: 0;
    padding: 4.5rem 1.1rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.25rem;
    background: var(--panel);
    border-left: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    overflow: auto;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav-link {
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    font-size: 1rem;
  }

  .nav-link--mobile-only {
    display: block;
  }

  .nav-link.is-active,
  .nav-link:hover {
    background: var(--accent-soft);
  }

  .lang-btn-label {
    max-width: 5.5rem;
  }

  .hero {
    padding: 1.75rem 0 2.25rem;
  }

  .hero-grid,
  .feature-band-grid,
  .page-hero-grid,
  .feature-grid,
  .download-platforms,
  .pillar-list,
  .app-body {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 0;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .btn-xl {
    width: 100%;
    min-width: 0;
  }

  .cta-block {
    width: 100%;
  }

  .serp-sitelinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .serp-sitelinks a {
    font-size: 0.82rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-elevated);
    text-decoration: none;
    text-align: center;
  }

  .app-window,
  .app-window--preview {
    width: 100%;
    max-width: 100%;
    transform: none;
    opacity: 1;
  }

  .app-window--compact .app-body,
  .app-body {
    min-height: 0;
  }

  .app-side {
    border-right: none;
    border-bottom: 1px solid var(--sidebar-edge);
  }

  .feature-band {
    padding: 2.25rem 0;
  }

  .feature-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .feature-shot,
  .feature-shot--live {
    width: 100%;
    margin: 1rem auto 0;
    transform: none;
  }

  .glow-orb {
    width: min(70%, 260px);
    opacity: 0.55;
  }

  .glow-orb-num {
    font-size: 5rem;
  }

  .page-hero {
    padding: 1.75rem 0 1.75rem;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 2.1rem);
  }

  .pillars {
    padding: 2rem 0 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-cta {
    width: 100%;
    justify-content: center;
  }

  .footer-seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    gap: 0.5rem;
  }

  .theme-toggle-label {
    display: none;
  }

  .app-main-title {
    font-size: 0.85rem;
  }

  .app-card-mini .value {
    font-size: 1rem;
  }
}

html[dir="rtl"] .header-main,
html[dir="rtl"] .nav,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .topbar-inner,
html[dir="rtl"] .cta-row,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .app-body {
  direction: rtl;
}

html[dir="rtl"] .nav {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--panel-border);
}

/* —— SEO landing pages —— */
.landing-hero {
  padding: 2.75rem 0 2.5rem;
  background: var(--hero-grad);
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-hot);
  font-size: 0.82rem;
  font-weight: 700;
}

.landing-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.landing-copy .lead,
.landing-split .lead,
.landing-unique .lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 38rem;
}

.landing-audience {
  margin: -0.35rem 0 1.2rem;
  color: var(--accent-hot);
  font-size: 0.95rem;
  font-weight: 600;
  max-width: 38rem;
}

.landing-unique {
  max-width: 760px;
}

.landing-copy .cta-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-chips li {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
}

.landing-visual {
  position: relative;
}

.landing-section {
  padding: 3.25rem 0;
}

.landing-section--alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.landing-h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  letter-spacing: -0.02em;
}

.landing-sub {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.5;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-card,
.step-card,
.landing-panel,
.seo-link-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.benefit-card {
  padding: 1.25rem 1.2rem;
}

.benefit-card h3,
.step-card h3,
.landing-panel h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.benefit-card p,
.step-card p,
.landing-panel p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-card {
  padding: 1.35rem 1.2rem 1.25rem;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 800;
  font-size: 0.95rem;
}

.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.landing-panel {
  padding: 1.5rem 1.35rem;
  background: var(--sidebar);
}

.check-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.55rem;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

html[dir="rtl"] .check-list li {
  padding: 0.45rem 1.55rem 0.45rem 0;
}

html[dir="rtl"] .check-list li::before {
  left: auto;
  right: 0;
}

.landing-faq-wrap {
  max-width: 760px;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 0.15rem 1rem 0.15rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  color: var(--accent-hot);
}

.faq-item p {
  padding-bottom: 1rem;
}

.landing-final {
  padding: 3.5rem 0;
  text-align: center;
  background: var(--hero-grad);
}

.landing-final-inner h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.landing-final-inner p {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  color: var(--muted);
}

.landing-final .cta-hint {
  margin-top: 0.85rem;
}


.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.seo-link-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.seo-link-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.seo-link-card strong {
  font-size: 1rem;
}

.seo-link-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
}

/* ——— Legal / guides ——— */

.page-hero--simple {
  padding-bottom: 1.25rem;
}

.page-hero--simple .hero-kicker a {
  color: inherit;
  text-decoration: none;
}

.page-hero--simple .hero-kicker a:hover {
  color: var(--accent-hot);
}

.legal-updated {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.prose-page {
  padding: 0 0 3rem;
  max-width: 46rem;
}

.prose-page > .lead {
  margin: 0 0 1.5rem;
}

.disclaimer-box {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.disclaimer-box strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.disclaimer-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.prose-block {
  margin: 0 0 1.35rem;
}

.prose-block h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.prose-block p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-cross {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.legal-cross a {
  color: var(--accent-hot);
  font-weight: 600;
  text-decoration: none;
}

.legal-cross a:hover {
  text-decoration: underline;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.guide-card {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.guide-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.guide-card h2 a {
  color: inherit;
  text-decoration: none;
}

.guide-card h2 a:hover {
  color: var(--accent-hot);
}

.guide-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.guide-card-link {
  font-weight: 700;
  color: var(--accent-hot);
  text-decoration: none;
  font-size: 0.92rem;
}

.guide-card-link:hover {
  text-decoration: underline;
}

.guide-cta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.guide-cta p {
  flex: 1 1 100%;
  margin: 0 0 0.25rem;
  color: var(--muted);
}

.footer-disclaimer {
  margin: 0;
  max-width: 52rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .landing-hero-grid,
  .landing-split,
  .benefit-grid,
  .steps-grid,
  .seo-link-grid,
  .guide-grid,
  .footer-grid,
  .footer-seo-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding-top: 1.75rem;
  }
}
 
