:root {
  --ink: #17202a;
  --muted: #536272;
  --line: #dfe5ec;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #1f6feb;
  --teal: #0f766e;
  --amber: #b45309;
  --rose: #be123c;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

.language-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.language-switcher a {
  border: 1px solid var(--line);
  padding: 5px 8px;
  border-radius: 8px;
}

.language-switcher a:hover,
.language-switcher .active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.btn-primary {
  color: var(--white);
  background: var(--ink);
}

.btn-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.btn-secondary {
  background: transparent;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 17, 28, 0.82), rgba(8, 17, 28, 0.48) 54%, rgba(8, 17, 28, 0.22)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 72px;
}

.eyebrow {
  color: #c7d2fe;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 850px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.hero p {
  max-width: 710px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 66px;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.proof-item {
  min-height: 100px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.proof-item strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--paper);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

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

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.card p,
.card li {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  border-radius: 8px;
  padding: 5px 8px;
  color: var(--teal);
  background: #e6fffb;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.tag.amber {
  color: var(--amber);
  background: #fff7ed;
}

.tag.rose {
  color: var(--rose);
  background: #fff1f2;
}

.check-list {
  padding-left: 18px;
  margin: 16px 0 0;
}

.check-list li {
  margin: 8px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.feature-image {
  min-height: 480px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.1)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1200&q=82") center / cover;
  box-shadow: var(--shadow);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 58px;
  min-height: 54px;
  margin-bottom: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price {
  font-size: 34px;
  line-height: 1;
  font-weight: 850;
  margin: 10px 0 16px;
}

.price span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.pricing-card .btn {
  margin-top: auto;
}

.keyword-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.keyword-table th,
.keyword-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.keyword-table th {
  color: var(--ink);
  background: #eef3f8;
}

.keyword-table td {
  color: var(--muted);
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
  min-height: 124px;
}

.notice {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  color: #d8e1ea;
  background: #101820;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
}

.site-footer a,
.site-footer p {
  color: #b8c4d0;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 17, 28, 0.84), rgba(8, 17, 28, 0.52)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero .container {
  padding: 92px 0 74px;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 76px 0 46px;
  }

  .hero-proof,
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 320px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

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

  .section {
    padding: 62px 0;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }
}
