:root {
  --bg: #0d1117;
  --bg-alt: #121924;
  --card: #18212f;
  --line: #263245;
  --text: #e8eef7;
  --muted: #9aa8bd;
  --accent: #5fd16a;      /* grass green */
  --accent-ink: #06210a;
  --gold: #f4c542;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
  font-size: 17px;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.section { padding-block: 72px; }
.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.sub { color: var(--muted); margin-bottom: 2em; }
.note { color: var(--muted); font-size: .95rem; margin-top: 1.5em; text-align: center; }

/* header / footer */
.top { position: sticky; top: 0; z-index: 10; background: rgba(13, 17, 23, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; }
.cube { width: 22px; height: 22px; border-radius: 4px; background: linear-gradient(var(--accent) 0 38%, #8b5a2b 38% 100%); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25); }
.links { display: flex; gap: 22px; color: var(--muted); }
.links a:hover { color: var(--text); }
.actions { display: flex; align-items: center; gap: 10px; }
.lang { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: .85rem; cursor: pointer; }
.lang:hover { color: var(--text); border-color: var(--muted); }
.foot { border-top: 1px solid var(--line); color: var(--muted); padding-block: 12px; font-size: .95rem; }

/* buttons */
.btn { display: inline-block; border-radius: 10px; padding: 10px 20px; font-weight: 700; border: 1px solid transparent; transition: transform .12s, filter .12s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { border-color: var(--line); color: var(--text); }
.btn.block { display: block; text-align: center; }

/* hero */
.hero { padding-block: 72px 56px; background: radial-gradient(900px 420px at 80% -10%, rgba(95, 209, 106, .16), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; margin-bottom: .6em; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 34em; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-block: 1.4em 1.2em; }
.from { color: var(--muted); }
.from b { color: var(--gold); font-size: 1.5rem; font-weight: 900; }
.pay { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.pay li { border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px; font-size: .85rem; color: var(--muted); direction: ltr; }

.terminal { background: #05080c; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.t-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.t-head i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.t-head span { margin-inline-start: 8px; }
.terminal pre { margin: 0; padding: 18px; font: 500 .86rem/1.9 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: #c9d4e3; }
.dim { color: #55637a; } .ok { color: var(--accent); } .join { color: var(--gold); }
.cur { animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; display: flex; flex-direction: column; }
.plan.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 50px rgba(95, 209, 106, .12); }
.badge { position: absolute; top: -12px; inset-inline-start: 18px; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 2px 12px; }
.plan .ram { color: var(--muted); font-size: .95rem; }
.price { margin-block: 10px 14px; }
.price b { font-size: 2.6rem; font-weight: 900; color: var(--gold); line-height: 1; }
.price span { color: var(--muted); font-size: .95rem; }
.specs { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.specs li { padding-block: 7px; border-top: 1px solid var(--line); font-size: .97rem; }
.specs li:first-child { border-top: 0; }

/* features, soon, faq */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 1.6em; }
.features article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.features p { color: var(--muted); margin: 0; }
.soon { display: flex; flex-wrap: wrap; gap: 12px; }
.soon span { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 20px; color: var(--muted); }
details { border-bottom: 1px solid var(--line); padding-block: 14px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: .7em 0 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .top .links { display: none; }
  .section { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .cur { animation: none; } .btn { transition: none; } html { scroll-behavior: auto; }
}
