/* ═══════════════════════════════════════════════════════════════
   Doctori · marketing site · mobile-first premium edition
   Brand teal matches the app: AppColors.primary500 = #009688
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* App-matched teal palette (AppColors.primary500/700) */
  --c-50:  #E0F2F1;
  --c-100: #B2DFDB;
  --c-200: #80CBC4;
  --c-300: #4DB6AC;
  --c-400: #26A69A;
  --c-500: #009688; /* AppColors.primary500 */
  --c-600: #00897B;
  --c-700: #00796F; /* AppColors.primary700 */
  --c-800: #00665C;
  --c-900: #004D40;

  --accent:    #FFC107;
  --accent-2:  #FF7043;
  --warm:      #FFB74D;

  --bg:        #FFFFFF;
  --bg-soft:   #F8FAFA;
  --bg-dark:   #0A1F1D;
  --text:      #0F2A28;
  --text-mid:  #4B6B68;
  --text-mute: #7A9794;
  --border:    rgba(0, 121, 111, 0.10);

  --success:   #16A34A;

  --radius:    18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm:   0 1px 2px rgba(0, 77, 64, 0.05);
  --shadow-md:   0 10px 30px -10px rgba(0, 121, 111, 0.18);
  --shadow-lg:   0 28px 56px -16px rgba(0, 121, 111, 0.30);
  --shadow-glow: 0 0 0 1px rgba(0, 121, 111, 0.06), 0 25px 50px -12px rgba(0, 121, 111, 0.22);

  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*:focus-visible { outline: 2px solid var(--c-500); outline-offset: 3px; border-radius: 8px; }

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

body {
  font-family: 'Tajawal', 'IBM Plex Sans Arabic', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

[dir="ltr"] body {
  font-family: 'Inter', 'Tajawal', system-ui, -apple-system, sans-serif;
}

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

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

a {
  color: var(--c-700);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover { color: var(--c-500); }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }

/* ═══════════════════════════════════════════════════════════════
   Global animated background mesh
   ═══════════════════════════════════════════════════════════════ */

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, #FAFCFC, #FFFFFF 40%, #FAFCFC);
}

.bg-mesh::before,
.bg-mesh::after,
.bg-mesh > span {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.bg-mesh::before {
  width: 420px; height: 420px;
  top: -100px; left: -100px;
  background: var(--c-300);
  animation: mesh1 18s ease-in-out infinite;
}

.bg-mesh::after {
  width: 380px; height: 380px;
  top: 30%; right: -120px;
  background: var(--accent);
  opacity: 0.18;
  animation: mesh2 22s ease-in-out infinite;
}

.bg-mesh > span {
  width: 360px; height: 360px;
  bottom: 10%; left: 30%;
  background: var(--c-500);
  opacity: 0.20;
  animation: mesh3 26s ease-in-out infinite;
}

@keyframes mesh1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 120px) scale(1.2); }
}
@keyframes mesh2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, 80px) scale(0.85); }
}
@keyframes mesh3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -100px) scale(1.15); }
}

/* ═══════════════════════════════════════════════════════════════
   Scroll progress
   ═══════════════════════════════════════════════════════════════ */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-500), var(--c-300), var(--accent));
  z-index: 100;
  width: 0;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ═══════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(0, 77, 64, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

@media (min-width: 768px) { .nav-inner { height: 72px; } }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  transition: transform 0.2s var(--ease);
}

.nav-brand:hover { transform: translateY(-1px); }

.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-500) 0%, var(--c-800) 100%);
  color: white;
  font-weight: 800;
  font-size: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px -4px rgba(0, 121, 111, 0.45);
  position: relative;
  overflow: hidden;
  line-height: 1;
  padding-top: 3px;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.45) 0%, transparent 60%);
}

.logo-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}

@media (max-width: 767px) { .logo-text { font-size: 19px; } }

.nav-links {
  display: none;
  gap: 28px;
}

@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-links a {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  height: 2px;
  width: 0;
  background: var(--c-500);
  transition: width 0.3s var(--ease);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--c-700); }
.nav-links a:hover::after { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  text-align: center;
  line-height: 1.4;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease);
}

.btn:hover::before { transform: translateX(110%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--c-500) 0%, var(--c-800) 100%);
  color: white;
  box-shadow: 0 10px 24px -8px rgba(0, 121, 111, 0.5);
}

.btn-primary:hover {
  color: white;
  box-shadow: 0 18px 36px -10px rgba(0, 121, 111, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--c-800);
  border: 1.5px solid var(--c-500);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { background: var(--c-50); color: var(--c-900); }

.btn-sm { padding: 10px 18px; font-size: 14px; }

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  font-size: 17px;
  padding: 16px 32px;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:hover { color: white; }
.wa-icon { font-size: 20px; }

/* ═══════════════════════════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════════════════════════ */

.hero {
  padding: 110px 0 60px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { padding: 140px 0 90px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    text-align: start;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-800);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--c-100);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
}

/* Critical: line-height + padding so Tajawal descenders aren't clipped */
.hero h1 {
  font-size: clamp(32px, 7vw, 60px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--text);
  padding-bottom: 4px;
}

.hero h1 .accent {
  display: inline-block;
  background: linear-gradient(135deg, var(--c-700) 0%, var(--c-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-bottom: 6px;
  margin-bottom: -6px;
  position: relative;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.45), rgba(255, 193, 7, 0.1));
  z-index: -1;
  border-radius: 4px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-mid);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.85;
  font-weight: 500;
}

@media (max-width: 979px) { .hero-sub { margin-inline: auto; } }

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

@media (min-width: 980px) { .hero-ctas { justify-content: flex-start; } }

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 980px) { .hero-trust { justify-content: flex-start; } }

.trust-item {
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
}

@media (min-width: 980px) { .trust-item { text-align: start; } }

.trust-item strong {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-600), var(--c-900));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  padding-bottom: 4px;
}

.trust-item span {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 6px;
  font-weight: 600;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   Hero art · phone mock with rotating screens
   ═══════════════════════════════════════════════════════════════ */

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px 0;
}

.hero-art::before {
  content: '';
  position: absolute;
  width: min(340px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 121, 111, 0.18) 0%, transparent 70%);
  z-index: 0;
  animation: pulse-bg 5s ease-in-out infinite;
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.18); opacity: 0.35; }
}

.phone-frame {
  width: min(280px, 80vw);
  aspect-ratio: 1 / 2;
  background: linear-gradient(145deg, #1A1A1A, #050505);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.04) inset,
    0 60px 80px -30px rgba(0, 121, 111, 0.35),
    0 30px 60px -20px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 1;
  animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #050505;
  border-radius: 12px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F0FAF8 0%, white 50%);
  border-radius: 30px;
  padding: 56px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.screen-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 700;
  transition: opacity 0.3s;
}

.badge-live {
  background: linear-gradient(135deg, var(--success), #15803D);
  color: white;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px -2px rgba(22, 163, 74, 0.4);
}

.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse-dot 1.4s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.screen-number {
  font-size: clamp(90px, 18vw, 120px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-600), var(--c-900));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  line-height: 1.1;
  margin-top: 4px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s, transform 0.3s;
  padding-bottom: 4px;
}

.screen-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
  line-height: 1.5;
  min-height: 2.5em;
  transition: opacity 0.3s, transform 0.3s;
}

.screen-progress {
  background: white;
  padding: 14px;
  border-radius: 14px;
  box-shadow: 0 8px 20px -8px rgba(0, 77, 64, 0.08);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar {
  width: 100%;
  height: 6px;
  background: var(--c-50);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--c-400), var(--c-700));
  border-radius: 999px;
  animation: fillAnim 4s ease-in-out infinite alternate;
}

@keyframes fillAnim {
  0% { width: 55%; }
  100% { width: 78%; }
}

.screen-progress span {
  font-size: 12px;
  color: var(--text-mid);
  text-align: center;
  font-weight: 600;
  line-height: 1.5;
  transition: opacity 0.3s, transform 0.3s;
}

.screen-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.action-pill {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  line-height: 1.4;
}

.action-pill.primary {
  background: linear-gradient(135deg, var(--c-600), var(--c-800));
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 16px -6px rgba(0, 121, 111, 0.45);
}

/* Floating cards · only on desktop */
.float-card {
  position: absolute;
  background: white;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(0, 77, 64, 0.18);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  animation: float-card 5s ease-in-out infinite;
  border: 1px solid var(--border);
}

@media (min-width: 1100px) { .float-card { display: flex; } }

.float-card.fc1 {
  top: 70px;
  inset-inline-start: -30px;
  animation-delay: 0s;
}

.float-card.fc2 {
  bottom: 90px;
  inset-inline-end: -40px;
  animation-delay: 1.5s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--c-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.float-card-icon.success { background: rgba(22, 163, 74, 0.12); }

/* ═══════════════════════════════════════════════════════════════
   Sections
   ═══════════════════════════════════════════════════════════════ */

.section { padding: 64px 0; position: relative; }

@media (min-width: 768px) { .section { padding: 96px 0; } }

.section-alt {
  background: linear-gradient(180deg, transparent, var(--c-50) 50%, transparent);
}

.section-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--c-100);
  color: var(--c-700);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  line-height: 1.3;
  color: var(--text);
  padding-bottom: 6px;
}

.section-title-gradient {
  background: linear-gradient(135deg, var(--text) 30%, var(--c-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 8px;
}

.section-sub {
  color: var(--text-mid);
  font-size: clamp(15px, 2vw, 17px);
  margin-bottom: 48px;
  max-width: 640px;
  line-height: 1.8;
  font-weight: 500;
}

@media (min-width: 768px) { .section-sub { margin-bottom: 64px; } }

.section-head { text-align: center; }
.section-head .section-sub { margin-inline: auto; }

/* ═══════════════════════════════════════════════════════════════
   Audience cards
   ═══════════════════════════════════════════════════════════════ */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .audience-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
}

.audience-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

@media (min-width: 768px) { .audience-card { padding: 36px 30px; } }

.audience-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--c-50) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(50%, -50%);
  opacity: 0.6;
  transition: opacity 0.4s;
  pointer-events: none;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--c-300);
}

.audience-card:hover::before { opacity: 1; }

.audience-card-featured {
  background: linear-gradient(180deg, var(--c-50) 0%, white 70%);
  border: 2px solid var(--c-500);
}

.audience-card-featured::after {
  content: 'الأكثر طلبا';
  position: absolute;
  top: 18px;
  inset-inline-end: -36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 38px;
  transform: rotate(45deg);
  z-index: 2;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 10px rgba(255, 110, 64, 0.3);
  line-height: 1.4;
}

[dir="ltr"] .audience-card-featured::after { content: 'POPULAR'; }

.audience-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-500), var(--c-800));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 4px;
  box-shadow: 0 10px 20px -8px rgba(0, 121, 111, 0.5);
}

.audience-card-featured .audience-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 20px -8px rgba(255, 110, 64, 0.5);
}

.audience-card h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.4;
  padding-bottom: 4px;
}

.audience-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audience-card li {
  font-size: 15px;
  color: var(--text);
  padding-inline-start: 30px;
  position: relative;
  line-height: 1.7;
  font-weight: 500;
}

.audience-card li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  width: 22px; height: 22px;
  background: var(--c-50);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300796F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
}

.price-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--c-600), var(--c-800));
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
  align-self: flex-start;
  box-shadow: 0 8px 16px -6px rgba(0, 121, 111, 0.45);
  line-height: 1.5;
}

.price-tag-free {
  background: linear-gradient(135deg, var(--success), #15803D);
  box-shadow: 0 8px 16px -6px rgba(22, 163, 74, 0.45);
}

/* ═══════════════════════════════════════════════════════════════
   Features grid
   ═══════════════════════════════════════════════════════════════ */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 540px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (min-width: 980px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

.feature {
  background: white;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) { .feature { padding: 32px 28px; } }

.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--c-500), var(--accent));
  transform: scaleX(0);
  transform-origin: start;
  transition: transform 0.4s var(--ease);
}

.feature:hover {
  border-color: var(--c-300);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -16px rgba(0, 121, 111, 0.2);
}

.feature:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-50), white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease);
}

.feature:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
}

.feature h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.5;
  padding-bottom: 2px;
}

.feature p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   Steps
   ═══════════════════════════════════════════════════════════════ */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-300) 0 8px, transparent 8px 16px);
    z-index: 0;
  }
}

.step {
  background: white;
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-300);
}

.step-num {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--c-500), var(--c-800));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 12px 22px -8px rgba(0, 121, 111, 0.5);
  position: relative;
  line-height: 1;
  padding-top: 3px;
}

.step-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--c-300);
  opacity: 0.4;
  animation: rotate 18s linear infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.step h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  line-height: 1.5;
  padding-bottom: 2px;
}

.step p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   Stats banner
   ═══════════════════════════════════════════════════════════════ */

.stats-banner {
  background: linear-gradient(135deg, var(--c-700) 0%, var(--c-900) 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 77, 64, 0.5);
}

@media (min-width: 768px) {
  .stats-banner {
    grid-template-columns: repeat(4, 1fr);
    padding: 56px 40px;
    gap: 32px;
  }
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 193, 7, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(77, 182, 172, 0.22) 0%, transparent 50%);
}

.stat { position: relative; z-index: 1; }

.stat-num {
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  padding-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 8px;
  font-weight: 600;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   Download CTA
   ═══════════════════════════════════════════════════════════════ */

.section-cta {
  background: linear-gradient(135deg, var(--c-700) 0%, var(--c-900) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.section-cta::before,
.section-cta::after {
  content: '';
  position: absolute;
  width: 600px;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.section-cta::before {
  top: -50%;
  inset-inline-end: -15%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.18) 0%, transparent 70%);
}

.section-cta::after {
  bottom: -50%;
  inset-inline-start: -15%;
  background: radial-gradient(circle, rgba(77, 182, 172, 0.22) 0%, transparent 70%);
}

.cta-card {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-card .hero-pill {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-card h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  margin-bottom: 18px;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.3;
  padding-bottom: 4px;
}

.cta-card p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  line-height: 1.8;
  font-weight: 500;
}

.store-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: white;
  min-width: 180px;
  transition: all 0.3s var(--ease);
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.store-label { font-size: 11px; opacity: 0.85; }
.store-name { font-size: 17px; font-weight: 800; line-height: 1.4; }
.store-badge-disabled { cursor: not-allowed; opacity: 0.7; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq details:hover { border-color: var(--c-300); }

.faq details[open] {
  border-color: var(--c-500);
  box-shadow: var(--shadow-md);
}

.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  line-height: 1.6;
}

@media (min-width: 768px) { .faq summary { padding: 20px 24px; font-size: 16px; } }

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '';
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--c-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300796F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
  transition: transform 0.3s var(--ease), background-color 0.3s;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--c-100);
}

.faq p {
  padding: 0 22px 18px;
  color: var(--text-mid);
  line-height: 1.85;
  font-size: 14px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .faq p { padding: 0 24px 20px; font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════ */

.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 24px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) { .footer { padding: 72px 0 28px; } }

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-500), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 540px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand .logo-mark { background: linear-gradient(135deg, var(--c-500), var(--c-300)); }
.footer-brand .logo-text { color: white; }

.footer-tag {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }

.social {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s var(--ease);
}

.social:hover {
  background: var(--c-700);
  border-color: var(--c-700);
  color: white;
  transform: translateY(-2px);
}

.footer h5 {
  color: white;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer ul li { margin-bottom: 10px; }

.footer ul a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  transition: color 0.2s;
  font-weight: 500;
}

.footer ul a:hover { color: var(--c-300); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1.6;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   Reveal animations
   ═══════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .bg-mesh::before, .bg-mesh::after, .bg-mesh > span { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Mobile bottom CTA bar (sticky on small screens)
   ═══════════════════════════════════════════════════════════════ */

.mobile-cta {
  position: fixed;
  bottom: 12px;
  left: 12px; right: 12px;
  background: linear-gradient(135deg, var(--c-700), var(--c-900));
  color: white;
  padding: 12px 20px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 20px 40px -12px rgba(0, 77, 64, 0.5);
  z-index: 40;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: white;
}

.mobile-cta:hover { color: white; }

@media (max-width: 767px) {
  .mobile-cta.visible { display: flex; }
  /* Bottom padding so content isn't hidden by sticky CTA */
  body { padding-bottom: 70px; }
  .footer { margin-bottom: 0; }
}
