/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --primary-50: #f0fdfa;
  --primary-100: #ccfbf1;
  --primary-400: #2dd4bf;
  --primary-500: #14b8a6;
  --primary-600: #0d9488;
  --primary-700: #0f766e;
  --primary-800: #115e59;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;

  --bg: #ffffff;
  --bg-alt: var(--slate-50);
  --text: var(--slate-900);
  --text-muted: var(--slate-500);
  --border: var(--slate-200);

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  color: var(--slate-900);
}
p { margin: 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--text-muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary-600);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}
.btn-primary:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.btn-ghost {
  background: #fff;
  color: var(--slate-700);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary-500);
  color: var(--primary-700);
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}
.brand::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-700));
  vertical-align: -4px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
}
.nav-links a:hover { color: var(--primary-700); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(20, 184, 166, 0.08), transparent),
    var(--bg);
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.10), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.accent {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Sections common ===== */
section { padding: 80px 0; }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ===== Grid ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ===== Pain ===== */
.pain { background: var(--bg-alt); }
.pain-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.pain-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.pain-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.pain-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== Features ===== */
.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  transition: all 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ===== How ===== */
.how { background: var(--bg-alt); }
.steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
  justify-content: center;
}
.step {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-muted);
  font-size: 14.5px;
}
.step-arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--primary-500);
}
@media (max-width: 880px) {
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); justify-content: center; }
}

/* ===== Pricing ===== */
.price-grid { max-width: 760px; margin: 0 auto; }
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.price-card-featured {
  border-color: var(--primary-500);
  box-shadow: 0 20px 50px rgba(13, 148, 136, 0.12);
  position: relative;
}
.price-card-featured::before {
  content: 'Популярний';
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary-600);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.price-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.price-amount span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}
.price-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 14.5px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}
.price-features li { color: var(--slate-700); }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--slate-900) 0%, #0c2625 100%);
  color: #fff;
  text-align: center;
}
.cta h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}
.cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-size: 17px;
}
.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.waitlist-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}
.waitlist-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.waitlist-form input:focus {
  outline: none;
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.1);
}
.cta-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}
@media (max-width: 560px) {
  .waitlist-form { flex-direction: column; }
}

/* ===== Footer ===== */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.brand-footer { font-size: 18px; }
.brand-footer::before { width: 18px; height: 18px; vertical-align: -3px; }
.footer-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-meta a:hover { color: var(--primary-700); }
