/* Hasim website – © 2026 Prof. Hani Muhsen. All rights reserved. */
:root {
  --ink: #14202b; --ink2: #43515e; --muted: #6d7b88; --line: #dde3e9; --bg: #ffffff; --bg2: #f4f7f9; --bg3: #eaf0f4;
  --navy: #0f1c28; --navy2: #172a3a; --accent: #0a6c93; --accent2: #075373; --green: #1f8a4c; --green2: #197340; --h2: #2fbf71;
  --radius: 10px; --shadow: 0 1px 2px rgba(16,24,32,.06), 0 8px 24px rgba(16,24,32,.07);
  --ui: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--ui); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.4vw, 50px); } h2 { font-size: clamp(24px, 3vw, 34px); } h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .center { text-align: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 8px; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 15.5px; text-decoration: none !important; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--accent); }
.btn.pri { background: var(--accent); border-color: var(--accent); color: #fff; } .btn.pri:hover { background: var(--accent2); }
.btn.buy { background: var(--green); border-color: var(--green); color: #fff; } .btn.buy:hover { background: var(--green2); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); } .btn.ghost:hover { border-color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; justify-content: center; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(15,28,40,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: .01em; }
.logo:hover { text-decoration: none; }
.logo small { display: block; font-size: 11.5px; font-weight: 400; color: #9fb3c4; letter-spacing: 0; margin-top: -2px; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: #d5e1ea; font-size: 15px; } .nav a:hover, .nav a.on { color: #fff; text-decoration: none; }
.nav .btn { padding: 8px 15px; font-size: 14.5px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 6px; padding: 6px 10px; font-size: 18px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 70% -10%, #1d4863 0%, rgba(15,28,40,0) 60%), linear-gradient(180deg, #0f1c28 0%, #132536 100%); color: #e8f0f6; padding: 64px 0 40px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.02fr 1.2fr; gap: 44px; align-items: center; }
.hero h1 { color: #fff; } .hero h1 em { font-style: normal; color: var(--h2); }
.hero p.lead { font-size: 19px; color: #c3d2de; max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero .note { font-size: 13.5px; color: #93a8b9; }
.shot { border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); background: #0b1117; }
.shot img { width: 100%; height: auto; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 42px; }
.stats div { border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 14px 16px; background: rgba(255,255,255,.03); }
.stats b { display: block; font-size: 26px; color: #fff; } .stats span { font-size: 13.5px; color: #a9bccb; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--bg2); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.section-head { max-width: 780px; margin-bottom: 36px; }
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: center; margin-bottom: 70px; }
.feature:last-child { margin-bottom: 0; }
.feature.rev { grid-template-columns: 1.25fr 1fr; } .feature.rev .txt { order: 2; }
.feature ul, ul.checks { padding: 0; list-style: none; margin: 14px 0 0; }
.feature li, ul.checks li { padding-left: 28px; position: relative; margin: 7px 0; color: var(--ink2); }
.feature li::before, ul.checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.feature .shot { box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--ink2); font-size: 15px; margin: 0; }
.icon { width: 42px; height: 42px; border-radius: 10px; background: var(--bg3); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--ink2); border-top: 1px solid var(--line); }
.scope { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; }
.scope div { border-left: 3px solid var(--accent); padding: 2px 0 2px 12px; }
.scope b { display: block; } .scope span { color: var(--ink2); font-size: 14.5px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.hl { border: 2px solid var(--accent); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.plan h3 { font-size: 21px; margin-bottom: 2px; }
.plan .for { color: var(--muted); font-size: 14.5px; min-height: 44px; }
.plan .price { font-size: 38px; font-weight: 750; margin: 12px 0 0; letter-spacing: -.02em; }
.plan .per { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 20px; flex: 1; }
.plan li { padding-left: 26px; position: relative; margin: 8px 0; font-size: 15px; color: var(--ink2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.seats { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14.5px; color: var(--ink2); }
.seats input { width: 76px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.licfields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; max-width: 860px; margin: 26px auto 0; }
.licfields label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 4px; }
.licfields input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
@media (max-width: 640px) { .licfields { grid-template-columns: 1fr; } }
.agree { display: flex; gap: 10px; align-items: flex-start; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 26px auto 0; max-width: 860px; font-size: 15px; }
.agree input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.notice { background: #fff7e6; border: 1px solid #f0d49a; color: #7a5200; border-radius: 10px; padding: 12px 16px; margin: 18px 0; font-size: 14.5px; }
.notice.ok { background: #e9f7ef; border-color: #b7e2c6; color: #1b6b3c; }
.notice.err { background: #fdecea; border-color: #f3bdb8; color: #9b2c22; }
table.cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 15px; }
table.cmp th, table.cmp td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
table.cmp th { background: var(--bg2); } table.cmp td.c { text-align: center; }
.yes { color: var(--green); font-weight: 700; } .no { color: #b0b8bf; }

/* downloads */
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.dl .card { display: flex; flex-direction: column; } .dl .card p { flex: 1; margin-bottom: 14px; }
.hash { font-family: Consolas, Menlo, monospace; font-size: 12px; word-break: break-all; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* legal / docs pages */
.page-head { background: linear-gradient(180deg, #0f1c28, #16293a); color: #fff; padding: 46px 0 34px; }
.page-head p { color: #b8c8d5; margin: 0; }
.legal { padding: 44px 0 70px; }
.legal h2 { font-size: 22px; margin-top: 34px; } .legal h3 { font-size: 18px; margin-top: 22px; }
.legal p, .legal li { color: var(--ink2); }
.legal .meta { font-size: 14px; color: var(--muted); }
.keybox { font-family: Consolas, Menlo, monospace; font-size: 13px; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 14px; word-break: break-all; margin: 10px 0; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.form-row input { flex: 1; min-width: 240px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--ink2); }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: sp .8s linear infinite; vertical-align: -3px; }
@keyframes sp { to { transform: rotate(360deg); } }

/* footer */
footer { background: var(--navy); color: #b6c5d1; padding: 46px 0 30px; font-size: 14.5px; }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 26px; }
footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 10px; }
footer a { color: #b6c5d1; display: block; margin: 5px 0; } footer a:hover { color: #fff; }
footer .legalline { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; font-size: 13px; color: #8ea2b3; }

@media (max-width: 960px) {
  .hero .grid, .feature, .feature.rev { grid-template-columns: 1fr; } .feature.rev .txt { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy); padding: 12px 20px 18px; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
}
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } footer .cols { grid-template-columns: 1fr; } section { padding: 52px 0; } .hero { padding-top: 40px; } }

.cmpwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
@media (max-width: 640px) { .cmpwrap .cmp { min-width: 520px; font-size: 13.5px; } }
/* Microsoft Store website: the official badge, the "coming soon" label and the single offer */
.msbadge { display: inline-flex; align-items: center; line-height: 0; border-radius: 8px; }
.msbadge img { height: 52px; width: auto; }
.btn.soon { background: #eef4f8; border-color: #cddbe6; color: #0b3b52; cursor: default; }
.hero .btn.soon { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
.plans.one { grid-template-columns: minmax(0, 460px); justify-content: center; }
.plan .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.card .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
/* product video */
.video { max-width: 1100px; margin: 0 auto; border-radius: 12px; overflow: hidden; background: #0f1c28; box-shadow: 0 2px 4px rgba(16,24,32,.08), 0 18px 48px rgba(16,24,32,.18); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
