@font-face { font-family: 'Cairo'; src: url('../fonts/Cairo.ttf') format('truetype'); font-weight: 200 1000; font-display: swap; }
:root { --navy: #1d3557; --navy2: #274b77; --teal: #2a9d8f; --gold: #f1c453; --bg: #f6f8fb; --card: #fff; --line: #dfe5ee; --text: #1f2933; --muted: #65748b; --red: #c0392b; --radius: 14px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif; color: var(--text); background: var(--bg); line-height: 1.75; font-size: 16px; }
a { color: var(--navy2); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 1.45rem; color: var(--navy); text-decoration: none; }
.logo svg { width: 36px; height: 36px; display: block; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { text-decoration: none; color: var(--text); font-weight: 600; }
.nav a.btn { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: .15s; }
.btn:hover { background: var(--navy2); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: 6px 14px; }
.btn-lg { padding: 13px 26px; font-size: 1.05rem; }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: #eef3fa; }
.btn-ghost.danger { color: var(--red); border-color: var(--red); }
.hero { background: linear-gradient(135deg, #1d3557 0%, #274b77 55%, #2a9d8f 140%); color: #fff; padding: 64px 0 72px; }
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 3rem; margin: 14px 0 8px; line-height: 1.3; }
.hero h1 small { display: block; font-size: 1.25rem; font-weight: 600; color: var(--gold); margin-top: 6px; }
.lead { font-size: 1.12rem; opacity: .95; }
.pill { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 4px 14px; border-radius: 99px; font-size: .92rem; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.hero .btn { background: var(--gold); color: var(--navy); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.credit { font-size: 1rem; border-right: 4px solid var(--gold); padding-right: 12px; }
.hero-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.25); transform: rotate(-1.2deg); }
.mini-cap { font-size: .95rem; margin-bottom: 6px; }
.mini-txt { font-size: .9rem; color: var(--muted); margin: 10px 0 0; }
.section { padding: 64px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { text-align: center; font-size: 2rem; color: var(--navy); margin: 0 0 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.12rem; }
.feat p { margin: 0; color: var(--muted); }
.steps-h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; counter-reset: s; }
.steps-h li { counter-increment: s; background: var(--bg); border-radius: var(--radius); padding: 20px; position: relative; }
.steps-h li::before { content: counter(s); position: absolute; top: -14px; right: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps-h b { display: block; color: var(--navy); margin-top: 6px; }
.steps-h span { color: var(--muted); font-size: .95rem; }
.center { text-align: center; } .muted { color: var(--muted); } .small { font-size: .9rem; }
.privacy-note { background: #e8f6f3; border: 1px solid #b7e2da; color: #145a50; padding: 12px 16px; border-radius: 10px; }
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 18px 0; flex-wrap: wrap; }
.stepper li { flex: 1; min-width: 120px; text-align: center; padding: 8px; border-radius: 10px; background: #e9eef5; color: var(--muted); font-weight: 700; }
.stepper li.active { background: var(--navy); color: #fff; }
.stepper li.done { background: #d4ece8; color: #145a50; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(29,53,87,.04); }
.panel h3 { margin-top: 0; color: var(--navy); }
.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px dashed #a8b6c9; border-radius: var(--radius); padding: 30px; cursor: pointer; background: #fafcff; text-align: center; transition: .15s; }
.drop:hover, .drop.over { border-color: var(--teal); background: #f0faf8; }
.drop-ico { font-size: 2rem; } .drop small { color: var(--muted); }
.samples { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dl { font-size: .9rem; }
.info { margin: 14px 0; padding: 10px 14px; background: #eef3fa; border-radius: 10px; }
.hint { color: var(--muted); }
.table-scroll { overflow-x: auto; max-width: 100%; }
table.preview, table.vars { border-collapse: collapse; width: 100%; font-size: .9rem; }
table.preview th, table.preview td, table.vars th, table.vars td { border: 1px solid var(--line); padding: 5px 9px; white-space: nowrap; text-align: center; }
table.preview th, table.vars th { background: #eef3fa; }
table.vars select, table.vars input { font: inherit; padding: 3px 6px; border: 1px solid #b9c5d6; border-radius: 6px; }
table.vars input:disabled { background: #f2f2f2; }
.dims { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip { background: #e8f6f3; border: 1px solid #b7e2da; border-radius: 99px; padding: 3px 12px; font-size: .9rem; }
.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.acard { text-align: right; font: inherit; background: #fafcff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: .15s; }
.acard b { color: var(--navy); } .acard span { color: var(--muted); font-size: .88rem; }
.acard:hover { border-color: var(--teal); } .acard.sel { border-color: var(--navy); background: #eef3fa; box-shadow: inset 0 0 0 1px var(--navy); }
.optform { margin-top: 18px; padding: 18px; border-radius: 12px; background: #f7f9fc; border: 1px solid var(--line); }
.optform .row { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 12px; }
.optform .field { flex: 1; min-width: 240px; }
.optform label.t { display: block; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.optform select { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid #b9c5d6; border-radius: 8px; background: #fff; }
.checklist { max-height: 210px; overflow: auto; background: #fff; border: 1px solid #b9c5d6; border-radius: 8px; padding: 6px 10px; }
.checklist label { display: block; cursor: pointer; } .checklist input { margin-left: 6px; }
.error { margin-top: 12px; background: #fdecea; color: var(--red); border: 1px solid #f5c2bd; padding: 10px 14px; border-radius: 10px; }
.res-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar select { font: inherit; padding: 4px; border-radius: 6px; }
.result { border-top: 3px solid var(--navy); padding: 18px 4px 6px; margin-top: 18px; }
.result-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.result-h h4 { margin: 0; font-size: 1.2rem; color: var(--navy); }
.result-h .acts button { font: inherit; font-size: .85rem; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px; cursor: pointer; }
.tcap { margin: 16px 0 4px; font-size: .98rem; } .tcap b { margin-left: 4px; }
table.apa { border-collapse: collapse; width: 100%; font-size: .92rem; border-top: 2px solid #111; border-bottom: 2px solid #111; }
table.apa th { border-bottom: 1px solid #111; padding: 6px 8px; font-weight: 700; background: none; }
table.apa td { padding: 5px 8px; text-align: center; }
table.apa td:first-child, table.apa th:first-child { text-align: right; }
table.apa tr.total td { border-top: 1px solid #111; font-weight: 700; }
.tnote { font-size: .82rem; color: var(--muted); margin: 4px 0 0; font-style: italic; }
.interp { background: #fbfaf4; border-right: 4px solid var(--gold); padding: 12px 16px; margin: 12px 0; text-align: justify; line-height: 2; }
table.mini { font-size: .85rem; }
.pricing .price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; display: flex; flex-direction: column; }
.price h3 { margin: 0; color: var(--navy); } .price ul { padding-right: 18px; color: var(--muted); flex: 1; }
.price .amount { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin: 8px 0; } .price .amount.small { font-size: 1.4rem; } .price .amount small { font-size: .95rem; color: var(--muted); }
.price.featured { border: 2px solid var(--teal); box-shadow: 0 10px 30px rgba(42,157,143,.15); }
.badge { position: absolute; top: -12px; left: 18px; background: var(--teal); color: #fff; padding: 1px 12px; border-radius: 99px; font-size: .85rem; }
.footer { background: var(--navy); color: #dfe7f2; padding: 28px 0; } .footer .muted { color: #a9b8cc; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #111; color: #fff; padding: 8px 18px; border-radius: 10px; z-index: 50; opacity: 0; transition: .25s; pointer-events: none; }
.toast.show { opacity: .92; }
@media (max-width: 900px) {
  .hero-in, .grid3, .steps-h { grid-template-columns: 1fr; } .acards { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.3rem; } .hero-card { transform: none; } .nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) { .acards { grid-template-columns: 1fr; } .wrap { padding: 0 12px; } }
