:root {
  --ink-950: #07111f;
  --ink-900: #0b1323;
  --ink-800: #111d33;
  --panel: rgba(13, 25, 43, 0.86);
  --panel-strong: rgba(11, 19, 35, 0.94);
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef4ff;
  --muted: #aebed6;
  --green: #00b619;
  --green-soft: rgba(0, 182, 25, 0.18);
  --sand: #d9c48f;
  --shadow: 0 24px 60px rgba(1, 9, 20, 0.28);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shell: min(1180px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 182, 25, 0.14), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(217, 196, 143, 0.12), transparent 24%),
    linear-gradient(145deg, #091221 0%, #0a1527 48%, #07111f 100%);
  font: 17px/1.8 "Trebuchet MS", "Segoe UI", sans-serif;
  min-height: 100vh;
}

body.ar {
  font-family: Tahoma, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav .lang-pill {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .lang-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
}

.hero-shell,
.breadcrumbs,
.content-layout,
.faq-shell,
.cta-shell {
  padding-block: 1.35rem;
}

.hero-shell {
  padding-top: 2.25rem;
}

.hero-card,
.article-surface,
.info-card,
.cta-banner {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.7fr);
  gap: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(0, 182, 25, 0.22), transparent 33%),
    linear-gradient(155deg, rgba(20, 33, 57, 0.97), rgba(8, 18, 34, 0.96));
}

.hero-copy h1,
.section-heading h2,
.info-card h2,
.cta-banner h2,
.article-surface h1,
.article-surface h2,
.article-surface h3 {
  font-family: Georgia, "Times New Roman", serif;
}

body.ar .hero-copy h1,
body.ar .section-heading h2,
body.ar .info-card h2,
body.ar .cta-banner h2,
body.ar .article-surface h1,
body.ar .article-surface h2,
body.ar .article-surface h3 {
  font-family: Tahoma, "Segoe UI", sans-serif;
}

.eyebrow,
.card-label {
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  margin: 0 0 0.65rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  margin: 0;
}

.hero-copy .lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
  margin: 1rem 0 0;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: #04100a;
  box-shadow: 0 12px 32px rgba(0, 182, 25, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-side {
  display: grid;
  gap: 0.9rem;
}

.metric-card {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card span {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
}

.metric-card small {
  color: var(--muted);
}

.breadcrumbs nav {
  font-size: 0.95rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--sand);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 1.2rem;
}

.article-surface,
.info-card {
  border-radius: var(--radius-xl);
  background: var(--panel);
}

.article-surface {
  padding: clamp(1.3rem, 2.5vw, 2rem);
}

.info-card {
  padding: 1.15rem 1.15rem 1.25rem;
}

.side-panel {
  display: grid;
  gap: 1rem;
  align-self: start;
  position: sticky;
  top: 96px;
}

.article-surface > :first-child {
  margin-top: 0;
}

.article-surface h1,
.article-surface h2,
.article-surface h3 {
  color: var(--text);
  line-height: 1.16;
  margin: 1.6rem 0 0.8rem;
}

.article-surface p,
.article-surface li,
.article-surface td,
.article-surface th,
.article-surface figcaption,
.article-surface blockquote {
  color: #d8e2f0;
}

.article-surface p,
.article-surface ul,
.article-surface ol,
.article-surface table,
.article-surface figure,
.article-surface blockquote {
  margin: 0 0 1rem;
}

.article-surface ul,
.article-surface ol {
  padding-inline-start: 1.25rem;
}

.article-surface img {
  border-radius: 18px;
  margin-block: 1rem;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.article-surface table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.article-surface th,
.article-surface td {
  padding: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: start;
}

.article-surface blockquote {
  padding: 1rem 1.15rem;
  border-inline-start: 4px solid var(--green);
  background: rgba(0, 182, 25, 0.08);
  border-radius: 0 16px 16px 0;
}

.article-surface a {
  color: #9ed8ff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.fact-list,
.footer-grid ul,
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fact-list li,
.footer-grid li,
.related-list li {
  position: relative;
  padding-inline-start: 1rem;
  margin-top: 0.6rem;
  color: var(--muted);
}

.fact-list li::before,
.footer-grid li::before,
.related-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  position: absolute;
  inset-inline-start: 0;
  top: 0.75rem;
}

.faq-grid {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.4rem clamp(1.2rem, 2.8vw, 2rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at left center, rgba(0, 182, 25, 0.2), transparent 26%),
    linear-gradient(145deg, rgba(14, 28, 48, 0.97), rgba(7, 17, 31, 0.96));
}

.section-heading {
  margin-bottom: 1rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.mini-card {
  border-radius: var(--radius-lg);
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.mini-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 2rem 0 2.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 0.9rem;
}

.footer-title {
  margin: 0 0 0.65rem;
  font-weight: 700;
  color: var(--sand);
}

:root {
  --cyan: #74d7ff;
  --gold: #f4db9a;
  --violet: #7eb9ff;
}

body.page-general,
body.page-contact,
body.page-social,
body.page-content,
body.page-video {
  --green: #43dd86;
  --green-soft: rgba(67, 221, 134, 0.18);
  --sand: #f0d18f;
}

body.page-seo {
  --green: #41db87;
  --green-soft: rgba(65, 219, 135, 0.18);
  --sand: #b8f3ce;
}

body.page-web {
  --green: #54d4ff;
  --green-soft: rgba(84, 212, 255, 0.18);
  --sand: #b6efff;
}

body.page-software,
body.page-article {
  --green: #7db8ff;
  --green-soft: rgba(125, 184, 255, 0.18);
  --sand: #cfe2ff;
}

body.page-app {
  --green: #f3c870;
  --green-soft: rgba(243, 200, 112, 0.18);
  --sand: #ffe6af;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(22px);
  opacity: 0.65;
}

body::before {
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  top: 8vh;
  inset-inline-start: -5vw;
  background: radial-gradient(circle, var(--green-soft) 0%, transparent 70%);
}

body::after {
  width: min(32vw, 360px);
  height: min(32vw, 360px);
  bottom: 7vh;
  inset-inline-end: -4vw;
  background: radial-gradient(circle, rgba(116, 215, 255, 0.15) 0%, transparent 72%);
}

.site-header {
  box-shadow: 0 18px 40px rgba(3, 8, 18, 0.22);
}

.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.brand span {
  font-size: 0.98rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 18px;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--sand));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.site-nav .lang-pill::after {
  transform: scaleX(1);
}

.hero-card {
  position: relative;
  overflow: hidden;
  gap: 1.7rem;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  background:
    linear-gradient(135deg, rgba(10, 22, 39, 0.98) 0%, rgba(17, 31, 53, 0.96) 54%, rgba(7, 15, 27, 0.98) 100%);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.hero-card::before {
  width: 280px;
  height: 280px;
  top: -80px;
  inset-inline-end: -50px;
  background: radial-gradient(circle, var(--green-soft) 0%, transparent 72%);
}

.hero-card::after {
  width: 220px;
  height: 220px;
  bottom: -70px;
  inset-inline-start: 42%;
  background: radial-gradient(circle, rgba(244, 219, 154, 0.13) 0%, transparent 72%);
}

.hero-copy,
.hero-side {
  position: relative;
  z-index: 1;
}

.hero-copy .lede {
  font-size: 1.08rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text);
  font-size: 0.92rem;
}

.hero-side {
  grid-template-rows: auto 1fr;
  gap: 0.95rem;
}

.spotlight-card {
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.spotlight-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.4rem;
  line-height: 1.1;
}

.spotlight-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.metrics-grid .metric-card:last-child {
  grid-column: 1 / -1;
}

.metric-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
}

.breadcrumbs nav {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-layout {
  gap: 1.35rem;
}

.article-surface,
.info-card,
.faq-item,
.mini-card,
.cta-banner {
  position: relative;
  overflow: hidden;
}

.article-surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(160deg, rgba(16, 30, 52, 0.94), rgba(10, 21, 38, 0.96));
}

.article-surface::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.article-surface > section {
  padding: 1.15rem 0 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article-surface > section:last-child {
  border-bottom: 0;
}

.article-surface h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.article-surface h3 {
  font-size: 1.22rem;
}

.article-surface h2::before,
.article-surface h3::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, var(--green), var(--sand));
}

.article-surface img {
  box-shadow: 0 18px 40px rgba(2, 8, 18, 0.22);
}

.article-surface table {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.article-surface blockquote {
  border-inline-start-color: var(--green);
  background: linear-gradient(135deg, var(--green-soft), rgba(255, 255, 255, 0.02));
}

.info-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    linear-gradient(155deg, rgba(16, 28, 48, 0.95), rgba(9, 19, 33, 0.96));
}

.related-list a {
  display: inline-flex;
  padding-block: 0.15rem;
  color: var(--text);
}

.faq-item,
.mini-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    linear-gradient(155deg, rgba(14, 27, 47, 0.95), rgba(8, 17, 31, 0.96));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.faq-item:hover,
.mini-card:hover,
.info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 48px rgba(2, 8, 18, 0.18);
}

.mini-card h3 a {
  text-decoration: none;
}

.mini-card::after,
.faq-item::after,
.info-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -24px;
  top: -24px;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--green-soft) 0%, transparent 74%);
  pointer-events: none;
}

.cta-banner {
  border-color: rgba(255, 255, 255, 0.12);
}

.site-footer {
  margin-top: 0.8rem;
}

.footer-grid {
  padding-top: 1.5rem;
}

.reveal {
  animation: rise 500ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-card,
  .content-layout,
  .footer-grid,
  .cta-banner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .side-panel {
    position: static;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metrics-grid .metric-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset-inline: 1rem;
    top: calc(100% + 0.75rem);
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
    border-radius: 18px;
    background: rgba(8, 18, 33, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .article-surface,
  .info-card,
  .hero-card,
  .cta-banner {
    border-radius: 22px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .hero-points span {
    width: 100%;
    justify-content: center;
  }

  .breadcrumbs nav {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    animation: none;
  }
}
