/* ==========================================================================
   KIFACH TPROMPTI? (كيفاش تبرومبتي؟) — Cinema Noir & Terracotta Film Design System
   Mobile-First RTL Stylesheet for "كيفاش تبرومبتي؟" (Edition 01 — V2.1)
   ========================================================================== */

@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('./assets/fonts/IBMPlexSansArabic-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('./assets/fonts/IBMPlexSansArabic-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('./assets/fonts/IBMPlexSansArabic-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('./assets/fonts/IBMPlexSansArabic-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('./assets/fonts/SpaceGrotesk-Variable.ttf') format('truetype'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('./assets/fonts/JetBrainsMono-Regular.ttf') format('truetype'); font-weight: 100 800; font-display: swap; }

:root {
  --bg-page: #F4EFE6;
  --bg-surface: #E7DFD1;
  --bg-card: #FFFDF9;
  --bg-dark: #111110;
  --bg-dark-elev: #1A1918;
  --bg-code: #161513;
  --ink-primary: #111110;
  --ink-muted: #57534E;
  --ink-on-dark: #F4EFE6;
  --ink-on-dark-muted: #B8B2A7;
  --accent: #D94E2A;
  --accent-hover: #B3391B;
  --ochre: #B58E4C;
  --sage: #2E6F52;
  --crimson: #B42318;
  --border-light: #D4C9B8;
  --border-dark: #2C2926;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-ar: 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-latin: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-page);
  color: var(--ink-primary);
  font-family: var(--font-ar);
  font-size: 16.5px;
  line-height: 1.78;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 68px 0; scroll-margin-top: 74px; }
.section-dark { background: var(--bg-dark); color: var(--ink-on-dark); }
.section-stone { background: var(--bg-surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-hover); background: #FCECE7;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; direction: ltr;
}
.section-dark .eyebrow { color: var(--ochre); background: rgba(181,142,76,0.14); }
.section-hdr { max-width: 720px; margin-bottom: 36px; }
.section-hdr h2 { font-size: clamp(27px, 4.5vw, 40px); font-weight: 700; line-height: 1.26; margin-bottom: 12px; }
.section-hdr p { font-size: 17px; color: var(--ink-muted); line-height: 1.75; }
.section-dark .section-hdr p { color: var(--ink-on-dark-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ar); font-size: 16px; font-weight: 700; text-align: center;
  padding: 14px 26px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline-light { background: transparent; color: var(--ink-on-dark); border-color: rgba(244,239,230,0.28); }
.btn-outline-light:hover { border-color: var(--ink-on-dark); background: rgba(244,239,230,0.06); }
.btn-lg { padding: 16px 28px; font-size: 17px; width: 100%; }
@media (min-width: 640px) { .btn-lg { width: auto; } }
.wa-cta { box-shadow: 0 10px 26px rgba(217,78,42,0.22); }
.wa-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(217,78,42,0.32); }
.wa-ico { flex-shrink: 0; }

/* Sticky Navbar */
.site-header {
  position: sticky; top: 0; z-index: 95;
  background: rgba(17,17,16,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; gap: 12px;
}
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; direction: ltr; }
.nav-brand img { width: 34px; height: 34px; }
.nav-brand .b-en { font-family: var(--font-latin); font-weight: 700; font-size: 20px; letter-spacing: 0.14em; color: var(--ink-on-dark); }
.nav-brand .b-ar { font-weight: 700; font-size: 19px; color: var(--accent); }
.nav-links { display: none; gap: 22px; list-style: none; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-on-dark-muted); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink-on-dark); }
.nav-cta { display: none; padding: 9px 18px; font-size: 14px; border-radius: 8px; }
.mobile-menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--bg-dark-elev); border: 1px solid var(--border-dark);
  border-radius: 10px; color: var(--ink-on-dark); cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible,
.mobile-menu-toggle.is-open {
  border-color: var(--accent);
  background: #221F1D;
  outline: none;
}
.mobile-menu-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(217,78,42,0.32);
}
.hamburger-lines {
  position: relative; width: 20px; height: 14px; display: block;
}
.hamburger-lines span {
  position: absolute; right: 0; left: 0; height: 2px; border-radius: 2px;
  background: var(--ink-on-dark);
  transition: transform .24s cubic-bezier(.22,1,.36,1), opacity .18s ease, background .2s ease, width .2s ease;
}
.hamburger-lines span:nth-child(1) { top: 0; }
.hamburger-lines span:nth-child(2) { top: 6px; width: 15px; right: 0; left: auto; background: var(--ochre); }
.hamburger-lines span:nth-child(3) { bottom: 0; }
.mobile-menu-toggle.is-open .hamburger-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-toggle.is-open .hamburger-lines span:nth-child(2) {
  opacity: 0; transform: translateX(6px);
}
.mobile-menu-toggle.is-open .hamburger-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .mobile-menu-toggle,
  .mobile-nav-backdrop,
  .mobile-nav-drawer { display: none !important; }
}

/* Mobile Navigation Panel (Cinema Noir & Terracotta Film) */
body.nav-open { overflow: hidden; }
.mobile-nav-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10, 10, 9, 0.74); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}
.mobile-nav-backdrop.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mobile-nav-drawer {
  position: fixed; top: var(--mobile-header-h, 71px); left: 0; right: 0; z-index: 90;
  max-height: calc(100dvh - var(--mobile-header-h, 71px));
  background: var(--bg-dark); color: var(--ink-on-dark);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65);
  transform: translateY(-14px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .26s cubic-bezier(.22,1,.36,1), opacity .22s ease, visibility .26s ease;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mobile-drawer-inner { padding-top: 14px; padding-bottom: 22px; }
.mobile-drawer-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 10px; margin-bottom: 4px;
  border-bottom: 1px solid var(--border-dark);
  font-size: 12px; font-weight: 600; color: var(--ink-on-dark-muted);
}
.mobile-drawer-meta code {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--ochre); direction: ltr;
}
.mobile-drawer-nav { margin-bottom: 16px; }
.mobile-drawer-links { list-style: none; display: flex; flex-direction: column; }
.mobile-drawer-links li { border-bottom: 1px solid #22201D; }
.mobile-drawer-links li:last-child { border-bottom: none; }
.mobile-drawer-links a {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 8px; min-height: 48px;
  text-decoration: none; font-size: 16.5px; font-weight: 600; color: var(--ink-on-dark);
  border-radius: 8px; transition: color .15s ease, background .15s ease, padding-right .15s ease;
}
.mobile-drawer-links a:hover,
.mobile-drawer-links a:focus-visible {
  color: #FFFFFF; background: rgba(217,78,42,0.12); padding-right: 14px; outline: none;
}
.mobile-drawer-links a:focus-visible { box-shadow: inset 0 0 0 1.5px var(--accent); }
.mdl-num {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  color: var(--ochre); min-width: 24px; direction: ltr; text-align: right;
}
.mobile-drawer-footer {
  padding-top: 16px; border-top: 1px solid var(--border-dark);
}
.mobile-drawer-cta {
  width: 100%; padding: 14px 18px; font-size: 16px;
  box-shadow: 0 10px 24px rgba(217,78,42,0.26);
}
.mobile-drawer-sub {
  margin-top: 10px; font-size: 12.5px; color: var(--ink-on-dark-muted); text-align: center;
}

/* Hero Section */
.hero {
  background: var(--bg-dark); color: var(--ink-on-dark);
  padding: 44px 0 64px; position: relative; overflow: hidden;
  border-bottom: 2px solid var(--accent);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(217,78,42,0.14) 0%, transparent 48%),
              radial-gradient(circle at 80% 80%, rgba(181,142,76,0.10) 0%, transparent 45%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center;
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 86px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
}
.rec-pill {
  display: inline-flex; align-items: center; gap: 9px; direction: ltr;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-on-dark-muted);
  border: 1px solid var(--border-dark); background: var(--bg-dark-elev);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero h1 { font-size: clamp(34px, 6.2vw, 56px); font-weight: 700; line-height: 1.18; margin-bottom: 16px; }
.hero h1 .hl-accent { color: var(--accent); }
.hero-lead { font-size: 17.5px; color: #D6D0C4; line-height: 1.78; margin-bottom: 26px; max-width: 580px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
@media (min-width: 560px) { .hero-actions { flex-direction: row; flex-wrap: wrap; } }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  padding-top: 18px; border-top: 1px solid var(--border-dark);
  font-size: 13.5px; color: var(--ink-on-dark-muted);
}
.hero-facts span b { color: var(--ochre); }
.hero-visual-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(244,239,230,0.16);
  box-shadow: 0 32px 70px rgba(0,0,0,0.55);
}
.hero-visual-frame img { width: 100%; display: block; }
.visual-caption {
  background: rgba(17,17,16,0.88); color: var(--ink-on-dark-muted);
  padding: 10px 16px; font-size: 12.5px; display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border-dark);
}
.visual-caption code { font-family: var(--font-mono); color: var(--ochre); font-size: 11.5px; direction: ltr; }

/* Problem Grid */
.problem-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
.problem-card {
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  border-right: 4px solid var(--crimson); border-radius: var(--radius-md); padding: 22px;
}
.problem-card .p-code { font-family: var(--font-mono); font-size: 11.5px; color: var(--crimson); font-weight: 700; direction: ltr; text-align: right; margin-bottom: 6px; }
.problem-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.problem-card p { font-size: 15px; color: var(--ink-muted); }

.honest-banner {
  margin-top: 26px; background: var(--bg-dark); color: var(--ink-on-dark);
  border-radius: var(--radius-md); padding: 22px 26px; border-right: 4px solid var(--accent);
}
.honest-banner p { font-size: 16.5px; line-height: 1.75; }
.honest-banner b { color: var(--ochre); }

/* Transformation Grid */
.trans-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 768px) { .trans-grid { grid-template-columns: repeat(2, 1fr); } }
.trans-col { border-radius: var(--radius-md); padding: 26px; }
.trans-before { background: #FDF3F1; border: 1.5px solid #E6C1BA; }
.trans-after { background: #14221B; color: #F4EFE6; border: 1.5px solid #2E6F52; }
.trans-col h3 { font-size: 20px; margin-bottom: 14px; }
.trans-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.trans-col li { font-size: 15.5px; display: flex; gap: 10px; align-items: flex-start; }

/* 10-Module Curriculum */
.modules-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .modules-grid { grid-template-columns: repeat(2, 1fr); } }
.mod-card {
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start;
}
.mod-num {
  font-family: var(--font-latin); font-weight: 700; font-size: 17px;
  background: var(--bg-dark); color: var(--ink-on-dark); min-width: 44px; height: 44px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mod-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 4px; line-height: 1.35; }
.mod-card p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.65; }

/* Inside the Ebook Gallery */
.previews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 820px) { .previews-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.preview-tile {
  background: var(--bg-dark-elev); border: 1px solid var(--border-dark);
  border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease;
}
.preview-tile:hover { transform: translateY(-4px); border-color: var(--accent); }
.preview-tile img { width: 100%; aspect-ratio: 148/210; object-fit: cover; }
.preview-tile .pt-cap { padding: 11px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-on-dark); display: flex; justify-content: space-between; align-items: center; }
.preview-tile .pt-cap span { font-family: var(--font-mono); font-size: 11px; color: var(--ochre); }

/* Interactive Prompt Demo Lab */
.demo-shell {
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 24px;
}
.demo-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.demo-tab {
  background: var(--bg-surface); color: var(--ink-primary); border: 1px solid var(--border-light);
  padding: 9px 16px; border-radius: 999px; font-family: var(--font-ar); font-size: 14px; font-weight: 700; cursor: pointer;
}
.demo-tab.active { background: var(--bg-dark); color: var(--ink-on-dark); border-color: var(--bg-dark); }
.demo-split { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 820px) { .demo-split { grid-template-columns: 1fr 1fr; } }
.demo-box { border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.demo-bad { background: #FDF3F1; border: 1.5px solid #E6C1BA; }
.demo-good { background: #EFF7F2; border: 1.5px solid #BDDAC8; }
.demo-code {
  background: var(--bg-code); color: var(--ink-on-dark); border-radius: 8px;
  padding: 15px; font-family: var(--font-mono); font-size: 13px; line-height: 1.65;
  direction: ltr; text-align: left;
}
.demo-good .demo-code { border-left: 4px solid var(--sage); }
.demo-bad .demo-code { border-left: 4px solid var(--crimson); }
.demo-note { font-size: 14.5px; color: #262421; line-height: 1.65; }

/* Personas / Who Is This For */
.who-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }
.who-card {
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md); padding: 22px;
}
.who-card .w-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--accent-hover); margin-bottom: 8px; direction: ltr; text-align: right; }
.who-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.who-card p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.68; }

/* Toolkit Showcase */
.toolkit-split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .toolkit-split { grid-template-columns: 1.05fr 0.95fr; gap: 40px; } }
.toolkit-visual { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-dark); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.tk-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 20px 0 24px; }
.tk-features li { display: flex; gap: 10px; font-size: 15.5px; color: #E2DCD2; }
.tk-features li span { color: var(--accent); font-weight: 700; }
.mini-live-box {
  background: var(--bg-dark-elev); border: 1px solid var(--border-dark);
  border-radius: var(--radius-md); padding: 18px;
}
.mini-live-box label { display: block; font-size: 13px; color: var(--ochre); font-weight: 600; margin-bottom: 6px; }
.mini-live-box input {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #3D3934;
  background: #111110; color: #F4EFE6; font-family: var(--font-mono); font-size: 13px; direction: ltr; margin-bottom: 12px;
}

/* Package & Streamlined High-Intent WhatsApp Card (V2.1) */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
@media (min-width: 880px) { .pricing-grid { grid-template-columns: 1.08fr 0.92fr; } }
.package-card {
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.pkg-item { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid #EBE3D5; }
.pkg-item:last-child { border-bottom: none; padding-bottom: 0; }
.pkg-badge { background: var(--bg-dark); color: var(--ochre); font-family: var(--font-mono); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 6px; flex-shrink: 0; }
.pkg-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.pkg-item p { font-size: 14.5px; color: var(--ink-muted); }

.price-card {
  background: var(--bg-dark); color: var(--ink-on-dark);
  border: 2px solid var(--accent); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.price-num-row { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 12px; }
.price-num { font-family: var(--font-latin); font-size: 64px; font-weight: 700; color: var(--accent); line-height: 1; }
.price-cur { font-size: 24px; font-weight: 700; }
.digital-pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--ochre);
  background: rgba(181,142,76,0.12); border: 1px solid rgba(181,142,76,0.34);
  padding: 6px 12px; border-radius: 8px; margin-bottom: 14px; line-height: 1.45;
}
.price-sub { font-size: 14.5px; color: var(--ink-on-dark-muted); line-height: 1.72; }

.receive-box {
  background: var(--bg-dark-elev); border: 1px solid var(--border-dark);
  border-radius: 12px; padding: 18px 18px;
}
.receive-title { font-size: 13.5px; font-weight: 700; color: var(--ochre); margin-bottom: 11px; }
.receive-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.receive-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #E5DFD5; line-height: 1.55; }
.receive-list li > span:first-child { color: #8DE0B4; font-weight: 700; flex-shrink: 0; }
.receive-list li b { color: #FFFFFF; }

.price-cta-wrap { display: flex; flex-direction: column; gap: 12px; }
.wa-reassure-note {
  font-size: 13px; color: var(--ink-on-dark-muted); line-height: 1.68; text-align: center;
}

.local-preview-note {
  background: #161513; border: 1px dashed rgba(181,142,76,0.45);
  border-radius: 10px; padding: 13px 14px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.local-preview-note.is-highlighted {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,78,42,0.28);
}
.lpn-title { font-size: 12px; font-weight: 700; color: var(--ochre); margin-bottom: 7px; }
.lpn-msg {
  font-size: 13.5px; color: #F4EFE6; background: #1F1E1C;
  border-radius: 7px; padding: 10px 12px; line-height: 1.68; margin-bottom: 8px;
}
.lpn-help { font-size: 12px; color: var(--ink-on-dark-muted); line-height: 1.6; }
.lpn-help code {
  font-family: var(--font-mono); color: #F4EFE6; background: #262421;
  padding: 1px 5px; border-radius: 4px; direction: ltr; display: inline-block;
}

/* FAQ Accordion */
.faq-list { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg-card); border: 1.5px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  width: 100%; text-align: right; background: transparent; border: none;
  padding: 18px 20px; font-family: var(--font-ar); font-size: 16.5px; font-weight: 700;
  color: var(--ink-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .ico { font-size: 20px; color: var(--accent); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: 15px; color: var(--ink-muted); line-height: 1.78; }
.faq-item.open .faq-a { display: block; }

/* Final CTA & Footer */
.final-cta {
  background: var(--accent); color: #FFFFFF; padding: 64px 0; text-align: center;
}
.final-cta h2 { font-size: clamp(28px, 5vw, 44px); line-height: 1.25; margin-bottom: 14px; }
.final-cta p { font-size: 17.5px; color: #FDF2EC; max-width: 640px; margin: 0 auto 26px; }
.final-cta .btn-dark-cta { background: var(--bg-dark); color: var(--ink-on-dark); padding: 16px 32px; font-size: 17px; box-shadow: 0 12px 30px rgba(17,17,16,0.28); }
.final-cta .btn-dark-cta:hover { background: #262421; transform: translateY(-1px); }

footer {
  background: var(--bg-dark); color: var(--ink-on-dark-muted);
  padding: 36px 0; border-top: 1px solid var(--border-dark); font-size: 13.5px;
}
.foot-inner { display: flex; flex-direction: column; gap: 14px; justify-content: space-between; align-items: flex-start; }
@media (min-width: 720px) { .foot-inner { flex-direction: row; align-items: center; } }

/* Lightbox Modal for Interior Ebook Pages */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(10,10,9,0.82); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--bg-card); color: var(--ink-primary); border-radius: var(--radius-lg);
  max-width: 540px; width: 100%; padding: 28px; position: relative;
  border: 2px solid var(--accent); max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 14px; left: 14px; background: var(--bg-surface); border: none;
  width: 34px; height: 34px; border-radius: 50%; font-size: 18px; cursor: pointer; font-weight: 700;
}
.lightbox-box { background: transparent; border: none; max-width: 660px; padding: 0; text-align: center; }
.lightbox-box img { border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,0.7); margin: 0 auto; max-height: 84vh; width: auto; }

@media (max-width: 640px) {
  .nav-brand .b-en { display: none; }
  .nav-brand { white-space: nowrap; gap: 8px; }
}
@media (max-width: 480px) {
  .price-card { padding: 26px 20px; }
  .wa-cta { font-size: 14px; padding: 14px 12px; gap: 7px; }
  .wa-cta .wa-ico { width: 18px; height: 18px; }
}
@media (max-width: 360px) {
  .nav-inner { padding: 11px 14px; }
  .nav-brand .b-ar { font-size: 15.5px !important; }
  .nav-brand img { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mobile-nav-backdrop,
  .mobile-nav-drawer,
  .mobile-menu-toggle,
  .hamburger-lines span,
  .mobile-drawer-links a { transition: none !important; }
}
