﻿:root {
  --bg: #04070d;
  --bg-soft: #09121d;
  --text: #f3f7ff;
  --muted: #9ba8c1;
  --cyan: #76d4ff;
  --blue: #4d7dff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Manrope", sans-serif;
  background:
    radial-gradient(circle at top, rgba(77, 125, 255, 0.14), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(118, 212, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #03060b 0%, #050a12 38%, #07111e 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.75;
}

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

.site-shell {
  position: relative;
  isolation: isolate;
}

.ambient,
.scanline,
.particle-field {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.particle-field {
  z-index: -5;
  opacity: 0.8;
}

.ambient {
  z-index: -6;
  filter: blur(90px);
}

.ambient-a {
  background: radial-gradient(circle, rgba(49, 105, 255, 0.18) 0%, transparent 62%);
  transform: translate(-18%, -20%);
}

.ambient-b {
  background: radial-gradient(circle, rgba(118, 212, 255, 0.16) 0%, transparent 65%);
  transform: translate(42%, 10%);
}

.scanline {
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0, transparent 40%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.2;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 7, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(121, 155, 206, 0.18);
  padding: 16px 0;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.topbar a {
  color: var(--muted);
}

.topbar a:hover,
.topbar a.active {
  color: var(--cyan);
}

.language-switch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(118, 212, 255, 0.2);
  background: rgba(8, 14, 23, 0.52);
}

.language-pill {
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-pill:hover {
  color: var(--text);
}

.language-pill.is-active {
  background: linear-gradient(135deg, rgba(118, 212, 255, 0.26), rgba(77, 125, 255, 0.3));
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(118, 212, 255, 0.24);
}

.hero {
  padding: 108px 0 72px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 24px;
  line-height: 1.15;
}

.hero p {
  font-size: clamp(17px, 2vw, 22px);
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 32px;
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.28s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(77, 125, 255, 0.35);
}

.section {
  padding: 84px 0;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 28px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: rgba(11, 18, 31, 0.6);
  border: 1px solid rgba(121, 155, 206, 0.18);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card p,
.card li,
.faq-item p,
.article-meta {
  color: var(--muted);
}

.metric {
  font-size: 44px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.integration-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.integration-list li {
  background: rgba(77, 125, 255, 0.1);
  border: 1px solid rgba(77, 125, 255, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
}

.platform-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  padding: 7px;
  object-fit: contain;
  box-shadow: inset 0 0 0 1px rgba(8, 14, 23, 0.08);
}

.platform-logo-generic {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--text);
  background: linear-gradient(135deg, rgba(118, 212, 255, 0.24), rgba(77, 125, 255, 0.34));
  border: 1px solid rgba(118, 212, 255, 0.22);
  box-shadow: none;
}

.platform-logo-generic svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.faq-item {
  margin-bottom: 20px;
}

.process-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.5;
  line-height: 1;
}

.cta-section,
.cta-box {
  background: linear-gradient(135deg, rgba(77, 125, 255, 0.2), rgba(118, 212, 255, 0.1));
  border-radius: 22px;
  padding: 46px 34px;
  text-align: center;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(77, 125, 255, 0.2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 12px;
}

.article {
  padding: 70px 0;
}

.article h1 {
  font-size: clamp(30px, 4.6vw, 44px);
  line-height: 1.2;
  margin-bottom: 8px;
}

.article h2 {
  margin-top: 44px;
  font-size: 28px;
}

.article h3 {
  margin-top: 30px;
  font-size: 21px;
}

.article p,
.article li {
  color: #e8f0ff;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--muted);
}

.back-link:hover {
  color: var(--cyan);
}

.toc {
  background: rgba(11, 18, 31, 0.6);
  border: 1px solid rgba(121, 155, 206, 0.18);
  border-radius: 16px;
  padding: 22px;
  margin: 30px 0;
}

.highlight {
  background: rgba(77, 125, 255, 0.15);
  border-left: 4px solid var(--blue);
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 0 12px 12px 0;
}

.faq {
  background: rgba(11, 18, 31, 0.4);
  border: 1px solid rgba(121, 155, 206, 0.18);
  border-radius: 16px;
  padding: 28px;
  margin: 42px 0;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.pagination a {
  padding: 10px 18px;
  border: 1px solid rgba(121, 155, 206, 0.18);
  border-radius: 8px;
  color: var(--muted);
}

footer {
  border-top: 1px solid rgba(121, 155, 206, 0.18);
  padding: 54px 0;
  margin-top: 70px;
}

footer p {
  color: var(--muted);
}

@media (max-width: 760px) {
  .container {
    padding: 0 18px;
  }

  .topbar .container {
    gap: 12px;
  }

  .process-step {
    flex-direction: column;
    gap: 10px;
  }

  .step-number {
    font-size: 36px;
  }

  .cta-section,
  .cta-box {
    padding: 34px 22px;
  }
}
