:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #007aff;
  --accent-dark: #0056d6;
  --accent-soft: #e7f1ff;
  --green: #34c759;
  --orange: #ff9500;
  --indigo: #5856d6;
  --ink: #111827;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.1);
  --apple-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.76);
  --glass-strong: rgba(255, 255, 255, 0.9);
  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;
  background:
    radial-gradient(circle at 16% 8%, rgba(0, 122, 255, 0.12), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(52, 199, 89, 0.1), transparent 30%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 17px clamp(18px, 4vw, 52px);
  background: rgba(245, 245, 247, 0.78);
  border-bottom: 1px solid rgba(210, 210, 215, 0.68);
  backdrop-filter: saturate(180%) blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: var(--ink);
  box-shadow: inset 0 -10px 20px rgba(0, 122, 255, 0.28);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.header-tools {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.lang-switcher button {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.lang-switcher button.is-active {
  color: #fff;
  background: var(--ink);
}

.top-nav a,
.header-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  color: var(--muted);
}

.top-nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.header-action {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(0, 122, 255, 0.22);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 102px clamp(18px, 5vw, 72px) 58px;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(245, 245, 247, 0.99) 0%, rgba(245, 245, 247, 0.9) 34%, rgba(245, 245, 247, 0.34) 70%, rgba(245, 245, 247, 0.12) 100%),
    linear-gradient(180deg, rgba(245, 245, 247, 0.1), rgba(245, 245, 247, 0.92));
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(78px, 11vw, 148px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 740px;
  color: #424245;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.38;
  font-weight: 580;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  font: inherit;
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 38px rgba(0, 122, 255, 0.26);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
}

.hero-stats div,
.product-card,
.workflow-grid article,
.price-card {
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.hero-stats div {
  padding: 16px;
  backdrop-filter: blur(16px);
}

.hero-stats dt {
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

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

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  background:
    radial-gradient(circle at 78% 0%, rgba(0, 122, 255, 0.22), transparent 34%),
    #111827;
  color: #fff;
}

.intro-band .eyebrow {
  color: #7cc7ff;
}

.two-column,
.proof-layout,
.roadmap-layout,
.billing-layout,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.billing-layout {
  grid-template-columns: 1fr;
  gap: 34px;
}

.billing-layout > div:first-child {
  max-width: 860px;
}

.large-copy,
.section-heading p,
.product-card p,
.workflow-grid p,
.advantage-grid p,
.billing-grid p,
.price-card p,
.roadmap-layout p,
.contact-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.intro-band .large-copy {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

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

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

.product-card {
  padding: clamp(24px, 4vw, 38px);
  transition: transform 0.2s var(--apple-ease), box-shadow 0.2s ease;
}

.product-card.accent {
  background: #f7fbff;
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--ink);
  font-weight: 950;
}

.product-card ul,
.price-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li,
.price-card li {
  position: relative;
  padding-left: 22px;
  color: #424245;
  font-weight: 700;
}

.product-card li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.muted {
  background: var(--surface-2);
}

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

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

.advantage-grid article,
.billing-grid article,
.roadmap-cards article {
  padding: 24px;
  min-height: 218px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass-strong);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  transition: transform 0.2s var(--apple-ease), box-shadow 0.2s ease;
}

.billing-grid article {
  min-height: 176px;
}

.product-card:hover,
.workflow-grid article:hover,
.advantage-grid article:hover,
.billing-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.advantage-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 30px;
  margin-bottom: 20px;
  border-radius: 11px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 950;
}

.advantage-grid h3,
.billing-grid h3 {
  font-size: 20px;
}

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

.workflow-grid article {
  padding: 24px;
  min-height: 180px;
}

.workflow-grid h3 {
  font-size: 20px;
}

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

.company-grid span {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 900;
  color: #424245;
}

.pricing-section {
  background: #fbfdfb;
}

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

.price-card {
  padding: 28px;
}

.price-card.featured {
  color: #fff;
  background: #111827;
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-10px);
  box-shadow: 0 30px 90px rgba(18, 32, 27, 0.22);
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.plan-name {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-weight: 950;
}

.price-card h3 {
  font-size: 45px;
}

.price-card h3 span {
  color: var(--muted);
  font-size: 16px;
}

.calculator {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 330px) minmax(180px, 240px);
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass-strong);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.roadmap-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.roadmap-cards {
  display: grid;
  gap: 12px;
}

.roadmap-cards article {
  min-height: 112px;
}

.roadmap-cards strong {
  display: block;
  margin-bottom: 8px;
  font-size: 26px;
  letter-spacing: 0;
}

.roadmap-cards span {
  color: var(--muted);
  line-height: 1.5;
}

.calculator h3 {
  margin-bottom: 8px;
}

.calculator p {
  margin: 0;
  color: var(--muted);
}

.calculator label {
  display: grid;
  gap: 10px;
  font-weight: 850;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

output {
  display: grid;
  place-items: center;
  min-height: 84px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 950;
}

.contact-section {
  background: #111827;
  color: #fff;
}

.contact-section .eyebrow {
  color: #7cc7ff;
}

.contact-panel {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

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

.lead-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 850;
}

.lead-form input,
.lead-form select {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.lead-form select option {
  color: var(--text);
}

.lead-form ::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 750;
}

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

  .top-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(245, 245, 247, 0.98) 0%, rgba(245, 245, 247, 0.9) 52%, rgba(245, 245, 247, 0.76) 100%);
  }

  .hero-media {
    opacity: 0.55;
  }

  .hero-stats,
  .product-split,
  .workflow-grid,
  .advantage-grid,
  .billing-grid,
  .pricing-grid,
  .two-column,
  .proof-layout,
  .roadmap-layout,
  .billing-layout,
  .contact-panel,
  .calculator {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-tools {
    gap: 6px;
  }

  .lang-switcher {
    gap: 2px;
    padding: 2px;
  }

  .lang-switcher button {
    min-width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .header-action {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(62px, 20vw, 92px);
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 92px;
    padding-bottom: 34px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 28px;
  }

  .hero-stats div {
    padding: 12px 10px;
  }

  .hero-stats dt {
    font-size: 27px;
  }

  .hero-stats dd {
    font-size: 11px;
    line-height: 1.28;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
