@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

 :root {
  --bg-base: #0B1220;
  --surface-1: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.04);
  --surface-3: rgba(255, 255, 255, 0.06);

  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.14);
  --glass-blur: 24px;

  --accent: #3B82F6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --accent-glow: rgba(59, 130, 246, 0.26);
  --accent-hover: #60A5FA;

  --text-primary: #E5E7EB;
  --text-secondary: rgba(229, 231, 235, 0.72);
  --text-muted: rgba(229, 231, 235, 0.45);
  --text-success: #34D399;
  --text-success-soft: rgba(52, 211, 153, 0.14);
  --text-warning: #FBBF24;
  --text-warning-soft: rgba(251, 191, 36, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --max-w: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; background: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
p { color: var(--text-secondary); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.section { padding: 110px 0; position: relative; z-index: 1; }
.section--alt { position: relative; background: linear-gradient(180deg, transparent, var(--surface-1) 20%, transparent); }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 18px;
}
.section-label::before { content: ''; width: 18px; height: 1px; background: var(--accent); border-radius: 1px; }
.section-desc { font-size: 1.1rem; max-width: 580px; }
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

.icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: currentColor; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.glass::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 40%);
  opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none;
}
.glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
}
.glass:hover::after { opacity: 1; }

@media (max-width: 768px) {
  .glass { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(12, 18, 31, 0.78) 0%, rgba(12, 18, 31, 0.68) 100%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header.scrolled { background: linear-gradient(180deg, rgba(11, 18, 32, 0.9) 0%, rgba(11, 18, 32, 0.84) 100%); box-shadow: 0 12px 32px rgba(0,0,0,0.28); border-bottom-color: rgba(255, 255, 255, 0.12); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.03em; }
.logo__mark {
  width: 32px; height: 32px; background: linear-gradient(135deg, var(--accent), #2563EB);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: #fff; box-shadow: 0 2px 12px var(--accent-glow);
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; }
.nav__link { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); position: relative; padding: 6px 0; }
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 1.5px; background: var(--accent);
  border-radius: 1px; transition: all 0.3s var(--ease); transform: translateX(-50%);
}
.nav__link:hover, .nav__link--active { color: var(--text-primary); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }
.nav__cta { display: flex; }

.mobile-toggle { display: none; color: var(--text-primary); padding: 8px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; padding: 12px 26px;
  border-radius: var(--radius-md); transition: all 0.25s var(--ease); white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: linear-gradient(135deg, var(--accent), #2563EB); color: #fff; box-shadow: 0 4px 16px var(--accent-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px var(--accent-glow); }
.btn--glass { background: var(--glass-bg); color: var(--text-primary); border: 1px solid var(--glass-border); backdrop-filter: blur(12px); }
.btn--glass:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-hover); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--accent); padding: 10px 0; font-weight: 500; }
.btn--ghost:hover { color: var(--accent-hover); }
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn--ghost:hover .btn__arrow { transform: translateX(5px); }
.btn--lg { padding: 15px 32px; font-size: 0.95rem; border-radius: var(--radius-md); }
.btn--full { width: 100%; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.hero { padding-top: calc(var(--header-h) + 80px); padding-bottom: 100px; position: relative; z-index: 1; }
.hero__inner { max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  background: var(--accent-soft); border: 1px solid rgba(59,130,246,0.18);
  border-radius: 100px; font-size: 0.78rem; font-weight: 600; color: var(--accent);
  margin-bottom: 28px; backdrop-filter: blur(12px);
}
.hero__badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;box-shadow:0 0 0 0 var(--accent-glow)} 50%{opacity:0.6;box-shadow:0 0 0 6px transparent} }
.hero__title { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 20px; background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__desc { font-size: 1.15rem; line-height: 1.7; max-width: 560px; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--glass-border); }
.hero__stat-val { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--accent), var(--accent-hover)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__stat-lbl { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
@media (max-width: 640px) { .hero__stats { gap: 24px; flex-wrap: wrap; } }

.feat-card { padding: 32px; }
.feat-card__icon {
  width: 44px; height: 44px; background: var(--accent-soft); border: 1px solid rgba(59,130,246,0.14);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent); transition: all 0.3s var(--ease);
}
.feat-card:hover .feat-card__icon { background: rgba(59,130,246,0.22); box-shadow: 0 0 16px var(--accent-glow); transform: scale(1.05); }
.feat-card__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.feat-card__text { font-size: 0.9rem; line-height: 1.65; }

.steps { display: flex; gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 34px; right: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--glass-border-hover), transparent); }
.step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.step__icon {
  width: 64px; height: 64px; margin: 0 auto 18px; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  transition: all 0.4s var(--ease);
}
.step:hover .step__icon { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 24px var(--accent-glow); transform: scale(1.08); }
.step__title { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.step__text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
@media (max-width: 768px) {
  .steps { flex-direction: column; gap: 24px; }
  .steps::before { top: 0; bottom: 0; left: 32px; right: auto; width: 1px; height: auto; }
  .step { text-align: left; display: flex; gap: 16px; align-items: flex-start; padding: 0; }
  .step__icon { margin: 0; flex-shrink: 0; width: 52px; height: 52px; font-size: 1.2rem; }
}

.price-card { max-width: 460px; margin: 0 auto; padding: 48px 36px; text-align: center; position: relative; }
.price-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), #60A5FA, var(--accent)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.price-card__title { font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.price-card__sub { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 28px; }
.price-card__amount { font-size: 3.2rem; font-weight: 700; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--text-primary), var(--accent-hover)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price-card__currency { font-size: 1.3rem; font-weight: 600; color: var(--text-secondary); vertical-align: super; }
.price-card__period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 32px; }
.price-card__list { text-align: left; margin-bottom: 32px; }
.price-card__item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--text-secondary); }
.price-card__check { flex-shrink: 0; width: 18px; height: 18px; background: var(--text-success-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-success); font-size: 0.65rem; margin-top: 2px; }
.price-card__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: var(--surface-1); border: 1px solid var(--glass-border); border-radius: 100px; font-size: 0.75rem; color: var(--text-secondary); }

.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--glass-border); }
.faq-q { width: 100%; background: none; color: var(--text-primary); font-size: 1rem; font-weight: 600; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color 0.25s var(--ease); }
.faq-q:hover { color: var(--accent); }
.faq-q__icon { flex-shrink: 0; transition: transform 0.4s var(--ease); color: var(--text-muted); }
.faq-item.open .faq-q__icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease); }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }
.faq-a__text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

.screen { overflow: hidden; margin-bottom: 24px; }
.screen__mock { width: 100%; aspect-ratio: 16/9; background: var(--surface-1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-muted); font-size: 0.85rem; position: relative; border-bottom: 1px solid var(--glass-border); }
.screen__mock::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 32px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--glass-border); }
.mock-dots { display: flex; gap: 6px; position: absolute; top: 10px; left: 14px; }
.mock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--glass-border); }
.screen__body { padding: 24px 28px; }
.screen__title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.screen__desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

.mock-ui { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 44px 16px 16px; background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent); }
.mock-row { display: flex; align-items: center; gap: 8px; background: var(--surface-2); padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--glass-border); }
.mock-row--header { background: transparent; border: none; padding: 6px 10px; }
.mock-text { height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; }
.mock-text--w1 { width: 40%; } .mock-text--w2 { width: 25%; } .mock-text--w3 { width: 20%; } .mock-text--w4 { width: 15%; }
.mock-badge { height: 18px; padding: 0 8px; border-radius: 4px; font-size: 0.6rem; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.mock-badge--active { background: rgba(52, 211, 153, 0.15); color: var(--text-success); }
.mock-badge--warn { background: var(--text-warning-soft); color: var(--text-warning); }
.mock-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--glass-border); }
.mock-table { display: grid; grid-template-columns: 2fr 1fr 1fr 80px; gap: 6px; align-items: center; }
.mock-table .mock-row { padding: 6px 8px; }
.mock-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 320px; margin: 0 auto; }
.mock-input { height: 28px; background: var(--surface-2); border: 1px solid var(--glass-border); border-radius: 4px; }
.mock-btn { height: 28px; background: var(--accent); border-radius: 4px; grid-column: span 3; }

.api-flow { display: flex; align-items: center; justify-content: center; gap: 0; margin: 48px 0; flex-wrap: wrap; }
.api-flow-step { text-align: center; padding: 0 12px; }
.api-flow-step__icon { width: 56px; height: 56px; margin: 0 auto 12px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); transition: all 0.4s var(--ease); }
.api-flow-step:hover .api-flow-step__icon { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 20px var(--accent-glow); transform: scale(1.1); }
.api-flow-step__label { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.api-flow-step__sub { font-size: 0.75rem; color: var(--text-muted); }
.api-flow-arrow { font-size: 1.2rem; color: var(--text-muted); padding: 0 4px; opacity: 0.6; }
@media (max-width: 768px) { .api-flow { flex-direction: column; gap: 16px; } .api-flow-arrow { transform: rotate(90deg); } }

.page-header { padding-top: calc(var(--header-h) + 60px); padding-bottom: 40px; text-align: center; position: relative; z-index: 1; }
.page-header__title { max-width: 680px; margin: 0 auto 16px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-header__desc { max-width: 540px; margin: 0 auto; font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; }

.form { max-width: 520px; }
.form__group { margin-bottom: 16px; }
.form__label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form__input, .form__textarea { width: 100%; padding: 13px 16px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); color: var(--text-primary); font-family: var(--font); font-size: 0.9rem; transition: all 0.3s var(--ease); outline: none; }
.form__input::placeholder, .form__textarea::placeholder { color: var(--text-muted); }
.form__input:focus, .form__textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--glass-bg-hover); }
.form__textarea { resize: vertical; min-height: 100px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: 28px; }
.contact-card__title { font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.contact-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.contact-row__icon { width: 34px; height: 34px; background: var(--accent-soft); border: 1px solid rgba(59,130,246,0.12); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.contact-row__label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.contact-row__value { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; }

.cta { padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, var(--accent-soft) 0%, transparent 60%); pointer-events: none; animation: cta-glow 6s ease-in-out infinite alternate; }
@keyframes cta-glow { 0%{opacity:0.5;transform:scale(1)} 100%{opacity:0.8;transform:scale(1.05)} }
.cta__title { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; position: relative; }
.cta__text { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; position: relative; }
.cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }
@media (max-width: 640px) { .cta { padding: 40px 20px; } }

.docs-layout { display: flex; gap: 48px; padding-top: 32px; }
.docs-nav { width: 240px; flex-shrink: 0; position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.docs-nav__label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; padding: 0 12px; }
.docs-nav__link { display: block; padding: 8px 12px; font-size: 0.85rem; color: var(--text-secondary); border-radius: var(--radius-sm); transition: all 0.3s var(--ease); margin-bottom: 2px; }
.docs-nav__link:hover { color: var(--text-primary); background: var(--surface-1); }
.docs-nav__link--active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.docs-body { flex: 1; min-width: 0; padding-left: 16px; }
.docs-body__title { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.docs-body__text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 18px; }
.docs-body h3 { font-size: 1.2rem; font-weight: 600; margin-top: 36px; margin-bottom: 10px; letter-spacing: -0.01em; }
.docs-body ul { margin-bottom: 14px; }
.docs-body ul li { position: relative; padding-left: 16px; margin-bottom: 6px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }
.docs-body ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
@media (max-width: 900px) { .docs-layout { flex-direction: column; gap: 0; } .docs-nav { position: static; width: 100%; max-height: none; margin-bottom: 24px; } .docs-body { padding-left: 0; } }

.footer { padding: 64px 0 32px; border-top: 1px solid var(--glass-border); background: rgba(255,255,255,0.005); position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; max-width: 260px; line-height: 1.6; }
.footer__col-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.footer__link { display: block; font-size: 0.85rem; color: var(--text-secondary); padding: 4px 0; }
.footer__link:hover { color: var(--text-primary); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--glass-border); font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; gap: 12px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: transform, opacity; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
body::before { content:""; position:fixed; inset:0; pointer-events:none; background: radial-gradient(circle at 20% 10%, rgba(59,130,246,0.10), transparent 28%), radial-gradient(circle at 80% 20%, rgba(96,165,250,0.06), transparent 26%), radial-gradient(circle at 50% 100%, rgba(59,130,246,0.06), transparent 30%); z-index:0; }

.pricing-grid .feat-card,
.pricing-note {
  min-height: 100%;
}

.pricing-note {
  padding: 28px 30px;
}

.pricing-note__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pricing-note__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .pricing-note {
    padding: 24px 22px;
  }
}
/* privacy page */
.privacy-header {
  padding-top: calc(var(--header-h) + 42px);
  padding-bottom: 14px;
}

.privacy-header .page-header__title {
  max-width: 980px;
  margin-bottom: 8px;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.08;
}

.privacy-header .page-header__desc {
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.privacy-docs {
  padding-top: 12px;
  padding-bottom: 90px;
}

.privacy-docs .docs-layout {
  padding-top: 0;
}

.privacy-docs .docs-body {
  padding-top: 0;
}

.privacy-docs .docs-body__text:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  .privacy-header {
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 10px;
  }

  .privacy-header .page-header__title {
    max-width: 100%;
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.12;
  }

  .privacy-docs {
    padding-top: 8px;
  }
}

/* footer improvements + mobile адаптация */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.005);
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  min-width: 0;
}

.footer__brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.7;
}

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer__link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 4px 0;
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

.footer__bottom-main {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer__legal-link {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer__legal-link:hover {
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .footer__brand-desc {
    max-width: none;
  }

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

  .footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 48px 0 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }

  .footer__brand-desc {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .footer__col-title {
    margin-bottom: 10px;
  }

  .footer__link {
    font-size: 0.92rem;
    padding: 6px 0;
  }

  .footer__bottom {
    gap: 14px;
    padding-top: 18px;
  }

  .footer__bottom-main {
    flex-direction: column;
    gap: 6px;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer__legal-link {
    font-size: 0.9rem;
  }
}

/* === logo image + coded text === */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.logo__image {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 44px;
  filter: drop-shadow(0 10px 18px rgba(37, 99, 235, 0.16));
}

.logo__text {
  display: inline-block;
  font-size: 1.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(90deg, #e6e9f2 0%, #cfd6e8 38%, #4c8fff 78%, #2f6fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo--footer .logo__image {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.logo--footer .logo__text {
  font-size: 1.56rem;
}

/* убираем старую квадратную плашку, если где-то еще осталась */
.logo__mark {
  display: none !important;
}

/* === glass header === */
.header {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(6, 15, 38, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.035) 0%,
    rgba(255,255,255,0.012) 55%,
    rgba(255,255,255,0.006) 100%
  );
}

.header__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.is-active,
body[data-page="home"] .nav__link[data-page="home"],
body[data-page="features"] .nav__link[data-page="features"],
body[data-page="implementation"] .nav__link[data-page="implementation"],
body[data-page="pricing"] .nav__link[data-page="pricing"],
body[data-page="hosting"] .nav__link[data-page="hosting"],
body[data-page="faq"] .nav__link[data-page="faq"],
body[data-page="contacts"] .nav__link[data-page="contacts"] {
  color: var(--text-primary);
}

.nav__cta {
  flex: 0 0 auto;
}

/* === mobile toggle === */
.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.9);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === footer logo alignment === */
.footer .logo {
  margin-bottom: 6px;
}

.footer__brand-desc {
  margin-top: 10px;
}

/* === responsive header/footer === */
@media (max-width: 1100px) {
  .header__inner {
    padding: 13px 18px;
    gap: 16px;
  }

  .nav__list {
    gap: 16px;
  }

  .nav__link {
    font-size: 0.9rem;
  }

  .logo__text {
    font-size: 1.46rem;
  }
}

@media (max-width: 900px) {
  .header {
    background: rgba(6, 15, 38, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .header__inner {
    position: relative;
    padding: 12px 14px;
  }

  .logo {
    gap: 10px;
  }

  .logo__image {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .logo__text {
    font-size: 1.3rem;
  }

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    bottom: auto;
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    background: rgba(8, 18, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 130;
    max-height: calc(100vh - var(--header-h) - 28px);
    overflow-y: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__list li {
    width: 100%;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 10px 2px;
    font-size: 1rem;
  }

  .nav__cta {
    width: 100%;
  }

  .nav__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header__inner {
    padding: 10px 12px;
  }

  .logo__image {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .logo__text {
    font-size: 1.14rem;
  }

  .logo--footer .logo__image {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .logo--footer .logo__text {
    font-size: 1.2rem;
  }
}

/* === глобальная типографика основного текста === */

/* основной текст сайта */
.hero p,
.section p,
.section li,
.glass-card p,
.glass-card li,
.docs-body__text,
.docs-body li,
.faq-a,
.footer__brand-desc {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  line-height: 1.72;
}

/* аккуратные отступы между абзацами */
.hero p,
.section p,
.glass-card p,
.docs-body__text,
.faq-a,
.footer__brand-desc {
  margin-top: 0;
  margin-bottom: 16px;
}

/* аккуратные отступы у списков */
.section ul,
.section ol,
.glass-card ul,
.glass-card ol,
.docs-body ul,
.docs-body ol {
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 22px;
}

.section li,
.glass-card li,
.docs-body li {
  margin-bottom: 8px;
}

/* у последнего абзаца и последнего списка снизу не оставляем лишнюю пустоту */
.hero p:last-child,
.section p:last-child,
.glass-card p:last-child,
.docs-body__text:last-child,
.faq-a:last-child,
.footer__brand-desc:last-child,
.section ul:last-child,
.section ol:last-child,
.glass-card ul:last-child,
.glass-card ol:last-child,
.docs-body ul:last-child,
.docs-body ol:last-child {
  margin-bottom: 0;
}

/* заголовки и служебные элементы не растягиваем */
h1, h2, h3, h4, h5, h6,
.page-header__title,
.page-header__desc,
.logo,
.logo__text,
.nav,
.nav__list,
.nav__link,
.nav__cta,
.btn,
.button,
.mobile-toggle,
.docs-nav,
.docs-nav__link,
.footer__col-title,
.footer__link,
.footer__legal,
.footer__legal-link,
input,
textarea,
select,
label,
form button,
form input,
form textarea {
  text-align: left;
  -webkit-hyphens: none;
  hyphens: none;
}

/* чуть лучше читаемость у больших текстовых карточек */
.glass-card,
.docs-body {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* на мобильных устройствах оставляем обычное выравнивание по левому краю,
   потому что на узком экране текст по ширине часто выглядит хуже */
@media (max-width: 640px) {
  .hero p,
  .section p,
  .section li,
  .glass-card p,
  .glass-card li,
  .docs-body__text,
  .docs-body li,
  .faq-a,
  .footer__brand-desc {
    text-align: left;
    -webkit-hyphens: none;
    hyphens: none;
    line-height: 1.65;
  }

  .hero p,
  .section p,
  .glass-card p,
  .docs-body__text,
  .faq-a,
  .footer__brand-desc {
    margin-bottom: 14px;
  }

  .section ul,
  .section ol,
  .glass-card ul,
  .glass-card ol,
  .docs-body ul,
  .docs-body ol {
    padding-left: 18px;
    margin-bottom: 16px;
  }
}

/* === единая шапка внутренних страниц: глобальный override === */
body .page-header {
  padding-top: calc(var(--header-h) + 30px) !important;
  padding-bottom: 12px !important;
}

body .page-header .container {
  max-width: 1240px !important;
}

body .page-header__title {
  max-width: 980px !important;
  margin: 0 auto 10px !important;
  font-size: clamp(2.1rem, 3.2vw, 3.45rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.04em !important;
  text-wrap: balance;
}

body .page-header__desc {
  max-width: 760px !important;
  margin: 0 auto !important;
  font-size: 0.98rem !important;
  line-height: 1.58 !important;
  color: var(--text-muted) !important;
}

body .page-header + .section,
body .page-header + .features-section,
body .page-header + section.section {
  padding-top: 12px !important;
}

@media (max-width: 1100px) {
  body .page-header__title {
    max-width: 900px !important;
  }

  body .page-header__desc {
    max-width: 700px !important;
  }
}

@media (max-width: 768px) {
  body .page-header {
    padding-top: calc(var(--header-h) + 22px) !important;
    padding-bottom: 8px !important;
  }

  body .page-header__title {
    max-width: 100% !important;
    font-size: clamp(1.8rem, 7vw, 2.55rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 6px !important;
  }

  body .page-header__desc {
    max-width: 100% !important;
    font-size: 0.93rem !important;
    line-height: 1.5 !important;
  }

  body .page-header + .section,
  body .page-header + .features-section,
  body .page-header + section.section {
    padding-top: 8px !important;
  }
}