:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --text: #152033;
  --text-soft: #5d6b82;
  --line: rgba(21, 32, 51, 0.08);
  --accent: #1f6fff;
  --accent-dark: #1758ca;
  --accent-soft: rgba(31, 111, 255, 0.12);
  --success-bg: #ecfdf3;
  --success-text: #166534;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
}

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

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

.page {
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 252, 254, 0.82);
  border-bottom: 1px solid rgba(21, 32, 51, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #69a1ff 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 111, 255, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}

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

.hero__card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero__content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero__content p {
  margin: 0 0 28px;
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.hero__meta {
  display: grid;
  gap: 16px;
  align-content: start;
}

.metric,
.feature-card,
.step-card,
.platform-card,
.price-card,
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.metric {
  padding: 22px;
}

.metric__label {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.metric__value {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section {
  padding: 36px 0;
}

.section__heading {
  margin-bottom: 22px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.section__heading h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.section__heading p {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  line-height: 1.7;
}

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

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

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

.step-card,
.feature-card,
.platform-card {
  padding: 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.step-card:hover,
.feature-card:hover,
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  border-color: rgba(31, 111, 255, 0.18);
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--surface-muted);
  color: var(--accent);
  font-weight: 700;
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.card-text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.price-card {
  padding: 32px;
  display: grid;
  gap: 12px;
}

.price-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.price-card__label {
  margin: 0;
  font-size: 1rem;
  color: var(--text-soft);
}

.price-card__value {
  margin: 6px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.price-note {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.form-card {
  padding: 28px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

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

.field label {
  font-weight: 600;
  font-size: 0.96rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(21, 32, 51, 0.12);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(31, 111, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(31, 111, 255, 0.12);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.button,
.platform-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 14px 30px rgba(31, 111, 255, 0.24);
}

.button:hover,
.button:focus-visible,
.platform-card__link:hover,
.platform-card__link:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(23, 88, 202, 0.26);
}

.button--secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(31, 111, 255, 0.16);
  box-shadow: none;
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: var(--accent-soft);
}

.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--success-bg);
  color: var(--success-text);
  font-weight: 600;
}

.form-message.is-visible {
  display: block;
}

.platform-card__name {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.platform-card__text {
  margin: 0 0 18px;
  color: var(--text-soft);
  line-height: 1.65;
}

.site-footer {
  padding: 26px 0 34px;
  color: var(--text-soft);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .hero__card,
  .grid--4 {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .site-header__inner,
  .price-card__top,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 28px;
  }

  .hero__card,
  .grid--4 {
    grid-template-columns: 1fr;
    padding: 26px;
  }

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

  .section {
    padding: 28px 0;
  }
}

.tg-page {
  min-height: 100vh;
  color: #182230;
  background: #fbfcfe;
  font-family: "Segoe UI", Arial, sans-serif;
}

.tg-shell {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
}

.tg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 251, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 34, 48, 0.08);
}

.tg-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tg-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.tg-brand__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #229ed9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tg-brand__icon svg {
  width: 18px;
  height: 18px;
}

.tg-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.tg-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(24, 34, 48, 0.08);
  border-radius: 14px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.tg-menu-button > span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #182230;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tg-menu-button.is-open > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.tg-menu-button.is-open > span:nth-child(2) {
  opacity: 0;
}

.tg-menu-button.is-open > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.tg-nav a {
  color: #667085;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.tg-nav a:hover,
.tg-nav a:focus-visible {
  color: #182230;
}

.tg-hero {
  padding: 124px 0 84px;
}

.tg-hero__inner {
  max-width: 760px;
  text-align: center;
}

.tg-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.tg-hero p {
  margin: 24px auto 0;
  max-width: 620px;
  color: #667085;
  font-size: 1.12rem;
  line-height: 1.75;
}

.tg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 36px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
}

.tg-button:hover,
.tg-button:focus-visible {
  transform: translateY(-1px);
  background: #1d4ed8;
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.24);
}

.tg-button--secondary {
  background: #fff;
  color: #182230;
  border-color: rgba(24, 34, 48, 0.1);
  box-shadow: none;
}

.tg-button--secondary:hover,
.tg-button--secondary:focus-visible {
  background: #f8fafc;
}

.tg-button--full {
  width: 100%;
}

.tg-section {
  padding: 78px 0;
}

.tg-section--muted {
  background: rgba(148, 163, 184, 0.09);
}

.tg-section__head {
  margin-bottom: 42px;
}

.tg-section__head--center {
  text-align: center;
}

.tg-section__head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.tg-section__head p {
  margin: 14px 0 0;
  color: #667085;
  line-height: 1.7;
}

.tg-card {
  background: #fff;
  border: 1px solid rgba(24, 34, 48, 0.08);
  border-radius: 24px;
}

.tg-steps,
.tg-pricing,
.tg-platforms {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tg-step {
  position: relative;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tg-step:hover,
.tg-platform:hover,
.tg-benefit:hover,
.tg-plan:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.22);
}

.tg-step__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #1976d2;
  background: #dbeafe;
  box-shadow: none;
}

.tg-step__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.tg-step__icon--light {
  background: #dbeafe;
  color: #1976d2;
}

.tg-step__number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(37, 99, 235, 0.25);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.tg-step h3,
.tg-plan h3,
.tg-platform h3,
.tg-proof h3,
.tg-benefit h3 {
  margin: 18px 0 0;
  font-size: 1.12rem;
}

.tg-step p,
.tg-proof p,
.tg-proof__item p,
.tg-benefit p,
.tg-plan__meta,
.tg-plan__hint,
.tg-platform p,
.tg-footer p {
  color: #667085;
  line-height: 1.7;
}

.tg-proof {
  margin-top: 52px;
  padding: 42px 32px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 28px;
  background: rgba(37, 99, 235, 0.05);
  text-align: center;
}

.tg-proof p {
  max-width: 700px;
  margin: 12px auto 0;
}

.tg-proof__grid,
.tg-benefits {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

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

.tg-proof__item {
  text-align: center;
}

.tg-proof__badge,
.tg-benefit__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 1.35rem;
}

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

.tg-benefit {
  display: flex;
  gap: 18px;
  padding: 28px;
}

.tg-benefit__icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 14px;
  font-size: 1rem;
  flex: 0 0 auto;
}

.tg-benefit h3 {
  margin: 0;
}

.tg-benefit p {
  margin: 8px 0 0;
}

.tg-plan {
  position: relative;
  padding: 42px 28px 28px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tg-plan--featured {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.tg-plan__label {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 999px;
  background: #1976d2;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(25, 118, 210, 0.2);
}

.tg-plan__price {
  margin-top: 18px;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.tg-plan__meta {
  margin-top: 16px;
  font-size: 1rem;
}

.tg-plan__hint {
  margin-top: 8px;
  font-size: 0.95rem;
}

.tg-plan__saving {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #16a34a;
  font-size: 0.95rem;
  font-weight: 700;
}

.tg-plan__saving--empty {
  background: transparent;
  color: transparent;
}

.tg-plan .tg-button {
  width: 100%;
  margin-top: 18px;
}

.tg-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.tg-form-wrap h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.tg-form {
  margin-top: 42px;
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(24, 34, 48, 0.08);
}

.tg-form__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.tg-choice {
  cursor: pointer;
}

.tg-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tg-choice span {
  display: block;
  padding: 14px 10px;
  border: 1px solid rgba(24, 34, 48, 0.1);
  border-radius: 16px;
  text-align: center;
  color: #667085;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.tg-choice strong {
  display: block;
  margin-top: 6px;
  color: #182230;
  font-size: 1rem;
}

.tg-choice input:checked + span {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tg-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tg-platform {
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tg-platform__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tg-platform__top span {
  color: #98a2b3;
  font-size: 1.1rem;
}

.tg-platform p {
  margin: 10px 0 0;
}

.tg-footer {
  padding: 44px 0;
  border-top: 1px solid rgba(24, 34, 48, 0.08);
  background: rgba(148, 163, 184, 0.09);
}

.tg-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 900px) {
  .tg-steps,
  .tg-pricing,
  .tg-proof__grid,
  .tg-platforms,
  .tg-form__plans {
    grid-template-columns: 1fr;
  }

  .tg-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .tg-header {
    position: static;
  }

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

  .tg-header__inner {
    position: relative;
    min-height: auto;
    padding: 16px 0 14px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tg-menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .tg-nav {
    display: none;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(24, 34, 48, 0.08);
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .tg-nav a {
    font-size: 1rem;
  }

  .tg-hero {
    padding: 72px 0 52px;
  }

  .tg-section {
    padding: 56px 0;
  }

  .tg-proof,
  .tg-form {
    padding: 24px;
  }

  .tg-step,
  .tg-benefit,
  .tg-plan,
  .tg-platform {
    padding: 22px;
  }
}

@media (min-width: 761px) {
  .tg-menu-button {
    display: none !important;
  }
}
