:root {
  --bg: #081419;
  --panel: #0e1d23;
  --panel-2: #14272e;
  --line: rgba(255, 255, 255, .12);
  --text: #f8fbfc;
  --muted: #b5c4c9;
  --dim: #789098;
  --gold: #ff674d;
  --gold-2: #ff927e;
  --green: #45c78a;
  --red: #ff674d;
  --radius: 8px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 103, 77, .09), transparent 28rem),
    linear-gradient(90deg, rgba(49, 117, 130, .08), transparent 22rem),
    var(--bg);
  color: var(--text);
}

body.en {
  direction: ltr;
  font-family: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(8, 20, 25, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-symbol {
  width: 2.75rem;
  height: 2.4rem;
  object-fit: contain;
}

.brand-wordmark {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: .95rem;
}

.nav a:hover { color: var(--text); }

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.lang-toggle,
.btn {
  min-height: 2.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 103, 77, .44);
  font: inherit;
  font-weight: 700;
}

.lang-toggle {
  width: 3.25rem;
  background: rgba(255, 255, 255, .04);
  color: var(--gold-2);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.25rem;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #102129;
  box-shadow: 0 1rem 2.6rem rgba(255, 103, 77, .18);
}

.btn-small {
  min-height: 2.4rem;
  padding: .55rem .95rem;
  font-size: .9rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  box-shadow: none;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  grid-template-columns: minmax(21rem, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 4vw, 4rem) 3rem;
}

.hero-copy { max-width: 42rem; }

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--gold-2);
  font-size: .88rem;
  font-weight: 800;
}

h1,
h2,
h3,
p { letter-spacing: 0; }

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
}

h3 {
  margin: 0 0 .8rem;
  font-size: 1.25rem;
}

.hero-text,
.lead,
.section-head p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.9;
}

.hero-text {
  margin: 1.4rem 0 2rem;
  max-width: 41rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 8% -6%;
  background: rgba(255, 103, 77, .2);
  filter: blur(4rem);
  z-index: -1;
}

.hero-visual > img {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .42);
}

.product-brand {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .62rem;
  color: #fff;
  background: rgba(8, 20, 25, .9);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px);
}

.product-brand img { width: 1.8rem; height: 1.55rem; object-fit: contain; }
.product-brand b { font: 700 .65rem/1 "Inter", sans-serif; letter-spacing: .08em; }

.proof-strip,
.section,
.feature-grid,
.packages,
.cta,
footer {
  margin-inline: clamp(1rem, 4vw, 4rem);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.proof-strip div {
  padding: 1.25rem;
  border-inline-start: 1px solid var(--line);
}

.proof-strip div:first-child { border-inline-start: 0; }

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong { font-size: 1.05rem; }
.proof-strip span { color: var(--muted); margin-top: .25rem; }

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.lead { margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card,
.packages article,
.cta,
.channel-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
}

.feature-card {
  padding: 1.35rem;
  min-height: 17rem;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 103, 77, .12);
  color: var(--gold-2);
}

.feature-card p,
.packages p,
.packages li {
  color: var(--muted);
  line-height: 1.75;
}

.channels {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.section-head {
  max-width: 54rem;
}

.channel-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  padding: 1rem;
}

.channel-board span {
  display: flex;
  align-items: center;
  min-height: 4.4rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font-weight: 700;
}

.process { border-top: 1px solid var(--line); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.steps div {
  padding-top: 1rem;
  border-top: 2px solid rgba(255, 103, 77, .48);
}

.steps span {
  color: var(--gold-2);
  font-weight: 800;
}

.steps p {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.packages {
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.packages article {
  padding: 1.5rem;
}

.packages .featured {
  border-color: rgba(255, 103, 77, .62);
  background: linear-gradient(180deg, rgba(255, 103, 77, .14), rgba(255, 255, 255, .025));
}

.packages ul {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.packages li {
  padding: .55rem 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.cta {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.demo-form input {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  padding: 0 1rem;
  font: inherit;
}

.demo-form button { grid-column: 1 / -1; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.footer-logo img {
  width: auto;
  height: 3.6rem;
  object-fit: contain;
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero,
  .split,
  .channels,
  .cta {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .proof-strip,
  .feature-grid,
  .steps,
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 1rem;
  }
  .brand-wordmark { font-size: .88rem; }
  .brand-symbol { width: 2.4rem; height: 2.1rem; }
  .header-actions .btn { display: none; }
  .hero {
    padding-top: 2.5rem;
  }
  h1 {
    font-size: 2.55rem;
  }
  .hero-actions,
  footer {
    align-items: stretch;
    flex-direction: column;
  }
  .proof-strip,
  .feature-grid,
  .steps,
  .package-grid,
  .channel-board,
  .demo-form {
    grid-template-columns: 1fr;
  }
  .proof-strip div {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  .proof-strip div:first-child { border-top: 0; }
}
