:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-soft: #101529;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.12);
  --accent-strong: #6366f1;
  --text: #f9fafb;
  --text-soft: #d1d5db;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
  --container-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1d243d 0, #050816 48%, #020617 100%);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.92), rgba(5, 8, 22, 0.7));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff 0, #a5b4fc 22%, #4f46e5 48%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #020617;
  box-shadow: 0 0 24px rgba(129, 140, 248, 0.75);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 15px;
}

/* Navigation */

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-link {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: background 0.16s ease-out, color 0.16s ease-out, transform 0.12s ease-out;
}

.nav-link:hover {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-link-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  padding-inline: 18px;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.55);
}

.nav-link-cta:hover {
  transform: translateY(-1px) scale(1.02);
}

/* Burger */

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  padding: 80px 0 65px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero-bg.jpg") center/cover no-repeat;
  opacity: 0.27;
  filter: grayscale(0.2);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.35), transparent 48%),
              radial-gradient(circle at bottom right, rgba(8, 47, 73, 0.9), #020617);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.55);
  backdrop-filter: blur(16px);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-tag::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff 0, #a5b4fc 22%, #4f46e5 48%, #0f172a 100%);
  box-shadow: 0 0 18px rgba(129, 140, 248, 0.8);
}

.hero-title {
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.hero-subtitle {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-list li {
  position: relative;
  padding-left: 14px;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
}

/* Hero side card */

.hero-card {
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.22), transparent 55%),
              rgba(15, 23, 42, 0.98);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
  min-width: 0;
}

.hero-card-header {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero-card-body {
  display: grid;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.hero-card-row span {
  color: var(--text-muted);
}

.hero-card-row strong {
  text-align: right;
}

.hero-card-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 64px 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.95));
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
}

.section-grid-reverse {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
}

.section-image-wrap {
  position: relative;
}

.section-image {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: var(--shadow-soft);
  transform: translateY(4px);
}

.section-image-wrap::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 32px;
  border: 1px dashed rgba(129, 140, 248, 0.4);
  opacity: 0.65;
  pointer-events: none;
}

.section-content h2 {
  font-size: 26px;
  margin: 0 0 14px;
}

.section-content h3 {
  font-size: 18px;
  margin: 24px 0 10px;
}

.section-content p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 15px;
}

.section-title {
  font-size: 26px;
  margin: 0 0 12px;
}

.section-subtitle {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--text-soft);
  font-size: 15px;
}

.center {
  text-align: center;
}

/* Cards */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 18px 16px 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.85);
}

.card h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.benefits-block {
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), rgba(15, 23, 42, 0.98));
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 18px 16px 14px;
}

.benefits-block h3 {
  margin: 0 0 10px;
}

.benefits-block .bullet-list {
  margin: 0;
}

/* Lists */

.checklist,
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.checklist li,
.bullet-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-soft);
}

.checklist li + li,
.bullet-list li + li {
  margin-top: 6px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: var(--accent-strong);
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 18px;
  color: var(--accent-strong);
}

.checklist-muted li::before {
  color: var(--text-muted);
}

.note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Info card */

.info-card {
  background: rgba(15, 23, 42, 0.97);
  border-radius: 22px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.info-card .bullet-list {
  margin-bottom: 14px;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 18px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

/* CTA */

.section-cta {
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.32), rgba(15, 23, 42, 0.98));
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.cta-text h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.cta-text p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 15px;
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

.cta-action {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 22px;
  padding: 18px 16px 14px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cta-contact-label {
  margin: 10px 0 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.cta-contact-link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.13s ease-out, box-shadow 0.13s ease-out, background 0.13s ease-out, border-color 0.13s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: rgba(129, 140, 248, 0.7);
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.75);
}

.btn.primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.9);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.45);
  color: var(--text-soft);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.8);
}

.btn.full-width {
  width: 100%;
}

.btn.large {
  padding-block: 11px;
  font-size: 15px;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(5, 8, 22, 0.98);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner a {
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.2fr);
  }
  .hero-card {
    margin-top: 18px;
  }
  .section-grid,
  .section-grid-reverse,
  .benefits-grid,
  .cards-3,
  .faq-grid,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-grid-reverse {
    grid-auto-flow: row;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-block: 10px;
  }
  .nav {
    position: fixed;
    inset: 54px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
  }
  .nav-open .nav {
    display: flex;
  }
  .nav-link {
    padding: 9px 10px;
  }
  .nav-link-cta {
    justify-content: center;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero {
    padding-top: 70px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .section {
    padding: 44px 0;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-list {
    flex-direction: column;
  }
  .section-title {
    font-size: 22px;
  }
}