:root {
  --bg: #061114;
  --bg-deep: #04080b;
  --panel: rgba(10, 25, 31, 0.84);
  --panel-soft: rgba(13, 33, 39, 0.74);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --brand: #0ff0fc;
  --brand-soft: rgba(15, 240, 252, 0.14);
  --brand-glow: rgba(15, 240, 252, 0.22);
  --text: #f4fbfd;
  --muted: #9eb3b9;
  --muted-strong: #d1e2e7;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  --max: 1360px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(15, 240, 252, 0.12), transparent 26%),
    radial-gradient(circle at 90% 16%, rgba(0, 140, 180, 0.16), transparent 22%),
    linear-gradient(145deg, #041013 0%, #09171c 40%, #122229 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 90%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

#app {
  position: relative;
  z-index: 1;
}

.site-shell {
  position: relative;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  background: rgba(5, 15, 18, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav tools";
  align-items: center;
  gap: 1rem;
}

.header-brand {
  grid-area: brand;
  justify-self: start;
  min-width: max-content;
}

.site-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.header-tools {
  grid-area: tools;
  justify-self: end;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.brand-mark svg {
  width: clamp(178px, 18vw, 232px);
  height: auto;
  display: block;
  overflow: visible;
  direction: ltr;
  unicode-bidi: isolate;
}

.lang-switcher,
.hero-actions,
.button-row,
.channel-row,
.meta-row,
.pill-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.lang-switcher {
  direction: ltr;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.lang-switcher button {
  min-width: 54px;
  padding: 0.6rem 0.88rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-switcher button.active {
  background: var(--brand);
  color: #031114;
  font-weight: 700;
}

.page-main {
  padding-bottom: 5rem;
}

.section {
  padding: 2rem 0 5rem;
}

.section-hero {
  padding-top: 1.4rem;
}

.surface,
.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 32, 38, 0.84), rgba(7, 18, 22, 0.96));
  box-shadow: var(--shadow);
}

.surface::after,
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(15, 240, 252, 0.08), transparent 22%, transparent 72%, rgba(255, 255, 255, 0.03));
  opacity: 0.85;
}

.surface {
  padding: 1.6rem;
}

.glass-card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 39, 45, 0.72), rgba(8, 17, 21, 0.92));
}

.eyebrow,
.story-number,
.card-label,
.pill,
.fact-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.card-label,
.pill,
.story-number,
.fact-label {
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand));
}

.hero-shell,
.page-lead-shell,
.product-hero-shell,
.story-shell,
.editorial-grid,
.hero-stage,
.project-showcase,
.cta-band,
.post-shell,
.legal-shell {
  display: grid;
  gap: 1.2rem;
}

.hero-shell,
.page-lead-shell,
.product-hero-shell {
  padding: clamp(1.3rem, 2vw, 1.8rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 82% 22%, rgba(15, 240, 252, 0.13), transparent 28%),
    radial-gradient(circle at 10% 100%, rgba(0, 125, 155, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(12, 28, 33, 0.92), rgba(7, 18, 22, 0.98));
  box-shadow: var(--shadow);
}

.hero-stage,
.page-lead-shell,
.product-hero-shell {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(1rem, 2vw, 2.2rem);
}

.hero-title {
  margin: 0;
  font-size: clamp(2.9rem, 5.8vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  max-width: 11ch;
}

.hero-title-post {
  max-width: none;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
}

.feature-title,
.section-title,
.mini-title {
  margin: 0.72rem 0 0.4rem;
  letter-spacing: -0.04em;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
}

.feature-title {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
}

.mini-title {
  font-size: 1.18rem;
}

.accent {
  color: var(--brand);
}

.lead,
.section-desc,
.body-copy,
.post-copy,
.card-note,
.muted {
  color: var(--muted-strong);
  line-height: 1.82;
}

.lead {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  font-size: 1.08rem;
}

.compact-lead {
  margin-top: 0.8rem;
  font-size: 1rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: 1.8rem;
}

.section-copy {
  max-width: 52rem;
}

.hero-lanes,
.proof-stack,
.tool-strip-stack,
.project-list,
.faq-list,
.project-facts,
.stage-list,
.plan-grid,
.panel-grid,
.editorial-stack {
  display: grid;
  gap: 1rem;
}

.lane-strip,
.project-showcase,
.tool-strip,
.contact-route,
.faq-item,
.persona-card,
.plan-card {
  position: relative;
  z-index: 1;
}

.hero-panel-copy,
.feature-panel,
.proof-panel {
  position: relative;
  z-index: 1;
}

.hero-lanes {
  align-content: start;
}

.lane-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 24, 28, 0.82), rgba(8, 18, 22, 0.96));
}

.lane-copy .mini-title {
  margin-top: 0.5rem;
}

.project-list {
  gap: 1.25rem;
}

.project-showcase {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  padding: 1.7rem;
}

.project-showcase-alt {
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
}

.project-showcase-alt .project-showcase-main {
  order: 2;
}

.project-showcase-alt .project-showcase-side {
  order: 1;
}

.project-showcase-side,
.project-facts {
  align-content: start;
}

.project-fact {
  position: relative;
  z-index: 1;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.45rem;
}

.project-fact strong {
  font-size: 1rem;
  line-height: 1.6;
}

.story-shell {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: stretch;
}

.manifesto-card {
  padding: 1.75rem;
}

.story-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.story-point {
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.story-point strong {
  font-size: 1rem;
}

.tool-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
}

.editorial-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: stretch;
}

.featured-post {
  padding: 1.7rem;
}

.editorial-stack {
  align-content: start;
}

.panel-grid.panel-grid-3,
.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-grid.panel-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stage-list-horizontal {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stage-card {
  position: relative;
  z-index: 1;
  padding: 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.post-shell,
.legal-shell {
  padding: 2rem;
}

.post-head,
.post-content,
.legal-shell,
.legal-prose,
.footer-brand,
.footer-side {
  display: grid;
  gap: 1rem;
}

.post-content {
  margin: 0.4rem 0 1rem;
}

.post-section {
  padding-top: 0.5rem;
}

.post-section-title {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.post-card,
.feature-card,
.faq-card,
.plan-card,
.contact-route,
.persona-card {
  display: grid;
  gap: 0.65rem;
}

.card-label,
.pill {
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 240, 252, 0.2);
  background: var(--brand-soft);
  width: fit-content;
}

.meta-row {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.32rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #051114;
  background: linear-gradient(90deg, #0ff0fc, #7af8ff);
  box-shadow: 0 16px 36px rgba(15, 240, 252, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
}

.lane-actions,
.tool-strip-action {
  align-self: start;
}

.lane-actions {
  justify-self: start;
}

.cta-band {
  align-items: center;
  justify-content: space-between;
  grid-template-columns: minmax(0, 1fr) auto;
}

.tool-strip-stack,
.faq-list {
  gap: 1rem;
}

.footer {
  padding: 1.5rem 0 2.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 2rem;
}

.footer-brand {
  max-width: 38rem;
}

.footer-brand .brand-mark {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.channel-row a {
  padding: 0.72rem 0.96rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
}

html[dir="rtl"] body {
  font-family: "Cairo", "Inter", sans-serif;
}

html[dir="rtl"] .header-inner {
  grid-template-areas: "tools nav brand";
}

html[dir="rtl"] .header-brand {
  justify-self: end;
}

html[dir="rtl"] .site-nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .page-main,
html[dir="rtl"] .footer,
html[dir="rtl"] .section-copy,
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .manifesto-card,
html[dir="rtl"] .project-showcase,
html[dir="rtl"] .project-showcase-main,
html[dir="rtl"] .project-showcase-side,
html[dir="rtl"] .feature-card,
html[dir="rtl"] .post-shell,
html[dir="rtl"] .legal-shell,
html[dir="rtl"] .stage-card,
html[dir="rtl"] .feature-panel,
html[dir="rtl"] .tool-strip,
html[dir="rtl"] .contact-route,
html[dir="rtl"] .persona-card,
html[dir="rtl"] .faq-item,
html[dir="rtl"] .proof-panel {
  text-align: right;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title,
html[dir="rtl"] .feature-title {
  letter-spacing: 0;
  line-height: 1.08;
}

html[dir="rtl"] .lead,
html[dir="rtl"] .body-copy,
html[dir="rtl"] .section-desc {
  line-height: 1.95;
}

html[dir="rtl"] .eyebrow::before {
  background: linear-gradient(90deg, var(--brand), transparent);
}

html[dir="rtl"] .tool-strip {
  grid-template-columns: auto minmax(0, 1fr);
}

html[dir="rtl"] .project-showcase {
  text-align: right;
}

html[dir="rtl"] .lane-actions {
  justify-self: end;
}

@media (max-width: 1180px) {
  .site-nav a {
    padding-inline: 0.82rem;
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: clamp(2.7rem, 5.2vw, 4.8rem);
  }
}

@media (max-width: 1080px) {
  .hero-stage,
  .page-lead-shell,
  .product-hero-shell,
  .story-shell,
  .project-showcase,
  .editorial-grid,
  .panel-grid.panel-grid-3,
  .panel-grid.panel-grid-4,
  .plan-grid,
  .stage-list-horizontal,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-showcase-alt .project-showcase-main,
  .project-showcase-alt .project-showcase-side {
    order: initial;
  }
}

@media (max-width: 920px) {
  .header-inner {
    min-height: auto;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand tools"
      "nav nav";
    align-items: start;
    padding: 1rem 0;
  }

  html[dir="rtl"] .header-inner {
    grid-template-areas:
      "tools brand"
      "nav nav";
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  html[dir="rtl"] .site-nav {
    justify-content: flex-end;
  }

  .brand-mark svg {
    width: clamp(168px, 30vw, 220px);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 1.35rem), var(--max));
  }

  .section {
    padding: 1.45rem 0 3.6rem;
  }

  .surface,
  .post-shell,
  .legal-shell,
  .hero-shell,
  .page-lead-shell,
  .product-hero-shell {
    padding: 1.2rem;
  }

  .glass-card,
  .stage-card {
    padding: 1.05rem;
  }

  .hero-copy {
    padding: 0.25rem 0 0.5rem;
  }

  .hero-title {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    max-width: none;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .lane-strip,
  .tool-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-nav,
  .button-row,
  .hero-actions,
  .lang-switcher,
  .channel-row,
  .meta-row {
    width: 100%;
  }

  .site-nav a,
  .button,
  .lang-switcher button {
    width: 100%;
  }

  .lang-switcher button {
    flex: 1 1 0;
  }

  .site-nav {
    gap: 0.5rem;
  }

.site-nav a {
    text-align: center;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.2, 1, 0.22, 1),
    transform 720ms cubic-bezier(0.2, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-shell-premium,
.page-lead-shell-premium,
.product-hero-shell-premium {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(15, 240, 252, 0.13), transparent 24%),
    radial-gradient(circle at 8% 92%, rgba(0, 130, 164, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(10, 25, 31, 0.94), rgba(6, 18, 23, 0.98));
}

.hero-shell-premium::before,
.page-lead-shell-premium::before,
.product-hero-shell-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 22%, transparent 72%, rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 48%);
}

.hero-stage-premium,
.product-hero-shell-premium {
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
}

.hero-copy-premium {
  padding-block: clamp(1.2rem, 2.6vw, 2.5rem);
}

.hero-badge-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-badge {
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-visual-stage,
.postgenius-hero-visual {
  position: relative;
  min-height: 100%;
  display: grid;
  align-items: stretch;
}

.hero-visual-backdrop,
.postgenius-hero-backdrop {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
}

.hero-grid,
.projects-orbit-grid {
  background-image:
    linear-gradient(rgba(255, 139, 57, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 139, 57, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  mask-image: linear-gradient(90deg, transparent, black 28%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.72;
  animation: floatDrift 7.6s ease-in-out infinite;
}

.hero-orb-a {
  inset: 18% auto auto 18%;
  width: 180px;
  height: 180px;
  background: rgba(15, 240, 252, 0.18);
}

.hero-orb-b {
  inset: auto 12% 10% auto;
  width: 210px;
  height: 210px;
  background: rgba(255, 122, 26, 0.14);
  animation-delay: -2.6s;
}

.hero-orb-c {
  inset: 6% 18% auto auto;
  width: 120px;
  height: 120px;
  background: rgba(125, 213, 255, 0.13);
  animation-delay: -1.2s;
}

.hero-ecosystem-panel {
  position: relative;
  z-index: 1;
  margin: 1.1rem;
  padding: 1.35rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(11, 28, 34, 0.78), rgba(8, 21, 25, 0.94));
  border-color: rgba(255, 255, 255, 0.09);
}

.hero-lanes-premium .lane-strip {
  min-height: 112px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-lanes-premium .lane-strip:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.lane-strip-forge {
  border-color: rgba(255, 122, 26, 0.16);
  background: linear-gradient(180deg, rgba(31, 20, 13, 0.72), rgba(13, 16, 20, 0.95));
}

.lane-strip-sema {
  border-color: rgba(86, 255, 178, 0.16);
  background: linear-gradient(180deg, rgba(8, 28, 22, 0.76), rgba(8, 16, 20, 0.95));
}

.lane-strip-postgenius {
  border-color: rgba(102, 226, 255, 0.18);
  background: linear-gradient(180deg, rgba(19, 19, 34, 0.78), rgba(10, 14, 22, 0.95));
}

.project-logo {
  display: grid;
  gap: 0.55rem;
}

.forge-wordmark,
.postgenius-copy strong,
.sema-copy strong {
  font-family: "Syne", "Inter", sans-serif;
}

.forge-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: #f6f3ed;
}

.forge-logo-full .forge-wordmark {
  font-size: clamp(3.3rem, 5vw, 5.5rem);
  font-weight: 800;
}

.forge-logo-compact .forge-wordmark {
  font-size: 1.6rem;
  font-weight: 800;
}

.forge-o {
  color: #ff7a1a;
  text-shadow:
    0 0 12px rgba(255, 122, 26, 0.3),
    0 0 30px rgba(255, 122, 26, 0.4),
    0 0 52px rgba(255, 122, 26, 0.25);
  animation: forgePulse 2.8s ease-in-out infinite;
}

.forge-badge,
.sema-badge,
.postgenius-badge {
  width: fit-content;
  padding: 0.5rem 0.88rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forge-badge {
  border: 1px solid rgba(255, 122, 26, 0.24);
  color: #ff9d52;
  background: rgba(255, 122, 26, 0.08);
}

.sema-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.sema-square {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #6effb4, #1ddf8f);
  color: #081510;
  font-size: 1.7rem;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(35, 202, 124, 0.2);
}

.sema-copy {
  display: grid;
  gap: 0.12rem;
}

.sema-copy strong {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.sema-copy small {
  font-size: 1rem;
  color: #9decc0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sema-badge {
  border: 1px solid rgba(110, 255, 180, 0.2);
  color: #89ebb0;
  background: rgba(110, 255, 180, 0.07);
}

.postgenius-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.cube-mark {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 14px 30px rgba(71, 186, 255, 0.22));
}

.postgenius-copy {
  display: grid;
  gap: 0.14rem;
}

.postgenius-copy strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, #ff79e4 0%, #79dcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.postgenius-copy small {
  font-size: 1rem;
  color: #c3ecff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.postgenius-badge {
  border: 1px solid rgba(122, 220, 255, 0.18);
  color: #97e8ff;
  background: rgba(122, 220, 255, 0.07);
}

.detail-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.visual-chip {
  padding: 0.62rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 600;
}

.product-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.3rem;
}

.project-lane {
  grid-column: span 12;
  padding: 0;
  display: grid;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.project-lane:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 82px rgba(0, 0, 0, 0.34);
}

.project-lane-copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.45rem, 2vw, 2rem);
  display: grid;
  align-content: start;
  gap: 1rem;
}

.project-lane-visual {
  position: relative;
  min-height: 280px;
}

.project-lane-forge {
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  background: linear-gradient(90deg, rgba(14, 34, 41, 0.97) 0 67%, rgba(14, 34, 41, 0.82) 67% 100%);
  border-color: rgba(255, 122, 26, 0.16);
}

.project-lane-forge .project-lane-visual {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(rgba(255, 139, 57, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 139, 57, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 37, 44, 0.96), rgba(12, 25, 30, 0.98));
  background-size: 40px 40px, 40px 40px, auto;
}

.project-lane-sema,
.project-lane-postgenius {
  grid-column: span 6;
}

.project-lane-sema {
  background:
    radial-gradient(circle at 88% 18%, rgba(110, 255, 180, 0.09), transparent 22%),
    linear-gradient(180deg, rgba(10, 25, 20, 0.96), rgba(7, 15, 18, 0.98));
  border-color: rgba(86, 255, 178, 0.14);
}

.project-lane-postgenius {
  background:
    radial-gradient(circle at 86% 16%, rgba(122, 220, 255, 0.1), transparent 24%),
    radial-gradient(circle at 8% 90%, rgba(255, 115, 230, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(18, 16, 32, 0.96), rgba(10, 12, 18, 0.98));
  border-color: rgba(122, 220, 255, 0.14);
}

.project-lane-sema .project-lane-visual,
.project-lane-postgenius .project-lane-visual {
  padding: 1.4rem 1.6rem 1.6rem;
}

.project-visual {
  position: relative;
  height: 100%;
}

.project-visual-forge {
  display: grid;
  align-items: stretch;
  min-height: 100%;
}

.forge-orbit-shell {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
}

.forge-core-chip {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 122, 26, 0.12);
  border: 1px solid rgba(255, 122, 26, 0.32);
  box-shadow:
    0 0 0 1px rgba(255, 122, 26, 0.08),
    0 0 34px rgba(255, 122, 26, 0.18);
  color: #ff8d34;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forge-core-chip::before,
.forge-core-chip::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.forge-core-chip::before {
  inset: 18px;
  background: #ff7a1a;
  box-shadow: 0 0 22px rgba(255, 122, 26, 0.45);
}

.forge-core-chip::after {
  inset: -1px;
  border: 1px solid rgba(255, 122, 26, 0.24);
}

.forge-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 122, 26, 0.16);
  animation: orbitSpin 15s linear infinite;
}

.forge-orbit-ring-a {
  width: 150px;
  height: 150px;
}

.forge-orbit-ring-b {
  width: 96px;
  height: 96px;
  animation-duration: 9s;
  animation-direction: reverse;
}

.forge-model-tags span {
  position: absolute;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  animation: floatTag 6s ease-in-out infinite;
}

.forge-model-tags span:nth-child(1) {
  inset-block-start: 14%;
  inset-inline-start: 12%;
  color: #ff9d52;
  border: 1px solid rgba(255, 122, 26, 0.28);
  background: rgba(48, 24, 14, 0.84);
}

.forge-model-tags span:nth-child(2) {
  inset-block-start: 28%;
  inset-inline-end: 12%;
  color: #16e4d2;
  border: 1px solid rgba(22, 228, 210, 0.22);
  background: rgba(10, 37, 36, 0.84);
  animation-delay: -2s;
}

.forge-model-tags span:nth-child(3) {
  inset-block-end: 26%;
  inset-inline-start: 17%;
  color: #b699ff;
  border: 1px solid rgba(182, 153, 255, 0.22);
  background: rgba(25, 20, 40, 0.84);
  animation-delay: -4s;
}

.forge-model-tags span:nth-child(4) {
  inset-block-end: 12%;
  inset-inline-end: 9%;
  color: #bcc5ca;
  border: 1px solid rgba(188, 197, 202, 0.18);
  background: rgba(28, 35, 39, 0.84);
  animation-delay: -1s;
}

.forge-command {
  position: absolute;
  inset-inline: 1.2rem;
  inset-block-end: 1.2rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 122, 26, 0.14);
  background: rgba(12, 16, 19, 0.84);
  backdrop-filter: blur(8px);
}

.forge-command code {
  color: #ffad62;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.95rem;
}

.project-lane-forge .visual-chip {
  border-color: rgba(255, 122, 26, 0.16);
  background: rgba(255, 122, 26, 0.06);
}

.sema-doc-stack {
  position: relative;
  width: min(100%, 310px);
  height: 220px;
  margin: 0 auto;
}

.sema-doc {
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sema-doc-back {
  inset: 28px 18px 0 60px;
  transform: rotate(8deg);
  background: linear-gradient(180deg, rgba(12, 34, 24, 0.7), rgba(8, 18, 16, 0.85));
}

.sema-doc-front {
  inset: 0 54px 18px 0;
  background: linear-gradient(180deg, rgba(12, 34, 24, 0.95), rgba(7, 16, 14, 0.98));
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.26);
}

.sema-doc-head {
  width: 42%;
  height: 14px;
  margin: 1.35rem 1.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(110, 255, 180, 0.3);
}

.sema-doc-lines {
  height: 92px;
  margin: 0 1.35rem;
  border-radius: 16px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.sema-ai-circle {
  position: absolute;
  inset-inline-end: 20px;
  inset-block-end: 18px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(110, 255, 180, 0.28);
  box-shadow:
    0 0 0 12px rgba(110, 255, 180, 0.03),
    0 0 30px rgba(110, 255, 180, 0.12);
}

.sema-ai-circle::before,
.sema-ai-circle::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(110, 255, 180, 0.36);
}

.sema-ai-circle::after {
  inset: 31px;
  background: rgba(110, 255, 180, 0.42);
  border: 0;
  box-shadow: 0 0 24px rgba(110, 255, 180, 0.36);
}

.sema-tagline {
  margin-top: 1rem;
  text-align: center;
  color: #9ff3c1;
  font-weight: 700;
}

.postgenius-stage-card,
.postgenius-workspace-shell {
  width: min(100%, 336px);
  margin: 0 auto;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(20, 19, 34, 0.88), rgba(10, 13, 20, 0.98));
}

.postgenius-stage-card {
  padding: 1.15rem;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.postgenius-stage-top,
.postgenius-workspace-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.postgenius-stage-top span,
.postgenius-workspace-head .mini-title {
  color: var(--muted-strong);
}

.postgenius-stage-flow,
.workspace-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.postgenius-stage-flow span,
.workspace-chip-row span {
  padding: 0.55rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 220, 255, 0.18);
  background: rgba(122, 220, 255, 0.06);
  color: #b8ecff;
  font-size: 0.82rem;
  font-weight: 700;
}

.postgenius-stage-lines,
.workspace-surface-lines {
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 121, 228, 0.22), transparent 18%),
    radial-gradient(circle at 82% 28%, rgba(121, 220, 255, 0.18), transparent 22%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.postgenius-stage-lines {
  height: 120px;
}

.workspace-surface-lines {
  height: 190px;
}

.postgenius-stage-caption {
  margin-top: 1rem;
  text-align: center;
  color: #b5e9ff;
  font-weight: 700;
}

.postgenius-workspace-shell {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.workspace-cta-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.workspace-cta-row a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 220, 255, 0.18);
  color: #072028;
  background: linear-gradient(90deg, #79dcff, #c0f4ff);
  font-weight: 800;
}

.projects-orbit-panel {
  padding: 1.45rem;
  display: grid;
  gap: 1rem;
}

.projects-orbit-grid {
  position: relative;
  min-height: 280px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(10, 22, 27, 0.84);
}

.orbit-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.orbit-node-tren {
  inset: calc(50% - 38px) auto auto calc(50% - 38px);
  width: 76px;
  height: 76px;
  background: rgba(15, 240, 252, 0.12);
  border: 1px solid rgba(15, 240, 252, 0.28);
  color: #90faff;
  box-shadow: 0 0 28px rgba(15, 240, 252, 0.12);
}

.orbit-node-forge,
.orbit-node-sema,
.orbit-node-pgp {
  width: 112px;
  height: 48px;
  backdrop-filter: blur(12px);
}

.orbit-node-forge {
  inset: 18% auto auto 14%;
  border: 1px solid rgba(255, 122, 26, 0.24);
  background: rgba(40, 22, 12, 0.84);
  color: #ff9d52;
}

.orbit-node-sema {
  inset: 62% auto auto 16%;
  border: 1px solid rgba(110, 255, 180, 0.24);
  background: rgba(9, 27, 18, 0.84);
  color: #9ef3c1;
}

.orbit-node-pgp {
  inset: 28% 13% auto auto;
  border: 1px solid rgba(122, 220, 255, 0.24);
  background: rgba(16, 23, 34, 0.84);
  color: #b9ecff;
}

.map-band-premium {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 88% 16%, rgba(15, 240, 252, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(11, 28, 34, 0.92), rgba(7, 18, 23, 0.98));
}

.map-points {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.postgenius-hero-backdrop {
  background:
    radial-gradient(circle at 78% 18%, rgba(121, 220, 255, 0.14), transparent 24%),
    radial-gradient(circle at 18% 84%, rgba(255, 121, 228, 0.16), transparent 28%);
}

.persona-card,
.stage-card,
.featured-post,
.cta-band,
.projects-orbit-panel {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.persona-card:hover,
.stage-card:hover,
.featured-post:hover,
.cta-band:hover,
.projects-orbit-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
}

html[dir="rtl"] .hero-badge-row,
html[dir="rtl"] .detail-pill-row,
html[dir="rtl"] .workspace-chip-row,
html[dir="rtl"] .postgenius-stage-flow {
  justify-content: flex-start;
}

html[dir="rtl"] .workspace-cta-row,
html[dir="rtl"] .postgenius-stage-top,
html[dir="rtl"] .postgenius-workspace-head {
  flex-direction: row-reverse;
}

html[dir="rtl"] .project-lane-forge .project-lane-visual {
  border-inline-start: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1080px) {
  .hero-stage-premium,
  .product-hero-shell-premium,
  .page-lead-shell-premium,
  .project-lane-forge {
    grid-template-columns: 1fr;
  }

  .product-ecosystem-grid .project-lane-sema,
  .product-ecosystem-grid .project-lane-postgenius {
    grid-column: span 12;
  }

  .project-lane-forge .project-lane-visual {
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 760px) {
  .hero-ecosystem-panel,
  .postgenius-workspace-shell {
    margin: 0.3rem 0;
  }

  .forge-logo-full .forge-wordmark {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .projects-orbit-grid {
    min-height: 220px;
  }

  .forge-model-tags span {
    font-size: 0.75rem;
    padding: 0.58rem 0.72rem;
  }

  .hero-grid,
  .project-lane-forge .project-lane-visual {
    background-size: 32px 32px, 32px 32px, auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@keyframes floatDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -16px, 0); }
}

@keyframes forgePulse {
  0%, 100% {
    text-shadow:
      0 0 12px rgba(255, 122, 26, 0.3),
      0 0 30px rgba(255, 122, 26, 0.4),
      0 0 52px rgba(255, 122, 26, 0.25);
  }
  50% {
    text-shadow:
      0 0 18px rgba(255, 122, 26, 0.5),
      0 0 42px rgba(255, 122, 26, 0.56),
      0 0 66px rgba(255, 122, 26, 0.34);
  }
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatTag {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
