:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1280px;
  --header-h: 72px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

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

.section--dark {
  background: linear-gradient(160deg, var(--slate-950) 0%, #0c1a12 50%, var(--slate-900) 100%);
  color: var(--slate-300);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-label--dark {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-500);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.section--dark .section-title {
  color: var(--white);
}

.section-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate-500);
  max-width: 640px;
}

.section--dark .section-subtitle {
  color: var(--slate-400);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .section-header .section-subtitle {
    max-width: 880px;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header.is-scrolled {
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--slate-900);
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo img,
.logo__mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

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

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.15s;
}

.nav__links a:hover {
  color: var(--green-600);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn--primary:hover {
  background: var(--green-700);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.btn--ghost {
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  background: var(--white);
}

.btn--ghost:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

.btn--white {
  background: var(--white);
  color: var(--green-700);
}

.btn--white:hover {
  background: var(--green-50);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--slate-700);
}

.menu-toggle:hover {
  background: var(--slate-100);
}

.menu-toggle__icon {
  position: relative;
  width: 20px;
  height: 14px;
}

.menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s, top 0.2s;
}

.menu-toggle__icon span:nth-child(1) { top: 0; }
.menu-toggle__icon span:nth-child(2) { top: 6px; }
.menu-toggle__icon span:nth-child(3) { top: 12px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 64px) 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(34, 197, 94, 0.15), transparent),
    linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-right: 8px;
  container-type: inline-size;
}

.hero__visual {
  width: 100%;
  height: 100%;
  min-height: clamp(500px, 54vh, 660px);
  margin-top: 40px;
  overflow: hidden;
}

.screenshot--hero {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(500px, 54vh, 660px);
  object-fit: cover;
  object-position: left top;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__title {
  width: 100%;
  margin: 0 0 20px;
  font-size: clamp(28px, 3.4vw, 44px);
  font-size: clamp(28px, 7.6cqw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text {
  width: 100%;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate-500);
  max-width: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__stat strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
}

.hero__stat span {
  font-size: 13px;
  color: var(--slate-500);
}

.screenshot {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.screenshot-placeholder {
  width: 100%;
  min-height: 240px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  background:
    linear-gradient(135deg, rgba(22, 163, 74, 0.06) 0%, rgba(248, 250, 252, 1) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(148, 163, 184, 0.05) 12px,
      rgba(148, 163, 184, 0.05) 24px
    );
  border: 1px dashed var(--slate-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--slate-400);
  text-align: center;
  padding: 48px 24px;
}

.screenshot-placeholder--mobile {
  max-width: 280px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  min-height: auto;
}

.screenshot-mobile-frame {
  width: 100%;
  max-width: 260px;
  height: 420px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.screenshot--mobile {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin-inline: 0;
  object-fit: cover;
  object-position: top center;
}

.screenshot-placeholder__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-placeholder__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-500);
}

.screenshot-placeholder__hint {
  font-size: 12px;
  color: var(--slate-400);
}

/* TMS */
.tms {
  padding-top: 72px;
  padding-bottom: 72px;
}

.tms__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.tms__main .section-title {
  margin-bottom: 20px;
}

.tms__lead {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate-600);
}

.tms__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-500);
}

.tms__text strong {
  color: var(--slate-800);
  font-weight: 600;
}

.tms__adapted {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}

.tms__adapted-title {
  margin: 0 0 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
}

.tms__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tms__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tms__list-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-600);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tms__list strong {
  display: block;
  font-size: 15px;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.tms__list li > div span {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.5;
}

.tms__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-50) 0%, var(--white) 100%);
  border: 1px solid var(--green-100);
}

.tms__flow-step {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.tms__flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tms__flow-step p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  line-height: 1.4;
}

.tms__flow-arrow {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--green-500);
  font-weight: 300;
}

/* Pain points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-200);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pain-card:hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-md);
}

.pain-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fef2f2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pain-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--slate-900);
}

.pain-card p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* Problem → Solution */
.solve-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solve-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.solve-row__problem,
.solve-row__solution {
  display: flex;
  flex-direction: column;
}

.solve-row__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.solve-row__label--problem {
  background: #fef2f2;
  color: #b91c1c;
}

.solve-row__label--solution {
  background: var(--green-50);
  color: var(--green-700);
}

.solve-row__problem h3,
.solve-row__solution h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.3;
}

.solve-row__problem p,
.solve-row__solution > p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
}

.solve-row__benefits {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solve-row__benefits li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.5;
}

.solve-row__benefits li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center no-repeat;
}

.solve-row__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  align-self: center;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
}

.solve-cta {
  margin-top: 48px;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-50) 0%, var(--white) 100%);
  border: 1px solid var(--green-100);
  text-align: center;
}

.solve-cta p {
  margin: 0 0 24px;
  max-width: 640px;
  margin-inline: auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate-700);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.feature-card__head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--slate-900);
}

.feature-card__badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  font-size: 11px;
  font-weight: 600;
  color: var(--green-700);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--slate-900);
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
}

/* Showcase */
.showcase {
  display: grid;
  gap: 64px;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.showcase-item--reverse {
  direction: rtl;
}

.showcase-item--reverse > * {
  direction: ltr;
}

.showcase-item__content h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.showcase-item__content p {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--slate-500);
  line-height: 1.7;
}

.showcase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-600);
}

.showcase-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center no-repeat;
}

/* Transformation */
.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.transform-card {
  padding: 36px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.transform-card h3 {
  margin: 0 0 20px;
  font-size: 20px;
  color: var(--white);
}

.transform-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.transform-card li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.transform-card--before li::before {
  content: '✕';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.transform-card--after li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-200);
  counter-increment: step;
}

.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--slate-900);
}

.step-card p {
  margin: 0;
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--green-500);
  box-shadow: 0 0 0 1px var(--green-500), var(--shadow-lg);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--green-600);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card__name {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
}

.pricing-card__desc {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--slate-500);
  min-height: 42px;
}

.pricing-card__price {
  margin-bottom: 8px;
}

.pricing-card__amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

.pricing-card__period {
  font-size: 15px;
  color: var(--slate-500);
}

.pricing-card__limits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.pricing-card__limit {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--slate-100);
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-600);
}

.pricing-card__modules {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card__modules li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-600);
}

.pricing-card__modules li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center no-repeat;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-discounts {
  margin-top: 40px;
  padding: 24px 32px;
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  text-align: center;
}

.pricing-discounts p {
  margin: 0;
  font-size: 15px;
  color: var(--green-800);
}

.pricing-discounts strong {
  color: var(--green-700);
}

.pricing-loading {
  text-align: center;
  padding: 48px;
  color: var(--slate-500);
}

.pricing-error {
  text-align: center;
  padding: 32px;
  border-radius: var(--radius);
  background: #fef2f2;
  color: #b91c1c;
  font-size: 14px;
}

.pricing-buyout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  padding: 40px 44px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.pricing-buyout__label {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--slate-100);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-600);
  letter-spacing: 0.02em;
}

.pricing-buyout__title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.pricing-buyout__text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate-500);
}

.pricing-buyout__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-buyout__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-600);
}

.pricing-buyout__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center no-repeat;
}

.pricing-buyout__pricing {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 32px;
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}

.pricing-buyout__price-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-buyout__price-row--secondary {
  padding-top: 16px;
  border-top: 1px solid var(--slate-200);
}

.pricing-buyout__amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

.pricing-buyout__amount--sm {
  font-size: 28px;
}

.pricing-buyout__period {
  font-size: 14px;
  color: var(--slate-500);
}

.pricing-buyout .btn {
  margin-top: 8px;
  width: 100%;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  color: var(--slate-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--slate-400);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* CTA */
.cta {
  padding: 80px 0;
  text-align: center;
}

.cta__box {
  padding: 64px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 50%, #22c55e 100%);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(22, 163, 74, 0.3);
}

.cta__box h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta__box p {
  margin: 0 auto 32px;
  font-size: 17px;
  opacity: 0.9;
  max-width: 520px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  padding: 48px 0 32px;
  background: var(--slate-950);
  color: var(--slate-400);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer .logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-300);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  font-size: 14px;
  color: var(--slate-400);
  transition: color 0.15s;
}

.footer a:hover {
  color: var(--green-500);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero__grid {
    gap: 40px;
  }

  .showcase {
    gap: 48px;
  }

  .showcase-item {
    gap: 36px;
  }
}

@media (max-width: 1024px) {
  .tms__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tms__flow {
    flex-wrap: wrap;
    gap: 16px;
  }

  .tms__flow-arrow {
    display: none;
  }

  .tms__flow-step {
    flex: 1 1 calc(50% - 16px);
  }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .hero {
    padding-bottom: 64px;
  }

  .hero__grid,
  .showcase-item,
  .showcase-item--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero__text {
    max-width: none;
  }

  .hero__content {
    padding-right: 0;
  }

  .hero__visual {
    width: 100%;
    min-height: clamp(360px, 50vw, 500px);
    margin-top: 0;
  }

  .screenshot--hero {
    min-height: clamp(360px, 50vw, 500px);
  }

  .features-grid,
  .pain-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solve-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solve-row__arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

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

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

  .showcase-item__content h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

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

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .section-subtitle {
    font-size: 16px;
  }

  .header__inner {
    gap: 12px;
  }

  .logo {
    font-size: 16px;
  }

  .logo img,
  .logo__mark {
    width: 28px;
    height: 28px;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 16px calc(24px + env(safe-area-inset-bottom));
    background: var(--white);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .nav__links {
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
  }

  .nav__links a {
    display: block;
    padding: 14px 12px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .nav__links a:hover {
    background: var(--slate-50);
  }

  .nav__actions {
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--slate-200);
  }

  .nav__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
    z-index: 101;
  }

  .tms {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .tms__adapted {
    padding: 24px 20px;
  }

  .tms__flow {
    flex-direction: column;
    padding: 24px 20px;
  }

  .tms__flow-step {
    flex: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
  }

  .tms__flow-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 48px;
  }

  .hero__title {
    font-size: clamp(24px, 7.8vw, 36px);
  }

  .hero__text {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero__actions {
    margin-bottom: 28px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }

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

  .hero__stat strong {
    font-size: 18px;
  }

  .hero__stat span {
    font-size: 12px;
    line-height: 1.4;
  }

  .screenshot {
    border-radius: 10px;
  }

  .screenshot-placeholder {
    padding: 32px 20px;
  }

  .pain-card,
  .feature-card,
  .step-card,
  .pricing-card,
  .transform-card {
    padding: 24px 20px;
  }

  .features-grid,
  .pain-grid,
  .pricing-grid,
  .steps,
  .transform-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solve-row {
    padding: 22px 20px;
  }

  .solve-row__problem h3,
  .solve-row__solution h3 {
    font-size: 17px;
  }

  .solve-cta {
    margin-top: 32px;
    padding: 28px 20px;
  }

  .solve-cta p {
    font-size: 16px;
  }

  .showcase {
    gap: 40px;
  }

  .showcase-item {
    gap: 24px;
  }

  .screenshot-mobile-frame {
    max-width: 200px;
    height: 280px;
  }

  .showcase-item__content h3 {
    font-size: 22px;
  }

  .pricing-card__amount {
    font-size: 36px;
  }

  .pricing-discounts {
    margin-top: 28px;
    padding: 20px 16px;
  }

  .pricing-discounts p {
    font-size: 14px;
    line-height: 1.6;
  }

  .pricing-buyout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
    padding: 28px 24px;
  }

  .pricing-buyout__title {
    font-size: 22px;
  }

  .pricing-buyout__pricing {
    padding: 24px 20px;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: 14px;
  }

  .faq-item__answer {
    padding: 0 18px 16px;
  }

  .cta {
    padding: 56px 0;
  }

  .cta__box {
    padding: 40px 24px;
    border-radius: 20px;
  }

  .cta__box p {
    font-size: 15px;
  }

  .cta__actions .btn {
    width: 100%;
  }

  .footer {
    padding: 40px 0 calc(28px + env(safe-area-inset-bottom));
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .section {
    padding: 48px 0;
  }

  .hero__badge {
    font-size: 12px;
  }

  .hero__visual {
    min-height: clamp(240px, 62vw, 340px);
  }

  .screenshot--hero {
    min-height: clamp(240px, 62vw, 340px);
  }

  .screenshot-mobile-frame {
    max-width: 180px;
    height: 240px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__stat {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--slate-200);
  }

  .pricing-card--featured {
    margin-top: 12px;
  }

  .pricing-card__desc {
    min-height: auto;
  }

  .btn--lg {
    padding: 14px 20px;
    font-size: 14px;
  }

  .transform-card li {
    font-size: 14px;
  }
}

@media (hover: none) {
  .btn:hover,
  .feature-card:hover,
  .pain-card:hover,
  .pricing-card:hover {
    transform: none;
  }
}
