:root {
  --ink: #0d1117;
  --ink-2: #151b24;
  --carbon: #202833;
  --paper: #f6f1e8;
  --paper-2: #fffaf1;
  --line: rgba(13, 17, 23, 0.14);
  --muted: #6c736f;
  --gold: #b99458;
  --gold-2: #e8cf93;
  --signal: #54d7c0;
  --red: #a64136;
  --white: #ffffff;
  --shadow: 0 26px 90px rgba(13, 17, 23, 0.18);
  --soft-shadow: 0 18px 50px rgba(13, 17, 23, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #e6e1d8 0%, #f2eee6 34%, #e9e2d6 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-aura {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(13, 17, 23, 0.06), transparent 34%),
    linear-gradient(245deg, rgba(185, 148, 88, 0.18), transparent 40%),
    linear-gradient(0deg, rgba(84, 215, 192, 0.08), transparent 42%);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(13, 17, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 17, 23, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(13, 17, 23, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  color: #151008;
  background:
    linear-gradient(135deg, var(--gold-2), var(--gold) 52%, #8f6935);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 34px rgba(185, 148, 88, 0.28);
  font-weight: 900;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-80%) rotate(20deg);
  animation: brandShine 5.8s ease-in-out infinite;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-size: 14px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover {
  color: var(--white);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  min-height: min(820px, calc(100vh - 32px));
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  padding: 0 clamp(18px, 4vw, 56px);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 17, 23, 0.94) 0%, rgba(13, 17, 23, 0.74) 44%, rgba(13, 17, 23, 0.24) 100%),
    linear-gradient(0deg, rgba(13, 17, 23, 0.98) 0%, rgba(13, 17, 23, 0.08) 42%),
    url("assets/hero-datacenter.png") center / cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.33;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 76%);
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(84, 215, 192, 0.12), transparent);
  transform: translateX(-100%);
  animation: scan 8s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  padding: clamp(92px, 13vw, 168px) 0 96px;
}

.brand-kicker,
.eyebrow,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(84, 215, 192, 0.5);
  animation: pulse 2.8s ease-out infinite;
}

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

h1 {
  width: min(880px, 100%);
  margin: 18px 0 22px;
  font-size: clamp(44px, 7.8vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-lede {
  width: min(690px, 100%);
  color: rgba(255, 255, 255, 0.74);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.section-head,
.catalog-toolbar,
.footer,
.trust-row,
.tender-points {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin: 34px 0 42px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.show-more {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  padding: 0 20px;
  text-decoration: none;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
  color: #161008;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 14px 38px rgba(185, 148, 88, 0.28);
  font-weight: 900;
}

.primary-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: translateX(-110%);
  transition: transform 0.55s ease;
}

.primary-btn:hover::after {
  transform: translateX(110%);
}

.secondary-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.ghost-btn.dark {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(13, 17, 23, 0.22);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.show-more:hover {
  transform: translateY(-2px);
}

.trust-row {
  flex-wrap: wrap;
  max-width: 760px;
}

.trust-row span,
.tender-points span {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

.hero-console {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  margin: 0 0 96px auto;
  padding: 18px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(12, 17, 23, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.console-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.console-head span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.console-head span:nth-child(2) {
  background: var(--signal);
}

.console-head span:nth-child(3) {
  background: var(--red);
}

.console-head b {
  margin-left: auto;
}

.console-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.console-line span {
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
  font-size: 11px;
}

.console-line strong {
  color: var(--white);
}

.console-meter {
  height: 6px;
  margin-top: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.console-meter i {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--signal));
  animation: meter 3.2s ease-in-out infinite alternate;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: 28px clamp(18px, 4vw, 46px);
  border-right: 1px solid var(--line);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: clamp(28px, 4vw, 48px);
}

.metrics span {
  color: var(--muted);
}

.identity-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  padding: clamp(42px, 6vw, 68px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 17, 23, 0.96), rgba(32, 40, 51, 0.94)),
    linear-gradient(90deg, rgba(185, 148, 88, 0.24), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.identity-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.configurator-section {
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.96), rgba(232, 225, 214, 0.96));
}

.configurator-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.configurator-panel,
.assistant-panel {
  background: rgba(255, 250, 241, 0.94);
  border: 1px solid rgba(13, 17, 23, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.configurator-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.configurator-panel label {
  color: #4f554f;
  font-size: 13px;
  font-weight: 800;
}

.assistant-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.assistant-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--signal), transparent);
}

.assistant-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.assistant-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #151008;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border: 1px solid rgba(13, 17, 23, 0.14);
  border-radius: 50%;
  font-weight: 900;
}

.assistant-head h3 {
  margin: 4px 0 0;
}

.assistant-advice {
  display: grid;
  gap: 12px;
}

.advice-bubble {
  position: relative;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.96), rgba(32, 40, 51, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.advice-bubble::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -7px;
  width: 14px;
  height: 14px;
  background: rgba(13, 17, 23, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

.advice-bubble span {
  display: block;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advice-bubble strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
}

.advice-bubble p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.config-summary {
  margin-top: 18px;
  padding: 16px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.config-summary ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.config-summary li {
  color: #3e433f;
  line-height: 1.45;
}

.knowledge-section {
  background: rgba(246, 241, 232, 0.86);
}

.knowledge-grid,
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.knowledge-card,
.seo-grid article {
  min-height: 210px;
  padding: 20px;
  background: rgba(255, 250, 241, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.knowledge-card p,
.seo-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.knowledge-card span {
  display: block;
  margin-top: 14px;
  color: #7b5d32;
  font-size: 12px;
  line-height: 1.45;
}

.text-link {
  color: inherit;
  text-decoration: none;
}

.text-link:hover {
  color: #7b5d32;
}

.seo-page {
  background:
    linear-gradient(180deg, #111821 0%, #e8e1d6 36%, #f2eee6 100%);
}

.seo-page-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
}

.seo-page-hero {
  color: var(--white);
  margin-bottom: 34px;
}

.seo-page-hero h1 {
  max-width: 940px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 76px);
}

.seo-page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
  line-height: 1.6;
}

.seo-content {
  display: grid;
  gap: 18px;
}

.seo-content article {
  padding: 24px;
  background: rgba(255, 250, 241, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.seo-content p,
.seo-content li {
  color: var(--muted);
  line-height: 1.65;
}

.seo-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.seo-band {
  background:
    linear-gradient(180deg, rgba(217, 211, 198, 0.97), rgba(239, 234, 224, 0.97));
}

.section,
.band {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.section-head {
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1240px;
  margin: 0 auto 30px;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.55;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.filters,
.lead-form {
  background: rgba(255, 250, 241, 0.94);
  border: 1px solid rgba(13, 17, 23, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.filters {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 20px;
}

.panel-label {
  color: #8b6734;
  margin-bottom: 16px;
}

.search-label,
.filter-block span,
.lead-form label {
  color: #4f554f;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid rgba(13, 17, 23, 0.18);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf8;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 148, 88, 0.16);
}

.filter-block {
  margin-top: 22px;
}

.filter-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.filter-chip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 11px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.filter-chip:hover {
  transform: translateX(2px);
}

.filter-chip.active {
  border-color: var(--gold);
  background: #f4ead7;
}

.full {
  width: 100%;
}

.filters .full {
  margin-top: 22px;
  color: var(--white);
  background: var(--ink);
}

.catalog-content {
  min-width: 0;
}

.catalog-toolbar {
  justify-content: space-between;
  margin-bottom: 16px;
}

.catalog-toolbar span {
  color: var(--muted);
}

.catalog-toolbar select {
  width: 250px;
  margin-top: 0;
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 318px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(246, 241, 232, 0.98));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--signal), transparent);
  opacity: 0.72;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 148, 88, 0.42);
  box-shadow: 0 24px 70px rgba(13, 17, 23, 0.16);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.category-pill {
  padding: 5px 8px;
  color: #5a431d;
  background: #eadcbf;
  border: 1px solid rgba(185, 148, 88, 0.38);
  font-size: 12px;
}

.registry-badge {
  margin: 0 0 12px;
  padding: 9px 10px;
  color: #56421f;
  background: #f2e7cf;
  border: 1px solid rgba(185, 148, 88, 0.34);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
}

.vendor {
  color: #77838f;
  font-size: 12px;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 52px;
  line-height: 1.16;
}

.product-card p {
  color: var(--muted);
  line-height: 1.45;
}

.spec-list {
  display: grid;
  gap: 7px;
  margin: auto 0 18px;
  padding: 0;
  list-style: none;
}

.spec-list li {
  padding-top: 7px;
  color: #3e433f;
  border-top: 1px solid rgba(13, 17, 23, 0.08);
  font-size: 13px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
}

.icon-btn {
  min-height: 46px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 20px;
}

.show-more {
  width: 100%;
  margin-top: 18px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.band {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(217, 211, 198, 0.96), rgba(235, 230, 220, 0.96));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(13, 17, 23, 0.14);
}

.process-grid article {
  min-height: 220px;
  padding: 24px;
  background: #eee9df;
}

.process-grid span {
  color: var(--gold);
  font-weight: 900;
}

.process-grid p,
.split p {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.split .tender-points {
  flex-wrap: wrap;
  margin-top: 24px;
}

.split .tender-points span {
  color: #4d4028;
  background: #efe2c9;
  border-color: rgba(185, 148, 88, 0.35);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.lead-form .primary-btn {
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.footer {
  justify-content: space-between;
  padding: 34px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.crm-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.footer strong {
  color: var(--white);
}

.footer p {
  max-width: 640px;
  margin: 6px 0 0;
}

.modal {
  width: min(760px, calc(100vw - 28px));
  padding: 0;
  color: var(--ink);
  background: var(--paper-2);
  border: 0;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(13, 17, 23, 0.72);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 24px;
}

.details {
  padding: 30px;
}

.details h2 {
  max-width: 680px;
  font-size: clamp(28px, 4vw, 42px);
}

.details-table {
  display: grid;
  grid-template-columns: 220px 1fr;
  margin: 22px 0;
  border-top: 1px solid var(--line);
}

.details-table div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.details-table div:nth-child(odd) {
  color: var(--muted);
}

.lead-modal {
  width: min(480px, calc(100vw - 28px));
}

.compat-modal {
  width: min(620px, calc(100vw - 28px));
  color: var(--white);
  background: linear-gradient(135deg, #111821, #251616 62%, #3a1b13);
}

.compat-content {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 34px;
  text-align: center;
}

.compat-content h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.compat-content p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.compat-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.burning-server {
  position: relative;
  width: 210px;
  height: 150px;
  margin-bottom: 8px;
}

.server-box {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 16px;
  height: 78px;
  background:
    linear-gradient(180deg, #303a46, #121821),
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(255, 255, 255, 0.08) 15px 16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
  transform: rotate(-1deg);
  animation: serverShake 0.42s ease-in-out infinite alternate;
}

.server-box span {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.server-box span:nth-child(1) { top: 16px; }
.server-box span:nth-child(2) { top: 35px; }
.server-box span:nth-child(3) { top: 54px; }

.flame {
  position: absolute;
  bottom: 74px;
  left: 50%;
  width: 46px;
  height: 64px;
  background: radial-gradient(circle at 50% 72%, #ffe184 0 20%, #ff7a24 42%, #bf2f1d 70%, transparent 72%);
  border-radius: 52% 48% 52% 48%;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 0 18px rgba(255, 106, 34, 0.65));
  animation: flameFlicker 0.55s ease-in-out infinite alternate;
}

.flame-one {
  margin-left: -54px;
  transform: scale(0.82) rotate(-12deg);
}

.flame-two {
  margin-left: -18px;
  bottom: 82px;
  animation-delay: 0.12s;
}

.flame-three {
  margin-left: 24px;
  transform: scale(0.72) rotate(12deg);
  animation-delay: 0.24s;
}

.smoke {
  position: absolute;
  left: 50%;
  bottom: 126px;
  width: 34px;
  height: 34px;
  background: rgba(210, 213, 214, 0.35);
  border-radius: 50%;
  filter: blur(1px);
  animation: smokeRise 2.4s ease-in-out infinite;
}

.smoke-one {
  margin-left: -42px;
}

.smoke-two {
  margin-left: 18px;
  animation-delay: 0.7s;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: 360px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(13, 17, 23, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.crm-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #111821 0%, #e8e1d6 42%, #f2eee6 100%);
}

.crm-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 86px) 0;
}

.crm-hero {
  color: var(--white);
  margin-bottom: 28px;
}

.crm-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 7vw, 78px);
}

.crm-hero p {
  width: min(680px, 100%);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.crm-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 22px;
  background: rgba(255, 250, 241, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.crm-metrics div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.crm-metrics strong,
.crm-metrics span {
  display: block;
}

.crm-metrics strong {
  font-size: clamp(28px, 4vw, 46px);
}

.crm-metrics span {
  color: var(--muted);
}

.crm-board {
  padding: 20px;
  background: rgba(255, 250, 241, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.lead-card {
  padding: 18px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.lead-head,
.lead-actions,
.lead-grid {
  display: grid;
  gap: 12px;
}

.lead-head {
  grid-template-columns: 1fr auto;
  align-items: start;
  margin-bottom: 16px;
}

.lead-head h3 {
  margin: 8px 0 0;
}

.lead-head time {
  color: var(--muted);
  font-size: 13px;
}

.lead-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 14px;
}

.lead-grid div {
  padding-top: 10px;
  border-top: 1px solid rgba(13, 17, 23, 0.08);
}

.lead-grid span,
.lead-grid strong {
  display: block;
}

.lead-grid span {
  color: var(--muted);
  font-size: 12px;
}

.lead-grid strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.lead-card p {
  color: #3e433f;
  line-height: 1.55;
}

.lead-actions {
  grid-template-columns: 170px 1fr 150px;
  align-items: end;
}

.lead-actions input,
.lead-actions select {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateX(0);
  }

  to {
    transform: scale(1.08) translateX(1.4%);
  }
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }

  42%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(84, 215, 192, 0.5);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(84, 215, 192, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(84, 215, 192, 0);
  }
}

@keyframes meter {
  from {
    width: 58%;
  }

  to {
    width: 94%;
  }
}

@keyframes brandShine {
  0%,
  72% {
    transform: translateX(-80%) rotate(20deg);
  }

  100% {
    transform: translateX(80%) rotate(20deg);
  }
}

@keyframes serverShake {
  from {
    transform: translateX(-1px) rotate(-1deg);
  }

  to {
    transform: translateX(2px) rotate(1deg);
  }
}

@keyframes flameFlicker {
  from {
    transform: translateY(3px) scale(0.86) rotate(-7deg);
    opacity: 0.84;
  }

  to {
    transform: translateY(-4px) scale(1.05) rotate(7deg);
    opacity: 1;
  }
}

@keyframes smokeRise {
  from {
    transform: translateY(0) scale(0.7);
    opacity: 0.2;
  }

  45% {
    opacity: 0.48;
  }

  to {
    transform: translateY(-54px) scale(1.55);
    opacity: 0;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-console {
    margin: -52px 0 52px;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .topbar {
    position: static;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 76px;
  }

  .metrics,
  .crm-metrics,
  .configurator-grid,
  .catalog-shell,
  .identity-strip,
  .split {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

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

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-toolbar select {
    width: 100%;
  }

  .lead-head,
  .lead-grid,
  .lead-actions {
    grid-template-columns: 1fr;
  }

  .knowledge-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .product-grid,
  .knowledge-grid,
  .seo-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .crm-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn,
  .ghost-btn {
    width: 100%;
  }

  .hero-console {
    margin-top: -36px;
  }

  .details-table {
    grid-template-columns: 1fr;
  }
}
