* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #f4f7fb;
  background: #0b1020;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(11, 16, 32, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-row, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo span { color: #6ea8ff; }

.nav {
  display: flex;
  gap: 22px;
  color: #cbd7ee;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, #4f7cff, #6e9bff);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(79,124,255,.28);
}
.btn--ghost {
  background: rgba(255,255,255,0.04);
  box-shadow: none;
}
.btn--sm {
  min-height: 42px;
  padding: 0 16px;
}

.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at top right, rgba(79,124,255,.24), transparent 30%),
    radial-gradient(circle at top left, rgba(91,224,190,.12), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(110,155,255,.12);
  border: 1px solid rgba(110,155,255,.18);
  color: #9ebdff;
  font-size: 13px;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-text,
.section-head p,
.card p,
.case p,
.step p,
.footer-text,
.form-note,
.post-meta,
.card-meta {
  color: #b9c6df;
}

.hero-text {
  font-size: 18px;
  line-height: 1.65;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 22px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #d6e2f6;
  font-size: 14px;
}

.hero-card,
.card,
.case,
.step,
.lead-form,
.comment {
  border-radius: 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

.hero-card {
  padding: 24px;
}
.hero-card__label {
  color: #9ebdff;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.9;
  color: #e3ebfb;
}

.section {
  padding: 72px 0;
}
.section--dark {
  background: rgba(255,255,255,.025);
}
.section--accent {
  background:
    radial-gradient(circle at center, rgba(79,124,255,.14), transparent 45%),
    rgba(255,255,255,.02);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-head h1,
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

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

.card,
.case,
.step {
  padding: 24px;
}

.card h3,
.card h2,
.case h3,
.step h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.step span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #9ebdff;
  font-weight: 800;
  font-size: 14px;
}

.lead-form {
  padding: 24px;
  max-width: 820px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form label {
  display: block;
  margin-bottom: 16px;
}
.lead-form span {
  display: inline-block;
  margin-bottom: 8px;
  color: #dbe6fb;
  font-weight: 600;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(8,12,24,.8);
  color: #fff;
  padding: 14px 16px;
  font: inherit;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.form-result {
  margin-top: 14px;
  color: #9fe3c0;
}

.honeypot {
  position: absolute !important;
  left: -99999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.footer-brand {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #c9d7ef;
}

.post-container {
  max-width: 860px;
}
.post-content {
  line-height: 1.8;
  color: #eaf0fb;
}
.post-content h2,
.post-content h3 {
  margin-top: 34px;
}
.post-content p,
.post-content li {
  color: #d8e2f4;
}

.comments {
  margin-top: 44px;
}
.comment {
  padding: 18px 20px;
  margin-bottom: 14px;
}
.comment-author {
  font-weight: 700;
}
.comment-date {
  color: #9fb1ce;
  font-size: 14px;
  margin: 4px 0 10px;
}
.comment-empty {
  color: #b9c6df;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .cases,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 56px 0 30px;
  }

  .section {
    padding: 54px 0;
  }

  .form-grid,
  .form-actions,
  .hero-actions,
  .footer-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .btn,
  .btn--sm {
    width: 100%;
  }

  .header-row {
    min-height: 68px;
  }
}

.hero--premium {
  position: relative;
  overflow: hidden;
  padding: 86px 0 58px;
  background:
    radial-gradient(circle at 15% 20%, rgba(91,224,190,.10), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(79,124,255,.20), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-showcase {
  position: relative;
  z-index: 2;
}

.gradient-text {
  background: linear-gradient(135deg, #70a3ff 0%, #72f0cb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-stat {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
  color: #fff;
}

.hero-stat span {
  color: #b9c6df;
  font-size: 14px;
}

.hero-panel {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  backdrop-filter: blur(12px);
}

.hero-panel__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  z-index: 1;
}

.hero-glow--one {
  width: 380px;
  height: 380px;
  right: -90px;
  top: -60px;
  background: rgba(79,124,255,.28);
}

.hero-glow--two {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -60px;
  background: rgba(91,224,190,.14);
}

.admin-post-form textarea,
.admin-post-form input,
.admin-post-form select {
  width: 100%;
}

.admin-post-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(8,12,24,.8);
  color: #fff;
  padding: 14px 16px;
  font: inherit;
}

.tox-tinymce {
  border-radius: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1) !important;
}

.tox .tox-edit-area__iframe {
  background: #fff !important;
}

.cover-dropzone {
  position: relative;
  border: 1.5px dashed rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s ease;
  padding: 18px;
}

.cover-dropzone:hover,
.cover-dropzone.is-dragover {
  border-color: rgba(110,155,255,.55);
  background: rgba(110,155,255,.08);
}

.cover-dropzone.is-loading {
  opacity: .65;
  pointer-events: none;
}

.cover-dropzone__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #c9d7ef;
}

.cover-preview-wrap {
  display: none;
  margin-top: 16px;
  gap: 12px;
  flex-direction: column;
}

.cover-preview-wrap.is-visible {
  display: flex;
}

.cover-preview-wrap img {
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}

.post-cover {
  width: 100%;
  border-radius: 22px;
  margin: 18px 0 26px;
  max-height: 520px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}

.logo__main {
  color: #f7f9fd;
}

.logo__accent {
  color: #6ea8ff;
}