:root {
  --deep: #062B25;
  --emerald: #087A58;
  --mint: #50D6B0;
  --gold: #D8AE52;
  --white: #FFFFFF;
  --bg: #F4F8F6;
  --surface: #FFFFFF;
  --ink: #062B25;
  --muted: #55736A;
  --line: #D8E7DF;
  --shadow: 0 18px 50px rgba(6, 43, 37, 0.10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
code { font-family: Consolas, "Courier New", monospace; direction: ltr; unicode-bidi: embed; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 248, 246, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(145deg, var(--emerald), var(--deep));
  color: var(--white); font-weight: 800; font-size: 1.2rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--muted); font-size: 0.72rem; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 0.92rem; }
.nav-links a:hover { color: var(--emerald); }
.nav-cta { background: var(--deep); color: var(--white) !important; padding: 9px 18px; border-radius: 12px; }

.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(80, 214, 176, 0.22), transparent 40%),
    radial-gradient(circle at 82% 88%, rgba(216, 174, 82, 0.18), transparent 45%),
    var(--deep);
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 260px;
  background: radial-gradient(ellipse at center, rgba(80,214,176,0.16), transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 84px 0 96px; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(80,214,176,0.16); color: var(--mint);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.2px;
}
.eyebrow.dark { background: rgba(8,122,88,0.10); color: var(--emerald); }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); line-height: 1.35; margin: 18px 0 16px; }
.hero h1 span { color: var(--mint); }
.lead { max-width: 620px; color: #D5E8E1; font-size: 1.05rem; margin: 0 0 28px; }
.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mint); color: var(--deep); box-shadow: 0 12px 30px rgba(80,214,176,0.28); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.28); }
.btn-outline { background: transparent; color: var(--emerald); border-color: var(--line); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; box-shadow: none; }
.download-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--gold); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 0.88rem; color: #BFD9CF; }
.hero-badges span::first-letter { color: var(--mint); }

.hero-visual { direction: ltr; }
.window { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.35); transform: rotate(-1deg); }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0B3B31; color: #CDE8DE; font-size: 0.7rem; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #50D6B0; }
.window-bar i:nth-child(2) { background: #D8AE52; }
.window-bar i:nth-child(3) { background: #E2725B; }
.window-bar span { margin-inline-start: auto; }
.window-body { display: flex; min-height: 330px; }
.mock-sidebar { width: 132px; background: #07352C; color: #BFD9CF; padding: 18px 12px; display: flex; flex-direction: column; gap: 12px; font-size: 0.72rem; }
.mock-logo { color: #fff; font-weight: 800; font-size: 0.95rem; margin-bottom: 12px; }
.mock-logo b { color: #50D6B0; }
.mock-main { flex: 1; padding: 18px; direction: rtl; }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 14px; }
.mock-head small { color: var(--muted); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-grid div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #F7FBF9; font-size: 0.75rem; }
.mock-grid b, .mock-grid small { display: block; }
.mock-grid small { color: var(--emerald); font-weight: 700; }
.mock-total { display: flex; justify-content: space-between; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: rgba(8,122,88,0.10); font-size: 0.85rem; }

.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.strip-inner div { text-align: center; }
.strip-inner strong { display: block; color: var(--emerald); font-size: 1.15rem; }
.strip-inner span { color: var(--muted); font-size: 0.85rem; }

.section { padding: 78px 0; }
.section-alt { background: #EAF3EF; }
.section.compact { padding: 52px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 12px 0 8px; }
.section-head p { color: var(--muted); margin: 0; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .icon { font-size: 1.6rem; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--emerald); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.license-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.license-grid h2 { font-size: 2rem; margin: 10px 0 14px; }
.license-grid p { color: var(--muted); }
.license-grid .muted { font-size: 0.88rem; }
.license-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.license-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.license-row:last-child { border-bottom: 0; }
.license-row span { color: var(--muted); }
.license-row strong { color: var(--emerald); }

.download-section { background: var(--deep); color: #fff; }
.download-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center;
  background: linear-gradient(135deg, rgba(80,214,176,0.12), rgba(216,174,82,0.08)), #0A3A31;
  border: 1px solid rgba(80,214,176,0.22); border-radius: 24px; padding: 44px;
}
.download-card h2 { font-size: 2rem; margin: 12px 0 8px; }
.download-card p { color: #C9E2D9; }
.download-meta { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; color: #C9E2D9; font-size: 0.92rem; }
.download-actions { display: grid; gap: 14px; justify-items: start; }
.hash-title { margin: 4px 0 -8px; font-size: 0.8rem; color: var(--gold); }
.hash-value { display: block; max-width: 100%; overflow-wrap: anywhere; font-size: 0.76rem; background: rgba(0,0,0,0.25); padding: 10px 12px; border-radius: 10px; color: #D9F3EA; }
.fineprint { font-size: 0.8rem; margin: 0; }

.faq { max-width: 860px; }
.faq h2 { font-size: 1.8rem; margin-bottom: 20px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; font-size: 0.94rem; }
.faq a { color: var(--emerald); text-decoration: underline; }

.site-footer { background: #04231E; color: #BFD9CF; padding: 34px 0; font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-inner strong { color: #fff; }
.footer-inner p { margin: 4px 0 0; }
.footer-inner a:hover { color: var(--mint); }

@media (max-width: 900px) {
  .hero-inner, .license-grid, .download-card { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 0 64px; }
  .features-grid, .steps { grid-template-columns: 1fr 1fr; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 600px) {
  .features-grid, .steps { grid-template-columns: 1fr; }
  .container { width: min(100% - 28px, 1120px); }
  .download-card { padding: 26px; }
}
