/* About the Kalameh app (/about-app) — marketing page. Ported from the mockup.
   Brand-cyan accent. Hero phone mockups + explore carousel match the design HTML. */

.aa-hero { padding: 72px 0 80px; overflow: visible; }
.aa-hero-stack { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.aa-hero-stack .eyebrow { color: var(--brand); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 10px; }
[dir="rtl"] .aa-hero-stack .eyebrow { letter-spacing: 0.4px; }
.aa-hero-stack h1 { font-family: var(--serif); font-weight: 500; font-size: 64px; line-height: 1.04; letter-spacing: -1.5px; margin: 4px 0 22px; color: var(--ink); text-wrap: balance; }
[dir="rtl"] .aa-hero-stack h1 { font-family: var(--farsi); font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.aa-hero-stack h1 em { color: var(--brand); font-style: normal; }
.aa-hero-stack .lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 640px; margin: 0 0 36px; }

.aa-hero-cta-row { display: flex; justify-content: center; margin-bottom: 28px; }
.aa-download-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 999px; border: none; background: #0A0A0A; color: #fff; font-family: inherit; font-weight: 700; font-size: 15px; letter-spacing: -0.1px; cursor: pointer; text-decoration: none; box-shadow: 0 10px 24px rgba(10,10,10,0.18); transition: transform 0.15s, background 0.15s, box-shadow 0.15s; }
.aa-download-btn:hover { transform: translateY(-2px); background: #1a1a1a; box-shadow: 0 14px 30px rgba(10,10,10,0.26); }
.aa-download-stores { display: inline-flex; align-items: center; gap: 6px; }
.aa-download-stores svg { display: block; }

.aa-hero-stats { display: flex; align-items: center; justify-content: center; gap: 36px; margin: 0; }
.aa-stat { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.aa-stat strong { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: -0.5px; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
[dir="rtl"] .aa-stat strong { font-family: var(--farsi); font-weight: 600; }
.aa-stat span { font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.3px; }
.aa-stat-divider { width: 1px; height: 32px; background: var(--line); }

.aa-sec { padding: 84px 0; border-bottom: 1px solid var(--line); }
.aa-sec-alt { background: var(--paper-3); }
.aa-sec .wrap { max-width: 1100px; }
.aa-sec-head { max-width: 720px; margin: 0 0 48px; }
.aa-sec-head .eyebrow { color: var(--brand); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
[dir="rtl"] .aa-sec-head .eyebrow { letter-spacing: 0.4px; }
.aa-sec-head h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.15; letter-spacing: -0.8px; margin: 12px 0 14px; color: var(--ink); text-wrap: balance; }
[dir="rtl"] .aa-sec-head h2 { font-family: var(--farsi); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.aa-sec-head h2 em { color: var(--brand); font-style: normal; }
.aa-sec-head p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0; max-width: 620px; }

/* Inside grid */
.aa-inside-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aa-inside { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; border-top: 3px solid var(--accent, #4BBBDD); transition: transform 0.18s, box-shadow 0.18s; }
.aa-inside:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(20,30,50,0.10); }
.aa-inside-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--tint, #DCF3F8); color: var(--accent, #4BBBDD); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.aa-inside h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.4px; margin: 0 0 10px; color: var(--ink); }
[dir="rtl"] .aa-inside h3 { font-family: var(--farsi); font-weight: 600; letter-spacing: 0; }
.aa-inside p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; }
.aa-inside-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.aa-inside-list li { font-size: 13px; color: var(--ink); line-height: 1.5; padding-inline-start: 22px; position: relative; }
.aa-inside-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--tint, #DCF3F8); }
.aa-inside-list li::after { content: ''; position: absolute; inset-inline-start: 4px; top: 9px; width: 6px; height: 4px; border-left: 2px solid var(--accent, #4BBBDD); border-bottom: 2px solid var(--accent, #4BBBDD); transform: rotate(-45deg); }
@media (max-width: 920px) { .aa-inside-grid { grid-template-columns: 1fr; } }

/* Only-in-app grid */
.aa-only-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
.aa-only { padding-inline-start: 12px; border-inline-start: 2px solid var(--line); transition: border-color 0.18s; }
.aa-only:hover { border-color: var(--brand); }
.aa-only-num { font-family: var(--serif); font-size: 14px; color: var(--brand); font-weight: 600; letter-spacing: 1.5px; margin-bottom: 8px; }
.aa-only h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: -0.3px; margin: 0 0 8px; color: var(--ink); }
[dir="rtl"] .aa-only h3 { font-family: var(--farsi); font-weight: 600; letter-spacing: 0; }
.aa-only p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }
@media (max-width: 920px) { .aa-only-grid { grid-template-columns: 1fr; } }

/* Reviews */
.aa-reviews { padding: 84px 0; background: var(--paper-3); border-bottom: 1px solid var(--line); }
.aa-reviews .wrap { max-width: 1200px; }
.aa-reviews-head { text-align: center; margin: 0 auto 48px; max-width: 760px; }
.aa-reviews-head h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.15; letter-spacing: -0.8px; margin: 0 0 12px; color: var(--ink); }
[dir="rtl"] .aa-reviews-head h2 { font-family: var(--farsi); font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.aa-reviews-head p { font-size: 15.5px; color: var(--ink-3); margin: 0; }
.aa-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aa-review { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.aa-review:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.14); border-color: #D5D2CB; }
.aa-review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aa-review-platform { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.aa-review-platform svg { display: block; }
.aa-review-stars { display: inline-flex; color: #F5A623; font-size: 16px; line-height: 1; letter-spacing: 1.5px; }
.aa-review-body { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; flex: 1; }
[dir="rtl"] .aa-review-body { font-family: var(--farsi); line-height: 1.95; }
.aa-review-meta { font-size: 12.5px; color: var(--ink-3); margin: 0; }
[dir="rtl"] .aa-review-meta { font-family: var(--farsi); }
@media (max-width: 960px) { .aa-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .aa-reviews-grid { grid-template-columns: 1fr; } }

/* Get-it card */
.aa-getit { padding: 84px 0; background: var(--paper-3); }
.aa-getit .wrap { max-width: 1100px; }
.aa-getit-card { position: relative; overflow: hidden; border-radius: 28px; padding: 56px; color: #fff;
  background: radial-gradient(420px 320px at 80% 20%, rgba(255,255,255,0.18), transparent 70%), radial-gradient(620px 480px at 0% 100%, rgba(255,255,255,0.10), transparent 70%), linear-gradient(135deg, #2D97BA, #1A6A85);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.aa-getit-card h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.15; letter-spacing: -0.8px; margin: 0 0 12px; color: #fff; text-wrap: balance; }
[dir="rtl"] .aa-getit-card h2 { font-family: var(--farsi); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.aa-getit-card p { font-size: 16px; color: rgba(255,255,255,0.85); margin: 0 0 26px; }
.aa-getit-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.aa-store-lg { padding: 14px 22px; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.12); }
.aa-store-lg:hover { background: rgba(0,0,0,0.75); }
@media (max-width: 820px) { .aa-getit-card { grid-template-columns: 1fr; padding: 40px; gap: 32px; } .aa-getit-card h2 { font-size: 32px; } }
@media (max-width: 760px) { .aa-hero { padding: 48px 0 64px; } .aa-hero-stack h1 { font-size: 40px; } .aa-sec { padding: 56px 0; } .aa-sec-head h2 { font-size: 30px; } }

/* Hero scroll pill */
.aa-hero-scroll {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  padding: 12px 22px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  margin: 28px auto 8px; text-decoration: none;
}
.aa-hero-scroll:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(75,187,221,0.18); }
.aa-hero-scroll .aa-scroll-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); color: #fff;
}
.aa-hero-scroll svg { animation: aa-bounce 1.4s ease-in-out infinite; }
@keyframes aa-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* Phone mockups */
.aa-phone {
  position: relative;
  width: 230px; aspect-ratio: 9 / 19.5;
  background: #1C1C1E;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(20,24,40,0.30), 0 4px 12px rgba(20,24,40,0.16), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.aa-phone::before {
  content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; background: #0A0A0A; border-radius: 999px; z-index: 2;
}
.aa-phone-screen {
  width: 100%; height: 100%;
  background: #FBFAF7;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
/* Real screenshots already include status bar / UI chrome. */
.aa-phone--shot {
  padding: 8px;
}
.aa-phone--shot::before { display: none; }
.aa-phone-screen--shot {
  background: #0A0A0A;
}
.aa-phone-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.aa-hero-centered .aa-hero-phones {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 24px; margin-top: 56px; position: relative;
}
.aa-hero-centered .aa-phone { position: relative; top: auto; left: auto; width: 240px; transform: none; }
.aa-hero-centered .aa-phone-left { transform: translateY(20px); }
.aa-hero-centered .aa-phone-right { transform: translateY(20px); }
.aa-hero-centered .aa-phone-center { width: 260px; z-index: 2; }

.aa-screen-library { padding: 18px 14px 14px; background: #FBFAF7; }
.aa-screen-library .aa-mini-head { margin-bottom: 12px; padding: 0; }
.aa-screen-library .aa-mini-head strong { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--ink); }
.aa-lib-search {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 999px;
  background: #EFEDE7; color: var(--ink-3);
  font-size: 11px; margin-bottom: 14px;
}
.aa-lib-row { font-family: var(--serif); font-size: 12px; font-weight: 500; color: var(--ink); margin: 0 0 6px; }
.aa-lib-covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 0 12px; }
.aa-lib-cv {
  aspect-ratio: 2 / 3; border-radius: 4px;
  background-size: cover; background-position: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  background-color: #8a7355;
}
.aa-lib-cv-a { background-color: #3d2a1f; }
.aa-lib-cv-b { background-color: #6b4c2e; }
.aa-lib-cv-c { background-color: #8a6b2a; }
.aa-lib-cv-d { background-color: #4a5c3a; }
.aa-lib-cv-e { background-color: #5c4a3a; }
.aa-lib-cv-f { background-color: #3d2a1f; }
.aa-lib-cv-g { background-color: #2c4a6e; }
.aa-lib-cv-h { background-color: #4a6e8a; }
.aa-lib-cv-i { background-color: #6e5a2c; }
.aa-lib-cv-j { background-color: #5a3d75; }
.aa-lib-cv-k { background-color: #3d6e5a; }
.aa-lib-cv-l { background-color: #2c4a6e; }

.aa-screen-feed { padding: 18px 12px 12px; background: #F5F4F1; }
.aa-screen-feed .aa-mini-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 0; }
.aa-screen-feed .aa-mini-head strong { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink); }
.aa-screen-feed .aa-mini-icn { font-size: 18px; color: var(--ink-3); }
.aa-feed-card { display: flex; gap: 8px; padding: 8px; background: #FBFAF7; border-radius: 12px; margin-bottom: 10px; }
.aa-feed-cv {
  width: 64px; height: 48px; flex-shrink: 0;
  border-radius: 8px; background-size: cover; background-position: center;
  background-color: #5a3d75;
}
.aa-feed-cv-a { background-color: #8e2a66; }
.aa-feed-cv-b { background-color: #2c6a7e; }
.aa-feed-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.aa-feed-eyebrow { font-size: 9px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.3px; }
.aa-feed-t { font-family: var(--serif); font-size: 11px; font-weight: 500; color: var(--ink); line-height: 1.2; }
.aa-feed-tag { font-size: 9px; color: var(--ink-3); margin-top: auto; }

.aa-screen-fellow { padding: 18px 16px 0; background: linear-gradient(180deg, #ECE1F2 0%, #E0CFEC 100%); }
.aa-screen-fellow .aa-mini-head { margin-bottom: 18px; padding: 0; }
.aa-screen-fellow .aa-mini-head strong { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--ink); }
.aa-fellow-art { position: relative; padding: 24px 0; text-align: right; }
.aa-fellow-cap { font-size: 10px; color: var(--ink-3); margin: 0 0 10px; }
.aa-fellow-h { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: -0.4px; color: var(--ink); }

.aa-screen-bible-r { padding: 18px 16px 14px; background: #FBFAF7; }
.aa-screen-bible-r .aa-bib-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 10px; font-size: 11.5px; color: var(--ink-3); }
.aa-screen-bible-r .aa-bib-bar strong { font-size: 11.5px; color: var(--ink-2); font-weight: 700; }
.aa-screen-bible-r .aa-bib-ref { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--ink); margin: 8px 0 14px; letter-spacing: -0.3px; }
.aa-screen-bible-r .aa-bib-v { display: flex; gap: 6px; font-family: var(--serif); font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin-bottom: 9px; }
.aa-screen-bible-r .aa-bib-v sup { font-family: var(--sans); font-size: 9.5px; color: var(--ink-3); font-weight: 700; flex-shrink: 0; padding-top: 2px; }
.aa-screen-bible-r .aa-bib-v .hl { background: linear-gradient(180deg, transparent 30%, #FFE89A 30%, #FFE89A 95%, transparent 95%); padding: 0 2px; border-radius: 2px; }

[dir="rtl"] .aa-screen-library .aa-mini-head strong,
[dir="rtl"] .aa-lib-row,
[dir="rtl"] .aa-feed-t,
[dir="rtl"] .aa-screen-fellow .aa-mini-head strong,
[dir="rtl"] .aa-fellow-h,
[dir="rtl"] .aa-screen-bible-r .aa-bib-ref,
[dir="rtl"] .aa-screen-bible-r .aa-bib-v { font-family: var(--farsi); font-weight: 600; }
[dir="rtl"] .aa-fellow-art { text-align: left; }

@media (max-width: 980px) {
  .aa-hero-centered .aa-hero-stack h1 { font-size: 44px; }
  .aa-hero-centered .aa-hero-phones { gap: 14px; transform: scale(0.85); transform-origin: center top; }
}
@media (max-width: 600px) {
  .aa-hero-centered .aa-hero-stack h1 { font-size: 32px; }
  .aa-hero-centered .aa-hero-phones { transform: none; margin-top: 32px; gap: 0; }
  .aa-hero-centered .aa-phone-left,
  .aa-hero-centered .aa-phone-right { display: none; }
  .aa-hero-centered .aa-phone-center { width: 240px; transform: none; }
  .aa-hero-stats { gap: 20px; }
  .aa-stat strong { font-size: 22px; }
}

/* Explore carousel */
.aa-explore {
  padding: 96px 0 84px;
  background: linear-gradient(180deg, #5FA8C3 0%, #3D8AAB 60%, #2E7793 100%);
  color: #fff;
  /* Clip only sideways so phone drop-shadows aren't cut into a hard band. */
  overflow-x: clip;
  overflow-y: visible;
}
.aa-explore .wrap { max-width: 1280px; }
.aa-explore-head { text-align: center; margin: 0 auto 56px; max-width: 760px; }
.aa-explore-head h2 { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1.1; letter-spacing: -1px; margin: 0 0 18px; color: #fff; text-wrap: balance; }
[dir="rtl"] .aa-explore-head h2 { font-family: var(--farsi); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.aa-explore-head p { font-size: 17px; color: rgba(255,255,255,0.88); line-height: 1.55; margin: 0; }
.aa-explore-stage { position: relative; padding-bottom: 8px; }
.aa-explore-rail {
  display: flex; gap: 28px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 12px 80px 40px; scrollbar-width: none;
}
.aa-explore-rail::-webkit-scrollbar { display: none; }
.aa-explore-rail .aa-phone {
  position: relative; top: auto; left: auto; right: auto;
  flex: 0 0 auto; width: 240px; scroll-snap-align: center;
  /* Soft lift — heavy shadows + overflow:hidden looked like a clipped black bar. */
  box-shadow: 0 18px 36px -18px rgba(0,0,0,0.28), 0 6px 14px -8px rgba(0,0,0,0.16);
}
.aa-explore-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(0,0,0,0.78); color: #fff; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 3; transition: background 0.18s, transform 0.18s;
  box-shadow: 0 8px 18px -4px rgba(0,0,0,0.35);
}
.aa-explore-nav:hover { background: #000; transform: translateY(-50%) scale(1.06); }
.aa-explore-prev { left: 8px; }
.aa-explore-next { right: 8px; }
[dir="rtl"] .aa-explore-prev { left: auto; right: 8px; }
[dir="rtl"] .aa-explore-next { right: auto; left: 8px; }
[dir="rtl"] .aa-explore-prev svg { transform: scaleX(-1); }
[dir="rtl"] .aa-explore-next svg { transform: scaleX(-1); }
.aa-explore-dots { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.aa-explore-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.45); border: 0; padding: 0; cursor: pointer; transition: background 0.18s, transform 0.18s; }
.aa-explore-dot.on { background: #fff; transform: scale(1.4); }
@media (max-width: 980px) { .aa-explore-head h2 { font-size: 38px; } }
@media (max-width: 760px) {
  .aa-explore { padding: 72px 0 60px; }
  .aa-explore-head { margin-bottom: 36px; }
  .aa-explore-head h2 { font-size: 28px; }
  .aa-explore-head p { font-size: 15px; }
  .aa-explore-rail { padding: 12px 16px 36px; gap: 18px; }
  .aa-explore-rail .aa-phone { width: 200px; }
  .aa-explore-nav { width: 38px; height: 38px; }
  .aa-explore-prev { left: 4px; }
  .aa-explore-next { right: 4px; }
}
