:root {
  color-scheme: dark;
  --bg: #111216;
  --bg-2: #17181d;
  --panel: #1c1d22;
  --panel-2: #222329;
  --line: #333640;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f5f2;
  --muted: #aeb6cc;
  --muted-2: #747987;
  --accent: #ff9900;
  --accent-hot: #ff6b00;
  --accent-2: #ff4f9a;
  --blue: #1399ff;
  --green: #10c787;
  --purple: #8a5cff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 1px 1px, 290px 290px, auto;
  color: var(--text);
}

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

button,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 28px;
  background: linear-gradient(180deg, rgba(4, 9, 16, 0.46), rgba(4, 9, 16, 0));
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: url("assets/favicon.svg") center / cover no-repeat;
  box-shadow: 0 0 28px rgba(255, 153, 0, 0.26), 0 0 18px rgba(21, 148, 255, 0.08);
}

.nav {
  display: flex;
  gap: 24px;
  color: #dce2f4;
  font-size: 14px;
}

.nav-actions,
.lang-switch {
  display: inline-flex;
  align-items: center;
}

.nav-actions {
  justify-self: end;
  gap: 14px;
}

.lang-switch {
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--accent);
}

.nav a:hover,
.footer a:hover {
  color: var(--accent);
}

.nav-cta,
.primary-btn,
.ghost-btn,
.new-chat,
.send-btn {
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 0 22px;
  background: #f7f5ef;
  color: #07080b;
  font-weight: 750;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7f5ef;
  border-color: #f7f5ef;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 176px max(32px, calc((100vw - 1280px) / 2)) 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 72%, rgba(255, 153, 0, 0.2), transparent 19%),
    linear-gradient(180deg, rgba(5, 13, 24, 0.12), rgba(8, 15, 25, 0.28) 58%, rgba(8, 10, 15, 0.88) 100%),
    url("assets/ai-moldova-portal.png") center center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(21, 148, 255, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(5, 8, 13, 0.2), transparent 25%, transparent 75%, rgba(5, 8, 13, 0.28));
  background-size: 1px 1px, 290px 290px, auto, auto;
}

.hero-content {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  border: 1px solid var(--line);
  padding: 0 16px;
  color: #c9d3ee;
  background: rgba(20, 21, 26, 0.66);
  font-size: 14px;
}

.eyebrow span {
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 153, 0, 0.72);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 28px 0 22px;
  font-size: clamp(54px, 5.6vw, 82px);
  line-height: 1.05;
  font-weight: 520;
  text-wrap: balance;
}

h2 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 1.08;
  font-weight: 520;
  text-wrap: balance;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
}

.hero p,
.section-copy,
.section-head p,
.feature p,
.price-card p,
.faq p,
.final-cta p {
  color: var(--muted);
  line-height: 1.75;
}

.hero p {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 18px;
  color: #d5def1;
}

.hero-seo-line {
  margin-top: 22px;
  color: rgba(210, 218, 238, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.hero-actions,
.split-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero .primary-btn,
.hero .ghost-btn {
  min-width: 174px;
  min-height: 44px;
}

.hero-panel {
  align-self: end;
  margin-bottom: 92px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(13, 16, 23, 0.78);
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(14px);
}

.hero-panel-note {
  margin-top: 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.status-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  color: #dbe4f7;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(16, 199, 135, 0.12);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.metric-grid div {
  min-height: 96px;
  padding: 20px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.metric-grid strong {
  display: block;
  font-size: 28px;
}

.metric-grid span {
  color: var(--muted-2);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: 1.35fr repeat(6, 1fr);
  border-block: 1px solid var(--line-soft);
  color: #dfe5f5;
}

.trust-strip > * {
  min-height: 92px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-soft);
}

.trust-strip span {
  color: var(--muted-2);
}

.section {
  padding: 112px max(28px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid var(--line-soft);
}

.centered {
  text-align: center;
}

.centered .section-copy {
  max-width: 840px;
  margin: 0 auto 28px;
}

.product-system {
  padding-top: 96px;
}

.visual-core {
  display: grid;
  grid-template-columns: minmax(320px, 0.6fr) minmax(560px, 1fr);
  gap: 58px;
  align-items: end;
  background:
    radial-gradient(circle at 72% 45%, rgba(21, 148, 255, 0.12), transparent 34%),
    radial-gradient(circle at 45% 70%, rgba(255, 153, 0, 0.08), transparent 28%),
    #111216;
}

.visual-copy p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.8;
}

.visual-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.72fr;
  gap: 28px;
  align-items: center;
}

.portal-frame {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #07101a;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), 0 0 70px rgba(21, 148, 255, 0.08);
}

.portal-frame img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: cover;
}

.portal-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 52%, rgba(3, 5, 10, 0.34)),
    radial-gradient(circle at 50% 77%, rgba(255, 153, 0, 0.2), transparent 24%);
}

.scanline {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0 32%, transparent 32% 35%, var(--accent) 35% 66%, transparent 66% 70%, var(--accent) 70% 78%, rgba(255, 255, 255, 0.18) 78%);
  z-index: 1;
}

.core-steps {
  display: grid;
  gap: 18px;
}

.core-steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 118px;
  border: 1px solid transparent;
  padding: 22px;
  color: var(--muted-2);
}

.core-steps article.active,
.core-steps article:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.038);
  color: var(--text);
}

.core-steps span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 850;
}

.core-steps article.active span {
  background: var(--accent);
  color: #08090c;
  box-shadow: 0 16px 30px rgba(255, 153, 0, 0.24);
}

.core-steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
}

.core-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.system-grid article,
.use-case,
.seo-list div {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.026);
  padding: 26px;
}

.system-grid span,
.use-case span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  background: rgba(255, 153, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 153, 0, 0.3);
  font-weight: 850;
}

.system-grid p,
.use-case p,
.seo-list span {
  color: var(--muted);
  line-height: 1.7;
}

.capability-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: start;
}

.process {
  display: grid;
  gap: 18px;
}

.process-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  min-height: 112px;
  padding: 24px;
  text-align: left;
  color: var(--muted-2);
  border: 1px solid transparent;
  background: transparent;
}

.process-item.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.process-item .icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.process-item.active .icon {
  background: var(--accent);
  color: #08090c;
}

.process-item strong {
  align-self: end;
  font-size: 20px;
}

.process-item em {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.use-case {
  min-height: 285px;
}

.use-case em {
  display: block;
  margin-top: 22px;
  color: var(--accent);
  font-style: normal;
  font-size: 13px;
}

.service-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.service-toolbar input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #17181d;
  color: var(--text);
  padding: 0 16px;
}

.category-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.category-filter button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0 13px;
}

.category-filter button.active,
.category-filter button:hover {
  border-color: rgba(255, 153, 0, 0.56);
  color: var(--text);
  background: rgba(255, 153, 0, 0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(138, 92, 255, 0.28);
  border-radius: 8px;
  background: #0c0618;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 10%, var(--service-color), transparent 26%);
  opacity: 0.22;
}

.service-card > * {
  position: relative;
}

.service-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--service-color);
  color: #fff;
  font-weight: 800;
}

.service-card h3 {
  margin: 18px 0 6px;
  font-size: 15px;
}

.service-category {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--muted-2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-card p {
  margin: 0 0 16px;
  min-height: 34px;
  color: #a9abc0;
  font-size: 13px;
  line-height: 1.35;
}

.service-card .price {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 72px;
}

.seo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  gap: 56px;
  align-items: start;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 153, 0, 0.08), transparent 28%),
    #101116;
}

.seo-copy p {
  max-width: 740px;
  color: var(--muted);
  line-height: 1.8;
}

.seo-list {
  display: grid;
  gap: 14px;
}

.seo-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.feature {
  min-height: 220px;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  background: linear-gradient(135deg, #ffb11b, #ca5400);
  color: #07080b;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(255, 153, 0, 0.22);
}

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 34px;
}

.billing-toggle b {
  border: 1px solid rgba(255, 153, 0, 0.4);
  padding: 8px 12px;
  color: var(--accent);
  background: rgba(255, 153, 0, 0.08);
  font-size: 12px;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  display: block;
  width: 54px;
  height: 28px;
  padding: 4px;
  background: #2b2c31;
}

.switch span::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  transition: transform 0.2s ease;
}

.switch input:checked + span::before {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  min-height: 585px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.price-card.highlight {
  border-color: rgba(255, 153, 0, 0.6);
  background: #24252a;
}

.price-card h3 {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.badge {
  border: 1px solid rgba(255, 153, 0, 0.4);
  padding: 8px 10px;
  color: var(--accent);
  background: rgba(255, 153, 0, 0.08);
  font-size: 12px;
}

.price {
  margin: 18px 0;
  font-size: 44px;
}

.price small {
  color: var(--muted-2);
  font-size: 14px;
}

.price-card button,
.price-card a {
  width: 100%;
  margin: 18px 0 24px;
}

.features-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.features-list li {
  color: var(--muted);
}

.features-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
}

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 72px;
}

.faq-list {
  border-top: 1px solid var(--line-soft);
}

details {
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 0;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
}

.final-cta {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 110px max(32px, calc((100vw - 1220px) / 2));
  background:
    radial-gradient(circle at 54% 69%, rgba(255, 153, 0, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(4, 8, 14, 0.28), rgba(17, 18, 22, 0.94)),
    url("assets/ai-moldova-portal.png") center / cover no-repeat;
}

.final-cta div {
  max-width: 640px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  min-height: 88px;
  padding: 0 max(28px, calc((100vw - 1220px) / 2));
  border-top: 1px solid var(--line-soft);
  background: #15161a;
}

.footer div {
  display: flex;
  gap: 28px;
  color: var(--muted);
}

.chat-shell {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 310px 1fr;
  background: #0f1014;
  transform: translateY(105%);
  transition: transform 0.28s ease;
}

.chat-shell.open {
  transform: translateY(0);
}

.chat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-right: 1px solid var(--line-soft);
  background: #15161b;
}

.chat-brand {
  margin-bottom: 8px;
}

.new-chat {
  width: 100%;
  background: #f7f5ef;
}

.chat-tabs {
  display: grid;
  gap: 8px;
}

.chat-tabs button {
  min-height: 42px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  text-align: left;
  padding: 0 14px;
}

.chat-tabs button.active {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-note {
  margin-top: auto;
  border: 1px solid var(--line-soft);
  padding: 16px;
  color: var(--muted);
  line-height: 1.5;
}

.sidebar-note strong,
.sidebar-note span {
  display: block;
}

.chat-main {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-width: 0;
}

.chat-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 70px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line-soft);
}

.chat-topbar span {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 13px;
}

.chat-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-controls select,
.icon-btn,
.tool-btn {
  min-height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0 12px;
}

.icon-btn,
.tool-btn {
  width: 42px;
  padding: 0;
}

.messages {
  overflow: auto;
  padding: 34px min(7vw, 110px);
}

.message {
  display: grid;
  grid-template-columns: 38px minmax(0, 760px);
  gap: 16px;
  margin-bottom: 26px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: #24262e;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.message.user .avatar {
  color: #fff;
  background: #274052;
}

.bubble {
  color: #e8ecf8;
  line-height: 1.7;
}

.bubble strong {
  color: #fff;
}

.prompt-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 min(7vw, 110px) 18px;
}

.prompt-chips button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  padding: 0 14px;
}

.prompt-chips button:hover {
  color: var(--text);
  border-color: rgba(255, 153, 0, 0.45);
}

.composer {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: end;
  padding: 18px min(7vw, 110px) 24px;
  border-top: 1px solid var(--line-soft);
}

.composer textarea {
  width: 100%;
  max-height: 160px;
  min-height: 46px;
  resize: none;
  border: 1px solid var(--line);
  background: #18191f;
  color: var(--text);
  padding: 13px 16px;
  line-height: 1.4;
}

.send-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #090a0d;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .lang-switch {
    display: none;
  }

  .hero,
  .capability-section,
  .visual-core,
  .visual-showcase,
  .section-head,
  .faq {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 860px;
    padding-top: 150px;
  }

  .portal-frame,
  .portal-frame img {
    min-height: 320px;
  }

  .hero-panel {
    max-width: 520px;
    margin: 0 auto;
  }

  .trust-strip,
  .service-grid,
  .system-grid,
  .use-case-grid,
  .features,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-toolbar,
  .seo-section {
    grid-template-columns: 1fr;
  }

  .category-filter {
    justify-content: flex-start;
  }

  .chat-shell {
    grid-template-columns: 1fr;
  }

  .chat-sidebar {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 14px 16px;
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero {
    min-height: 820px;
    padding: 130px 18px 72px;
    overflow: hidden;
  }

  .hero-bg {
    background-position: center bottom;
  }

  h1 {
    max-width: calc(100vw - 36px);
    font-size: 42px;
    line-height: 1.08;
    text-wrap: auto;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 38px;
  }

  .hero p {
    max-width: calc(100vw - 36px);
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .hero-actions > *,
  .split-actions > * {
    width: min(100%, 250px);
  }

  .hero-panel {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .system-grid,
  .use-case-grid,
  .features,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip > * {
    min-height: 74px;
  }

  .section,
  .final-cta {
    padding: 76px 18px;
  }

  .visual-core {
    gap: 34px;
  }

  .portal-frame,
  .portal-frame img {
    min-height: 230px;
  }

  .core-steps article {
    min-height: 104px;
    padding: 18px;
  }

  .price-card {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 24px;
  }

  .footer div {
    flex-wrap: wrap;
  }

  .chat-topbar {
    padding: 0 14px;
  }

  .messages,
  .prompt-chips,
  .composer {
    padding-inline: 14px;
  }

  .composer {
    grid-template-columns: 1fr auto;
  }

  .tool-btn {
    display: none;
  }
}

/* Modern motion layer */
.site-header {
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-bg {
  animation: heroPresence 16s ease-in-out infinite alternate;
}

.hero-content {
  animation: heroIntro 0.7s ease both;
}

.primary-btn,
.ghost-btn,
.nav-cta,
.category-filter button,
.service-card,
.price-card,
.feature,
.system-grid article,
.use-case,
.process-item,
.core-steps article,
details {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.primary-btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), 0 0 30px rgba(255, 153, 0, 0.14);
}

.ghost-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 153, 0, 0.55);
  background: rgba(255, 153, 0, 0.08);
}

.service-card:hover,
.price-card:hover,
.feature:hover,
.system-grid article:hover,
.use-case:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 153, 0, 0.36);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.portal-frame img {
  transition: transform 0.55s ease;
}

.portal-frame:hover img {
  transform: scale(1.025);
}

.scanline {
  animation: scanPulse 2.8s ease-in-out infinite;
}

.process-item:hover,
.core-steps article:hover {
  transform: translateX(4px);
}

details[open] {
  background: rgba(255, 255, 255, 0.018);
}

@keyframes heroIntro {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPresence {
  from {
    transform: scale(1);
    filter: saturate(1);
  }
  to {
    transform: scale(1.025);
    filter: saturate(1.08);
  }
}

@keyframes scanPulse {
  0%, 100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
