/* ═══════ AutoChat Landing Page Styles ═══════ */
/* Same color system as the dashboard panel */

:root {
  color-scheme: light only;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --brand-900: #312e81;

  --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;

  --white: #ffffff;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

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

/* ═══════ Container ═══════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════ Buttons ═══════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  touch-action: manipulation;
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  min-height: 40px;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  min-height: 48px;
}

.btn-primary {
  background: var(--brand-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.btn-primary:hover {
  background: var(--brand-700);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-600);
  border: 2px solid var(--brand-200);
}
.btn-outline:hover {
  background: var(--brand-50);
  border-color: var(--brand-400);
}

.btn-white {
  background: var(--white);
  color: var(--brand-700);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover {
  background: var(--brand-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xl);
}

.btn-block {
  width: 100%;
}

/* ═══════ Navbar ═══════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: var(--brand-600);
  color: var(--white);
  font-weight: 800;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon.small {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.6875rem;
  border-radius: 0.5rem;
}
.logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--slate-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius);
  transition: all 0.15s;
}
.nav-link:hover {
  color: var(--brand-600);
  background: var(--brand-50);
}

.nav-cta {
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all 0.2s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1rem 1.25rem;
  gap: 0.125rem;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.mobile-menu.open {
  display: flex;
}
.mobile-link {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.mobile-link:hover,
.mobile-link:active {
  color: var(--brand-600);
  background: var(--brand-50);
}
.mobile-cta {
  margin-top: 0.5rem;
}

/* ═══════ Hero ═══════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 5rem 0 3rem;
  overflow: hidden;
  background: linear-gradient(160deg, var(--brand-50) 0%, var(--white) 40%, var(--slate-50) 70%, var(--brand-50) 100%);
}
.hero-inner {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--slate-900);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 680px;
}

.hero-subtitle {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--slate-600);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}



.hero-gradient {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50%;
  height: 160%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 55%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 40%;
  height: 140%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

/* ═══════ Section ═══════ */
.section {
  padding: 5rem 0;
}
.section-light {
  background: #f0f1fa;
}
.section-white {
  background: var(--white);
}
.section-dark {
  background: var(--slate-900);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header.light .section-title,
.section-header.light .section-subtitle {
  color: var(--white);
}
.section-header.light .section-subtitle {
  color: var(--slate-400);
}
.section-dark .section-title {
  color: var(--white);
}
.section-dark .section-subtitle {
  color: var(--slate-400);
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.section-badge.light {
  background: rgba(99, 102, 241, 0.15);
  color: var(--brand-300);
}
.section-dark .section-badge {
  background: rgba(99, 102, 241, 0.2);
  color: var(--brand-300);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--slate-500);
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ═══════ Trial Note (hero) ═══════ */
.trial-note {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 2rem;
  padding: 0.5rem 1.25rem;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
  max-width: fit-content;
}
.trial-note-track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.trial-note-item {
  white-space: nowrap;
}
.trial-note-dot {
  color: #86efac;
  font-weight: 700;
}
/* Hide duplicated items on desktop */
.trail-dup {
  display: none;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════ Trial Tag (pricing cards) ═══════ */
.trial-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 1rem;
  padding: 0.1875rem 0.625rem;
  margin-top: 0.375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ═══════ Telegram Icon in buttons ═══════ */
.tg-icon {
  width: 1.125em;
  height: 1.125em;
  flex-shrink: 0;
}

/* ═══════ Problems ═══════ */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.2s;
}
.problem-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.problem-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.problem-icon.warn {
  background: #fef3c7;
  color: #d97706;
}
.problem-icon.accent {
  background: #fce7f3;
  color: #db2777;
}
.problem-icon.danger {
  background: #fee2e2;
  color: #dc2626;
}
.problem-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--slate-800);
}
.problem-text {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.problems-conclusion {
  text-align: center;
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-xl);
}
.problems-conclusion p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  line-height: 1.6;
}

/* ═══════ Problem Section ═══════ */
.section-problem {
  background: linear-gradient(180deg, #f0f1fa 0%, #e8eaf6 100%);
  position: relative;
  overflow: hidden;
}
.section-problem::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.problem-journey {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto 2.5rem;
}

.journey-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: relative;
}
.journey-left {
  border-top: 4px solid var(--brand-400);
}
.journey-right {
  border-top: 4px solid #f87171;
}

.journey-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.journey-icon-warn {
  background: #fef2f2;
  color: #ef4444;
}

.journey-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 1.25rem;
}

.journey-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.journey-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.journey-dot {
  display: block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--brand-300);
  margin-top: 0.5rem;
}
.journey-item p {
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.journey-item-x .journey-x {
  color: #ef4444;
  font-weight: 700;
  font-size: 0.75rem;
  min-width: 8px;
  margin-top: 0.25rem;
}

.journey-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  gap: 0;
}
.connector-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--brand-200) 0%, #fca5a5 100%);
  min-height: 30px;
}
.connector-badge {
  background: var(--slate-800);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.375rem 0.75rem;
  border-radius: 2rem;
  white-space: nowrap;
}

.problem-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--brand-200);
  box-shadow: var(--shadow);
  text-align: center;
}
.problem-bottom-icon {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 50%;
  background: #fef2f2;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
}
.problem-bottom p {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.5;
}

/* ═══════ Solution Section ═══════ */
.section-solution {
  background: var(--white);
  position: relative;
}

.solution-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto 3rem;
}
.showcase-card {
  background: linear-gradient(135deg, var(--brand-50) 0%, var(--white) 100%);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
}

/* ── Solution Prose ── */
.solution-prose {
  max-width: 740px;
  margin: 0 auto 2.5rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--brand-100);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.solution-prose p {
  font-size: 1.0625rem;
  color: var(--slate-700);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.solution-prose p:last-child {
  margin-bottom: 0;
}
.solution-lead {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--slate-800);
}
.solution-accent {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-600);
  border-left: 3px solid var(--brand-400);
  padding-left: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.showcase-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--brand-100);
}
.showcase-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.625rem;
}
.showcase-text {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.solution-metrics-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 740px;
  margin: 0 auto 2.5rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, var(--brand-50) 0%, #ede9fe 100%);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--brand-200);
}
.metric-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
}
.metric-pill-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric-pill-label {
  font-size: 0.8125rem;
  color: var(--slate-600);
  text-align: center;
  line-height: 1.4;
}
.metric-divider {
  width: 1px;
  height: 3.5rem;
  background: var(--brand-200);
}

.solution-takeaway {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background: var(--brand-50);
  border: 2px solid var(--brand-200);
  border-radius: var(--radius-xl);
}
.solution-takeaway p {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--brand-700);
  line-height: 1.6;
}

/* ═══════ Features ═══════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
  transform: translateY(-2px);
}
.feature-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-300);
}
.feature-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-emoji {
  font-size: 1.375rem;
}
.feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--slate-800);
}
.feature-text {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ─── Expandable features detail ─── */
.features-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}
.features-detail.open {
  max-height: 2400px;
  opacity: 1;
  margin-top: 3rem;
}
.features-detail-header {
  text-align: center;
  margin-bottom: 2rem;
}
.features-detail-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--slate-800);
}
.features-detail-subtitle {
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin-top: 0.5rem;
}
.expand-features-btn {
  cursor: pointer;
  transition: all 0.2s;
}
.expand-features-btn .arrow-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}
.expand-features-btn.expanded {
  opacity: 0.7;
}
.expand-features-btn.expanded .arrow-icon {
  transform: rotate(180deg);
}

/* Tools inside solution (light variant) */
.tools-detail-section {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  margin-left: -2rem;
  margin-right: -2rem;
}
.tools-detail-section .features-detail-header {
  margin-bottom: 2rem;
}
.tools-detail-section .features-detail-title {
  color: var(--slate-800);
}
.tools-detail-section .features-detail-subtitle {
  color: var(--slate-500);
}
.tools-detail-section .tool-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
}
.tools-detail-section .tool-card::before {
  display: none;
}
.tools-detail-section .tool-title {
  color: var(--slate-800);
}
.tools-detail-section .tool-text {
  color: var(--slate-600);
}
.tools-detail-section .tool-list li {
  color: var(--slate-700);
}
.tools-detail-section .tool-list li::before {
  color: var(--brand-500);
}
.tools-detail-section .tool-icon-wrap {
  background: var(--brand-50);
  color: var(--brand-600);
}
.tools-detail-section .tool-icon-wrap svg {
  fill: var(--brand-600);
  stroke: var(--brand-600);
}
.tools-detail-section .tool-badge {
  background: var(--brand-100);
  color: var(--brand-800);
  border-color: var(--brand-300);
}
.tools-detail-section .tool-badge span {
  color: var(--brand-800);
}

/* ═══════ Advantages ═══════ */
.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.adv-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.adv-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.adv-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  position: relative;
  z-index: 2;
}

.adv-line {
  width: 2px;
  flex: 1;
  min-height: 100%;
  background: linear-gradient(180deg, var(--brand-300) 0%, var(--brand-100) 100%);
}

.adv-body {
  padding-bottom: 2.5rem;
  padding-top: 0.25rem;
}

.adv-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.adv-text {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.7;
}

/* Last item — no bottom padding, no line */
.adv-item:last-child .adv-body {
  padding-bottom: 0;
}
.adv-item:last-child .adv-line {
  display: none;
}
.advantages-conclusion {
  text-align: center;
  max-width: 640px;
  margin: 2.5rem auto 0;
}
.advantages-conclusion p {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-700);
  line-height: 1.6;
}

/* ═══════ Tools ═══════ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}
.tool-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-300));
}
.tool-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.tool-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  border-radius: var(--radius-lg);
  background: rgba(99, 102, 241, 0.15);
  color: var(--brand-300);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
}
.tool-text {
  color: var(--slate-400);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.tool-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.tool-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--slate-300);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.tool-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-300);
}
.tool-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.5rem 0.875rem;
  background: var(--brand-100);
  border: 1px solid var(--brand-300);
  border-radius: 2rem;
  width: fit-content;
  color: var(--brand-700);
}
.tool-badge span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
}
.tool-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--slate-400);
  font-weight: 500;
}

/* ═══════ Launch ═══════ */
.launch-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.launch-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body {
  padding-top: 0.25rem;
}
.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.step-text {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.launch-data {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.launch-data-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.data-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.data-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.data-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.data-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}
.data-item p {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.4;
}
.launch-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--slate-500);
  font-style: italic;
}

/* ═══════ Pricing ═══════ */

/* ── Plan Overview Cards ── */
.plan-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto 3rem;
  align-items: stretch;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s;
  overflow: hidden;
}
.plan-card:hover {
  box-shadow: var(--shadow-lg);
}
.plan-card-popular {
  border: 2px solid var(--brand-500);
  padding-top: 3rem;
}
.plan-card-badge {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  background: var(--brand-600);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  padding: 0.375rem 0;
  border-radius: 0;
}
.plan-card-name {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--slate-900);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.plan-card-tagline {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.plan-card-tagline-accent {
  color: var(--brand-600);
  font-weight: 600;
}
.plan-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.plan-card-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-card-period {
  font-size: 1rem;
  color: var(--slate-500);
  font-weight: 500;
}
.plan-card-masters {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}
.plan-card-includes {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 0.5rem;
  font-style: italic;
}
.plan-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.plan-card-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.45;
}
.plan-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-500);
  font-weight: 700;
}
.plan-card-support {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-100);
}
.plan-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: auto;
}
.plan-card-actions .btn-sm {
  width: 100%;
  text-align: center;
}
.plan-select-btn {
  width: 100%;
}

/* ── Pricing Calculator ── */
.pricing-calculator {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 100%;
  margin: 0 auto 2.5rem;
}
.calculator-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 1.75rem;
}
.calculator-plan-badge {
  display: inline-block;
  background: var(--brand-600);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 2rem;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ═══════ Master Selector ═══════ */
.master-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.master-selector-label {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-800);
}
.master-selector-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--brand-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.master-btn {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--white);
  color: var(--brand-600);
  font-size: 1.375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  -webkit-user-select: none;
  user-select: none;
}
.master-btn:hover {
  background: var(--brand-50);
}
.master-btn:disabled {
  color: var(--slate-300);
  cursor: default;
  background: var(--white);
}
.master-count {
  min-width: 3.5rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  border-left: 1px solid var(--brand-100);
  border-right: 1px solid var(--brand-100);
  padding: 0 0.5rem;
  line-height: 3rem;
}
.master-selector-hint {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

/* ═══════ Tariff Tabs ═══════ */
.tariff-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.5rem;
  background: var(--white);
  border: 2px solid var(--brand-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.tariff-tab {
  flex: 1;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--slate-500);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tariff-tab.active {
  background: var(--brand-600);
  color: var(--white);
}
.tariff-tab:not(.active):hover {
  background: var(--brand-50);
  color: var(--brand-600);
}

/* ═══════ Package Cards ═══════ */
.packages-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}
.package-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  overflow: hidden;
}
.package-card .btn-block {
  margin-top: auto;
}
.package-card.best-value {
  border: 2px solid var(--brand-500);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.12);
  padding-top: 2.75rem;
}
.package-badge {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  background: var(--brand-600);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.375rem 0;
  border-radius: 0;
}
.package-card.package-plain {
  border-style: dashed;
  border-color: var(--slate-300);
}
.package-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-700);
}
.package-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  flex-wrap: wrap;
  justify-content: center;
}
.package-avg {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
  line-height: 1;
}
.package-avg-label {
  font-size: 0.875rem;
  color: var(--slate-500);
  font-weight: 500;
}
.package-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9375rem;
}
.package-old-price {
  color: var(--slate-400);
  font-size: 0.875rem;
}
.package-old-price s {
  text-decoration: line-through;
}
.package-total {
  color: var(--slate-700);
}
.package-total strong {
  font-weight: 700;
}
.package-saving {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #10b981;
  background: #ecfdf5;
  padding: 0.375rem 1rem;
  border-radius: 2rem;
  border: 1px solid #a7f3d0;
}
.package-card .btn-block {
  width: 100%;
}
.package-trial {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 0.3rem 0.875rem;
  border-radius: 2rem;
  border: 1px solid var(--brand-200);
}

.pricing-footnote {
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-600);
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.pricing-note {
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* ═══════ Slider ═══════ */
.slider-wrapper {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--slate-900);
  box-shadow: var(--shadow-xl);
}

.slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}



.slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-900);
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  color: var(--slate-700);
  transition: all 0.2s;
  z-index: 5;
  touch-action: manipulation;
}
.slider-btn:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.slider-prev {
  left: 0.75rem;
}
.slider-next {
  right: 0.75rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  background: var(--white);
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.slider-dot.active {
  background: var(--brand-600);
  width: 1.5rem;
  border-radius: 4px;
}

/* ═══════ Final CTA ═══════ */
.section-cta-final {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-900) 100%);
  color: var(--white);
}
.cta-final-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-final-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.cta-final-text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.cta-final-buttons {
  margin-bottom: 1.5rem;
}
.cta-final-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ═══════ Footer ═══════ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.9375rem;
}
.footer-copy {
  font-size: 0.8125rem;
}
.footer-link {
  font-size: 0.875rem;
  color: var(--brand-400);
  transition: color 0.15s;
}
.footer-link:hover {
  color: var(--brand-300);
}

/* ═══════ RESPONSIVE ═══════ */

/* Disable hover animations on touch devices (prevents iOS double-tap, janky scroll) */
@media (hover: none) and (pointer: coarse) {
  .problem-card:hover,
  .feature-card:hover,
  .price-card:hover {
    transform: none;
    box-shadow: none;
  }
  .btn-primary:hover,
  .btn-white:hover {
    transform: none;
  }
}

/* ─── Nav burger at 1200px ─── */
@media (max-width: 1200px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
}

/* ─── Tablets / small laptops ─── */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .phone-mockup {
    width: 180px;
  }
  /* Solution showcase 3 → 2 cols on tablets */
  .solution-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .solution-showcase .showcase-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-overview {
    gap: 1.5rem;
  }
  .packages-row {
    gap: 1rem;
  }
}

/* ─── Phones landscape / large phones ─── */
@media (max-width: 768px) {

  /* Hero */
  .hero {
    padding: 6rem 0 3rem;
    background: linear-gradient(180deg, var(--brand-50) 0%, var(--white) 60%, var(--slate-50) 100%);
  }
  .hero::before,
  .hero-gradient {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.18;
    max-width: 100%;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin: 0 auto 1.5rem;
    max-width: 100%;
  }
  .trial-note {
    display: flex;
    width: 100%;
    padding: 0.625rem 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    justify-content: flex-start;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  }
  .trial-note-track {
    animation: ticker 12s linear infinite;
    gap: 0.625rem;
    font-size: 0.8125rem;
  }
  /* Show all duplicated items on mobile for seamless loop */
  .trail-dup {
    display: inline;
  }
  .trial-note-item {
    font-size: 0.8125rem;
  }
  /* Features detail: stack needs more height */
  .features-detail.open {
    max-height: 3200px;
  }
  .hero-buttons {
    justify-content: center;
    gap: 0.625rem;
  }
  .hero-buttons .btn-lg {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    min-height: 42px;
  }

  /* Buttons: reduce all sizes on mobile */
  .btn {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    min-height: 42px;
  }
  .btn-lg {
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
    min-height: 44px;
  }
  .btn-sm {
    font-size: 0.75rem;
    padding: 0.4375rem 0.875rem;
    min-height: 36px;
  }
  .section-cta {
    margin-top: 2rem;
    text-align: center;
  }
  .section-cta .btn {
    max-width: 280px;
  }
  .tg-icon {
    width: 0.9375em;
    height: 0.9375em;
  }

  /* Sections */
  .section {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-subtitle {
    font-size: 0.9375rem;
  }
  .section-cta {
    margin-top: 2rem;
  }

  /* Grids */
  .problems-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  /* Solution showcase → 1 column on mobile */
  .solution-showcase {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .solution-showcase .showcase-card:last-child {
    max-width: 100%;
    grid-column: auto;
  }
  .showcase-icon {
    width: 3rem;
    height: 3rem;
  }
  .showcase-icon svg {
    width: 22px;
    height: 22px;
  }
  .showcase-title {
    font-size: 1rem;
  }
  .showcase-text {
    font-size: 0.875rem;
  }
  /* Plan card tagline */
  .plan-card-tagline {
    font-size: 0.8125rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .advantages-list {
    gap: 0;
  }
  .adv-item {
    gap: 1.25rem;
  }
  .adv-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.8125rem;
  }
  .adv-body {
    padding-bottom: 2rem;
  }
  .adv-title {
    font-size: 1rem;
  }
  .adv-text {
    font-size: 0.875rem;
  }
  .tools-detail-section {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 2rem 1rem;
  }
  .problems-conclusion {
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
  }
  /* Problem journey responsive */
  .problem-journey {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .journey-card {
    padding: 1.75rem;
  }
  .journey-connector {
    flex-direction: row;
    padding: 0.75rem 1.5rem;
  }
  .connector-line {
    width: auto;
    height: 2px;
    min-height: unset;
    flex: 1;
  }
  .problem-bottom {
    padding: 1.25rem 1.5rem;
  }
  /* Solution prose responsive */
  .solution-prose {
    padding: 1.75rem;
  }
  .solution-accent {
    font-size: 1.125rem;
  }
  .solution-metrics-row {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .metric-divider {
    width: 60%;
    height: 1px;
  }
  .metric-pill-value {
    font-size: 1.75rem;
  }
  .solution-takeaway {
    padding: 1.25rem 1.5rem;
  }
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
  }

  /* Launch */
  .launch-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Pricing */
  .plan-overview {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .plan-card {
    padding: 1.75rem 1.5rem 1.5rem;
  }
  .plan-card-popular {
    padding-top: 2.5rem;
  }
  .packages-row {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-note {
    font-size: 0.8125rem;
    padding: 0 1rem;
  }

  /* Slider */
  .slider-wrapper {
    max-width: 340px;
  }
  .slider-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  .slider-prev {
    left: 0.375rem;
  }
  .slider-next {
    right: 0.375rem;
  }
  .slide-caption {
    font-size: 0.8125rem;
    padding: 1.5rem 1rem 1rem;
  }

  /* Final CTA */
  .cta-final-title {
    font-size: 1.5rem;
  }
  .cta-final-text {
    font-size: 0.9375rem;
  }
  .section-cta-final {
    padding: 3.5rem 0;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* ─── Small phones (iPhone SE, Galaxy S8, etc.) ─── */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .navbar-inner {
    height: 3.5rem;
  }
  .logo-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
  .logo-text {
    font-size: 1rem;
  }

  .hero {
    padding: 5rem 0 2rem;
  }
  .hero-title {
    font-size: 1.625rem;
  }
  .trial-note {
    padding: 0.5rem 0;
    border-radius: 0;
  }
  .trial-note-track {
    font-size: 0.75rem;
    animation-duration: 10s;
  }
  .trial-note-item {
    font-size: 0.75rem;
  }
  .trial-tag {
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
  }
  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    white-space: normal;
    text-align: center;
    width: auto;
    max-width: 280px;
  }
  .hero-buttons .btn-lg {
    font-size: 0.8125rem;
    padding: 0.5625rem 1.125rem;
    min-height: 40px;
  }
  .btn {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    min-height: 40px;
    gap: 0.375rem;
  }
  .btn-lg {
    font-size: 0.8125rem;
    padding: 0.5625rem 1.25rem;
    min-height: 40px;
  }
  .section-cta .btn {
    max-width: 260px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  /* Expand buttons on small phones */
  .expand-features-btn {
    white-space: normal;
    text-align: center;
    max-width: 260px;
  }
  .plan-card-amount {
    font-size: 1.75rem;
  }
  .plan-card-features li {
    font-size: 0.8125rem;
  }
  .package-card {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .package-avg {
    font-size: 1.5rem;
  }
  .tg-icon {
    width: 0.875em;
    height: 0.875em;
  }

  /* Final CTA button */
  .cta-final-buttons .btn {
    font-size: 0.8125rem;
    padding: 0.5625rem 1.25rem;
    max-width: 280px;
  }
  .hero-stats {
    gap: 0.75rem;
  }
  .stat-value {
    font-size: 1rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
  }

  .phone-mockup {
    width: 140px;
    border-radius: 2rem;
    padding: 0.5rem;
  }
  .phone-screen {
    border-radius: 1.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }
  .section-title {
    font-size: 1.375rem;
  }
  .section-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
  }

  /* Solution showcase 480 */
  .solution-showcase {
    max-width: 100%;
  }
  .showcase-card {
    padding: 1.5rem;
  }
  .showcase-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
  }
  .showcase-icon svg {
    width: 20px;
    height: 20px;
  }
  .showcase-title {
    font-size: 0.9375rem;
  }
  .showcase-text {
    font-size: 0.8125rem;
  }
  /* Plan card tagline 480 */
  .plan-card-tagline {
    font-size: 0.75rem;
  }

  .problem-card,
  .feature-card,
  .tool-card {
    padding: 1.25rem;
  }
  .problem-title,
  .feature-title {
    font-size: 1rem;
  }
  .problem-text,
  .feature-text {
    font-size: 0.875rem;
  }
  .problems-conclusion p {
    font-size: 0.875rem;
  }
  /* Problem journey 480 */
  .journey-card {
    padding: 1.25rem;
  }
  .journey-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
  }
  .journey-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .journey-item p {
    font-size: 0.875rem;
  }
  .problem-bottom {
    padding: 1rem 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 0.625rem;
  }
  .problem-bottom p {
    font-size: 0.9375rem;
  }
  /* Solution prose 480 */
  .solution-prose {
    padding: 1.25rem;
  }
  .solution-prose p {
    font-size: 0.9375rem;
  }
  .solution-lead {
    font-size: 1.0625rem;
  }
  .solution-accent {
    font-size: 1.0625rem;
  }
  .metric-pill-value {
    font-size: 1.5rem;
  }
  .metric-pill-label {
    font-size: 0.75rem;
  }
  .solution-takeaway {
    padding: 1rem 1.25rem;
  }
  .solution-takeaway p {
    font-size: 0.9375rem;
  }
  /* Tool cards 480 */
  .tool-icon-wrap {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
  }
  .tool-badge {
    padding: 0.375rem 0.75rem;
  }
  .tool-badge span {
    font-size: 0.75rem;
  }
  /* Advantage cards 480 */
  .advantage-num {
    font-size: 0.75rem;
    top: 1rem;
    right: 1rem;
  }

  /* Tool cards */
  .tool-title {
    font-size: 1.0625rem;
  }
  .tool-text {
    font-size: 0.875rem;
  }
  .tool-list li {
    font-size: 0.875rem;
  }

  /* Launch */
  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  .step-title {
    font-size: 1rem;
  }
  .step-text {
    font-size: 0.875rem;
  }
  .launch-data {
    padding: 1.25rem;
  }

  /* Pricing */
  .plan-overview {
    max-width: 100%;
  }
  .plan-card-name {
    font-size: 1.125rem;
  }
  .plan-card-amount {
    font-size: 1.5rem;
  }
  .plan-card-features li {
    font-size: 0.8125rem;
    padding-left: 1.25rem;
  }
  .plan-card-support {
    font-size: 0.75rem;
  }
  .packages-row {
    max-width: 100%;
  }
  .package-card {
    padding: 1.25rem 1rem 1rem;
  }
  .package-avg {
    font-size: 1.5rem;
  }
  .package-name {
    font-size: 0.9375rem;
  }
  .package-details {
    font-size: 0.8125rem;
  }
  .pricing-note {
    font-size: 0.75rem;
    padding: 0 0.5rem;
    text-align: center;
  }
  .master-selector-label {
    font-size: 0.9375rem;
  }

  /* Slider */
  .slider-wrapper {
    max-width: 280px;
    border-radius: var(--radius);
  }
  .slider-btn {
    width: 2rem;
    height: 2rem;
  }
  .slider-btn svg {
    width: 18px;
    height: 18px;
  }
  .slider-prev {
    left: 0.25rem;
  }
  .slider-next {
    right: 0.25rem;
  }
  .slider-dots {
    padding: 0.625rem 0;
    gap: 0.375rem;
  }
  .slider-dot {
    width: 6px;
    height: 6px;
  }
  .slider-dot.active {
    width: 1.25rem;
  }

  /* CTA */
  .section-cta-final {
    padding: 2.5rem 0;
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
  }
  .cta-final-title {
    font-size: 1.375rem;
  }
  .cta-final-text {
    font-size: 0.875rem;
  }

  /* Footer */
  .footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
  .footer-copy {
    font-size: 0.75rem;
  }
}

/* ─── Very small phones (iPhone SE 1st gen, Galaxy A01, 320px) ─── */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }
  .hero-title {
    font-size: 1.3125rem;
  }
  .hero-subtitle {
    font-size: 0.875rem;
  }
  .phone-mockup {
    width: 120px;
  }
  .section-title {
    font-size: 1.25rem;
  }
  .package-avg {
    font-size: 1.25rem;
  }
  .step {
    gap: 0.75rem;
  }
  .step-number {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.875rem;
  }
  .btn {
    font-size: 0.75rem;
    padding: 0.4375rem 0.75rem;
    min-height: 36px;
  }
  .hero-buttons .btn {
    max-width: 240px;
  }
  .section-cta .btn {
    max-width: 220px;
  }
  .cta-final-buttons .btn {
    max-width: 240px;
  }
  .tg-icon {
    width: 0.8125em;
    height: 0.8125em;
  }
  .slider-wrapper {
    max-width: 240px;
  }
  .plan-card-tagline {
    font-size: 0.6875rem;
  }
  .showcase-card {
    padding: 1.25rem;
  }
}
