/* === Self-hosted Inter (compliance with 242-FZ: no external font CDN) === */
@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('fonts/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('fonts/Inter-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('fonts/Inter-ExtraBold.woff2') format('woff2');
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1B1C1C;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* === Tokens === */
:root {
  --teal: #009688;
  --teal-dark: #00796B;
  --teal-light: #E0F2F1;
  --teal-bg: #F0FAF8;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-900: #1B1C1C;
  --dark: #1B1C1C;
  --red: #EF4444;
  --orange: #F59E0B;
  --blue: #3B82F6;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
  --max-width: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: all 0.2s var(--ease); cursor: pointer; border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,150,136,0.25); }
.btn-outline { background: transparent; border: 2px solid var(--gray-200); color: var(--gray-900); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-full { width: 100%; }

/* === Store buttons (unified across Hero + CTA) === */
.store-buttons { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px;
  background: var(--gray-900); color: #fff;
  border-radius: 14px;
  transition: all 0.2s var(--ease);
  min-width: 180px;
}
.store-btn:hover { transform: translateY(-1px); background: #000; box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.store-soon {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px;
  background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 14px; color: #fff; opacity: 0.75;
  min-width: 180px; cursor: default;
}
.store-soon .store-btn-icon { flex-shrink: 0; fill: #fff; }
.store-soon .store-btn-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-soon .store-btn-small { font-size: 10px; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.04em; }
.store-soon .store-btn-big { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.cta .store-soon { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.15); color: var(--gray-900); }
.cta .store-soon .store-btn-icon { fill: var(--gray-900); }
.store-btn-icon { flex-shrink: 0; fill: #fff; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn-small { font-size: 10px; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.04em; }
.store-btn-big { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

/* === Header === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header--scrolled { box-shadow: var(--shadow); border-bottom-color: var(--gray-100); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.logo { font-size: 22px; font-weight: 800; color: var(--teal); letter-spacing: -0.02em; }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--gray-600); transition: color 0.2s; }
.nav a:hover { color: var(--teal); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span {
  display: block; width: 24px; height: 2px; background: var(--gray-900);
  margin: 5px 0; transition: 0.3s;
}

/* === Hero === */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #fff 55%, var(--teal-light) 100%);
}
.hero-inner { display: flex; align-items: center; gap: 64px; }
.hero-text { flex: 1; min-width: 0; }
.badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 600; color: var(--teal);
  background: var(--teal-light); margin-bottom: 20px;
}
.badge--green { background: #D1FAE5; color: #065F46; }
h1 {
  font-size: 52px; font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 20px;
  color: var(--gray-900);
}
.hero-subtitle { font-size: 18px; color: var(--gray-500); margin-bottom: 32px; max-width: 540px; }
.hero-note { font-size: 13px; color: var(--gray-400); margin-top: 14px; }
.hero-phone { flex: 0 0 320px; display: flex; justify-content: center; }
.phone-mockup { width: 100%; max-width: 320px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12)); }

/* === Section shared === */
.section-label { text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--gray-400); text-align: center; margin-bottom: 8px; }
.section-title { font-size: 40px; font-weight: 800; text-align: center; margin-bottom: 12px; letter-spacing: -0.02em; color: var(--gray-900); }
.section-subtitle { font-size: 17px; color: var(--gray-500); text-align: center; margin-bottom: 48px; }

/* === Problems === */
.problems { padding: 96px 0; background: var(--gray-50); }
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.problem-card {
  background: #fff; border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow); text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.problem-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.problem-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  margin-bottom: 18px; color: #fff;
  line-height: 1;
}
.problem-icon--orange { background: var(--orange); }
.problem-icon--red { background: var(--red); }
.problem-icon--blue { background: var(--blue); }
.problem-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.problem-card p { font-size: 15px; color: var(--gray-500); line-height: 1.55; }
.problems-arrow {
  text-align: center; margin-top: 40px; color: var(--teal);
  font-weight: 600; font-size: 16px;
}
.problems-arrow::before { content: '↓'; display: block; font-size: 28px; margin-bottom: 6px; line-height: 1; }

/* === Features === */
.features { padding: 96px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 32px 28px; border: 1px solid var(--teal-light);
  border-radius: var(--radius); background: #fff;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px; color: #fff;
  line-height: 1;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--gray-500); line-height: 1.6; }

/* === How it works === */
.how-it-works { padding: 96px 0; background: var(--teal-bg); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-top: 48px; }
.step { text-align: center; flex: 1; max-width: 220px; padding: 0 8px; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%; background: var(--teal);
  color: #fff; font-size: 20px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  line-height: 1;
}
.step-icon { font-size: 24px; color: var(--teal); margin-bottom: 8px; line-height: 1; }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }
.step-line {
  flex: 0 0 60px; height: 2px; background: repeating-linear-gradient(
    to right, var(--teal) 0, var(--teal) 6px, transparent 6px, transparent 12px
  );
  margin-top: 24px; opacity: 0.5;
}

/* === Family === */
.family { padding: 96px 0; }
.family-inner { display: flex; align-items: center; gap: 64px; }
.family-phone { flex: 0 0 320px; display: flex; justify-content: center; }
.family-text { flex: 1; min-width: 0; }
.family-text h2 { font-size: 40px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
.text-teal { color: var(--teal); }
.family-text p { font-size: 16px; color: var(--gray-500); margin-bottom: 16px; }
.check-list { list-style: none; margin: 8px 0 28px; }
.check-list li {
  padding: 7px 0 7px 28px; position: relative; font-size: 15px;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 7px; color: var(--teal);
  font-weight: 700; font-size: 16px; line-height: 1;
}
.family-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* === Pricing === */
.pricing { padding: 96px 0; background: var(--gray-50); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-card {
  background: #fff; border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid var(--gray-200); position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pricing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pricing-card--popular { border: 2px solid var(--teal); box-shadow: 0 12px 28px rgba(0,150,136,0.12); }
.pricing-card--popular:hover { box-shadow: 0 16px 36px rgba(0,150,136,0.18); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; padding: 5px 16px;
  border-radius: 12px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  line-height: 1;
}
.pricing-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 36px; font-weight: 800; color: var(--teal); margin-bottom: 4px; letter-spacing: -0.02em; line-height: 1.1; }
.pricing-per { font-size: 16px; font-weight: 500; color: var(--gray-400); }
.pricing-annual { font-size: 13px; color: var(--gray-400); margin-bottom: 24px; min-height: 16px; }
.pricing-features { list-style: none; margin-bottom: 28px; flex: 1; }
.pricing-features li { padding: 7px 0 7px 26px; position: relative; font-size: 14px; }
.pricing-features li.yes::before { content: '✓'; position: absolute; left: 0; top: 7px; color: var(--teal); font-weight: 700; line-height: 1; }
.pricing-features li.no { color: var(--gray-400); }
.pricing-features li.no::before { content: '✗'; position: absolute; left: 0; top: 7px; color: var(--gray-400); line-height: 1; }

/* === Security === */
.security { padding: 96px 0; }
.security-icon { text-align: center; font-size: 56px; color: var(--teal); margin-bottom: 16px; line-height: 1; }
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.security-card {
  text-align: center; padding: 28px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.security-card:hover { transform: translateY(-2px); border-color: var(--teal); }
.security-card-icon { font-size: 32px; margin-bottom: 10px; line-height: 1; }
.security-card strong { display: block; font-size: 16px; margin-bottom: 6px; }
.security-card p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* === CTA === */
.cta {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text { flex: 1; min-width: 260px; }
.cta-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; margin-bottom: 6px; }
.cta h2 { font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.cta .store-btn { background: #fff; color: var(--gray-900); }
.cta .store-btn:hover { background: #fff; opacity: 0.92; }
.cta .store-btn-icon { fill: var(--gray-900); }

/* === Footer === */
.footer { background: var(--dark); color: #fff; padding: 56px 0 0; }
.footer-inner { display: flex; gap: 64px; padding-bottom: 40px; flex-wrap: wrap; }
.footer-brand { flex: 1; min-width: 220px; }
.footer-brand .logo { margin-bottom: 10px; }
.footer-brand p { color: var(--gray-400); font-size: 14px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col a { display: block; font-size: 14px; color: #ccc; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding: 24px 0; }
.footer-bottom p { font-size: 13px; color: var(--gray-400); line-height: 1.7; }
.footer-legal { display: flex; flex-direction: column; gap: 14px; }
.footer-copyright { color: var(--gray-400); }
.footer-operator { color: #888; font-size: 12px; }
.footer-operator strong { color: var(--gray-400); font-weight: 600; }
.footer-operator a { color: #ccc; text-decoration: underline; }
.footer-operator a:hover { color: #fff; }

/* === Responsive === */
@media (max-width: 960px) {
  h1 { font-size: 40px; }
  .section-title, .family-text h2 { font-size: 32px; }
  .hero { padding: 120px 0 80px; }
  .hero-inner, .family-inner { gap: 40px; }
  .problems-grid, .features-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--popular { grid-column: span 2; }
}

@media (max-width: 640px) {
  h1 { font-size: 32px; }
  .section-title, .family-text h2, .cta h2 { font-size: 26px; }
  .hero { padding: 104px 0 64px; }
  .hero-inner { flex-direction: column; text-align: center; gap: 32px; }
  .hero-subtitle { max-width: 100%; }
  .hero-phone { flex: none; width: 260px; }
  .store-buttons { justify-content: center; }
  .store-btn { min-width: 0; width: 100%; max-width: 260px; }
  .problems, .features, .how-it-works, .family, .pricing, .security { padding: 64px 0; }
  .problems-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--popular { grid-column: auto; }
  .steps { flex-direction: column; align-items: center; gap: 16px; }
  .step { max-width: 280px; }
  .step-line { flex: 0 0 24px; width: 2px; height: 24px; background: repeating-linear-gradient(
    to bottom, var(--teal) 0, var(--teal) 4px, transparent 4px, transparent 10px
  ); margin: 0; }
  .family-inner { flex-direction: column; text-align: center; }
  .family-phone { flex: none; width: 240px; order: -1; }
  .check-list { text-align: left; display: inline-block; }
  .family-buttons { justify-content: center; }
  .security-grid { grid-template-columns: 1fr; }
  .cta { padding: 56px 0; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .nav { display: none; }
  .nav--open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: #fff;
    padding: 24px; box-shadow: var(--shadow-lg); gap: 16px;
    border-top: 1px solid var(--gray-100);
  }
  .mobile-menu-btn { display: block; }
  .header-inner > .btn-primary { display: none; }
}
