/* ═══════════════════════════════════════════════════════════
   MedReminder Landing — Sasoft-inspired design
   Adapted from validthemes.net/site-template/sasoft/
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* ── Design Tokens (Sasoft palette) ── */
:root {
  --primary: #2f55d4;
  --primary-dark: #2548b8;
  --primary-light: rgba(47, 85, 212, 0.08);
  --telegram: #2481cc;
  --telegram-dark: #1d6fad;
  --heading: #232323;
  --paragraph: #666666;
  --white: #ffffff;
  --bg-gray: #f7f7f7;
  --bg-light: #ffffff;
  --border: #e7e7e7;
  --shadow-sm: 0px 2px 12px 0px #e7e7e7;
  --shadow-md: 0 5px 30px 0 rgba(214, 215, 216, 0.57);
  --shadow-lg: 0px 15px 60px -10px rgba(109, 117, 143, 0.33);
  --shadow-primary: 0px 10px 30px 0px rgba(44, 130, 237, 0.4);
  --phone-border: #1a1a2e;
  --phone-shadow: 0 0 0 2px #2a2a4a;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-phone: 28px;
  --radius-btn: 30px;
  --nav-height: 64px;
  --max-width: 1120px;
  --section-gap: 100px;
}

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

/* ── Icons ── */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
.icon--sm  { width: 0.875em; height: 0.875em; }
.icon--lg  { width: 1.25em;  height: 1.25em; }
.icon--xl  { width: 1.5em;   height: 1.5em; }
.icon--2xl { width: 2em;     height: 2em; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  background: var(--white);
  color: var(--paragraph);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 15px;
}

p { color: var(--paragraph); margin: 0 0 15px; }

a {
  color: var(--heading);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  transition: all 0.35s ease-in-out;
}

a:hover { color: var(--primary); text-decoration: none; }

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

/* ── Preloader ── */
.preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Section backgrounds ── */
.bg-gray { background: var(--bg-gray); }
.bg-white { background: var(--white); }

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--heading);
}
.logo-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: block;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--paragraph);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--heading); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: none; align-items: center; gap: 10px; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  border: none; background: transparent; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: 6px; padding: 0 0 16px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 0; color: var(--heading); font-weight: 600; }
.mobile-menu .btn-row { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

@media (min-width: 960px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center; gap: 8px;
  padding: 13px 35px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease-in-out;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0px 6px 20px rgba(47, 85, 212, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0px 10px 30px rgba(47, 85, 212, 0.45);
}
.btn-secondary {
  background: var(--telegram);
  color: var(--white);
  border-color: var(--telegram);
  box-shadow: 0px 6px 20px rgba(36, 129, 204, 0.35);
}
.btn-secondary:hover {
  background: var(--telegram-dark);
  border-color: var(--telegram-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0px 10px 30px rgba(36, 129, 204, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid #e7e7e7;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-sm {
  padding: 10px 28px;
  font-size: 14px;
}
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Site Heading (Sasoft style) ── */
.site-heading {
  margin-bottom: 50px;
}
.site-heading .section-label {
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  z-index: 1;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.site-heading .area-title {
  display: block;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
  position: relative;
}
.site-heading .devider {
  display: inline-block;
  width: 50px;
  height: 3px;
  background: var(--primary);
  position: relative;
  z-index: 1;
  left: 10px;
  margin: 15px 0;
  border-radius: 2px;
}
.site-heading .devider::before {
  position: absolute;
  left: -15px; top: 0;
  content: "";
  height: 3px;
  width: 10px;
  background: var(--primary);
  border-radius: 2px;
}
.site-heading p {
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
  font-size: 17px;
  color: var(--paragraph);
}
.site-heading.light p { color: var(--white); }
.site-heading.light .area-title { color: var(--white); }
.site-heading.light .devider { background: var(--white); }
.site-heading.light .devider::before { background: var(--white); }

/* ── Section spacing (Sasoft defaults) ── */
.section,
.default-padding { padding: var(--section-gap) 0; }
.default-padding-top { padding-top: var(--section-gap); }
.default-padding-bottom { padding-bottom: var(--section-gap); }
.section.bottom-less,
.default-padding.bottom-less { padding-bottom: 50px; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 60px 0 100px;
  background: var(--bg-gray);
}
.hero::before {
  content: '';
  position: absolute;
  top: -60%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(47,85,212,0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(47,85,212,0.04) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--heading);
}
.hero h1 strong { color: var(--primary); }
.hero .lead {
  font-size: 18px;
  color: var(--paragraph);
  max-width: 560px;
  margin: 0 0 16px;
  line-height: 1.7;
}
.hero-caregiver {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 24px;
  font-style: italic;
}
.hero .trust-line {
  font-size: 14px;
  color: var(--paragraph);
  margin-top: 24px;
  opacity: 0.8;
}
.hero-phones {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: flex-start;
}
.hero-phones .phone-frame {
  width: min(100%, 220px);
  flex-shrink: 0;
}

/* ── Pocket effect ── */
.hero-pocket {
  position: relative;
  overflow: hidden;
  padding-top: 12px;
  padding-bottom: 0;
  max-height: 320px;
}
.hero-pocket::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg-gray) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-pocket::before {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 16px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}

/* ── Phone frame ── */
.phone-frame {
  background: var(--phone-border);
  border-radius: var(--radius-phone);
  padding: 8px;
  width: min(100%, 280px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  transition: transform 0.3s ease;
}
.hero-phones .phone-frame:hover { transform: none; }

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}
.phone-screen {
  background: var(--bg-gray);
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
}
.hero-phones .phone-screen {
  min-height: 380px;
}
.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 420px;
  padding: 24px 16px;
  background: linear-gradient(145deg, #eef0fd 0%, #f8f9fc 50%, #e8ecf8 100%);
  border: 2px dashed rgba(47, 85, 212, 0.3);
}
.screenshot-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.screenshot-placeholder.has-image {
  padding: 0; border: none; background: none;
}
.screenshot-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(47, 85, 212, 0.12);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.screenshot-placeholder p {
  font-size: 13px;
  color: var(--paragraph);
  margin: 0;
  max-width: 220px;
  line-height: 1.5;
}
.screenshot-placeholder.has-image .screenshot-label,
.screenshot-placeholder.has-image p { display: none; }

/* ── Demo Video ── */
.video-container {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  margin-top: 48px;
}
.demo-video {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.video-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.video-logo img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  display: block;
}
.video-logo.hidden {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
}
.video-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #eef0fd 0%, #f0f2ff 50%, #e6eaf8 100%);
  border: 2px dashed rgba(47, 85, 212, 0.35);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: default;
}
.video-placeholder:hover {
  border-color: var(--primary);
  background: linear-gradient(145deg, #f0f2ff 0%, #eef0fd 100%);
  box-shadow: var(--shadow-md);
}
.video-placeholder-inner {
  text-align: center;
  padding: 24px;
}
.video-play-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 28px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-primary);
  transition: transform 0.3s ease;
}
.video-placeholder:hover .video-play-icon {
  transform: scale(1.08);
}
.video-placeholder-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 8px;
}
.video-placeholder-hint {
  font-size: 14px;
  color: var(--paragraph);
  margin: 0;
  max-width: 380px;
  line-height: 1.6;
}

/* ── Steps / Features Grid (Sasoft features style) ── */
.steps {
  display: grid;
  gap: 30px;
  margin-top: 20px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 50px 30px;
  text-align: center;
  position: relative;
  transition: all 0.35s ease-in-out;
  z-index: 1;
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: transparent;
}
.step-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 80px; height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.step-icon .icon {
  width: 32px;
  height: 32px;
}
.step-icon::after {
  position: absolute;
  right: -4px; bottom: 0;
  content: "";
  height: 24px; width: 24px;
  background: var(--white);
  border-radius: 50%;
}
.steps .step-card:nth-child(1) .step-icon {
  background: linear-gradient(45deg, #8d40fb 0%, #5a57fb 100%);
}
.steps .step-card:nth-child(2) .step-icon {
  background: linear-gradient(45deg, #ff3a47 0%, #ff3aa5 100%);
}
.steps .step-card:nth-child(3) .step-icon {
  background: linear-gradient(45deg, #02ebad 0%, #5a57fb 100%);
}
.step-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}
.step-card p {
  margin: 0;
  color: var(--paragraph);
  font-size: 15px;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ── Two-column sections ── */
.split-section {
  display: grid;
  gap: 50px;
  align-items: center;
}
.two-columns {
  display: grid;
  gap: 30px;
}
.column-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.column-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.column-card h3 {
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--primary);
}
.feature-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--paragraph);
  font-size: 15px;
  line-height: 1.6;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}
.numbered-list {
  margin: 0 0 32px;
  padding-left: 1.5rem;
  max-width: 560px;
  color: var(--paragraph);
}
.numbered-list li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}
.numbered-list li::marker { color: var(--primary); font-weight: 800; }

@media (min-width: 768px) {
  .split-section { grid-template-columns: 1fr 1fr; }
  .two-columns { grid-template-columns: 1fr 1fr; }
}

/* ── Mode cards (add modes) ── */
.mode-grid {
  display: grid;
  gap: 30px;
}
.mode-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.mode-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.mode-card-body { padding: 28px; }
.mode-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}
.mode-card p {
  margin: 0;
  color: var(--paragraph);
  font-size: 15px;
  line-height: 1.6;
}
.mode-card .phone-frame {
  margin: 0 auto;
  width: 100%;
  max-width: 260px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 24px 24px;
}
.mode-card .screenshot-placeholder { min-height: 320px; border-radius: var(--radius); }
.mode-card .phone-screen { min-height: 320px; }
@media (min-width: 640px) { .mode-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Schedule grid ── */
.schedule-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}
.schedule-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.schedule-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.schedule-card h4 {
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--heading);
}
.schedule-card p {
  margin: 0;
  font-size: 14px;
  color: var(--paragraph);
}
@media (min-width: 640px) { .schedule-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .schedule-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Bullet grid ── */
.bullet-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.bullet-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.bullet-item:hover { box-shadow: var(--shadow-md); }
.bullet-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--heading);
}
.bullet-item span { font-size: 14px; color: var(--paragraph); }
@media (min-width: 640px) { .bullet-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Screenshot row ── */
.screenshot-row {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: center;
  margin-top: 24px;
}
.screenshot-row .phone-pocket {
  position: relative;
  overflow: hidden;
  flex: 0 1 220px;
  max-height: 260px;
}
.screenshot-row .phone-pocket::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.screenshot-row .phone-pocket::before {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 16px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}
.screenshot-row .phone-pocket .phone-screen {
  min-height: 360px;
}

/* ── Metrics ── */
.metrics-section {
  padding: 60px 0;
}
.metrics-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
}
.metric-item {
  text-align: center;
  min-width: 140px;
}
.metric-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.metric-label {
  font-size: 15px;
  color: var(--paragraph);
  font-weight: 600;
  margin-top: 4px;
}

/* ── Pricing (Sasoft style) ── */
.pricing-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 50px 30px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: all 0.35s ease;
}
.pricing-card::before {
  position: absolute;
  left: 0; top: -24px;
  content: "";
  height: 60px; width: 60px;
  background: radial-gradient(circle, rgba(47,85,212,0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 40px rgba(47, 85, 212, 0.2);
}
.pricing-card.featured::after {
  content: 'Popular';
  position: absolute;
  top: 16px; right: -30px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 40px;
  transform: rotate(45deg);
}
.pricing-card h3 {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 25px;
}
.pricing-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 25px;
  line-height: 1;
}
.pricing-price small {
  font-size: 16px;
  font-weight: 600;
  color: var(--paragraph);
  display: block;
  margin-top: 4px;
}
.pricing-features {
  list-style: none;
  margin: 0; padding: 0;
  flex: 1;
}
.pricing-features li {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--paragraph);
}
.pricing-note {
  font-size: 15px;
  color: var(--paragraph);
  margin: 24px 0 32px;
  font-style: italic;
  text-align: center;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .pricing-card.featured { transform: scale(1.05); }
  .pricing-card.featured:hover { transform: scale(1.05) translateY(-6px); }
}

/* ── FAQ ── */
.faq-list { display: grid; gap: 16px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--paragraph);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  background: #1d2024;
  color: rgba(255, 255, 255, 0.75);
  padding: 50px 0 30px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #5a57fb, var(--primary));
}
.footer-disclaimer {
  font-size: 13px;
  font-style: italic;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 20px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 600;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ── Hero Stats ── */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
}
.hero-stat {
  font-size: 14px;
  color: var(--paragraph);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hero-stat strong {
  color: var(--heading);
  font-weight: 800;
  font-size: 16px;
}

/* ── Lang switch (nav) ── */
.lang-switch-nav {
  display: flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.lang-switch-nav a {
  color: var(--paragraph);
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.2s;
}
.lang-switch-nav a.active,
.lang-switch-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.mobile-lang {
  font-size: 14px;
  color: var(--paragraph);
  padding: 8px 0;
}
.mobile-lang a { font-weight: 700; }
.mobile-lang a.active { color: var(--primary); }

/* ── Who grid ── */
.who-grid {
  display: grid;
  gap: 28px;
  margin-top: 20px;
}
.who-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.who-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.who-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.who-icon .icon {
  width: 32px;
  height: 32px;
}
.who-icon::after {
  position: absolute;
  right: -4px; bottom: 0;
  content: "";
  height: 24px; width: 24px;
  background: var(--white);
  border-radius: 50%;
}
/* 6 gradients, cycling for up to 6 cards */
.who-card:nth-child(1) .who-icon {
  background: linear-gradient(45deg, #8d40fb 0%, #5a57fb 100%);
}
.who-card:nth-child(2) .who-icon {
  background: linear-gradient(45deg, #ff3a47 0%, #ff3aa5 100%);
}
.who-card:nth-child(3) .who-icon {
  background: linear-gradient(45deg, #02ebad 0%, #5a57fb 100%);
}
.who-card:nth-child(4) .who-icon {
  background: linear-gradient(45deg, #f59e0b 0%, #ff7849 100%);
}
.who-card:nth-child(5) .who-icon {
  background: linear-gradient(45deg, #06b6d4 0%, #3b82f6 100%);
}
.who-card:nth-child(6) .who-icon {
  background: linear-gradient(45deg, #2f55d4 0%, #818cf8 100%);
}
.who-card h4 {
  font-size: 18px;
  margin: 0 0 10px;
}
.who-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--paragraph);
}
@media (min-width: 768px) {
  .who-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Smart grid ── */
.smart-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}
.smart-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.smart-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  border-left: 4px solid var(--primary);
}
.smart-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--heading);
}
.smart-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--paragraph);
}
@media (min-width: 640px) {
  .smart-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  gap: 28px;
  margin-top: 20px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  margin: 0;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-card p {
  font-style: italic;
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 20px;
  color: var(--paragraph);
}
.testimonial-card cite {
  font-style: normal;
  display: block;
}
.testimonial-card cite strong {
  display: block;
  color: var(--heading);
  font-size: 15px;
}
.testimonial-card cite span {
  font-size: 13px;
  color: var(--paragraph);
}
@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Comparison Table ── */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
}
.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
  background: var(--bg-gray);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--heading);
}
.comparison-table thead th:first-child {
  text-align: left;
  padding-left: 20px;
}
.comparison-table td:first-child {
  text-align: left;
  padding-left: 20px;
  font-weight: 600;
  color: var(--heading);
  font-size: 14px;
}
.comparison-table .highlight-col {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
}
.comparison-table .yes {
  color: #22c55e;
  font-weight: 700;
  font-size: 18px;
}
.comparison-table .no {
  color: #d1d5db;
}
.comparison-table .warn {
  color: #f59e0b;
  font-weight: 600;
  font-size: 13px;
}

/* ── Footer Grid ── */
.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand strong {
  display: block;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 220px;
  line-height: 1.6;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col strong {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 600;
}
.footer-col a:hover { color: var(--white); }
.footer-col a.active { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ── Utility ── */
.text-center { text-align: center; }
.center-block { margin-inline: auto; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.mb-30 { margin-bottom: 30px; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  :root { --section-gap: 70px; }
  .hero { padding: 30px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-pocket { max-height: 260px; }
  .hero-phones .phone-frame { width: min(100%, 170px); }
  .hero-phones .phone-screen { min-height: 320px; }
  .site-heading .area-title { font-size: 28px; }
  .btn-group .btn { width: 100%; }
  .pricing-card { padding: 35px 20px; }
  .step-card { padding: 35px 20px; }

  /* Phone pocket — universal for mobile */
  .phone-pocket {
    position: relative;
    overflow: hidden;
    max-height: 260px;
  }
  .phone-pocket::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
  }
  .phone-pocket::before {
    content: '';
    position: absolute;
    bottom: 0; left: 5%; right: 5%;
    height: 16px;
    background: rgba(0,0,0,0.08);
    border-radius: 50%;
    filter: blur(10px);
    z-index: 1;
  }
  .bg-gray .phone-pocket::after {
    background: linear-gradient(to top, var(--bg-gray) 0%, transparent 100%);
  }
  .phone-pocket .phone-frame {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  }
  .screenshot-row .phone-pocket {
    flex: 0 1 140px;
    max-height: 200px;
  }
  .screenshot-row .phone-pocket::after {
    height: 30px;
  }
  .screenshot-row .phone-pocket .phone-screen {
    min-height: 280px;
  }
}

/* ── Telegram Advantage — pocket on all screens ── */
.telegram-section .phone-pocket {
  position: relative;
  overflow: hidden;
  max-height: 260px;
  margin-top: 24px;
}
.telegram-section .phone-pocket::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 44px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.telegram-section .phone-pocket::before {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 18px;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}
.telegram-section .phone-pocket .phone-frame {
  width: 100%;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}
.telegram-section .phone-pocket .phone-screen {
  min-height: 360px;
}

/* ── Flexible Input — pocket on all screens ── */
.flexible-section .phone-pocket {
  position: relative;
  overflow: hidden;
  max-height: 220px;
}
.flexible-section .phone-pocket::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 36px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.flexible-section .phone-pocket::before {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 14px;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
  filter: blur(8px);
  z-index: 1;
}
.flexible-section .phone-pocket .phone-frame {
  width: 100%;
  max-width: 50%;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 24px 24px;
  margin: 0 auto;
}
.flexible-section .phone-pocket .phone-screen {
  min-height: 300px;
  border-radius: var(--radius);
}

/* ── Adherence — pocket on all screens ── */
.adherence-section .phone-pocket {
  position: relative;
  overflow: hidden;
  max-height: 280px;
  margin-top: 24px;
}
.adherence-section .phone-pocket::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 44px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.adherence-section .phone-pocket::before {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 18px;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}
.adherence-section .phone-pocket .phone-frame {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.adherence-section .phone-pocket .phone-screen {
  min-height: 380px;
}

/* ── Schedule Types — pocket on all screens ── */
.schedule-section .phone-pocket {
  position: relative;
  overflow: hidden;
  max-height: 280px;
  margin-top: 40px;
}
.schedule-section .phone-pocket::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 44px;
  background: linear-gradient(to top, var(--bg-gray) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.schedule-section .phone-pocket::before {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 18px;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}
.schedule-section .phone-pocket .phone-frame {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.schedule-section .phone-pocket .phone-screen {
  min-height: 380px;
}

/* ── Caregiver Highlight — pocket on all screens ── */
.caregiver-section .phone-pocket {
  position: relative;
  overflow: hidden;
  max-height: 280px;
}
.caregiver-section .phone-pocket::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 44px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.caregiver-section .phone-pocket::before {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 18px;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}
.caregiver-section .phone-pocket .phone-frame {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.caregiver-section .phone-pocket .phone-screen {
  min-height: 380px;
}

/* ── Caregiver Details — pocket on all screens ── */
.caregiver-details-section .phone-pocket {
  position: relative;
  overflow: hidden;
  max-height: 280px;
  margin-top: 32px;
}
.caregiver-details-section .phone-pocket::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 44px;
  background: linear-gradient(to top, var(--bg-gray) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.caregiver-details-section .phone-pocket::before {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 18px;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}
.caregiver-details-section .phone-pocket .phone-frame {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.caregiver-details-section .phone-pocket .phone-screen {
  min-height: 380px;
}

/* ── Personalization — pocket on all screens ── */
.personalization-section .phone-pocket {
  position: relative;
  overflow: hidden;
  max-height: 280px;
  margin-top: 32px;
}
.personalization-section .phone-pocket::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 44px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.personalization-section .phone-pocket::before {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 18px;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}
.personalization-section .phone-pocket .phone-frame {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.personalization-section .phone-pocket .phone-screen {
  min-height: 380px;
}
}
@media (max-width: 639px) {
  .mode-grid { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }
  .bullet-grid { grid-template-columns: 1fr; }
}

/* ── Mobile sticky CTA ── */
.mobile-cta {
  display: none;
}
@media (max-width: 767px) {
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }
  .mobile-cta .btn {
    width: 100%;
  }
  body {
    padding-bottom: 72px;
  }
}
