:root {
  color-scheme: light;
  --ink: #101214;
  --muted: #626872;
  --line: #dfe3e8;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --cyan: #00a9ce;
  --cyan-dark: #007d96;
  --lime: #b6e64c;
  --coral: #ff7a59;
  --graphite: #1d2228;
  --shadow: 0 24px 70px rgba(16, 18, 20, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(16, 18, 20, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.main-nav,
.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
}

.brand {
  width: max-content;
  line-height: 0;
}

.brand-logo {
  width: clamp(160px, 14vw, 188px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.main-nav {
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.header-actions {
  justify-self: end;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.language-switch button.active,
.language-switch button:hover,
.language-switch button:focus-visible {
  background: #fff;
  color: var(--ink);
}

.header-cta,
.header-telegram {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.header-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-color: rgba(0, 169, 206, 0.52);
  background: var(--cyan);
  box-shadow: 0 10px 24px rgba(0, 169, 206, 0.22);
}

.header-telegram svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.header-telegram:hover,
.header-telegram:focus-visible {
  background: var(--cyan-dark);
}

.hero {
  position: relative;
  min-height: calc(100svh - 124px);
  display: grid;
  align-items: center;
  padding: clamp(72px, 9vw, 120px) 5vw clamp(54px, 7vw, 88px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.92) 0%, rgba(10, 12, 14, 0.76) 38%, rgba(10, 12, 14, 0.28) 76%, rgba(10, 12, 14, 0.18) 100%),
    url("assets/ai-agent-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(16, 18, 20, 0.54), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.intro-band h2,
.contact-band h2,
.checkout h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(42px, 7vw, 78px);
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
.main-nav a:focus-visible,
.header-cta:focus-visible,
.header-telegram:focus-visible,
.brand:focus-visible,
.language-switch button:focus-visible,
.close-button:focus-visible {
  outline: 3px solid rgba(182, 230, 76, 0.8);
  outline-offset: 3px;
}

.button.primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 169, 206, 0.35);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--cyan-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button.ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 42px 0 0;
}

.hero-metrics div {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-metrics dt {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 850;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.35;
}

.intro-band,
.contact-band {
  padding: clamp(34px, 6vw, 62px) 5vw;
  background: var(--graphite);
  color: #fff;
}

.intro-grid,
.contact-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.intro-grid {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-band h2,
.contact-band h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.intro-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.section {
  padding: clamp(72px, 9vw, 112px) 5vw;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
}

.section-head p {
  margin: 16px auto 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.section .section-kicker,
.checkout .section-kicker {
  color: var(--cyan-dark);
}

.feature-grid,
.pricing-grid,
.process-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: 18px;
}

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

.feature-card,
.price-card,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: rgba(0, 169, 206, 0.12);
  color: var(--cyan-dark);
}

.feature-icon.accent {
  background: rgba(182, 230, 76, 0.22);
  color: #5d7a08;
}

.feature-icon.warm {
  background: rgba(255, 122, 89, 0.14);
  color: #b64121;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h3,
.price-card h3,
.process-grid h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.feature-card p,
.price-card p,
.process-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-section {
  background: var(--soft);
}

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

.price-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 520px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(16, 18, 20, 0.06);
}

.price-card.featured {
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: #263000;
  font-size: 12px;
  font-weight: 850;
}

.plan-top {
  min-height: 112px;
  padding-right: 72px;
}

.price {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.price span {
  margin-right: 5px;
  color: var(--cyan-dark);
  font-size: 0.58em;
  vertical-align: super;
}

.plan-list {
  display: grid;
  gap: 13px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 25px;
  color: #343941;
  line-height: 1.45;
}

.plan-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: inset 0 0 0 3px #e7fbff;
}

.plan-button {
  width: 100%;
  background: var(--ink);
  color: #fff;
}

.featured-button {
  background: var(--cyan);
}

.process-section {
  background: #fff;
}

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

.process-grid article {
  min-height: 250px;
  padding: 28px;
  background: linear-gradient(180deg, #fff, #f8fafb);
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border-radius: 8px;
  background: var(--graphite);
  color: #fff;
  font-weight: 850;
}

.contact-band {
  max-width: none;
}

.contact-band > * {
  max-width: 680px;
}

.contact-band .button {
  justify-self: end;
  min-width: 220px;
}

.site-footer {
  padding: clamp(54px, 8vw, 88px) 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #101214;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(32px, 6vw, 84px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-logo {
  width: min(220px, 70vw);
  height: auto;
}

.footer-brand .section-kicker {
  margin: 10px 0 0;
}

.footer-brand h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.footer-brand p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.58;
}

.footer-contact-grid {
  display: grid;
  gap: 0;
  margin: 0;
  font-style: normal;
}

.footer-contact {
  display: grid;
  gap: 7px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-contact:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-contact strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

a.footer-contact:hover strong,
a.footer-contact:focus-visible strong {
  color: var(--lime);
}

.checkout {
  width: min(900px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.checkout::backdrop {
  background: rgba(6, 8, 10, 0.72);
  backdrop-filter: blur(8px);
}

.checkout-form {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.close-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.checkout-copy {
  max-width: 640px;
  padding-right: 44px;
}

.checkout-copy h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.checkout-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.plan-picker {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.plan-picker legend {
  margin-bottom: 10px;
  font-weight: 850;
}

.plan-picker label,
.terms {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.plan-picker label {
  min-height: 58px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.plan-picker label:has(input:checked) {
  border-color: var(--cyan);
  background: #eefbff;
}

.plan-picker input,
.terms input {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan-dark);
}

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

.form-fields label {
  display: grid;
  gap: 8px;
  color: #30343a;
  font-size: 14px;
  font-weight: 760;
}

.form-fields input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
}

.form-fields input:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(0, 169, 206, 0.16);
}

.order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 8px;
  background: var(--graphite);
  color: #fff;
}

.order-summary span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.order-summary strong {
  display: block;
  margin-top: 3px;
  font-size: 30px;
}

.order-summary p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.terms {
  grid-template-columns: auto 1fr;
  margin-top: 18px;
  color: #383d45;
  line-height: 1.4;
}

.form-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.success-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 34px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
}

.success-panel[hidden] {
  display: none;
}

.success-panel h3 {
  margin: 0;
  font-size: 36px;
}

.success-panel p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    grid-column: 2;
  }

  .header-actions {
    grid-column: 2;
  }

  .feature-grid,
  .pricing-grid,
  .process-grid,
  .intro-grid,
  .contact-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-band .button {
    justify-self: start;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    width: 100vw;
    max-width: 100vw;
    min-height: 0;
    padding: 10px 18px;
    overflow: hidden;
  }

  .brand {
    grid-column: 1;
    max-width: none;
    min-width: 0;
  }

  .brand-logo {
    width: 106px;
    max-height: 36px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    display: contents;
  }

  .language-switch {
    grid-column: 1 / -1;
    justify-self: start;
    position: static;
    transform: none;
  }

  .language-switch button {
    min-width: 29px;
    min-height: 32px;
  }

  .header-telegram {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
  }

  .header-telegram svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    display: block;
    min-height: calc(100svh - 98px);
    padding: 58px 18px 48px;
    background-position: 58% center;
  }

  .hero-content {
    width: calc(100vw - 36px);
    max-width: 340px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 360px;
  }

  .hero-metrics div {
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: end;
    gap: 14px;
    padding: 12px 0;
  }

  .hero-metrics dd {
    margin: 0;
  }

  .section,
  .intro-band,
  .contact-band,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-head {
    text-align: left;
  }

  .price-card {
    min-height: auto;
    padding: 24px;
  }

  .plan-top {
    min-height: 0;
    padding-right: 0;
  }

  .badge {
    position: static;
    width: max-content;
    margin-bottom: 16px;
  }

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

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

  .footer-contact strong {
    font-size: 18px;
    overflow-wrap: anywhere;
  }
}

html[lang="ka"] .hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
}

@media (max-width: 680px) {
  html[lang="ka"] .hero h1 {
    font-size: 28px;
  }
}
