/* Moager — Static Website Styles | Primary #30B0C7, Font: Tajawal */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #30B0C7;
  --primary-dark: #1E8FA3;
  --primary-light: #EAF8FB;
  --dark: #101828;
  --text: #344054;
  --muted: #667085;
  --bg: #F9FAFB;
  --white: #ffffff;
  --border: #E4E7EC;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { color: var(--dark); font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1rem, 2vw, 1.3rem); }
p { color: var(--muted); line-height: 1.8; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-bg { background: var(--bg); }

.section-header { text-align: center; margin-bottom: 56px; }
.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-header p { max-width: 580px; margin: 12px auto 0; font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-family: 'Tajawal', sans-serif; font-size: 0.97rem; font-weight: 700;
  cursor: pointer; border: none; transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(48,176,199,.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #1d2939; transform: translateY(-2px); }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo .logo-img { height: 38px; object-fit: contain; }
.nav-logo .logo-text { font-size: 1.4rem; font-weight: 800; color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 0.93rem;
  transition: color var(--transition); position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 2px;
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; align-items: center; background: var(--bg); border-radius: 100px; padding: 3px; }
.lang-btn {
  padding: 5px 13px; border-radius: 100px; border: none;
  background: transparent; font-family: 'Tajawal', sans-serif;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; color: var(--muted); transition: all var(--transition);
}
.lang-btn.active { background: var(--white); color: var(--primary); box-shadow: 0 1px 4px rgba(0,0,0,.1); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }

.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 20px 24px; z-index: 999; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { border-bottom: 1px solid var(--border); }
.mobile-menu ul li a { display: block; padding: 13px 0; color: var(--text); font-weight: 600; }
.mobile-menu ul li a:hover { color: var(--primary); }
.mobile-lang { display: flex; gap: 8px; margin-top: 16px; align-items: center; flex-wrap: wrap; }

/* ── Hero ── */
.hero {
  padding-top: 148px; padding-bottom: 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #f4fdff 55%, var(--white) 100%);
  overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; top: -180px; right: -150px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(48,176,199,.13) 0%, transparent 70%);
  pointer-events: none;
}
[dir="rtl"] .hero::before { right: auto; left: -150px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 14px;
  font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.hero-badge .dot {
  width: 7px; height: 7px; background: var(--primary); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.4)} }

.hero-content h1 { margin-bottom: 18px; }
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 1.1rem; margin-bottom: 32px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-stat .num { font-size: 1.7rem; font-weight: 800; color: var(--dark); line-height: 1; }
.hero-stat .lbl { font-size: 0.82rem; color: var(--muted); margin-top: 3px; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-wrap {
  width: 260px; background: var(--dark); border-radius: 40px;
  padding: 10px; box-shadow: 0 40px 80px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(900px) rotateY(-8deg); transition: transform .5s ease;
}
.phone-wrap:hover { transform: perspective(900px) rotateY(0); }
[dir="rtl"] .phone-wrap { transform: perspective(900px) rotateY(8deg); }
[dir="rtl"] .phone-wrap:hover { transform: perspective(900px) rotateY(0); }
.phone-notch { width: 110px; height: 24px; background: var(--dark); border-radius: 0 0 18px 18px; margin: 0 auto 6px; }
.phone-screen { border-radius: 26px; overflow: hidden; aspect-ratio: 9/19; background: var(--bg); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone-glow { position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%); width: 180px; height: 36px; background: rgba(48,176,199,.28); filter: blur(18px); border-radius: 50%; }

.hero-float {
  position: absolute; background: var(--white); border-radius: var(--radius);
  padding: 10px 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center;
  gap: 9px; font-size: 0.82rem; font-weight: 600; color: var(--dark);
  border: 1px solid var(--border);
}
.hero-float-1 { top: 18%; left: -32px; animation: float 4s ease-in-out infinite; }
.hero-float-2 { bottom: 22%; right: -24px; animation: float 4s ease-in-out infinite; animation-delay: -2s; }
[dir="rtl"] .hero-float-1 { left: auto; right: -32px; }
[dir="rtl"] .hero-float-2 { right: auto; left: -24px; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.float-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }

/* ── Features Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0); transition: transform var(--transition); transform-origin: left;
}
[dir="rtl"] .feature-card::before { transform-origin: right; }
.feature-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-card:hover::before { transform: scaleX(1); }
.feat-icon {
  width: 52px; height: 52px; background: var(--primary-light);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; line-height: 1.7; }

/* ── How It Works ── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 38px; left: 20%; right: 20%;
  height: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); opacity: .25;
}
.step-item { text-align: center; }
.step-num {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; margin: 0 auto 22px; position: relative; z-index: 1;
  box-shadow: 0 8px 24px rgba(48,176,199,.35);
}
.step-item h3 { margin-bottom: 10px; }
.step-item p { font-size: 0.9rem; }

/* ── Screenshots ── */
.screenshots-wrap { overflow: hidden; }
.screenshots-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 16px 0 32px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.shot-item { flex: 0 0 200px; scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.shot-item img { width: 100%; display: block; }

/* ── Download CTA ── */
.download-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center; padding: 96px 0; position: relative; overflow: hidden;
}
.download-cta::before, .download-cta::after {
  content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07);
}
.download-cta::before { width: 500px; height: 500px; top: -250px; left: -80px; }
.download-cta::after { width: 380px; height: 380px; bottom: -190px; right: -80px; }
.download-cta h2 { color: #fff; margin-bottom: 14px; }
.download-cta p { color: rgba(255,255,255,.85); margin-bottom: 36px; font-size: 1.08rem; }
.store-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--dark); color: #fff; padding: 13px 22px;
  border-radius: var(--radius); font-weight: 700; transition: all var(--transition);
}
.store-badge:hover { background: #1d2939; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge-text { text-align: start; }
.store-badge-text small { display: block; font-size: 0.68rem; font-weight: 400; opacity: .7; }
.store-badge-text strong { font-size: 0.97rem; }

/* ── Footer ── */
.footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-brand .logo-img { height: 34px; object-fit: contain; }
.footer-brand .logo-text { font-size: 1.3rem; font-weight: 800; color: #fff; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.83rem;
}
.footer-bottom a { color: var(--primary); }
.footer-bottom-links { display: flex; gap: 16px; }

/* ── Page Hero (inner pages) ── */
.page-hero { padding: 136px 0 72px; background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%); text-align: center; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; font-size: 0.88rem; color: var(--muted); }
.breadcrumb a { color: var(--primary); }

/* ── About page ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 6rem; }
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.value-card .val-icon { font-size: 1.4rem; margin-bottom: 8px; }
.value-card h4 { color: var(--dark); margin-bottom: 5px; font-size: 0.97rem; }
.value-card p { font-size: 0.85rem; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.about-stat-card { text-align: center; padding: 28px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-stat-card .num { font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.about-stat-card .lbl { color: var(--muted); font-size: 0.88rem; margin-top: 7px; }

/* ── Features page ── */
.feat-rows { display: flex; flex-direction: column; gap: 72px; }
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feat-row.reverse .feat-row-visual { order: 2; }
.feat-row.reverse .feat-row-content { order: 1; }
[dir="rtl"] .feat-row.reverse .feat-row-visual { order: 1; }
[dir="rtl"] .feat-row.reverse .feat-row-content { order: 2; }
.feat-row-visual {
  background: linear-gradient(135deg, var(--primary-light), #f0feff);
  border-radius: var(--radius-xl); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.feat-row-content p { margin-bottom: 22px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; color: var(--text); }
.feat-list li::before {
  content: '✓'; width: 20px; height: 20px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; flex-shrink: 0; margin-top: 2px;
}

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; background: var(--white); overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--dark); font-size: 0.97rem; gap: 14px;
}
.faq-q:hover { color: var(--primary); }
.faq-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 300; flex-shrink: 0; transition: transform var(--transition); line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; padding: 0 22px; color: var(--muted); font-size: 0.92rem; line-height: 1.8; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.contact-items { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.ci-text h4 { color: var(--dark); margin-bottom: 3px; font-size: 0.95rem; }
.ci-text p, .ci-text a { font-size: 0.88rem; color: var(--muted); }
.ci-text a:hover { color: var(--primary); }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--dark); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 11px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif; font-size: 0.93rem; color: var(--dark); background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition); outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(48,176,199,.15); background: var(--white); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── Legal pages ── */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin: 36px 0 14px; font-size: 1.3rem; }
.legal-content h3 { margin: 24px 0 10px; font-size: 1.05rem; }
.legal-content p { margin-bottom: 14px; font-size: 0.93rem; line-height: 1.85; }
.legal-content ul { margin: 0 0 14px 22px; }
[dir="rtl"] .legal-content ul { margin: 0 22px 14px 0; }
.legal-content ul li { color: var(--muted); font-size: 0.93rem; margin-bottom: 7px; line-height: 1.7; }
.legal-notice { background: var(--bg); border-inline-start: 3px solid var(--primary); padding: 12px 15px; border-radius: var(--radius-sm); font-size: 0.83rem; color: var(--muted); margin-bottom: 28px; }

/* ── Scroll animations ── */
.animate-in { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .phone-wrap { width: 210px; transform: none !important; }
  .hero-float { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .about-grid, .feat-row, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .feat-row.reverse .feat-row-visual, .feat-row.reverse .feat-row-content { order: unset; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .download-cta { padding: 64px 0; }
  .page-hero { padding: 116px 0 52px; }
  .hero { padding-top: 128px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ── Play Store link (footer + inline) ── */
.play-link {
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}
.play-link svg { flex-shrink: 0; opacity: .75; }
.footer-col .play-link { color: rgba(255,255,255,.55); font-size: 0.88rem; }
.footer-col .play-link:hover { color: var(--primary); }

/* ── How It Works — Flow Tabs ── */
.flow-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 48px; flex-wrap: wrap;
}
.flow-tab {
  padding: 10px 22px; border-radius: 100px; border: 2px solid var(--border);
  background: var(--white); color: var(--muted);
  font-family: 'Tajawal', sans-serif; font-size: 0.93rem; font-weight: 700;
  cursor: pointer; transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.flow-tab:hover { border-color: var(--primary); color: var(--primary); }
.flow-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.flow-panel { display: none; }
/* Changed from 2-column grid to single-column block; per-step screenshots are now inline inside each .flow-step-body */
.flow-panel.active { display: block; max-width: 840px; margin: 0 auto; }

/* Timeline */
.flow-timeline { display: flex; flex-direction: column; }
.flow-step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; position: relative; }
.flow-step:not(:last-child)::before {
  content: ''; position: absolute; top: 48px; inset-inline-start: 23px;
  width: 2px; height: calc(100% + 4px);
  background: linear-gradient(to bottom, var(--primary), var(--border));
}
.flow-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 800; flex-shrink: 0; position: relative; z-index: 1;
  box-shadow: 0 4px 12px rgba(48,176,199,.3);
}
/* Added flex layout so .flow-text and the inline .shot-ph sit side by side per step */
.flow-step-body { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 28px; }
/* Text column grows to fill remaining width */
.flow-text { flex: 1; }
.flow-step-body h4 { color: var(--dark); font-size: 1rem; margin-bottom: 6px; font-weight: 700; }
.flow-step-body p { font-size: 0.9rem; line-height: 1.75; }
/* Inline per-step screenshot — narrower than standalone .flow-shots version (150 vs 200 px) */
.flow-step-body > .shot-ph { flex-shrink: 0; width: 150px; }
.flow-split {
  margin-top: 10px; background: var(--bg); border-radius: var(--radius);
  padding: 12px 14px; list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.flow-split li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.87rem; color: var(--text); }
.flow-split li strong { color: var(--dark); }

/* Screenshot placeholders */
.flow-shots {
  display: flex; flex-direction: column; gap: 20px; align-items: center;
  position: sticky; top: 90px;
}
.shot-ph { width: 200px; background: var(--dark); border-radius: 36px; padding: 10px; box-shadow: 0 24px 48px rgba(0,0,0,.2); }
.shot-ph-notch { width: 90px; height: 20px; background: var(--dark); border-radius: 0 0 14px 14px; margin: 0 auto 5px; }
.shot-ph-screen {
  border-radius: 22px; overflow: hidden; aspect-ratio: 9/19;
  background: var(--bg); border: 2px dashed rgba(255,255,255,.15);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; color: var(--muted); padding: 16px;
}
.shot-ph-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border: none; }
.ph-icon { font-size: 1.6rem; opacity: .4; }
.ph-label { font-size: 0.68rem; line-height: 1.4; opacity: .5; font-style: italic; }

/* Flow teaser cards (home page) */
.flow-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.flow-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; text-decoration: none; transition: all var(--transition);
  display: flex; flex-direction: column; gap: 14px;
}
.flow-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.flow-card-icon { font-size: 2rem; }
.flow-card h3 { color: var(--dark); font-size: 1.05rem; }
.flow-card p { font-size: 0.88rem; line-height: 1.7; }
.flow-card-link { color: var(--primary); font-size: 0.88rem; font-weight: 700; margin-top: auto; display: flex; align-items: center; gap: 4px; }

/* Contact app section */
.contact-via-app {
  background: linear-gradient(135deg, var(--primary-light) 0%, #f0feff 100%);
  border-radius: var(--radius-xl); padding: 48px; text-align: center;
  border: 1px solid rgba(48,176,199,.2);
}
.contact-via-app h3 { color: var(--dark); font-size: 1.4rem; margin-bottom: 14px; }
.contact-via-app p { max-width: 500px; margin: 0 auto 28px; font-size: 1rem; }
.contact-via-app .contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Legal iframe embed (terms / privacy / about) ── */
/* Full-width embedded iframe; scrolls with page content */
.legal-iframe { width: 100%; min-height: 70vh; border: none; border-radius: var(--radius-lg); background: var(--white); display: block; }
/* "Last updated" caption below the iframe */
.last-updated { margin-top: 24px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* ── Social media placeholder cards (about page) ── */
.social-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.social-link {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 32px; min-width: 140px; text-align: center;
  transition: all var(--transition); text-decoration: none;
}
.social-link:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.social-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.social-name { font-weight: 700; color: var(--dark); font-size: 0.97rem; }
.social-ph { font-size: 0.78rem; color: var(--muted); background: var(--bg); padding: 3px 10px; border-radius: 100px; }

/* ── Official Google Play PNG badge wrapper ── */
.store-badge-img { display: inline-block; transition: all var(--transition); border-radius: var(--radius-sm); overflow: hidden; vertical-align: middle; }
.store-badge-img:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

@media (max-width: 768px) {
  /* .flow-panel.active is now display:block so no grid override needed */
  /* Stack screenshot below text on mobile */
  .flow-step-body { flex-direction: column; }
  .flow-step-body > .shot-ph { width: 100%; max-width: 200px; margin: 0 auto; }
  .flow-shots { flex-direction: row; overflow-x: auto; width: 100%; justify-content: flex-start; padding-bottom: 8px; position: static; }
  .shot-ph { flex-shrink: 0; width: 160px; }
  .flow-cards { grid-template-columns: 1fr; }
}
