/* واجهة هادئة ومختصرة — المرتقي */
:root {
  --paper: #f7f8f4;
  --ink: #24382f;
  --muted: #788178;
  --green: #2f5947;
  --green-dark: #203f32;
  --sage: #e7ece3;
  --line: #e4e8df;
  --gold: #c5a66b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; min-width: 320px; background: var(--paper); color: var(--ink);
  font-family: "Cairo", Tahoma, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
.topbar {
  width: min(1080px, calc(100% - 56px)); height: 82px; margin: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px;
  color: #fff; background: var(--green); font-size: 20px; font-weight: 600;
}
.top-link { font-size: 12px; color: var(--green); font-weight: 700; }
.top-link span { margin-right: 5px; font-size: 16px; }
.hero {
  width: min(1080px, calc(100% - 56px)); min-height: 510px; margin: 8px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 52px;
  padding: 30px 0 55px;
}
.hero-copy { padding: 0 0 0 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #6d7d6f; font-size: 11px; font-weight: 700; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 19px 0 14px; font-size: clamp(39px, 4.4vw, 57px); line-height: 1.48; letter-spacing: -1.8px; font-weight: 800; }
.hero h1 span { color: var(--green); }
.intro { max-width: 410px; margin-bottom: 24px; color: var(--muted); font-size: 13px; line-height: 2.15; }
.actions { display: flex; align-items: center; gap: 21px; flex-wrap: wrap; }
.button { min-height: 46px; padding: 11px 18px; display: inline-flex; justify-content: center; align-items: center; gap: 20px; border-radius: 9px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.text-link { color: #6d786e; font-size: 12px; font-weight: 600; }
.small-note { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: #8b9389; font-size: 10px; }
.note-dot { width: 6px; height: 6px; background: #9db09b; border-radius: 50%; }
.visual { position: relative; min-height: 390px; display: grid; place-items: center; isolation: isolate; }
.soft-circle { position: absolute; border-radius: 50%; z-index: -1; }
.circle-one { width: 300px; height: 300px; background: #edf0e8; }
.circle-two { width: 220px; height: 220px; border: 1px solid #dce4d8; }
.book { width: 245px; height: 190px; position: relative; display: flex; align-items: stretch; filter: drop-shadow(0 19px 18px rgba(39,65,49,.11)); transform: rotate(-3deg); animation: bookFloat 6s ease-in-out infinite; }
.book-page { width: 50%; position: relative; padding: 22px 14px; background: #fffdf5; border: 1px solid #e4dfce; }
.page-right { border-radius: 8px 3px 3px 8px; transform: perspective(500px) rotateY(-7deg); transform-origin: left; }
.page-left { border-radius: 3px 8px 8px 3px; transform: perspective(500px) rotateY(7deg); transform-origin: right; }
.book-spine { position: absolute; top: 2px; bottom: 2px; left: calc(50% - 1px); width: 2px; background: #d9cba7; }
.page-ornament { color: #b59a62; text-align: center; font-size: 24px; margin-bottom: 12px; }
.page-line { height: 3px; width: 76%; margin: 0 auto 8px; background: #dce4d8; border-radius: 4px; opacity: .8; }
.line-long { width: 90%; } .line-short { width: 58%; }
.floating-leaf { position: absolute; color: #9cae98; font-size: 25px; animation: gentleFloat 5s ease-in-out infinite; }
.leaf-one { top: 65px; right: 13%; }
.leaf-two { bottom: 78px; left: 12%; color: var(--gold); animation-delay: -2s; }
.visual-caption { position: absolute; bottom: 31px; font-size: 12px; color: #788a76; letter-spacing: .2px; }
.section { width: min(780px, calc(100% - 56px)); margin: 0 auto; padding: 37px 0 75px; }
.section-heading { margin-bottom: 22px; }
.section-heading h2 { font-size: 30px; margin: 8px 0 4px; letter-spacing: -.7px; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 2; }
.features { display: grid; gap: 10px; }
.feature {
  min-height: 93px; display: grid; grid-template-columns: 44px minmax(0,1fr) 18px; align-items: center; gap: 15px;
  padding: 17px 19px; border: 1px solid var(--line); background: rgba(255,255,255,.55); border-radius: 12px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.feature:hover { border-color: #cdd9ca; background: #fff; transform: translateY(-2px); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--green); background: #eaf0e7; font-size: 22px; }
.audio-icon { font-size: 23px; }
.feature h3 { margin: 0 0 3px; font-size: 14px; font-weight: 800; }
.feature p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.feature-arrow { color: #9ba99a; font-size: 16px; }
.download-section { width: min(780px, calc(100% - 56px)); margin: 0 auto; padding: 0 0 74px; }
.download-card {
  position: relative; overflow: hidden; text-align: center; padding: 39px 20px 34px; border-radius: 17px;
  background: #edf1e9; border: 1px solid #e4e9df;
}
.download-card::before, .download-card::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(89,119,88,.1); border-radius: 50%; pointer-events: none; }
.download-card::before { top: -115px; right: -50px; }
.download-card::after { bottom: -130px; left: -50px; }
.download-mark { width: 39px; height: 39px; margin: 0 auto 15px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 13px; font-size: 23px; }
.download-card h2 { margin: 9px 0; font-size: 30px; line-height: 1.55; letter-spacing: -.8px; }
.download-card p { margin-bottom: 17px; color: var(--muted); font-size: 12px; }
.button-download { min-width: 190px; background: var(--green); color: white; }
.button-download[aria-disabled="true"] { cursor: default; opacity: .76; }
.download-card small { display: block; margin-top: 13px; color: #818b7e; font-size: 10px; line-height: 1.8; }
.footer {
  width: min(1080px, calc(100% - 56px)); min-height: 75px; margin: auto; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
}
.footer-brand { font-size: 15px; }
.footer-brand .brand-mark { width: 28px; height: 28px; border-radius: 9px; font-size: 17px; }
.footer p, .copyright { margin: 0; color: #8a9288; font-size: 10px; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes bookFloat { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(-1deg); } }
@keyframes gentleFloat { 0%,100% { transform: translateY(0) rotate(0); opacity: .7; } 50% { transform: translateY(-9px) rotate(8deg); opacity: 1; } }
@media (max-width: 700px) {
  .topbar, .hero, .footer { width: calc(100% - 36px); }
  .topbar { height: 68px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 10px; font-size: 18px; }
  .top-link { font-size: 11px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 8px; padding: 29px 0 38px; }
  .hero-copy { padding: 0; }
  .hero h1 { margin: 15px 0 10px; font-size: clamp(34px, 9vw, 45px); line-height: 1.48; letter-spacing: -1px; }
  .intro { max-width: 480px; margin-bottom: 19px; font-size: 12px; line-height: 2.05; }
  .actions { gap: 17px; }
  .button { min-height: 45px; padding: 10px 15px; }
  .small-note { margin-top: 17px; }
  .visual { min-height: 270px; margin-top: 0; }
  .circle-one { width: 220px; height: 220px; }
  .circle-two { width: 166px; height: 166px; }
  .book { width: 200px; height: 153px; }
  .book-page { padding: 14px 10px; }
  .page-ornament { font-size: 19px; margin-bottom: 9px; }
  .page-line { height: 2px; margin-bottom: 7px; }
  .visual-caption { bottom: 12px; font-size: 10px; }
  .leaf-one { top: 36px; right: 10%; }
  .leaf-two { bottom: 49px; left: 9%; }
  .section { width: calc(100% - 36px); padding: 22px 0 55px; }
  .section-heading { margin-bottom: 17px; }
  .section-heading h2 { font-size: 26px; }
  .section-heading p { font-size: 11px; }
  .feature { min-height: 83px; grid-template-columns: 38px minmax(0,1fr) 13px; gap: 12px; padding: 14px 13px; border-radius: 11px; }
  .feature-icon { width: 38px; height: 38px; border-radius: 11px; font-size: 20px; }
  .feature h3 { font-size: 13px; }
  .feature p { font-size: 10px; line-height: 1.9; }
  .download-section { width: calc(100% - 36px); padding-bottom: 52px; }
  .download-card { padding: 30px 16px 27px; border-radius: 14px; }
  .download-card h2 { font-size: 26px; }
  .footer { min-height: 68px; flex-wrap: wrap; justify-content: space-between; }
  .footer p { display: none; }
}
@media (max-width: 360px) {
  .topbar, .hero, .footer, .section, .download-section { width: calc(100% - 28px); }
  .hero h1 { font-size: 33px; }
  .intro { font-size: 11px; }
  .actions { gap: 13px; }
  .feature { grid-template-columns: 34px minmax(0,1fr) 10px; gap: 9px; padding: 12px 10px; }
  .feature-icon { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
