/* ============================================================
   DreamerAI + DreamerOS — styles.css (FINAL PASS)
   - Defines the GUI shell classes used by index.php and dreameros.php
   - Removes orange
   - Adds products grid + status chips
   - Keeps premium, modern look
   ============================================================ */

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

html, body {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  color: #111827;
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   Header / Nav (site chrome)
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,231,235,0.9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #111827;
}

.site-header__logo {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(2,6,23,0.18);
}

.site-header__logotype {
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  text-decoration: none;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav__list a:hover { color: #111827; }

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.35rem;
  cursor: pointer;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-toggle__line {
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}

/* ===========================
   Buttons (no orange)
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 950;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  color: #e5e7eb;
  background:
    linear-gradient(#0b1020, #0b1020) padding-box,
    linear-gradient(90deg,
      rgba(59,130,246,0.95),
      rgba(168,85,247,0.95),
      rgba(239,68,68,0.95)
    ) border-box;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(2,6,23,0.35);
}

.btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 36px rgba(2,6,23,0.45);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.45);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
}

.btn--nav {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
}

/* ===========================
   Hero + GUI Shell
   =========================== */

.hero {
  background: radial-gradient(circle at 10% 10%, rgba(120, 50, 80, 0.45), transparent 55%),
              linear-gradient(135deg, #020617, #020617);
  color: #ffffff;
  padding: 2.25rem 0 2.25rem;
  overflow: hidden;
}

.gui-shell {
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(2,6,23,0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  overflow: hidden;
}

.gui-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 2.25rem 1.25rem;
}

.gui-brandline__tag {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero__title {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  margin: 0.65rem 0 1rem;
}

.hero__subtitle {
  font-size: 1.05rem;
  opacity: 0.92;
  margin: 0 0 1.25rem;
  max-width: 46rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__footnote {
  margin-top: 1rem;
  opacity: 0.78;
}

.hero__visual {
  border-radius: 1.25rem;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
}

/* In-pane nav */
.gui-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 2.25rem 1.25rem;
}

.gui-nav a {
  text-decoration: none;
  font-weight: 900;
  font-size: 0.9rem;
  color: rgba(229,231,235,0.85);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}

.gui-nav a:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}

/* Stage viewport */
.gui-stage {
  padding: 1.5rem 2.25rem 2.0rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 10% 10%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(circle at 90% 90%, rgba(239,68,68,0.08), transparent 60%),
    rgba(2,6,23,0.40);
}

/* Subnav cards */
.gui-subnav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.gui-card {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  padding: 1.1rem 1.1rem;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.gui-card:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.18);
}

.gui-card__title {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-weight: 950;
  font-size: 1.0rem;
}

.gui-card__body {
  margin: 0;
  color: rgba(229,231,235,0.78);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* RGB rule */
.rgb-rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg,
    rgba(239,68,68,0.0),
    rgba(239,68,68,0.80),
    rgba(168,85,247,0.85),
    rgba(59,130,246,0.85),
    rgba(239,68,68,0.80),
    rgba(239,68,68,0.0)
  );
  opacity: 0.7;
}

/* Products + status */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.product-card {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  padding: 1.1rem 1.1rem;
}

.product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.product-card h3 {
  margin: 0;
  color: #ffffff;
  font-weight: 950;
  font-size: 1.05rem;
}

.product-card p {
  margin: 0.25rem 0 0;
  color: rgba(229,231,235,0.78);
  line-height: 1.55;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(229,231,235,0.88);
}

.status::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(229,231,235,0.75);
}

.status--live::before { background: rgba(34,197,94,0.95); }
.status--internal::before { background: rgba(59,130,246,0.95); }
.status--invite::before { background: rgba(168,85,247,0.95); }

/* Callout */
.callout {
  background: rgba(2,6,23,0.75);
  color: rgba(229,231,235,0.92);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Footer */
.site-footer {
  background: #0b1020;
  color: #e5e7eb;
  padding: 2.25rem 0;
  border-top: 1px solid rgba(31,41,55,1);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.site-footer__tagline { color: #9ca3af; font-size: 0.95rem; margin-top: 0.25rem; }

.site-footer__tagline--rgb {
  font-weight: 950;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg,
    rgba(59,130,246,1),
    rgba(168,85,247,1),
    rgba(239,68,68,1)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Responsive */
@media (max-width: 960px) {
  .gui-top { grid-template-columns: 1fr; }
  .gui-subnav { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .gui-top { padding: 1.5rem 1.25rem 1rem; }
  .gui-nav { padding: 0 1.25rem 1rem; }
  .gui-stage { padding: 1.25rem 1.25rem 1.5rem; }
}
