/* ============================================================
   AC Service Report — marketing site
   Palette drawn from the app's own "CoolTech Professional" system.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  --blue: #0B5CAD;
  --blue-deep: #07467F;
  --ice: #EAF3FB;
  --teal: #0F7C7E;
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --ink: #172B3A;
  --muted: #5B6B7A;
  --placeholder: #82909D;
  --border: #D9E2EA;
  --paid: #16815D;
  --paid-bg: #E4F3EC;
  --warn: #A95C00;
  --warn-bg: #FBEEE0;

  --font-en: 'Noto Sans', sans-serif;
  --font-ar: 'Noto Sans Arabic', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.ar {
  font-family: var(--font-ar);
  direction: rtl;
  unicode-bidi: isolate;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  color: var(--ink);
}
.nav-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(155deg, var(--blue), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-deep); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--ice) 0%, transparent 70%);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--ice);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* the signature: bilingual stacked label, exactly the pattern used
   throughout the app's own PDF reports (English label / Arabic beneath) */
.bilingual-title {
  margin: 0 0 22px;
}
.bilingual-title .en {
  display: block;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.bilingual-title .ar {
  display: block;
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 600;
  color: var(--blue-deep);
  margin-top: 6px;
}

.hero-sub {
  max-width: 560px;
  font-size: 17.5px;
  color: var(--muted);
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* mock report card — a light visual echo of the app's real PDF layout */
.mock-report {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(11, 92, 173, 0.35);
  max-width: 460px;
}
.mock-report-head {
  background: linear-gradient(120deg, var(--blue), var(--blue-deep));
  color: #fff;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.mock-report-head .co { font-weight: 700; font-size: 14px; }
.mock-report-head .co-ar { font-size: 12px; opacity: 0.8; margin-top: 2px; }
.mock-report-head .title { text-align: right; }
.mock-report-head .title .en { font-size: 12px; font-weight: 700; }
.mock-report-head .title .ar { font-size: 11.5px; opacity: 0.85; margin-top: 2px; }
.mock-report-body { padding: 20px; }
.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.mock-row:last-child { border-bottom: none; }
.mock-row .label .en { font-weight: 600; color: var(--ink); font-size: 12.5px; }
.mock-row .label .ar { color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.mock-row .val { color: var(--muted); font-size: 12.5px; }
.mock-badge {
  display: inline-block;
  background: var(--paid-bg);
  color: var(--paid);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 4px;
}

/* ---------- Section shells ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.section-head .ar-line {
  font-family: var(--font-ar);
  direction: rtl;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
}
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}
.card h3 { font-size: 16.5px; margin: 0 0 8px; font-weight: 700; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Steps (a real sequence: create -> generate -> share) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 0; }
.step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; } }
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
}
.plan.pro {
  border-color: var(--blue);
  box-shadow: 0 20px 50px -28px rgba(11, 92, 173, 0.45);
}
.plan-name { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.plan.pro .plan-name { color: var(--blue); }
.plan-price { font-size: 34px; font-weight: 800; margin: 10px 0 4px; }
.plan-price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-note { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li {
  font-size: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  color: var(--ink);
}
.plan li:first-child { border-top: none; }
.check { color: var(--paid); font-weight: 700; flex-shrink: 0; }

/* ---------- Support / contact ---------- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.support-card:hover { border-color: var(--blue); }
.support-card .ic {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--ice); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.support-card h3 { margin: 0 0 4px; font-size: 15.5px; }
.support-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--surface);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.footer-links { display: flex; gap: 22px; font-size: 13.5px; color: var(--muted); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.footer-copy { font-size: 12.5px; color: var(--placeholder); margin-top: 18px; }

/* ---------- Legal / privacy page ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal h1 { font-size: 30px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 44px; }
.legal h2 { font-size: 19px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink); font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--blue); }

/* ---------- Utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
