:root {
  --bg: #08090c;
  --bg-2: #101116;
  --panel: #15161d;
  --panel-2: #1b1d25;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #a5a8b3;
  --soft: #d8d9df;
  --accent: #ff2d3f;
  --accent-dark: #8f1020;
  --accent-glow: rgba(255, 45, 63, 0.34);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 45, 63, 0.11), transparent 25rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 28px),
    linear-gradient(90deg, #08090c, #0e0f14 52%, #090a0d);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.site-shell {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  min-height: 100vh;
}

.profile-panel {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(21, 22, 29, 0.96), rgba(9, 10, 13, 0.96)),
    radial-gradient(circle at 55% 0%, rgba(255, 45, 63, 0.18), transparent 22rem);
  padding: 48px;
}

.profile-panel__scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 45, 63, 0.08), transparent);
  height: 42%;
  opacity: 0.5;
  animation: scan 9s ease-in-out infinite;
}

.profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.logo-mark {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(255, 45, 63, 0.6);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.18), transparent 1.7rem),
    linear-gradient(145deg, #1d1e26, #090a0d);
  box-shadow: 0 0 34px rgba(255, 45, 63, 0.24), inset 0 0 26px rgba(255, 45, 63, 0.08);
}

.logo-mark span {
  color: #fff;
  font-size: 2.65rem;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 0 20px var(--accent-glow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(2.65rem, 6vw, 4.65rem);
  line-height: 0.94;
}

.subtitle {
  max-width: 310px;
  margin-bottom: 0;
  color: var(--soft);
  font-size: 1rem;
}

.profile-meta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  padding: 8px 12px;
  font-size: 0.88rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

blockquote {
  max-width: 340px;
  border-left: 2px solid var(--accent);
  color: #eff0f4;
  padding-left: 18px;
  font-size: 1.06rem;
}

.contact-capture {
  display: grid;
  gap: 10px;
}

.contact-capture label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.input-row {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.input-row:focus-within {
  border-color: rgba(255, 45, 63, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 45, 63, 0.1);
}

.input-row input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 13px 14px;
}

.input-row input::placeholder {
  color: #737782;
}

.input-row button {
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 16px;
}

.profile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-links a,
.profile-links button,
.contact-button,
.product-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.profile-links a:hover,
.profile-links button:hover,
.contact-button:hover,
.product-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 45, 63, 0.7);
  background: rgba(255, 45, 63, 0.11);
  box-shadow: 0 0 28px rgba(255, 45, 63, 0.14);
}

.profile-links a:focus-visible,
.profile-links button:focus-visible,
.contact-button:focus-visible,
.product-link:focus-visible {
  outline: 2px solid rgba(255, 45, 63, 0.9);
  outline-offset: 3px;
}

.panel-footer {
  position: relative;
  margin: 32px 0 0;
  color: #747883;
  font-size: 0.82rem;
}

.content-area {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 54px clamp(22px, 5vw, 72px) 72px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 44px;
}

.intro-section h2,
.section-heading h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
}

.intro-section p:last-child,
.contact-section p,
.building-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 246px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    var(--panel);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.product-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(120deg, rgba(255, 45, 63, 0.18), transparent 38%);
  opacity: 0;
  transition: opacity 190ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 45, 63, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 45, 63, 0.11), rgba(255, 255, 255, 0.028)),
    var(--panel-2);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.32), 0 0 32px rgba(255, 45, 63, 0.12);
}

.product-card:hover::before {
  opacity: 1;
}

.product-top,
.product-bottom {
  position: relative;
  z-index: 1;
}

.product-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(255, 45, 63, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 45, 63, 0.09);
  color: #fff;
  box-shadow: inset 0 0 16px rgba(255, 45, 63, 0.07);
}

.product-icon svg {
  width: 24px;
  height: 24px;
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.product-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.product-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--soft);
  padding: 7px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge.is-live {
  border-color: rgba(56, 255, 142, 0.34);
  background: rgba(56, 255, 142, 0.1);
  color: #c9ffdf;
  box-shadow: 0 0 18px rgba(56, 255, 142, 0.18);
}

.badge.is-live::before,
.badge.is-offline::before {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  content: "";
}

.badge.is-live::before {
  background: #38ff8e;
  box-shadow: 0 0 13px rgba(56, 255, 142, 0.8);
}

.badge.is-offline {
  border-color: rgba(255, 45, 63, 0.4);
  background: rgba(255, 45, 63, 0.11);
  color: #ffd7dc;
  box-shadow: 0 0 18px rgba(255, 45, 63, 0.18);
}

.badge.is-offline::before {
  background: var(--accent);
  box-shadow: 0 0 13px rgba(255, 45, 63, 0.82);
}

.product-link {
  min-height: 36px;
  padding: 0 12px;
}

.product-link.is-disabled {
  color: #858995;
  cursor: default;
  pointer-events: none;
}

.building-section,
.contact-section {
  margin-top: 54px;
}

.building-panel,
.contact-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 45, 63, 0.1), rgba(255, 255, 255, 0.03) 44%, rgba(255, 255, 255, 0.055)),
    var(--panel);
  box-shadow: var(--shadow);
}

.building-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
  gap: 26px;
  align-items: center;
  padding: 28px;
}

.building-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.signal-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.signal-stack span {
  border: 1px solid rgba(255, 45, 63, 0.24);
  border-radius: 999px;
  background: rgba(255, 45, 63, 0.075);
  color: #f0dadd;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
}

.contact-section > div {
  max-width: 720px;
}

.contact-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.contact-button {
  flex: 0 0 auto;
  min-height: 48px;
  background: var(--accent);
  padding: 0 20px;
}

.discord-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  border: 1px solid rgba(255, 45, 63, 0.58);
  border-radius: var(--radius);
  background: rgba(13, 14, 18, 0.94);
  box-shadow: 0 0 38px rgba(255, 45, 63, 0.22), 0 22px 70px rgba(0, 0, 0, 0.45);
  color: var(--text);
  opacity: 0;
  padding: 14px 16px;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.discord-toast strong {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 45, 63, 0.8);
}

.discord-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(-35%);
  }

  50% {
    transform: translateY(165%);
  }
}

@media (max-width: 1100px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    position: relative;
    min-height: auto;
    padding: 34px clamp(22px, 6vw, 56px);
  }

  .profile-card {
    max-width: 760px;
  }

  .content-area {
    padding-top: 40px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .intro-section,
  .building-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-section {
    align-items: start;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    display: grid;
  }

  .contact-button {
    width: 100%;
  }

  .signal-stack {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .profile-panel {
    padding: 28px 18px;
  }

  .content-area {
    padding: 32px 18px 54px;
  }

  .profile-links {
    grid-template-columns: 1fr;
  }

  .product-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
