/* 034 · Stellar AI (مدار الذكاء — Stellar.ai) — 1:1 Reference-Faithful Bespoke Stylesheet */
:root {
  --st-bg: #060812;
  --st-marquee: #080a14;
  --st-ink: #ffffff;
  --st-muted: rgba(255, 255, 255, 0.56);
  --st-violet: #c4b5fd;
  --st-dot: #a78bfa;
  --st-line: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--st-bg);
  color: var(--st-ink);
}

body {
  margin: 0;
  background: var(--st-bg);
  color: var(--st-ink);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, a, button, span, input, textarea {
  letter-spacing: 0;
}

[dir="ltr"] {
  font-family: 'JetBrains Mono', 'Readex Pro', monospace;
}

.stellar-gradient-text {
  background: linear-gradient(120deg, #e0e7ff 0%, #a5b4fc 35%, #67e8f9 65%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14), 0 18px 42px rgba(3, 4, 10, 0.5);
}

/* Fixed Top Bar */
.st-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  padding: 16px clamp(16px, 3.5vw, 44px);
  background: linear-gradient(180deg, rgba(6, 8, 18, 0.88) 0%, rgba(6, 8, 18, 0) 100%);
}

.st-nav {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.st-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.st-brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(196, 181, 253, 0.25);
  color: var(--st-violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.st-capsule {
  border-radius: 999px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.st-capsule a {
  padding: 6px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.84rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.st-capsule a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.st-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.st-signin {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.86rem;
}

.st-pill-white {
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #000000;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.st-pill-white:hover {
  background: rgba(255, 255, 255, 0.9);
}

.st-pill-glass {
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.st-pill-glass:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Section 1: Hero + Interactive 4-Tab Command Widget */
.st-hero {
  position: relative;
  min-height: 100dvh;
  padding: 124px clamp(20px, 4.2vw, 56px) 72px;
  overflow: hidden;
}

.st-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.st-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 8, 18, 0.48) 0%, rgba(6, 8, 18, 0.24) 35%, rgba(6, 8, 18, 0.78) 74%, #060812 100%);
}

.st-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
}

.st-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.st-violet-tag {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--st-violet);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.st-h1 {
  margin: 0 0 18px;
  max-width: 820px;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(2.35rem, 5.2vw, 4.35rem);
  font-weight: 700;
  line-height: 1.1;
}

.st-h1-line2 {
  display: block;
  color: #ffffff;
  margin-top: 4px;
}

.st-lead {
  margin: 0 0 26px;
  max-width: 580px;
  color: var(--st-muted);
  font-size: 1.04rem;
}

.st-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Interactive 4-Tab Command Center */
.st-cmd-wrap {
  margin-top: 48px;
  max-width: 720px;
}

.st-tab-bar {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 18px;
  gap: 4px;
  margin-bottom: 14px;
}

.st-tab-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.st-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.st-tab-btn.is-active {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.18);
}

.st-tab-panel {
  border-radius: 22px;
  padding: 28px 30px;
}

.st-tab-panel h3 {
  margin: 8px 0 10px;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 1.45rem;
}

.st-tab-panel p {
  margin: 0 0 22px;
  color: var(--st-muted);
  font-size: 0.94rem;
}

.st-kpi-strip {
  padding-top: 18px;
  border-top: 1px solid var(--st-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.st-kpi strong {
  display: block;
  font-size: 1.35rem;
  color: #ffffff;
}

.st-kpi span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.48);
}

/* Section 2: Partner Wordmark Marquee */
.st-marquee-band {
  background: var(--st-marquee);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 20px;
  text-align: center;
}

.st-marquee-shell {
  max-width: 1200px;
  margin: 18px auto 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.st-marquee-track {
  display: flex;
  width: max-content;
  gap: 44px;
  animation: stScroll 34s linear infinite;
}

.st-marquee-shell:hover .st-marquee-track {
  animation-play-state: paused;
}

@keyframes stScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.st-marquee-track span {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

/* 2-Column Split Sections */
.st-split-sec {
  scroll-margin-top: 84px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: clamp(72px, 8vw, 108px) clamp(20px, 4.2vw, 56px);
}

.st-split-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.st-split-copy h2 {
  margin: 8px 0 14px;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.2;
}

.st-split-copy p {
  margin: 0 0 20px;
  color: var(--st-muted);
}

.st-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.st-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.84);
}

.st-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--st-dot);
  flex-shrink: 0;
}

.st-preview-card {
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.st-preview-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(196, 181, 253, 0.1);
  border: 1px solid rgba(196, 181, 253, 0.25);
  color: var(--st-violet);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing 3-Column Grid */
.st-pricing-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.st-price-card {
  border-radius: 26px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-price-val {
  font-size: 2.1rem;
  font-weight: 700;
}

/* Contact Form */
.st-contact-box {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.st-form {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  text-align: start;
}

.st-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
}

.st-input:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.6);
}

/* Single Clean Footer */
.st-footer {
  border-top: 1px solid var(--st-line);
  padding: 40px clamp(20px, 4.2vw, 56px);
}

.st-foot-row {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--st-muted);
}

@media (max-width: 720px) {
  .st-capsule,
  .st-signin {
    display: none;
  }
  .st-split-grid,
  .st-pricing-grid,
  .st-kpi-strip {
    grid-template-columns: 1fr;
  }
}
