@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --color-primary: #1B2440;
  --color-accent-blue: #2D5BC9;
  --color-accent-gold: #FFC94A;
  --color-accent-green: #1F8A5B;
  --color-bg: #F6F7FB;
  --color-text-muted: #4A5373;
  --color-border: #E6E8F0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--color-primary);
  background-color: var(--color-bg);
}

body {
  min-height: 100vh;
  padding-bottom: 72px; /* space for cookie banner */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 251, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 232, 240, 0.8);
  transition: all 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 16px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition: color 0.15s ease;
}

.logo:hover {
  color: var(--color-accent-blue);
}

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

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--color-accent-blue);
}

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

.btn-download-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--color-accent-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(45, 91, 201, 0.2);
}

.btn-download-sm:hover {
  background: var(--color-primary);
}

.burger-btn {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-primary);
  border-radius: 8px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  background: #fff;
  border-top: 1px solid var(--color-border);
  gap: 14px;
}

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

.mobile-nav .nav-link {
  font-size: 16px;
  padding: 4px 0;
}

/* ================= HERO SECTION ================= */
.hero {
  padding: 56px 0 80px;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 500px;
  max-width: 620px;
}

.badge-tag {
  display: inline-block;
  background: #FFF0D1;
  color: #7A5200;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.store-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(27, 36, 64, 0.12);
}

.btn-appstore {
  background: var(--color-primary);
}

.btn-appstore:hover {
  background: var(--color-accent-blue);
  transform: translateY(-1px);
}

.btn-rustore {
  background: var(--color-accent-blue);
}

.btn-rustore:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(230, 232, 240, 0.8);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.dot-blue { background: var(--color-accent-blue); }
.dot-amber { background: #D97706; }

/* ================= PHONE MOCKUP ================= */
.hero-visual {
  flex: 1 1 340px;
  display: flex;
  justify-content: center;
  position: relative;
  padding: 24px 0;
}

.peach-circle {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: #FFE6D2;
  top: 30px;
  pointer-events: none;
}

.phone-wrapper {
  position: relative;
  z-index: 2;
  width: 280px;
  max-width: 100%;
}

.phone-frame {
  background: #1B2440;
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 30px 60px -12px rgba(27, 36, 64, 0.35), 0 18px 36px -18px rgba(0, 0, 0, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.phone-screen {
  background: #F6F7FB;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 550px;
  border: 1px solid rgba(230, 232, 240, 0.6);
}

.phone-status-bar {
  padding: 10px 18px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
}

.dynamic-island {
  width: 76px;
  height: 16px;
  background: #0f172a;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.phone-app-header {
  background: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.child-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFE6D2;
  color: #7A5200;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.child-info h4 {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.child-info p {
  font-size: 10px;
  color: #64748b;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.phone-content {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-card {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.phone-due-badge {
  background: #FFF0D1;
  color: #7A5200;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}

.phone-amount {
  font-size: 22px;
  font-weight: 800;
  margin: 4px 0 2px;
}

.phone-pay-btn {
  width: 100%;
  padding: 9px;
  border-radius: 12px;
  background: var(--color-accent-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.attendance-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  text-align: center;
  margin: 8px 0;
}

.day-header {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 700;
}

.day-cell {
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #d1fae5;
}

.day-cell.sick {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.phone-tab-bar {
  background: #fff;
  border-top: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 4px 10px;
  text-align: center;
  font-size: 9px;
  color: #94a3b8;
}

.phone-tab-bar .active {
  color: var(--color-accent-blue);
  font-weight: 800;
}

/* ================= BENEFITS SECTION ================= */
.sec-white {
  background: #fff;
  padding: 96px 0;
}

.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.h2 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.neumorph-card {
  background: #F6F7FB;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 12px 12px 28px #DDE0EA, -12px -12px 28px #ffffff;
  transition: transform 0.2s ease;
}

.neumorph-card:hover {
  transform: translateY(-2px);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-peach { background: #FFE6D2; color: #B4531A; }
.icon-blue  { background: #DCE6FB; color: #2D5BC9; }
.icon-gold  { background: #FFF0D1; color: #7A5200; }
.icon-green { background: #E3F5EC; color: #1F8A5B; }

.card-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ================= DEMO / SCHEDULE SECTION ================= */
.sec-schedule {
  padding: 96px 0;
}

.schedule-grid {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.schedule-info {
  flex: 1 1 380px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
}

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

.circle-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.schedule-card {
  flex: 1 1 440px;
  max-width: 560px;
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(27, 36, 64, 0.09);
  border: 1px solid rgba(230, 232, 240, 0.6);
}

.schedule-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.schedule-card-title {
  font-size: 18px;
  font-weight: 800;
}

.month-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 12px;
  border-radius: 12px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.month-row:hover {
  background: #f8fafc;
}

.month-row.active {
  background: #f1f5f9;
  font-weight: 700;
}

.badge-paid {
  background: #E3F5EC;
  color: #14653F;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.badge-due {
  background: #FFF0D1;
  color: #7A5200;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.row-breakdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

/* ================= REVIEWS SECTION ================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #F6F7FB;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 12px 12px 28px #DDE0EA, -12px -12px 28px #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.review-author {
  font-weight: 800;
  font-size: 16px;
}

.review-role {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Адаптив для мобильных - 1 колонка */
@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= CTA DOWNLOAD ================= */
.sec-cta {
  padding: 96px 0;
  text-align: center;
}

/* ================= FOOTER ================= */
.footer {
  background: #1B2440;
  color: #C9D2F0;
  padding: 64px 0 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  font-size: 15px;
  line-height: 1.8;
}

.footer-col {
  flex: 1 1 240px;
}

.footer-col h4 {
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-col a {
  color: #C9D2F0;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-legal-links a {
  display: block;
  margin-bottom: 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #475569;
}

/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 32px rgba(27, 36, 64, 0.12);
  padding: 18px 24px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  border-top: 1px solid #e2e8f0;
}

.cookie-banner-inner {
  max-width: 1160px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
  flex: 1 1 400px;
}

.cookie-text a {
  color: var(--color-accent-blue);
  text-decoration: underline;
}

.cookie-btn {
  background: var(--color-accent-blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background 0.2s ease;
}

.cookie-btn:hover {
  background: var(--color-primary);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .hero-title {
    font-size: 42px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 34px;
  }
  .h2 {
    font-size: 30px;
  }
  .btn-store {
    width: 100%;
    justify-content: center;
  }
}

.btn-store img {
  display: block;
}

.review-role {
  white-space: nowrap;
}
/* ================= Legal Pages (Privacy, Consent) ================= */
.back-link {
  display: inline-block;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--color-accent-blue);
}

.page-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 32px;
}

.legal-content {
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(27,36,64,0.04);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.legal-content h2 {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px 24px;
  padding: 0;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--color-primary);
}

/* Адаптив для страниц документов */
@media (max-width: 768px) {
  .page-title {
    font-size: 28px;
  }
  
  .legal-content {
    padding: 24px;
  }
  
  .legal-content h2 {
    font-size: 18px;
  }
}