@import url("/assets/css/tokens.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--text-0);
  background:
    radial-gradient(circle at top left, rgba(47, 109, 244, 0.10), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #f3f6fb 100%);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color 160ms ease, opacity 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
a:hover { color: var(--accent-ai); }
img { max-width: 100%; display: block; }
main { min-height: 55vh; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: var(--space-8) 0; }
.section-tight { padding: var(--space-7) 0; }
.section-muted { background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(238,243,251,0.92)); }
.section-console { background: linear-gradient(180deg, #111b30 0%, #0c1424 100%); color: var(--console-text); }
.section-head > div { display: grid; gap: var(--space-2); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-4);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17, 33, 60, 0.06);
  color: var(--text-1);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-shell {
  overflow-x: hidden;
  overflow-y: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(249, 251, 255, 0.82);
  border-bottom: 1px solid rgba(17, 33, 60, 0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
  min-height: 84px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 54px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.nav-link {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--text-1);
  font-size: 14px;
  font-weight: 700;
}
.nav .nav-link[href="/contact/"],
.nav .nav-link[href="/ru/contact/"] { display: none; }
.nav-link:hover,
.nav-link.is-active { background: rgba(17, 33, 60, 0.08); color: var(--text-0); }
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border-0);
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
}
.lang-pill {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--text-1);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.lang-pill.is-active { background: var(--text-0); color: #fff; }
.header-actions .button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}
.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button {
  background: #162848;
  border-color: rgba(17, 33, 60, 0.18);
  color: #fff;
  box-shadow: var(--shadow-1);
  cursor: pointer;
}
.button::after,
.button-secondary::after,
.button-ghost::after {
  content: "";
  position: absolute;
  inset: auto 18px 10px 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.26);
  opacity: 0;
  transform: scaleX(0.7);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}
.button-secondary {
  background: #0f9d7a;
  border-color: rgba(15, 157, 122, 0.24);
  color: #fff;
  box-shadow: var(--shadow-1);
}
.button-ghost {
  border-color: var(--border-0);
  background: rgba(255,255,255,0.9);
  color: var(--text-0);
}
.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.button:hover,
.button-secondary:hover {
  filter: brightness(1.02);
}
.button:hover::after,
.button-secondary:hover::after,
.button-ghost:hover::after,
.button:focus-visible::after,
.button-secondary:focus-visible::after,
.button-ghost:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}
.button,
.button:hover,
.button:visited,
.button-secondary,
.button-secondary:hover,
.button-secondary:visited { color: #fff; }
.button-ghost,
.button-ghost:hover,
.button-ghost:visited { color: var(--text-0); }
.button-ghost:hover {
  background: rgba(226, 235, 249, 0.96);
  border-color: rgba(17, 33, 60, 0.18);
}
.button:focus-visible,
.button-secondary:focus-visible,
.button-ghost:focus-visible,
.lang-pill:focus-visible,
.nav-link:focus-visible,
.tag:focus-visible {
  outline: 2px solid rgba(47,109,244,0.22);
  outline-offset: 2px;
}
.button[disabled] { opacity: 0.7; cursor: not-allowed; }
.hero {
  position: relative;
  padding: 72px 0 44px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
}
.hero h1,
.page-title,
.article-title {
  margin: 0 0 16px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero p,
.page-intro,
.article-intro { font-size: 19px; color: var(--text-1); }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-5); }
.hero-panel,
.card,
.metric-card,
.pillar-card,
.case-card,
.article-card,
.contact-panel,
.package-card,
.step-card,
.console-panel,
.diagram-card,
.detail-card,
.list-card {
  background: var(--surface-0);
  border: 1px solid rgba(17, 33, 60, 0.08);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
}
.metric-card,
.package-card,
.step-card,
.detail-card,
.list-card,
.contact-panel,
.diagram-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.metric-card:hover,
.package-card:hover,
.step-card:hover,
.detail-card:hover,
.list-card:hover,
.diagram-card:hover,
.contact-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: rgba(17, 33, 60, 0.12);
}
.hero-panel {
  padding: var(--space-5);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(232, 240, 255, 0.9));
}
.hero-diagram {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius-2);
}
.hero-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(47,109,244,0.14), rgba(15,157,122,0.10));
  pointer-events: none;
}
.diagram-stack {
  position: relative;
  display: grid;
  gap: 14px;
}
.diagram-flow {
  position: relative;
  display: grid;
  gap: 14px;
}
.diagram-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--radius-1);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(17,33,60,0.08);
  box-shadow: var(--shadow-1);
}
.diagram-step-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(47,109,244,0.16), rgba(15,157,122,0.14));
  color: var(--text-0);
  font-size: 18px;
  font-weight: 900;
}
.diagram-step-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}
.diagram-step-copy span {
  color: var(--text-1);
  font-size: 14px;
}
.diagram-flow-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 18px;
  color: var(--accent-ai);
  font-size: 26px;
  font-weight: 900;
}
.diagram-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
}
.diagram-node {
  padding: 14px;
  border-radius: var(--radius-1);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(17,33,60,0.08);
  min-height: 94px;
}
.diagram-node strong { display: block; margin-bottom: 6px; font-size: 15px; }
.diagram-node span { color: var(--text-1); font-size: 14px; }
.diagram-arrow { text-align: center; font-size: 26px; color: var(--accent-ai); }
.pillars,
.grid-3,
.grid-2,
.deliverables-grid,
.case-grid,
.insight-grid,
.package-grid,
.steps-grid,
.faq-grid,
.footer-grid,
.stats-grid { display: grid; gap: 22px; }
.pillars,
.grid-2,
.case-grid,
.contact-grid,
.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3,
.deliverables-grid,
.insight-grid,
.package-grid,
.steps-grid,
.faq-grid,
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.section-title { margin: 0 0 10px; font-size: clamp(30px, 3vw, 44px); line-height: 1.08; }
.section-copy { color: var(--text-1); max-width: 720px; }
.pillar-card,
.package-card,
.article-card,
.case-card,
.metric-card,
.step-card,
.detail-card,
.list-card { padding: 26px; }
.pillar-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.pillar-card::before,
.pillar-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}
.pillar-card::before {
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(47,109,244,0.10), transparent 42%);
}
.pillar-card::after {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  border-radius: 0 16px 0 0;
  transform: translate(8px, -8px);
}
.article-card,
.case-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.article-card::before,
.case-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-ai), var(--accent-web));
  opacity: 0.86;
}
.article-card:hover,
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(17, 33, 60, 0.10);
  border-color: rgba(47,109,244,0.14);
}
.article-card h3,
.case-card h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.15;
}
.article-card p,
.case-card p {
  margin-bottom: 0;
}
.article-card .inline-link,
.case-card .inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 800;
}
.article-card .inline-link::after,
.case-card .inline-link::after {
  content: "→";
  font-size: 15px;
}
.tag {
  border: 1px solid rgba(17, 33, 60, 0.06);
}
.pillar-card--ai { border-top: 4px solid var(--accent-ai); }
.pillar-card--web { border-top: 4px solid var(--accent-web); }
.pillar-card--ai::before {
  background: radial-gradient(circle at top right, rgba(47,109,244,0.14), transparent 42%);
}
.pillar-card--web::before {
  background: radial-gradient(circle at top right, rgba(15,157,122,0.14), transparent 42%);
}
.pillar-card--ai::after { border-color: var(--accent-ai); }
.pillar-card--web::after { border-color: var(--accent-web); }
.pillar-card:hover,
.pillar-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(17, 33, 60, 0.12);
}
.pillar-card:hover::before,
.pillar-card:hover::after,
.pillar-card:focus-within::before,
.pillar-card:focus-within::after {
  opacity: 1;
  transform: translate(0, 0);
}
.pillar-card--ai:hover,
.pillar-card--ai:focus-within {
  border-color: rgba(47,109,244,0.24);
  box-shadow: 0 22px 44px rgba(17, 33, 60, 0.12), 0 0 0 1px rgba(47,109,244,0.16);
}
.pillar-card--web:hover,
.pillar-card--web:focus-within {
  border-color: rgba(15,157,122,0.24);
  box-shadow: 0 22px 44px rgba(17, 33, 60, 0.12), 0 0 0 1px rgba(15,157,122,0.18);
}
.pillar-card a:focus-visible {
  outline: none;
}
.pillar-card:focus-within {
  outline: 2px solid rgba(17, 33, 60, 0.14);
  outline-offset: 2px;
}
.kicker { color: var(--text-1); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 800; }
.card-title { margin: 12px 0; font-size: 28px; line-height: 1.1; }
.card-copy,
.article-meta,
.card-list li,
.metric-card p,
.package-card p,
.step-card p,
.detail-card p,
.list-card p { color: var(--text-1); }
.card-list,
.article-body ul,
.article-body ol,
.package-list,
.detail-list,
.tag-list,
.check-list,
.faq-list { margin: 18px 0 0; padding-left: 20px; }
.card-list li,
.package-list li,
.detail-list li,
.check-list li,
.article-body li { margin-bottom: 10px; }
.tags,
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 33, 60, 0.06);
  color: var(--text-1);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(17, 33, 60, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.tag:hover,
.tag:focus-visible {
  transform: translateY(-1px);
  background: rgba(226,235,249,0.92);
  border-color: rgba(47,109,244,0.18);
  color: var(--text-0);
}
.metric-card strong { display: block; font-size: 18px; margin-bottom: 8px; }
.console-wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 26px; align-items: stretch; }
.section-console {
  position: relative;
  overflow: hidden;
}
.section-console::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -120px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47,109,244,0.18) 0%, rgba(47,109,244,0) 70%);
  pointer-events: none;
}
.section-console::after {
  content: "";
  position: absolute;
  inset: auto -140px -140px auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(120,231,190,0.12) 0%, rgba(120,231,190,0) 72%);
  pointer-events: none;
}
.section-console .container { position: relative; z-index: 1; }
.console-panel {
  background: linear-gradient(180deg, rgba(19,31,54,0.96), rgba(10,18,33,0.98));
  color: var(--console-text);
  border: 1px solid var(--console-border);
  padding: 28px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2);
}
.console-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background: linear-gradient(135deg, rgba(47,109,244,0.14), rgba(120,231,190,0.06));
  pointer-events: none;
}
.console-panel h3,
.console-panel h2 { margin-top: 0; }
.console-panel > * { position: relative; z-index: 1; }
.console-panel p,
.console-panel li { color: rgba(232,239,255,0.82); }
.console-grid { display: grid; gap: 14px; margin-top: 20px; }
.console-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}
.console-cell {
  min-height: 82px;
  padding: 14px;
  border-radius: var(--radius-1);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(157,184,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.console-cell strong { display: block; margin-bottom: 5px; color: var(--console-text); }
.console-bullets { margin: 18px 0 0; padding-left: 18px; }
.console-bullets li::marker { color: #78e7be; }
.case-shot {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(17,33,60,0.10);
  background: linear-gradient(180deg, #dde8fb, #f6f8fc);
}
.case-shot img { width: 100%; height: 100%; object-fit: cover; }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.case-link-row,
.article-actions,
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.process-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.step-index {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47,109,244,0.10);
  color: var(--accent-ai);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 18px;
}
.insight-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(17,33,60,0.06);
  color: var(--text-1);
  font-size: 13px;
  font-weight: 700;
}
.article-card h3 { margin: 14px 0 10px; font-size: 24px; line-height: 1.15; }
.article-card p { color: var(--text-1); }
.article-shell {
  position: relative;
  padding: 34px 0 72px;
}
.article-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 360px;
  background:
    radial-gradient(circle at top left, rgba(47, 109, 244, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(232, 239, 255, 0.9), rgba(243, 246, 251, 0));
  pointer-events: none;
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--text-1); font-size: 14px; margin-bottom: 24px; }
.breadcrumbs a { color: var(--accent-ai); }
.article-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.article-content,
.article-side {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(17,33,60,0.08);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
}
.article-content {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,255,0.95));
  box-shadow: var(--shadow-2);
}
.article-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background: linear-gradient(135deg, rgba(47,109,244,0.12), rgba(15,157,122,0.06));
  pointer-events: none;
}
.article-content::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(120,231,190,0.14) 0%, rgba(120,231,190,0) 72%);
  pointer-events: none;
}
.article-content > * { position: relative; z-index: 1; }
.article-content > .eyebrow {
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(17, 33, 60, 0.08), rgba(47,109,244,0.08));
}
.article-title {
  max-width: 14ch;
  margin-bottom: 18px;
  text-wrap: balance;
}
.article-meta {
  margin-bottom: 24px;
  padding: 14px 18px;
  border-radius: var(--radius-1);
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(236,242,252,0.94));
  border: 1px solid rgba(17, 33, 60, 0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}
.article-side {
  padding: 24px;
  position: sticky;
  top: 110px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(236,242,252,0.94));
  box-shadow: var(--shadow-2);
}
.article-side h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 18px;
}
.article-body > p:first-child {
  font-size: 20px;
  line-height: 1.75;
  color: var(--text-0);
}
.article-body h2 {
  font-size: 30px;
  line-height: 1.15;
  margin-top: 38px;
  margin-bottom: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 33, 60, 0.08);
  position: relative;
}
.article-body h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 68px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-ai), var(--accent-web));
}
.article-body h3 { font-size: 22px; margin-top: 24px; margin-bottom: 10px; }
.article-body p { color: var(--text-1); }
.article-body p + p { margin-top: 14px; }
.article-toc a,
.related-links a,
.inline-link,
.case-card a,
.article-card a,
.contact-note a { color: #3f78f0; }
.article-toc {
  display: grid;
  gap: 10px;
}
.article-toc a {
  padding: 10px 12px;
  border-radius: var(--radius-1);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(17, 33, 60, 0.08);
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.article-toc a:hover {
  background: rgba(232,240,255,0.94);
  border-color: rgba(47,109,244,0.18);
  transform: translateX(2px);
}
.inline-link {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.related-links {
  display: grid;
  gap: 10px;
}
.related-links a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-1);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(17, 33, 60, 0.08);
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.related-links a:hover {
  background: rgba(232,240,255,0.94);
  border-color: rgba(47,109,244,0.18);
  transform: translateY(-1px);
}
a.button,
a.button:hover,
a.button:visited,
a.button-secondary,
a.button-secondary:hover,
a.button-secondary:visited { color: #fff; }
a.button-ghost,
a.button-ghost:hover,
a.button-ghost:visited { color: var(--text-0); }
.related-block,
.service-block,
.faq-block,
.cta-band,
.contact-panel,
.quote-box,
.notice-box {
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--radius-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(238,243,251,0.94));
  border: 1px solid rgba(17,33,60,0.08);
  box-shadow: var(--shadow-1);
}
.related-block h2,
.service-block h2,
.faq-block h2,
.notice-box strong { color: var(--text-0); }
.quote-box { border-left: 5px solid var(--accent-web); }
.service-block {
  position: relative;
  overflow: hidden;
}
.service-block::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-ai), var(--accent-web));
  opacity: 0.8;
}
.notice-box a,
.service-block a,
.faq-block a { color: #315fcb; }
.notice-box a:hover,
.service-block a:hover,
.faq-block a:hover { color: #244dab; }
.section-console .quote-box {
  margin-top: 26px;
  padding: 24px 26px;
  border-radius: var(--radius-2);
  border: 1px solid rgba(120, 231, 190, 0.24);
  border-left: 5px solid #78e7be;
  background:
    linear-gradient(180deg, rgba(18, 31, 53, 0.94), rgba(10, 18, 33, 0.98));
  color: var(--console-text);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 18px 42px rgba(2, 8, 20, 0.34);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.contact-section .contact-panel { padding: 30px; }
.contact-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 22px; }
.form-grid { display: grid; gap: 16px; }
.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-1);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: var(--radius-1);
  border: 1px solid rgba(17,33,60,0.12);
  background: rgba(255,255,255,0.96);
  padding: 15px 16px;
  font: inherit;
  color: var(--text-0);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(47,109,244,0.28);
  box-shadow: 0 0 0 3px rgba(47,109,244,0.10);
  outline: none;
}
.field textarea { min-height: 170px; resize: vertical; }
.field small,
.form-note,
.contact-copy,
.success-copy { color: var(--text-1); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-1);
  font-size: 14px;
}
.form-success {
  display: none;
  padding: 20px;
  border-radius: var(--radius-1);
  background: rgba(31,143,95,0.10);
  border: 1px solid rgba(31,143,95,0.18);
}
body.form-submitted .form-success { display: block; }
body.form-submitted .form-shell { display: none; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.footer {
  margin-top: 48px;
  padding: 28px 0;
  background: #0f1626;
  color: rgba(232,239,255,0.86);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid { align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand strong { display: none; }
.footer-copy,
.footer-note {
  color: rgba(232,239,255,0.88);
  font-size: 14px;
  line-height: 1.35;
  max-width: 290px;
}
.footer-copy { color: rgba(232,239,255,0.66); font-size: 14px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-legal a {
  color: rgba(232,239,255,0.82);
}
.footer-legal a:hover {
  color: #fff;
}
.empty-state {
  padding: 34px;
  border-radius: 24px;
  background: rgba(255,255,255,0.88);
  border: 1px dashed rgba(17,33,60,0.12);
  text-align: center;
  color: var(--text-1);
}
.web-world-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 28px;
}
.web-stack-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,246,243,0.96));
  border-color: rgba(15,157,122,0.16);
  box-shadow: 0 24px 48px rgba(17, 33, 60, 0.08);
}
.web-stack-card img {
  width: 100%;
  margin-top: 8px;
  border-radius: 22px;
  border: 1px solid rgba(17,33,60,0.08);
  background: rgba(255,255,255,0.88);
}
.work-mode-card,
.outsource-card {
  position: relative;
  overflow: hidden;
}
.work-mode-card::before,
.outsource-card::before,
.proof-shot::before,
.care-card::before,
.package-card--featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-web), var(--accent-ai));
  opacity: 0.86;
}
.package-card--starter {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,249,255,0.95));
}
.package-card--featured {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(237,248,243,0.96));
  border-color: rgba(15,157,122,0.18);
  box-shadow: 0 22px 46px rgba(17,33,60,0.10);
}
.package-card--premium {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,246,255,0.96));
}
.care-grid .package-card { min-height: 100%; }
.care-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,255,0.96));
}
.care-card--plus {
  border-color: rgba(15,157,122,0.18);
  box-shadow: 0 22px 46px rgba(17,33,60,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(237,248,243,0.96));
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.proof-shot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,249,255,0.96));
  border: 1px solid rgba(17,33,60,0.08);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
}
.proof-placeholder {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(47,109,244,0.07), rgba(15,157,122,0.07)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.46) 0 18px, rgba(232,239,255,0.62) 18px 36px);
  color: var(--text-1);
  text-align: center;
  font-weight: 800;
  font-size: 15px;
}
.proof-copy {
  display: grid;
  gap: 8px;
  padding: 18px 20px 22px;
}
.diagram-card img,
.web-stack-card img,
.proof-shot,
.hero-diagram {
  animation: diagram-reveal 460ms ease both;
}
@keyframes diagram-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.proof-copy strong {
  font-size: 18px;
  color: var(--text-0);
}
.proof-copy span {
  color: var(--text-1);
  font-size: 15px;
}
.worlds-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.world-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2);
  border: 1px solid rgba(17,33,60,0.08);
  box-shadow: var(--shadow-1);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,247,253,0.95));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.world-panel::before,
.world-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.world-panel::before {
  inset: 0;
  opacity: 0.7;
}
.world-panel::after {
  top: 18px;
  right: 18px;
  width: 54px;
  height: 54px;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  border-radius: 0 18px 0 0;
  opacity: 0;
  transform: translate(10px, -10px);
}
.world-panel--ai::before {
  background: linear-gradient(160deg, rgba(47,109,244,0.08), transparent 52%), url('/assets/diagrams/ai-motif.svg') right 18px top 18px / 240px auto no-repeat;
}
.world-panel--web::before {
  background: linear-gradient(160deg, rgba(15,157,122,0.08), transparent 52%), url('/assets/diagrams/web-motif.svg') right 18px top 18px / 220px auto no-repeat;
}
.world-panel--ai::after { border-color: var(--accent-ai); }
.world-panel--web::after { border-color: var(--accent-web); }
.world-panel:hover,
.world-panel:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.world-panel--ai:hover,
.world-panel--ai:focus-within {
  border-color: rgba(47,109,244,0.20);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(47,109,244,0.16);
}
.world-panel--web:hover,
.world-panel--web:focus-within {
  border-color: rgba(15,157,122,0.22);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(15,157,122,0.16);
}
.world-panel:hover::after,
.world-panel:focus-within::after {
  opacity: 1;
  transform: translate(0, 0);
}
.world-panel__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
}
.world-panel__copy,
.world-panel__visual {
  display: grid;
  align-content: start;
  gap: 14px;
}
.world-panel__title {
  margin: 0;
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1.06;
}
.world-panel__text {
  margin: 0;
  color: var(--text-1);
  font-size: 17px;
}
.world-panel__bullets {
  margin: 8px 0 0;
  padding-left: 18px;
}
.world-panel__bullets li { margin-bottom: 10px; }
.world-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.world-panel__visual .browser-frame,
.world-panel__visual .phone-frame,
.world-panel__visual .diagram-card { min-height: 100%; }
.motif-ai {
  background-image: url('/assets/diagrams/ai-motif.svg');
  background-repeat: no-repeat;
  background-position: right 18px top 18px;
  background-size: 220px auto;
}
.motif-web {
  background-image: url('/assets/diagrams/web-motif.svg');
  background-repeat: no-repeat;
  background-position: right 18px top 18px;
  background-size: 220px auto;
}
.visual-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  gap: 14px;
  align-items: end;
}
.browser-frame,
.phone-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17,33,60,0.10);
  background: #f9fbff;
  box-shadow: var(--shadow-1);
}
.browser-frame {
  border-radius: 20px;
}
.browser-frame__top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(17,33,60,0.08);
  background: rgba(255,255,255,0.88);
}
.browser-frame__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(17,33,60,0.18);
}
.browser-frame__address {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(17,33,60,0.08);
}
.browser-frame__body {
  aspect-ratio: 16 / 10;
  display: grid;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(236,243,252,0.96), rgba(248,250,255,0.98));
}
.browser-frame__hero {
  min-height: 90px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15,157,122,0.12), rgba(47,109,244,0.10));
}
.browser-frame__rows {
  display: grid;
  gap: 10px;
}
.browser-frame__row {
  height: 16px;
  border-radius: 999px;
  background: rgba(17,33,60,0.08);
}
.browser-frame__row.is-short { width: 72%; }
.browser-frame__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.browser-frame__tile {
  min-height: 70px;
  border-radius: 14px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(17,33,60,0.06);
}
.phone-frame {
  width: 100%;
  max-width: 122px;
  padding: 10px 9px 12px;
  border-radius: 28px;
  background: #11213c;
}
.phone-frame::before {
  content: "";
  display: block;
  width: 44px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.30);
  margin: 0 auto 10px;
}
.phone-frame__body {
  aspect-ratio: 9 / 17;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(236,243,252,0.98), rgba(248,250,255,0.98));
  padding: 14px 10px;
  display: grid;
  gap: 10px;
}
.phone-frame__hero {
  min-height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15,157,122,0.14), rgba(47,109,244,0.10));
}
.phone-frame__line {
  height: 12px;
  border-radius: 999px;
  background: rgba(17,33,60,0.09);
}
.phone-frame__line.is-short { width: 70%; }
.case-card--portfolio {
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 16px;
}
.case-card__thumb {
  display: grid;
  gap: 12px;
}
.case-card__summary {
  color: var(--text-1);
  line-height: 1.55;
  min-height: 3.2em;
}
.case-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.case-card__meta {
  display: grid;
  gap: 12px;
}
.case-card__result {
  padding: 14px 16px;
  border-radius: var(--radius-1);
  background: rgba(17,33,60,0.04);
  border: 1px solid rgba(17,33,60,0.06);
  color: var(--text-1);
  font-size: 14px;
}
.process-page {
  display: grid;
  gap: 28px;
}
.process-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}
.process-hero .page-title { margin-bottom: 12px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.process-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,255,0.95));
  border: 1px solid rgba(17,33,60,0.08);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.process-card:hover,
.process-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.process-card__index {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(47,109,244,0.10);
  color: var(--accent-ai);
  font-size: 15px;
  font-weight: 900;
}
.process-card h2,
.process-card h3 {
  margin: 54px 0 0;
  font-size: 24px;
  line-height: 1.12;
}
.process-card p { margin: 0; color: var(--text-1); }
.process-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.systems-grid,
.controls-grid,
.showcase-grid {
  display: grid;
  gap: 18px;
}
.systems-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.controls-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.system-card,
.control-card,
.showcase-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-2);
  border: 1px solid rgba(17,33,60,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,255,0.95));
  box-shadow: var(--shadow-1);
}
.system-card::before,
.control-card::before,
.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  opacity: 0.88;
}
.system-card::before,
.control-card::before { background: linear-gradient(90deg, var(--accent-ai), rgba(47,109,244,0.35)); }
.showcase-card::before { background: linear-gradient(90deg, var(--accent-web), rgba(15,157,122,0.35)); }
.showcase-card__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  gap: 12px;
  margin-bottom: 16px;
  align-items: end;
}
.showcase-card h3,
.system-card h3,
.control-card h3 { margin: 0 0 10px; font-size: 24px; }
.showcase-card p,
.system-card p,
.control-card p { margin: 0; color: var(--text-1); }
.case-card .button-ghost,
.case-card .button,
.case-card .button-secondary { min-height: 42px; }
@media (max-width: 1080px) {
  .hero-grid,
  .pillars,
  .grid-2,
  .case-grid,
  .contact-grid,
  .console-wrap,
  .article-layout,
  .footer-grid,
  .process-line,
  .web-world-hero,
  .worlds-grid,
  .process-grid,
  .process-note-grid,
  .systems-grid,
  .controls-grid,
  .showcase-grid,
  .process-hero,
  .world-panel__body { grid-template-columns: 1fr; }
  .grid-3,
  .deliverables-grid,
  .insight-grid,
  .package-grid,
  .steps-grid,
  .faq-grid,
  .stats-grid,
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-side { position: static; }
  .footer-grid { gap: 18px; }
  .footer-right { align-items: flex-start; }
}
@media (max-width: 920px) {
  .site-header {
    position: static;
    backdrop-filter: none;
    background: rgba(249, 251, 255, 0.98);
  }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px 10px;
    min-height: 0;
    padding: 8px 0 10px;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
  }
  .brand-logo { height: 30px; }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    justify-self: end;
  }
  .lang-switch {
    padding: 2px;
    gap: 1px;
  }
  .lang-pill {
    min-width: 26px;
    padding: 4px 5px;
    font-size: 10px;
  }
  .header-actions .button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
    white-space: nowrap;
  }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 4px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav-link {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  .footer {
    margin-top: 36px;
    padding: 24px 0 28px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 14px 20px;
  }
  .footer-brand {
    align-items: flex-start;
    gap: 12px;
  }
  .footer-brand img { height: 38px; }
  .footer-note {
    font-size: 14px;
    line-height: 1.35;
    max-width: 220px;
  }
  .footer-right {
    justify-self: end;
    align-items: flex-end;
    text-align: right;
    gap: 10px;
  }
  .footer-legal {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  .footer-copy { font-size: 13px; }
}
@media (max-width: 760px) {
  .brand-logo { height: 26px; }
  .lang-pill {
    min-width: 24px;
    padding: 3px 4px;
    font-size: 9px;
  }
  .header-actions .button {
    min-height: 28px;
    padding: 0 8px;
    font-size: 10px;
  }
  .hero { padding-top: 42px; }
  .hero h1,
  .page-title,
  .article-title { font-size: clamp(34px, 9vw, 52px); }
  .section,
  .section-tight { padding: 48px 0; }
  .grid-3,
  .deliverables-grid,
  .insight-grid,
  .package-grid,
  .steps-grid,
  .faq-grid,
  .stats-grid,
  .form-row,
  .diagram-row,
  .console-row,
  .proof-grid,
  .visual-stack,
  .showcase-card__media { grid-template-columns: 1fr; }
  .diagram-step { grid-template-columns: 48px minmax(0, 1fr); }
  .diagram-step-number {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }
  .section-head { align-items: flex-start; flex-direction: column; }
  .article-content,
  .article-side,
  .contact-panel,
  .hero-panel,
  .pillar-card,
  .package-card,
  .article-card,
  .case-card,
  .metric-card,
  .step-card,
  .detail-card,
  .list-card,
  .console-panel { padding: 22px; }
  .footer {
    margin-top: 36px;
    padding: 24px 0 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-brand img { height: 36px; }
  .footer-note {
    font-size: 14px;
    max-width: 250px;
  }
  .footer-right {
    justify-self: auto;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .footer-copy,
  .footer-note { font-size: 13px; }
  .phone-frame { max-width: 144px; }
  .process-card { min-height: 0; }
}

/* Corrective premium pass */
.hero {
  padding: 40px 0 30px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: start;
  gap: 38px;
}

.hero-grid--premium {
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(219, 229, 248, 0.78);
  color: #566683;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid--premium .page-intro {
  max-width: 720px;
}

.hero-showcase {
  position: relative;
  min-height: 540px;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(17, 33, 60, 0.08);
  background:
    radial-gradient(circle at top right, rgba(15, 157, 122, 0.12), transparent 28%),
    radial-gradient(circle at left center, rgba(47, 109, 244, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(232,240,255,0.9));
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(47,109,244,0.12), transparent 18%),
    radial-gradient(circle at 78% 70%, rgba(15,157,122,0.12), transparent 22%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-showcase__board {
  position: relative;
  display: grid;
  gap: 14px;
  z-index: 1;
}

.hero-showcase__card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 33, 60, 0.08);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-1);
}

.hero-showcase__card--primary {
  min-height: 356px;
}

.hero-showcase__card--secondary {
  width: 64%;
  margin-left: auto;
  min-height: 206px;
}

.hero-showcase__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-showcase__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.20));
}

.hero-showcase__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(249, 251, 255, 0.92);
  border: 1px solid rgba(17, 33, 60, 0.08);
  backdrop-filter: blur(10px);
}

.hero-showcase__caption strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.hero-showcase__caption span {
  color: var(--text-1);
  font-size: 14px;
}

.hero-showcase__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 33, 60, 0.76);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-showcase__badge--web {
  background: rgba(15, 157, 122, 0.84);
}

.hero-showcase__symbol {
  position: absolute;
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(17, 33, 60, 0.12));
}

.hero-showcase__symbol--dashboard {
  right: 14px;
  top: 20px;
}

.hero-showcase__symbol--traffic {
  left: 14px;
  bottom: 92px;
}

.hero-showcase__symbol--website {
  right: 14px;
  bottom: 96px;
}

.system-flow-section {
  padding-top: 8px;
}

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

.flow-chip {
  padding: 20px;
  border-radius: var(--radius-2);
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(17, 33, 60, 0.08);
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 10px;
}

.flow-chip__index {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(47, 109, 244, 0.10);
  color: var(--accent-ai);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.flow-chip strong {
  font-size: 20px;
}

.flow-chip p {
  margin: 0;
  color: var(--text-1);
}

.worlds-grid,
.world-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.world-panel {
  min-height: 100%;
}

.world-panel__body {
  grid-template-columns: 1fr;
  gap: 18px;
}

.world-panel__copy {
  gap: 12px;
}

.world-panel__visual {
  gap: 14px;
}

.world-panel__visual .diagram-card,
.world-panel__visual .browser-frame {
  min-height: 0;
}

.world-panel__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 33, 60, 0.08);
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-1);
  min-height: 260px;
}

.world-panel__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.world-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.22));
  pointer-events: none;
}

.world-panel__media-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(17, 33, 60, 0.08);
  background: rgba(249,251,255,0.92);
  backdrop-filter: blur(10px);
}

.world-panel__media-card strong {
  font-size: 18px;
}

.world-panel__media-card span {
  color: var(--text-1);
  font-size: 14px;
}

.world-panel__support {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(17, 33, 60, 0.04);
  border: 1px solid rgba(17, 33, 60, 0.06);
}

.world-panel__support img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.world-panel__support p {
  margin: 0;
  color: var(--text-1);
  font-size: 14px;
}

.solution-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.95fr);
  gap: 26px;
  align-items: stretch;
}

.solution-hero__content,
.solution-hero__visual {
  display: grid;
  gap: 16px;
}

.solution-hero__visual {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,246,255,0.95));
  border: 1px solid rgba(17, 33, 60, 0.08);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.solution-hero__visual--ai {
  background:
    radial-gradient(circle at top right, rgba(47,109,244,0.14), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(234,241,252,0.95));
}

.solution-hero__visual--web {
  background:
    radial-gradient(circle at top right, rgba(15,157,122,0.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(236,247,243,0.95));
}

.solution-hero__image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
}

.solution-hero__image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.solution-hero__overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(17, 33, 60, 0.08);
  background: rgba(249, 251, 255, 0.92);
}

.solution-hero__overlay strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.solution-hero__overlay span {
  color: var(--text-1);
  font-size: 14px;
}

.solution-symbol-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.solution-symbol {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(17, 33, 60, 0.08);
}

.solution-symbol img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.solution-symbol strong {
  font-size: 16px;
}

.shot-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(17, 33, 60, 0.08);
  background: linear-gradient(180deg, rgba(247,250,255,0.98), rgba(239,244,252,0.96));
  min-height: 220px;
}

.shot-frame--tall {
  min-height: 280px;
}

.shot-frame__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
  color: #667894;
  font-size: 14px;
  background:
    linear-gradient(135deg, rgba(15,157,122,0.08), rgba(47,109,244,0.08)),
    repeating-linear-gradient(135deg, rgba(17,33,60,0.03) 0 10px, rgba(255,255,255,0.0) 10px 20px);
}

.proof-shot .shot-frame {
  min-height: 200px;
}

.case-card__thumb .shot-frame {
  min-height: 230px;
}

.process-card h2,
.process-card h3 {
  min-height: 2.3em;
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase,
  .hero-showcase__card,
  .world-panel,
  .process-card,
  .package-card,
  .detail-card,
  .showcase-card,
  .case-card {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid--premium,
  .solution-hero,
  .system-flow-grid,
  .worlds-grid,
  .world-panels {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 0;
  }

  .hero-showcase__card--secondary {
    width: 72%;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 28px 0 22px;
  }

  .hero-showcase {
    padding: 14px;
  }

  .hero-showcase__card--primary {
    min-height: 280px;
  }

  .hero-showcase__card--secondary {
    width: 86%;
    min-height: 180px;
  }

  .hero-showcase__symbol {
    width: 64px;
    height: 64px;
  }

  .world-panel__media img,
  .solution-hero__image img {
    min-height: 220px;
  }

  .solution-symbol-row,
  .system-flow-grid {
    grid-template-columns: 1fr;
  }

  .world-panel__support {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
