/* DzPrintFix — dzprintfix.com
   Brand palette matches the shipping DzPrintFix.exe UI exactly
   (gui/gui_consumer.cpp: C_TEAL/C_AMBER/C_GREEN etc.) so the website and
   the desktop app feel like the same product. No framework, no CDN
   dependency — self-contained for performance and offline-CDN safety. */

:root{
  --teal:#0f5c64; --teal-dark:#083a40; --teal-fill:#deecec; --teal-border:#8cbebe;
  --amber:#b4690a; --amber-fill:#fbe9d3; --amber-border:#e0b57a;
  --green:#16a34a; --green-dark:#128c40; --green-fill:#e1f5e8; --green-border:#a6ddba;
  --bg:#ffffff; --surface:#fafafb; --border:#e0e3e7;
  --text:#171a1d; --muted:#5b6470;
  --radius:14px; --radius-sm:10px;
  --shadow:0 2px 10px rgba(15,92,100,.08);
  --maxw:1080px;
  --maxw-header:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:"Segoe UI","Tahoma","Cairo",system-ui,sans-serif;
  line-height:1.7; direction:rtl;
}
img{max-width:100%; display:block}
a{color:var(--teal); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--maxw); margin:0 auto; padding:0 20px}
.visually-hidden{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}

/* ── Header ─────────────────────────────────────────────────────────── */
header.site{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92);
  backdrop-filter:blur(6px); border-bottom:1px solid var(--border);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 20px; max-width:var(--maxw-header); margin:0 auto}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; font-size:20px; color:var(--teal); white-space:nowrap}
.brand .mark-img{
  width:34px; height:34px; border-radius:50%; object-fit:cover; flex:0 0 auto;
  box-shadow:0 0 0 1px var(--teal-border);
}
nav.links{display:flex; align-items:center; gap:28px}
nav.links a{color:var(--text); font-weight:600; font-size:15px; white-space:nowrap; padding:4px 2px}
nav.links a:hover{color:var(--teal); text-decoration:none}
.btn-whatsapp-nav{
  background:var(--green); color:#fff !important; padding:9px 18px; border-radius:999px;
  font-weight:700; font-size:14px;
}
.btn-whatsapp-nav:hover{background:var(--green-dark); text-decoration:none}
.nav-toggle{display:none; background:none; border:0; font-size:26px; color:var(--teal); cursor:pointer}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero{
  background:radial-gradient(1100px 480px at 50% -120px, var(--teal-fill), #fff 65%);
  padding:64px 0 56px; text-align:center;
}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:start; text-align:right}
.eyebrow{
  display:inline-block; background:var(--teal-fill); color:var(--teal); border:1px solid var(--teal-border);
  border-radius:999px; padding:5px 14px; font-size:12.5px; font-weight:800; margin-bottom:16px;
}
.hero h1{font-size:38px; margin:0 0 14px; color:var(--teal-dark); font-weight:900}
.hero p.lead{font-size:19px; color:var(--muted); max-width:640px; margin:0 auto 30px}
.hero-copy{max-width:520px}
.hero-copy p.lead{max-width:520px; margin:0 0 26px}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap}
.trust-line{margin-top:22px; font-size:13px; color:var(--muted); font-weight:700; letter-spacing:.3px}

/* Hero product visual — real demo video, capped so it stays proportionate
   next to the copy (not taller than the heading+paragraph+buttons block). */
.hero-visual{
  max-width:420px; margin:0 auto;
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:10px; box-shadow:0 10px 30px rgba(15,92,100,.14);
}
.hero-visual img, .hero-visual video{width:100%; height:auto; border-radius:8px; display:block}

/* ── Trust strip ────────────────────────────────────────────────────── */
.trust-strip{padding:26px 0; background:var(--teal-fill); border-top:1px solid var(--teal-border); border-bottom:1px solid var(--teal-border)}
.trust-grid{display:flex; flex-wrap:wrap; justify-content:center; gap:14px 30px}
.trust-item{display:flex; align-items:center; gap:8px; font-weight:700; font-size:14.5px; color:var(--teal-dark)}
.trust-icon{color:var(--green); font-weight:900}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:13px 26px; border-radius:12px;
  font-weight:800; font-size:16px; border:2px solid transparent; cursor:pointer;
  transition:background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn-primary{background:var(--green); color:#fff}
.btn-primary:hover{background:var(--green-dark); text-decoration:none}
.btn-outline{background:#fff; border-color:var(--teal-border); color:var(--teal)}
.btn-outline:hover{background:var(--teal-fill); text-decoration:none}
.btn-lg{padding:16px 34px; font-size:17px}

/* ── Sections ───────────────────────────────────────────────────────── */
section{padding:56px 0}
section.alt{background:var(--surface)}
h2.section-title{font-size:28px; text-align:center; margin:0 0 8px; color:var(--teal-dark); font-weight:900}
p.section-sub{text-align:center; color:var(--muted); max-width:620px; margin:0 auto 40px; font-size:16px}

.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:22px}
.card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:26px; box-shadow:var(--shadow);
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{transform:translateY(-3px); box-shadow:0 8px 22px rgba(15,92,100,.14)}
.card .icon{
  width:48px; height:48px; border-radius:12px; background:var(--teal-fill); color:var(--teal);
  display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:14px;
}
.card h3{margin:0 0 8px; font-size:18px; color:var(--text)}
.card p{margin:0; color:var(--muted); font-size:14.5px}

/* ── Download card ──────────────────────────────────────────────────── */
.download-card{
  max-width:360px; margin:0 auto; background:#fff; border:1px solid var(--border);
  border-radius:var(--radius); padding:36px 30px; box-shadow:var(--shadow);
}
.download-icon{font-size:32px; margin-bottom:12px}
.download-meta{margin-top:16px; font-size:13px; color:var(--muted)}

/* ── Pricing / purchase card ────────────────────────────────────────── */
.price-card{
  max-width:420px; margin:0 auto; background:var(--amber-fill); border:1px solid var(--amber-border);
  border-radius:var(--radius); padding:30px; text-align:center; box-shadow:var(--shadow);
}
.price-card .amount{font-size:44px; font-weight:900; color:var(--amber)}
.price-card .amount small{font-size:18px; font-weight:700}
.price-card .note{
  margin-top:14px; background:var(--green-fill); border:1px solid var(--green-border); color:var(--green-dark);
  border-radius:10px; padding:12px; font-weight:700; font-size:14.5px;
}
.price-card ul{list-style:none; margin:20px 0; padding:0; text-align:right}
.price-card li{padding:6px 0; font-size:14.5px; color:var(--text)}
.price-card li::before{content:"✓ "; color:var(--green); font-weight:900}

/* ── Steps ──────────────────────────────────────────────────────────── */
.steps{counter-reset:step; display:grid; gap:18px; max-width:560px; margin:0 auto}
.step{display:flex; gap:16px; align-items:flex-start}
.step .num{
  flex:0 0 auto; width:34px; height:34px; border-radius:50%; background:var(--teal); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800;
}
.step .txt{padding-top:5px}
.step .num-big{color:var(--teal); font-weight:900; font-size:20px; letter-spacing:1px}

/* ── Numbered flow (How it works) ──────────────────────────────────── */
.flow{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.flow-step{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:22px 16px; text-align:center; box-shadow:var(--shadow);
  transition:transform .15s ease, box-shadow .15s ease;
}
.flow-step:hover{transform:translateY(-3px); box-shadow:0 8px 22px rgba(15,92,100,.14)}
.flow-num{font-size:30px; font-weight:900; color:var(--teal-border); margin-bottom:8px}
.flow-txt{font-size:13.5px; color:var(--muted)}
.flow-txt strong{display:block; margin-bottom:4px; font-size:15px; color:var(--text)}
.flow-step-highlight{background:var(--green-fill); border-color:var(--green-border)}
.flow-step-highlight .flow-num{color:var(--green-dark)}

/* ── Problem / real-photo grid ─────────────────────────────────────── */
.problem-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:34px}
.problem-shot{
  margin:0; background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow);
}
.problem-shot img{width:100%; height:220px; object-fit:cover; display:block; background:#111}
.problem-shot figcaption{padding:14px 16px; font-size:13.5px; color:var(--muted)}

/* ── Real app screenshot ────────────────────────────────────────────── */
.app-shot-wrap{
  max-width:420px; margin:0 auto; background:#fff; border:1px solid var(--border);
  border-radius:var(--radius); padding:14px; box-shadow:0 10px 30px rgba(15,92,100,.14);
}
.app-shot-img{width:100%; border-radius:10px; display:block}
.screenshot-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center}
.screenshot-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; text-align:right}
.screenshot-list li{font-size:15px; color:var(--muted); line-height:1.6}
.screenshot-list strong{display:block; color:var(--text); font-size:16px; margin-bottom:2px}

/* ── Trust callout ──────────────────────────────────────────────────── */
.trust-callout{
  display:flex; gap:20px; align-items:flex-start; max-width:760px; margin:0 auto;
  background:var(--green-fill); border:1px solid var(--green-border); border-radius:var(--radius);
  padding:28px 30px; box-shadow:var(--shadow);
}
.trust-callout-icon{font-size:32px; flex:0 0 auto}
.trust-callout-text p{margin:0 0 12px; color:var(--teal-dark); font-size:15px}
.trust-callout-text p:last-child{margin-bottom:0}
.trust-callout-text strong{color:var(--green-dark)}

.honesty-note{
  background:var(--teal-fill); border:1px solid var(--teal-border); border-radius:12px; padding:18px 20px;
  font-size:14.5px; color:var(--teal-dark); margin:26px 0;
}

/* ── FAQ ────────────────────────────────────────────────────────────── */
details.faq{background:#fff; border:1px solid var(--border); border-radius:12px; padding:16px 20px; margin-bottom:12px}
details.faq summary{cursor:pointer; font-weight:700; font-size:15.5px; list-style:none}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::before{content:"+ "; color:var(--teal); font-weight:900}
details.faq[open] summary::before{content:"− "}
details.faq p{margin:12px 0 0; color:var(--muted)}

/* ── Footer ─────────────────────────────────────────────────────────── */
footer.site{background:var(--teal-dark); color:#dfeeee; padding:40px 0 22px; margin-top:40px}
footer.site .container{display:flex; flex-wrap:wrap; gap:30px; justify-content:space-between}
footer.site h4{color:#fff; margin:0 0 12px; font-size:15px}
footer.site a{color:#bcd8d8}
footer.site a:hover{color:#fff}
footer.site .col{min-width:180px}
footer.site .footer-logo{width:56px; height:56px; border-radius:50%; object-fit:cover; margin-bottom:12px; box-shadow:0 0 0 1px rgba(255,255,255,.2)}
footer.site .bottom{
  max-width:var(--maxw); margin:26px auto 0; padding:18px 20px 0; border-top:1px solid rgba(255,255,255,.12);
  font-size:13px; color:#9fc0c0; text-align:center;
}
footer.site .legal-links{margin-inline-start:12px}
footer.site .legal-links a{color:#9fc0c0; text-decoration:underline}
footer.site .legal-links a:hover{color:#fff}

/* ── Accessibility (focus states) ──────────────────────────────────── */
.btn:focus-visible,
nav.links a:focus-visible,
footer.site a:focus-visible,
details.faq summary:focus-visible{
  outline:3px solid var(--teal-border); outline-offset:2px;
}

/* ── WhatsApp float button ─────────────────────────────────────────── */
.wa-float{
  position:fixed; bottom:22px; left:22px; z-index:60; background:var(--green); color:#fff;
  width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 18px rgba(22,163,74,.4); font-size:28px;
}
.wa-float:hover{background:var(--green-dark); text-decoration:none}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width:860px){
  .grid-3{grid-template-columns:1fr 1fr}
  .hero-grid{grid-template-columns:1fr; text-align:center}
  .hero-copy{max-width:520px; margin:0 auto}
  .hero-copy p.lead{max-width:520px; margin:0 auto 26px}
  .hero-actions{justify-content:center}
  .flow{grid-template-columns:repeat(3,1fr)}
  .problem-grid{grid-template-columns:1fr}
  .screenshot-grid{grid-template-columns:1fr; gap:26px}
  .screenshot-list{text-align:center; align-items:center}
  nav.links{position:fixed; inset:60px 0 auto 0; background:#fff; flex-direction:column; align-items:stretch; padding:14px 20px;
    border-bottom:1px solid var(--border); display:none; box-shadow:0 8px 18px rgba(0,0,0,.08)}
  nav.links.open{display:flex}
  .nav-toggle{display:block}
}
@media (max-width:640px){
  .hero h1{font-size:28px}
  .hero p.lead{font-size:16.5px}
  .grid-3,.grid-2{grid-template-columns:1fr}
  .flow{grid-template-columns:1fr}
  .trust-callout{flex-direction:column; padding:22px}
  .trust-grid{gap:10px 20px}
  .download-card{padding:28px 20px}
  .eyebrow{margin-bottom:12px}
  footer.site .container{flex-direction:column}
}
@media (max-width:400px){
  .hero-br{display:none}
}
