:root {
  --bg: #0a0a14;
  --bg-elevated: rgba(17, 19, 34, 0.9);
  --card: rgba(20, 24, 45, 0.9);
  --card-soft: rgba(255, 255, 255, 0.05);
  --text: #f5f7ff;
  --muted: #a9afc3;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(139, 92, 246, 0.2), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(34, 211, 238, 0.16), transparent 20%),
    linear-gradient(180deg, #090b14 0%, #070910 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header,
.hero,
.stats,
.feature-grid,
.launch-grid {
  display: grid;
  gap: 24px;
}

.site-header {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px 22px;
  margin-bottom: 52px;
  background: rgba(10, 12, 24, 0.65);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(34, 211, 238, 0.28)),
    url("../assets/logos/bored-buddy.svg") center/82% no-repeat;
  color: transparent;
  font-size: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 72vh;
}

.logo-lab {
  margin: 8px 0 52px;
}

.logo-lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.logo-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 18, 32, 0.88);
  box-shadow: var(--shadow);
}

.logo-card img {
  width: 92px;
  height: 92px;
  display: block;
  margin-bottom: 16px;
}

.logo-card h3 {
  margin: 0 0 8px;
  letter-spacing: -0.04em;
}

.logo-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.logo-lab {
  margin: 8px 0 52px;
}

.logo-lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.logo-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 18, 32, 0.88);
  box-shadow: var(--shadow);
}

.logo-card img {
  width: 92px;
  height: 92px;
  display: block;
  margin-bottom: 16px;
}

.logo-card h3 {
  margin: 0 0 8px;
  letter-spacing: -0.04em;
}

.logo-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  max-width: 12ch;
}

.hero-text,
.feature-card p,
.launch-card li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.hero-actions,
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.status-row {
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #050816;
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.status-pill {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.hero-card,
.feature-card,
.launch-card,
.stats article {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
  border-radius: 28px;
}

.window-bar {
  display: flex;
  gap: 8px;
  padding-bottom: 14px;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.window-bar span:first-child {
  background: #f87171;
}

.window-bar span:nth-child(2) {
  background: #fbbf24;
}

.window-bar span:last-child {
  background: #4ade80;
}

.room-card {
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    #0b0f1f;
  border: 1px solid var(--line);
}

.room-header,
.message,
.composer,
.section-heading {
  display: flex;
}

.room-header {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.room-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.room-header h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.live-dot {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  color: #8ef0ad;
  font-weight: 700;
}

.message-list {
  display: grid;
  gap: 16px;
}

.message {
  gap: 14px;
  align-items: flex-start;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
}

.avatar-purple {
  background: rgba(139, 92, 246, 0.24);
  color: #d9c8ff;
}

.avatar-blue {
  background: rgba(34, 211, 238, 0.22);
  color: #b4f3ff;
}

.avatar-pink {
  background: rgba(244, 114, 182, 0.2);
  color: #ffc6e4;
}

.message-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 5px;
}

.message-meta span {
  color: var(--muted);
  font-size: 0.88rem;
}

.message p {
  margin: 0;
  color: #e9edff;
  line-height: 1.6;
}

.special-message {
  color: #ffd5ea;
}

.composer {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card-soft);
  color: var(--muted);
}

.composer button {
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-weight: 700;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 84px;
}

.stats article,
.feature-card,
.launch-card {
  padding: 24px;
  border-radius: 22px;
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.stats span {
  color: var(--muted);
}

.section-heading {
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 12ch;
}

.feature-grid,
.launch-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.features,
.launch {
  margin-bottom: 84px;
}

.feature-card h3,
.launch-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.launch-card ul {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 960px) {
  .site-header,
  .hero,
  .logo-lab-grid,
  .stats,
  .feature-grid,
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    padding: 18px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.95rem;
  }

  .hero-card,
  .room-card,
  .feature-card,
  .launch-card,
  .stats article {
    border-radius: 20px;
  }

  .composer,
  .room-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
