/* MyRihla — Marketing site styles. Builds on the design-system tokens (styles.css). */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mr-cream);
  color: var(--mr-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(200,162,74,.3); }

/* ─────────── layout primitives ─────────── */
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.eyebrow {
  font: var(--type-overline); font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mr-gold-deep);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow.on-dark { color: var(--mr-gold-soft); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mr-gold); }
.eyebrow .ar { font-family: var(--font-arabic); font-size: 16px; letter-spacing: 0; text-transform: none; opacity: .9; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; margin: 0; line-height: 1.04; letter-spacing: -.01em; }
.display { font-size: clamp(40px, 6.4vw, 78px); line-height: .98; }
.h-sec { font-size: clamp(32px, 4.6vw, 54px); }
.h-sub { font-size: clamp(22px, 2.6vw, 30px); }
.serif-i { font-style: italic; color: var(--mr-gold-deep); }
.on-dark .serif-i, .serif-i.gold-soft { color: var(--mr-gold-soft); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--mr-sub); line-height: 1.6; max-width: 56ch; }
.muted { color: var(--mr-muted); }
.ar { font-family: var(--font-arabic); }

/* ─────────── buttons ─────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font: var(--type-label); font-size: 15px; letter-spacing: .2px;
  padding: 15px 26px; border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mr-emerald); color: var(--mr-cream); box-shadow: var(--shadow-emerald); }
.btn-primary:hover { box-shadow: 0 22px 40px -14px rgba(14,74,55,.62); }
.btn-gold { background: var(--mr-gold); color: var(--mr-emerald-900); box-shadow: var(--shadow-gold); }
.btn-ghost { background: transparent; border-color: var(--mr-line); color: var(--mr-ink); }
.btn-ghost.on-photo { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.btn-ghost.on-photo:hover { background: rgba(255,255,255,.16); }

/* app store badges */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 20px 11px 17px; border-radius: 15px;
  background: var(--mr-emerald-900); color: #fff;
  transition: transform .25s var(--ease-out), box-shadow .25s; cursor: pointer;
  box-shadow: 0 16px 30px -22px rgba(20,40,30,.6);
}
.store-badge.on-photo { background: rgba(8,30,22,.55); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .sb-txt small { font-size: 10px; letter-spacing: .4px; opacity: .8; font-weight: 600; }
.store-badge .sb-txt b { font-size: 16px; font-family: var(--font-serif); font-weight: 600; }

/* ─────────── top nav ─────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  transition: background .3s, box-shadow .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,42,31,.92); backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(255,255,255,.10); box-shadow: 0 14px 36px -22px rgba(0,0,0,.6);
}
.wordmark-img { height: 30px; width: auto; display: block; }
.wordmark { font-family: var(--font-serif); font-weight: 600; font-size: 25px; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 9px; }
.wordmark .mark { width: 30px; height: 30px; flex-shrink: 0; }
.wordmark .rihla { color: var(--mr-gold-deep); font-style: italic; }
.nav.on-photo .wordmark, .nav.on-photo .nav-links a, .nav.on-photo .nav-dd-btn { color: #fff; }
.nav.on-photo .wordmark .rihla { color: var(--mr-gold-soft); }
.nav.scrolled .wordmark, .nav.scrolled .nav-links a, .nav.scrolled .nav-dd-btn { color: #fff; }
.nav.scrolled .wordmark .rihla { color: var(--mr-gold-soft); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 14.5px; opacity: .9; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* language toggle */
.lang-toggle { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); background: rgba(0,0,0,.06); border: 1px solid var(--mr-line); }
.nav.on-photo .lang-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer; font: var(--type-label); font-size: 12px;
  padding: 6px 12px; border-radius: var(--radius-pill); color: inherit; opacity: .6; transition: .2s;
}
.nav.on-photo .lang-toggle button { color: #fff; }
.nav.scrolled .lang-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.nav.scrolled .lang-toggle button { color: #fff; }
.lang-toggle button.active { background: var(--mr-emerald); color: #fff; opacity: 1; }
.nav.on-photo .lang-toggle button.active { background: var(--mr-gold); color: var(--mr-emerald-900); }

/* ─────────── hero shared ─────────── */
.hero { position: relative; overflow: hidden; }
[data-hero="foto"] #hero-editorial { display: none; }
[data-hero="editorial"] #hero-foto { display: none; }

/* hero A — photo immersive */
#hero-foto { min-height: 100vh; display: flex; align-items: center; color: #fff; }
.hero-photo-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo-bg .ph { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-photo-bg .tint { position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,40,29,.94) 0%, rgba(9,53,38,.78) 38%, rgba(9,53,38,.34) 72%, rgba(9,53,38,.55) 100%); }
.hero-photo-bg .grad-fallback { position: absolute; inset: 0; background: var(--g-night); z-index: -1; }
#hero-foto .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 90px; padding-bottom: 60px; }
#hero-foto .hero-copy { max-width: 620px; }
#hero-foto .display { color: #fff; margin: 18px 0 0; }
#hero-foto .hero-lead { color: rgba(245,240,230,.86); font-size: clamp(17px,1.6vw,21px); margin: 22px 0 32px; max-width: 50ch; line-height: 1.55; }
#hero-foto .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-phone-stage { display: flex; justify-content: center; position: relative; }

/* hero B — editorial emerald */
#hero-editorial { min-height: 100vh; display: flex; align-items: center; color: #fff;
  background: var(--g-night); position: relative; }
#hero-editorial .wrap { position: relative; z-index: 2; text-align: center; padding-top: 110px; padding-bottom: 70px; }
#hero-editorial .verse-ar { font-family: var(--font-arabic); font-size: clamp(26px, 3.6vw, 42px); color: var(--mr-gold-soft); line-height: 1.7; margin: 0 auto 6px; }
#hero-editorial .display { color: #fff; margin: 22px auto 0; max-width: 16ch; }
#hero-editorial .hero-lead { color: rgba(245,240,230,.84); font-size: clamp(17px,1.6vw,21px); margin: 24px auto 34px; max-width: 56ch; line-height: 1.55; }
#hero-editorial .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
#hero-editorial .hero-phone-row { display: flex; justify-content: center; gap: 26px; margin-top: 64px; }
#hero-editorial .hero-phone-row .phone { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
#hero-editorial .hero-phone-row .phone:nth-child(1) { transform: translateY(28px) rotate(-4deg); }
#hero-editorial .hero-phone-row .phone:nth-child(3) { transform: translateY(28px) rotate(4deg); }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.6); display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.8); animation: scrollDot 1.6s var(--ease-out) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* girih overlay */
.girih-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 1; transition: opacity .4s; }
body.no-girih .girih-layer { opacity: 0 !important; }
.subhero .girih-layer, .cta .girih-layer, .section.emerald > .girih-layer { background-image: url('../img/girih.svg'); background-size: 360px; background-position: center top; opacity: .07; }

/* ─────────── three pillars strip ─────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.pillar-card {
  background: var(--mr-card); border: 1px solid var(--mr-line); border-radius: var(--radius-2xl);
  padding: 32px 30px; box-shadow: var(--shadow-card); position: relative; overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(20,40,30,.4); }
.pillar-card .num { font-family: var(--font-serif); font-size: 15px; color: var(--mr-gold-deep); font-weight: 600; }
.pillar-card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin: 4px 0 18px; box-shadow: 0 10px 20px -10px rgba(20,40,30,.5); }
.pillar-card .ic svg { width: 27px; height: 27px; }
.pillar-card h3 { font-size: 25px; margin-bottom: 9px; }
.pillar-card p { color: var(--mr-sub); font-size: 15px; margin: 0; line-height: 1.55; }
.pillar-card .tab-tag { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--mr-emerald-600); letter-spacing: .3px; }
.pillar-card .hc-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--mr-emerald); }
.pillar-card .hc-go svg { width: 16px; height: 16px; transition: transform .25s; }
.pillar-card:hover .hc-go svg { transform: translateX(4px); }

/* ─────────── feature section (split) ─────────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feature.reverse .feature-media { order: -1; }
.feature-copy h2 { margin: 18px 0 0; }
.feature-copy .lead { margin: 20px 0 28px; }
.feat-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.feat-list li { display: flex; gap: 14px; align-items: flex-start; }
.feat-list .fi { width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--mr-cream); border: 1px solid var(--mr-line); }
.feat-list .fi svg { width: 20px; height: 20px; }
.feat-list .ft { font-family: var(--font-serif); font-size: 19px; font-weight: 600; line-height: 1.2; }
.feat-list .fd { font-size: 14.5px; color: var(--mr-sub); line-height: 1.5; margin-top: 2px; }
.feat-list .far { font-family: var(--font-arabic); color: var(--mr-gold-deep); font-size: 16px; margin-left: 6px; }

/* inline meta chips */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: var(--mr-card); border: 1px solid var(--mr-line);
  font-size: 13px; font-weight: 700; color: var(--mr-emerald-600);
  box-shadow: 0 8px 20px -16px rgba(20,40,30,.5);
}

/* hifz guided-assistant step flow */
.hifz-flow { display: flex; align-items: flex-start; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 48px; }
.hf-step { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hf-num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mr-emerald); color: #fff; font-family: var(--font-serif); font-weight: 600; font-size: 16px;
  box-shadow: var(--shadow-emerald);
}
.hf-cap { font-size: 14px; font-weight: 700; color: var(--mr-ink); }
.hf-arrow { align-self: center; margin-top: 120px; font-size: 26px; color: var(--mr-gold-deep); }
@media (max-width: 720px) { .hf-arrow { display: none; } }

/* on emerald sections */
.section.emerald { background: var(--g-night); color: #fff; }
.section.emerald .lead { color: rgba(245,240,230,.82); }
.section.emerald .h-sec, .section.emerald h2 { color: #fff; }
.section.emerald .feat-list .fi { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.section.emerald .feat-list .ft { color: #fff; }
.section.emerald .feat-list .fd { color: rgba(245,240,230,.72); }
.section.emerald .feat-list .far { color: var(--mr-gold-soft); }
.section.sand { background: var(--mr-cream-warm); }

.feature-media { display: flex; justify-content: center; position: relative; }

/* ─────────── phone mockup ─────────── */
.phone {
  --pw: 300px; width: var(--pw); height: calc(var(--pw) * 2.06); flex-shrink: 0;
  border-radius: calc(var(--pw) * .153); background: #141512; padding: calc(var(--pw) * .034);
  box-shadow: 0 2px 2px rgba(255,255,255,.12) inset, 0 40px 70px -28px rgba(20,40,30,.55);
  position: relative;
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .125); overflow: hidden; background: var(--mr-cream); }
.phone .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; background: #000; border-radius: 16px; z-index: 30; }
.phone .statusbar { position: absolute; top: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 24px; z-index: 20; pointer-events: none; }
.phone .statusbar .tm { font-size: 12px; font-weight: 700; }
.phone .statusbar .sig { display: flex; gap: 4px; align-items: center; }
.phone .statusbar.light, .phone .statusbar.light .tm { color: #fff; }
.phone .home-ind { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 110px; height: 4px; border-radius: 4px; background: rgba(20,30,25,.25); z-index: 25; }
.phone .home-ind.light { background: rgba(255,255,255,.55); }
.phone .scr-body { position: absolute; inset: 0; padding-top: 44px; overflow: hidden; }

/* place screenshot carousel (arrows + dots OUTSIDE the phone) */
.place-stage { display: inline-flex; flex-direction: column; align-items: center; gap: 20px; }
.place-row { display: flex; align-items: center; justify-content: center; gap: 16px; }
.phone .screen .pc-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .45s ease; z-index: 1; }
.phone .screen .pc-slide.on { opacity: 1; }
.place-stage .pc-arrow {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); cursor: pointer; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.10); backdrop-filter: blur(8px); box-shadow: 0 8px 22px -10px rgba(0,0,0,.5);
  transition: background .2s, transform .2s, border-color .2s;
}
.place-stage .pc-arrow:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); transform: scale(1.06); }
.place-stage .pc-arrow svg { width: 18px; height: 18px; }
.place-stage .pc-dots { display: flex; gap: 7px; }
.place-stage .pc-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); transition: background .25s, width .25s; }
.place-stage .pc-dots i.on { background: var(--mr-gold); width: 18px; border-radius: 4px; }

/* generic mock pieces */
.mk-pad { padding: 0 18px; }
.mk-ar { font-family: var(--font-arabic); color: var(--mr-gold-deep); }
.mk-title { font-family: var(--font-serif); font-weight: 600; line-height: 1.02; }
.mk-card { background: #fff; border: 1px solid var(--mr-line); border-radius: 18px; box-shadow: var(--shadow-card); }
.mk-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-weight: 700; font-size: 11px; }
.mk-tabbar {
  position: absolute; bottom: 14px; left: 14px; right: 14px; height: 58px; z-index: 22;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px); border: 1px solid var(--mr-line);
  border-radius: 22px; display: flex; align-items: center; justify-content: space-around;
  box-shadow: 0 14px 30px -18px rgba(20,40,30,.45);
}
.mk-tabbar .ti { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--mr-muted); }
.mk-tabbar .ti svg { width: 20px; height: 20px; }
.mk-tabbar .ti span { font-size: 8.5px; font-weight: 700; }
.mk-tabbar .ti.active { color: var(--mr-emerald); }
.mk-tabbar .hub { width: 50px; height: 50px; border-radius: 50%; background: var(--mr-emerald); display: grid; place-items: center; margin-top: -22px; box-shadow: var(--shadow-emerald); border: 3px solid var(--mr-cream); }
.mk-tabbar .hub svg { width: 24px; height: 24px; }

/* floating chips around hero phone */
.float-chip {
  position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--mr-line); border-radius: 16px; padding: 11px 15px;
  box-shadow: 0 20px 40px -22px rgba(20,40,30,.5); display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--mr-ink); z-index: 5;
}
.float-chip .fc-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.float-chip small { display: block; font-size: 10px; font-weight: 600; color: var(--mr-muted); letter-spacing: .3px; text-transform: uppercase; }

/* ─────────── seerah timeline ─────────── */
.seerah-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.epoch {
  border-radius: var(--radius-xl); padding: 26px 24px; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
}
.epoch .ep-n { font-family: var(--font-arabic); font-size: 20px; color: var(--mr-gold-soft); }
.epoch h4 { font-size: 23px; color: #fff; margin: 6px 0 4px; }
.epoch .ep-meta { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--mr-gold-soft); }
.epoch p { font-size: 14px; color: rgba(245,240,230,.74); margin: 12px 0 0; line-height: 1.5; }
.seerah-stat { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.seerah-stat .st b { font-family: var(--font-serif); font-size: 44px; font-weight: 600; color: var(--mr-gold-soft); display: block; line-height: 1; }
.seerah-stat .st span { font-size: 13px; color: rgba(245,240,230,.72); font-weight: 600; }

/* ─────────── security (dark console) ─────────── */
.section.console { background: var(--mr-d-bg); color: var(--mr-d-text); }
.section.console .h-sec { color: var(--mr-d-text); }
.section.console .lead { color: var(--mr-d-sub); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.sec-card {
  background: var(--mr-d-card); border: 1px solid var(--mr-d-border); border-radius: var(--radius-xl);
  padding: 28px 26px; backdrop-filter: blur(8px);
}
.sec-card .sc-ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(79,208,166,.12); display: grid; place-items: center; margin-bottom: 18px; }
.sec-card .sc-ic svg { width: 24px; height: 24px; }
.sec-card h4 { font-size: 21px; color: var(--mr-d-text); margin-bottom: 8px; }
.sec-card p { font-size: 14px; color: var(--mr-d-sub); margin: 0; line-height: 1.55; }
.sec-card .badge-mint { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .4px; color: var(--mr-d-mint); text-transform: uppercase; }

/* ─────────── languages ─────────── */
.lang-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 46px; }
.lang-card {
  background: var(--mr-card); border: 1px solid var(--mr-line); border-radius: var(--radius-xl);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out);
}
.lang-card:hover { transform: translateY(-4px); }
.lang-card .greet { font-family: var(--font-serif); font-size: 27px; font-weight: 600; color: var(--mr-emerald); }
.lang-card .greet.ar { font-family: var(--font-arabic); color: var(--mr-gold-deep); }
.lang-card .lname { font-size: 13px; font-weight: 700; color: var(--mr-ink); margin-top: 10px; }
.lang-card .lcode { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mr-muted); margin-top: 2px; }

/* ─────────── offline ─────────── */
.offline-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.dl-ring-stage { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.dl-ring { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dl-ring svg { width: 132px; height: 132px; }
.dl-ring .dl-label { font-weight: 700; font-size: 14px; }
.dl-ring .dl-sub { font-size: 12px; color: var(--mr-muted); font-weight: 600; }
.offline-stats { display: flex; gap: 36px; margin-top: 30px; flex-wrap: wrap; }
.offline-stats .os b { font-family: var(--font-serif); font-size: 40px; font-weight: 600; color: var(--mr-emerald); display: block; line-height: 1; }
.offline-stats .os span { font-size: 13px; color: var(--mr-sub); font-weight: 600; }

/* ─────────── FAQ ─────────── */
.faq-list { max-width: 820px; margin: 44px auto 0; border-top: 1px solid var(--mr-line); }
.faq-item { border-bottom: 1px solid var(--mr-line); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; font-family: var(--font-serif); font-size: clamp(19px, 2vw, 24px); font-weight: 600; color: var(--mr-ink); }
.faq-q .pm { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--mr-line); display: grid; place-items: center; position: relative; transition: background .25s, transform .35s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--mr-emerald); border-radius: 2px; transition: transform .3s, opacity .3s; }
.faq-q .pm::before { width: 12px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 12px; }
.faq-item.open .pm { background: var(--mr-emerald); transform: rotate(90deg); }
.faq-item.open .pm::before, .faq-item.open .pm::after { background: #fff; }
.faq-item.open .pm::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.faq-a .faq-a-inner { padding: 0 4px 26px; color: var(--mr-sub); font-size: 16px; line-height: 1.65; max-width: 70ch; }

/* ─────────── final CTA ─────────── */
.cta {
  position: relative; overflow: hidden; background: var(--g-night); color: #fff;
  border-radius: clamp(28px, 4vw, 44px); padding: clamp(48px, 7vw, 90px) clamp(28px, 5vw, 80px);
  text-align: center; box-shadow: var(--shadow-hero);
}
.cta .display { color: #fff; }
.cta .lead { color: rgba(245,240,230,.84); margin: 20px auto 36px; }
.cta .stores { justify-content: center; margin-bottom: 18px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; position: relative; z-index: 2; }

/* newsletter + partner row */
.cta-secondary { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; margin-top: 54px; text-align: left; position: relative; z-index: 2; }
.cta-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-2xl); padding: 30px 30px; backdrop-filter: blur(8px); }
.cta-box h4 { font-size: 24px; color: #fff; margin-bottom: 6px; }
.cta-box p { color: rgba(245,240,230,.74); font-size: 14.5px; margin: 0 0 18px; line-height: 1.5; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input {
  flex: 1; min-width: 180px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1); color: #fff; padding: 14px 20px; font: inherit; font-size: 15px; outline: none;
}
.news-form input::placeholder { color: rgba(245,240,230,.55); }
.news-form input:focus { border-color: var(--mr-gold-soft); }
.news-ok { color: var(--mr-gold-soft); font-weight: 700; font-size: 14px; margin-top: 12px; display: none; }
.news-ok.show { display: block; }

/* ─────────── footer ─────────── */
.footer { padding: 60px 0 40px; background: var(--mr-emerald-900); color: rgba(245,240,230,.7); }
.footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer .wordmark { color: #fff; }
.footer .wordmark-img { height: 34px; }
.footer .wordmark .rihla { color: var(--mr-gold-soft); }
.footer .f-tag { margin-top: 12px; font-size: 14px; max-width: 32ch; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols .fc h5 { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mr-gold-soft); margin: 0 0 14px; font-family: var(--font-sans); font-weight: 700; }
.footer-cols .fc a { display: block; font-size: 14px; padding: 5px 0; opacity: .8; transition: opacity .2s; }
.footer-cols .fc a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ─────────── reveal animation ─────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-cue .mouse::after { animation: none; }
}

/* ─────────── responsive ─────────── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  #hero-foto .wrap { grid-template-columns: 1fr; }
  #hero-foto .hero-phone-stage { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .seerah-band { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .offline-wrap { grid-template-columns: 1fr; }
  .cta-secondary { grid-template-columns: 1fr; }
  #hero-editorial .hero-phone-row .phone:nth-child(1),
  #hero-editorial .hero-phone-row .phone:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .lang-grid { grid-template-columns: 1fr; }
  .footer-cols { gap: 32px; }
}

/* gradient vars from design system */
:root {
  --g-night: linear-gradient(165deg,#0C3F2E 0%,#093526 55%,#06281D 100%);
  --g-dusk: linear-gradient(165deg,#1B6B4F 0%,#0C3F2E 60%,#08301F 100%);
  --g-teal: linear-gradient(165deg,#17847B 0%,#0C5E57 55%,#0A4742 100%);
  --g-gold: linear-gradient(160deg,#E9C97E 0%,#C8A24A 55%,#9E7A2E 100%);
}

/* ═══════════════ MULTI-PAGE SYSTEM ═══════════════ */

/* ── nav dropdown ── */
.nav-dd { position: relative; }
.nav-dd-btn {
  font-family: inherit; font-weight: 600; font-size: 14.5px; opacity: .9; color: inherit;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 0; transition: opacity .2s;
}
.nav-dd-btn svg { width: 13px; height: 13px; transition: transform .25s; }
.nav-dd:hover .nav-dd-btn, .nav-dd:focus-within .nav-dd-btn { opacity: 1; }
.nav-dd:hover .nav-dd-btn svg, .nav-dd:focus-within .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 270px; background: #FBF7EE;
  border: 1px solid rgba(20,40,30,.12); border-radius: 18px; padding: 9px; opacity: 0; visibility: hidden;
  box-shadow: 0 30px 60px -22px rgba(20,40,30,.55), 0 2px 6px rgba(20,40,30,.08); transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility .22s;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 16px; }
.nav-dd-menu a {
  display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 12px;
  font-size: 14px; font-weight: 600; color: var(--mr-ink); opacity: 1; transition: background .18s;
}
.nav-dd-menu a:hover { background: rgba(14,74,55,.08); }
.nav-dd-menu a .ddi { width: 32px; height: 32px; border-radius: 9px; background: #fff; border: 1px solid var(--mr-line); display: grid; place-items: center; flex-shrink: 0; color: var(--mr-emerald); }
.nav-dd-menu a .ddi svg { width: 16px; height: 16px; }
.nav-dd-menu a small { display: block; font-size: 11.5px; font-weight: 500; color: var(--mr-sub); margin-top: 2px; line-height: 1.35; }
.nav-dd-menu a b { font-weight: 700; font-size: 14px; color: var(--mr-ink); }
/* active item inside dropdown */
.nav-dd-menu a.active { background: rgba(200,162,74,.16); box-shadow: inset 2.5px 0 0 var(--mr-gold); }
.nav-dd-menu a.active b { color: var(--mr-gold-deep); }
.nav-dd-menu a.active .ddi { border-color: var(--mr-gold); color: var(--mr-gold-deep); }
/* nav active link */
.nav-links a.active, .nav-dd-btn.active { color: var(--mr-gold-deep); opacity: 1; font-weight: 700; }
.nav-links > a.active, .nav-dd-btn.active { position: relative; }
.nav-links > a.active::after, .nav-dd-btn.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2.5px; border-radius: 3px; background: var(--mr-gold);
}
.nav-dd-btn.active::after { right: 19px; }
.nav.on-photo .nav-links a.active, .nav.on-photo .nav-dd-btn.active { color: #fff; }
.nav.scrolled .nav-links a.active, .nav.scrolled .nav-dd-btn.active { color: var(--mr-gold-soft); }
.nav.scrolled .lang-toggle button.active { background: var(--mr-gold); color: var(--mr-emerald-900); }
/* mobile menu toggle */
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--mr-line); background: rgba(255,255,255,.5); cursor: pointer; align-items: center; justify-content: center; }
.nav.on-photo .nav-burger { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; }
.nav.scrolled .nav-burger { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; }
.nav-burger svg { width: 22px; height: 22px; }

/* ── sub-hero (compact dark page header) ── */
.subhero {
  position: relative; overflow: hidden; background: var(--g-night); color: #fff;
  padding: clamp(116px, 15vw, 168px) 0 clamp(54px, 7vw, 84px);
}
.subhero.has-photo .sh-bg { position: absolute; inset: 0; z-index: 0; }
.subhero.has-photo .sh-bg .ph { position: absolute; inset: 0; background-size: cover; background-position: center; }
.subhero.has-photo .sh-bg .tint { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(6,40,29,.93) 0%, rgba(9,53,38,.8) 45%, rgba(9,53,38,.5) 100%); }
.subhero .wrap { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(245,240,230,.6); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(245,240,230,.78); transition: color .2s; }
.breadcrumb a:hover { color: var(--mr-gold-soft); }
.breadcrumb .sep { opacity: .5; }
.subhero h1 { font-size: clamp(38px, 5.4vw, 66px); color: #fff; margin: 14px 0 0; max-width: 17ch; }
.subhero .sh-ar { font-family: var(--font-arabic); font-size: clamp(20px, 2.6vw, 30px); color: var(--mr-gold-soft); }
.subhero .sh-lead { font-size: clamp(17px, 1.6vw, 21px); color: rgba(245,240,230,.84); margin: 20px 0 0; max-width: 60ch; line-height: 1.55; }
.subhero .sh-meta { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.subhero .sh-meta .m b { font-family: var(--font-serif); font-size: 32px; font-weight: 600; color: var(--mr-gold-soft); display: block; line-height: 1; }
.subhero .sh-meta .m span { font-size: 12.5px; color: rgba(245,240,230,.72); font-weight: 600; }
.subhero .sh-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ── device screenshot frame (real app screenshots) ── */
.shot { --sw: 300px; width: var(--sw); flex-shrink: 0; border-radius: calc(var(--sw) * .12); overflow: hidden;
  background: #141512; padding: calc(var(--sw) * .03); box-shadow: 0 2px 2px rgba(255,255,255,.12) inset, 0 44px 80px -30px rgba(20,40,30,.6);
}
.shot img { width: 100%; display: block; border-radius: calc(var(--sw) * .092); }
.shot-row { display: flex; gap: clamp(18px, 3vw, 34px); justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.shot-tilt-l { transform: rotate(-3deg); }
.shot-tilt-r { transform: rotate(3deg); }

/* ── hub grid (funktionen overview cards) ── */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.hub-card {
  display: flex; flex-direction: column; background: var(--mr-card); border: 1px solid var(--mr-line);
  border-radius: var(--radius-2xl); padding: 28px 26px; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out), box-shadow .3s; position: relative; overflow: hidden;
}
.hub-card:hover { transform: translateY(-5px); box-shadow: 0 32px 54px -30px rgba(20,40,30,.42); }
.hub-card .hc-ic { width: 50px; height: 50px; border-radius: 15px; background: var(--mr-cream); border: 1px solid var(--mr-line); display: grid; place-items: center; }
.hub-card .hc-ic svg { width: 25px; height: 25px; }
.hub-card .hc-k { font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--mr-gold-deep); margin-top: 18px; }
.hub-card h3 { font-size: 24px; margin: 6px 0 0; }
.hub-card .hc-ar { font-family: var(--font-arabic); font-size: 15px; color: var(--mr-gold-deep); margin-left: 8px; }
.hub-card p { color: var(--mr-sub); font-size: 14.5px; margin: 10px 0 0; line-height: 1.55; }
.hub-card .hc-go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--mr-emerald); }
.hub-card .hc-go svg { width: 16px; height: 16px; transition: transform .25s; }
.hub-card:hover .hc-go svg { transform: translateX(4px); }
.hub-card.span2 { grid-column: span 2; }

/* ── tool grid (learn page — all tools at a glance) ── */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.tool-card {
  background: var(--mr-card); border: 1px solid var(--mr-line); border-radius: var(--radius-xl);
  padding: 22px 20px; box-shadow: var(--shadow-card); transition: transform .3s var(--ease-out), box-shadow .3s;
  display: flex; flex-direction: column; gap: 4px; cursor: default;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 28px 46px -30px rgba(20,40,30,.4); }
.tool-card .tc-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px; }
.tool-card .tc-ic svg { width: 24px; height: 24px; }
.tool-card .tc-t { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--mr-ink); line-height: 1.1; }
.tool-card .tc-ar { font-family: var(--font-arabic); font-size: 13px; color: var(--mr-gold-deep); }
.tool-card .tc-d { font-size: 13px; color: var(--mr-sub); line-height: 1.5; margin-top: 3px; }
.tool-card .tc-tag { margin-top: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--mr-muted); display: inline-flex; align-items: center; gap: 6px; }

/* ── tool detail rows (alternating screenshot + copy) ── */
.tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 80px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--mr-line); }
.tool-row:first-of-type { border-top: 0; }
.tool-row.reverse .tr-media { order: -1; }
.tr-media { display: flex; justify-content: center; }
.tr-copy .tr-k { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--mr-gold-deep); }
.tr-copy .tr-k .n { width: 26px; height: 26px; border-radius: 8px; background: var(--mr-emerald); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-size: 13px; }
.tr-copy h3 { font-size: clamp(26px, 3vw, 36px); margin: 14px 0 0; }
.tr-copy .tr-ar { font-family: var(--font-arabic); font-size: 18px; color: var(--mr-gold-deep); margin-left: 10px; }
.tr-copy p { color: var(--mr-sub); font-size: 16px; line-height: 1.6; margin: 14px 0 0; max-width: 52ch; }
.tr-copy .tr-bullets { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.tr-copy .tr-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--mr-sub); line-height: 1.5; }
.tr-copy .tr-bullets li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.tool-row.emerald-row { background: transparent; }

/* sand-toned tool detail wrapper alternation handled by section classes */

/* ── generic content section + prose (legal) ── */
.page-section { padding: clamp(56px, 7vw, 96px) 0; }
.prose { max-width: 760px; margin: 0 auto; }
.prose .updated { font-size: 13.5px; color: var(--mr-muted); font-weight: 600; margin: 0 0 32px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 40px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p { color: var(--mr-sub); font-size: 16px; line-height: 1.7; margin: 0 0 14px; }
.prose ul { color: var(--mr-sub); font-size: 16px; line-height: 1.7; padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--mr-emerald); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose .ph { background: rgba(200,162,74,.16); border-radius: 6px; padding: 1px 7px; font-weight: 600; color: var(--mr-gold-deep); font-size: 14.5px; }
.prose .toc { background: var(--mr-card); border: 1px solid var(--mr-line); border-radius: var(--radius-xl); padding: 22px 26px; margin: 0 0 36px; box-shadow: var(--shadow-card); }
.prose .toc h4 { font-size: 13px; letter-spacing: .8px; text-transform: uppercase; color: var(--mr-gold-deep); margin: 0 0 12px; font-family: var(--font-sans); }
.prose .toc a { display: block; padding: 5px 0; font-size: 15px; text-decoration: none; }

/* ── info cards / steps / pricing / forms (B2B + support) ── */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.info-card { background: var(--mr-card); border: 1px solid var(--mr-line); border-radius: var(--radius-xl); padding: 26px 24px; box-shadow: var(--shadow-card); }
.info-card .ic-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--mr-cream); border: 1px solid var(--mr-line); display: grid; place-items: center; margin-bottom: 16px; }
.info-card .ic-ic svg { width: 24px; height: 24px; }
.info-card h4 { font-size: 20px; margin-bottom: 8px; }
.info-card p { color: var(--mr-sub); font-size: 14.5px; margin: 0; line-height: 1.55; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .sn { width: 44px; height: 44px; border-radius: 50%; background: var(--mr-emerald); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-size: 20px; font-weight: 600; box-shadow: var(--shadow-emerald); }
.step h4 { font-size: 21px; margin: 16px 0 8px; }
.step p { color: var(--mr-sub); font-size: 14.5px; margin: 0; line-height: 1.55; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.price-card { background: var(--mr-card); border: 1px solid var(--mr-line); border-radius: var(--radius-2xl); padding: 30px 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--mr-gold); box-shadow: 0 28px 50px -28px rgba(200,162,74,.45); position: relative; }
.price-card.featured::before { content: "Beliebt"; position: absolute; top: 18px; right: 18px; background: var(--mr-gold); color: var(--mr-emerald-900); font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; letter-spacing: .3px; }
.price-card .pc-name { font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--mr-gold-deep); }
.price-card .pc-price { font-family: var(--font-serif); font-size: 44px; font-weight: 600; color: var(--mr-ink); margin: 10px 0 2px; line-height: 1; }
.price-card .pc-price small { font-size: 15px; color: var(--mr-muted); font-weight: 500; font-family: var(--font-sans); }
.price-card .pc-sub { font-size: 13.5px; color: var(--mr-sub); margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--mr-sub); }
.price-card ul li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.price-card .btn { margin-top: auto; }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { display: block; font-size: 12.5px; font-weight: 700; color: var(--mr-ink); margin-bottom: 7px; letter-spacing: .2px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; border: 1px solid var(--mr-line); background: #fff; border-radius: 14px; padding: 13px 16px;
  font: inherit; font-size: 15px; color: var(--mr-ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--mr-emerald); box-shadow: 0 0 0 3px rgba(14,74,55,.1); }
.form-ok { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(63,158,107,.12); color: var(--mr-emerald); font-weight: 700; font-size: 14px; }
.form-ok.show { display: block; }

/* danger box (account deletion) */
.danger-box { background: rgba(176,70,60,.06); border: 1px solid rgba(176,70,60,.25); border-radius: var(--radius-xl); padding: 24px 26px; margin-top: 28px; }
.danger-box h4 { font-size: 19px; color: #9A3C33; margin-bottom: 8px; }
.danger-box p { color: var(--mr-sub); font-size: 14.5px; margin: 0 0 8px; line-height: 1.55; }
.btn-danger { background: #B0463C; color: #fff; }

/* CTA strip (shared mini call to action used on subpages) */
.cta-strip { margin-top: clamp(20px, 4vw, 40px); }

/* ── responsive for new components ── */
@media (max-width: 980px) {
  .nav-burger { display: inline-flex; }
  .nav-right .lang-toggle { display: none; }
  .hub-grid, .info-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .hub-card.span2 { grid-column: span 1; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-row { grid-template-columns: 1fr; }
  .tool-row.reverse .tr-media { order: 0; }
  .lead-form { grid-template-columns: 1fr; }
  /* mobile dropdown: links shown stacked when burger open */
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(248,243,234,.98); backdrop-filter: blur(18px); border-bottom: 1px solid var(--mr-line);
    padding: 12px 20px 20px; display: none; box-shadow: 0 20px 40px -24px rgba(20,40,30,.4); }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-dd-btn { padding: 13px 4px; font-size: 16px; color: var(--mr-ink) !important; }
  .nav-dd { width: 100%; }
  .nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; box-shadow: none;
    background: transparent; border: 0; padding: 0 0 6px 12px; }
  .nav-dd-menu a { padding: 9px 8px; }
}
@media (max-width: 560px) {
  .tool-grid { grid-template-columns: 1fr; }
  .shot { --sw: 240px; }
}

/* ── learn tool cards with mockup visual (lernen page) ── */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
.tg-card { background: var(--mr-card); border: 1px solid var(--mr-line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .3s var(--ease-out), box-shadow .3s; display: flex; flex-direction: column; }
.tg-card:hover { transform: translateY(-5px); box-shadow: 0 30px 52px -30px rgba(20,40,30,.45); }
.tg-vis { position: relative; aspect-ratio: 6/5; overflow: hidden; background: var(--g-night); display: grid; place-items: center; }
.tg-vis::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 0%, rgba(200,162,74,.14), transparent 60%); pointer-events: none; }
.tg-vis img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tg-vis .tg-num { font-family: var(--font-serif); font-size: 62px; font-weight: 600; color: #fff; line-height: 1; }
.tg-vis .tg-glyph { font-family: var(--font-arabic); color: var(--mr-gold-soft); line-height: 1; }
.tg-vis .tg-cap { position: absolute; bottom: 12px; left: 14px; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: rgba(245,240,230,.75); }
.tg-vis .tg-ring { width: 96px; height: 96px; border-radius: 50%; border: 2px solid rgba(200,162,74,.5); display: grid; place-items: center; box-shadow: inset 0 0 26px rgba(200,162,74,.14); position: relative; }
.tg-vis .tg-ring b { font-family: var(--font-serif); font-size: 40px; color: #fff; }
.tg-vis .tg-wave { display: flex; align-items: flex-end; gap: 3px; height: 56px; }
.tg-vis .tg-wave i { width: 5px; border-radius: 3px; background: var(--mr-gold); }
.tg-vis .tg-compass { width: 104px; height: 104px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); position: relative; display: grid; place-items: center; }
.tg-vis .tg-compass::before { content: ""; position: absolute; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 38px solid var(--mr-gold); top: 12px; }
.tg-vis .tg-names { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 14px; width: 100%; }
.tg-vis .tg-names span { aspect-ratio: 1.4; border-radius: 7px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; font-family: var(--font-arabic); font-size: 13px; color: var(--mr-gold-soft); }
.tg-vis .tg-steps { display: flex; flex-direction: column; gap: 7px; width: 78%; }
.tg-vis .tg-steps span { height: 13px; border-radius: 7px; background: rgba(255,255,255,.1); position: relative; }
.tg-vis .tg-steps span.on { background: rgba(200,162,74,.5); }
.tg-vis .tg-quote { font-family: var(--font-arabic); font-size: 22px; color: #fff; text-align: center; line-height: 1.8; padding: 0 18px; }
.tg-body { padding: 18px 19px 20px; display: flex; flex-direction: column; }
.tg-body .tg-h { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--mr-ink); line-height: 1.05; }
.tg-body .tg-ar { font-family: var(--font-arabic); font-size: 14px; color: var(--mr-gold-deep); margin-left: 7px; }
.tg-body .tg-d { font-size: 13.5px; color: var(--mr-sub); line-height: 1.5; margin-top: 7px; }
.tg-body .tg-caps { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--mr-line); font-size: 11.5px; font-weight: 600; color: var(--mr-muted); display: flex; align-items: center; gap: 7px; }
.tg-body .tg-caps svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--mr-emerald); }
.group-head { display: flex; align-items: baseline; gap: 12px; margin-top: 56px; }
.group-head .gh-n { font-family: var(--font-serif); font-size: 15px; color: var(--mr-gold-deep); font-weight: 600; }
.group-head h2 { font-size: clamp(24px, 3vw, 34px); }
.group-head .gh-ar { font-family: var(--font-arabic); font-size: 20px; color: var(--mr-gold-deep); }
@media (max-width: 980px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tgrid { grid-template-columns: 1fr; } }
