:root {
  --bg: #030712;
  --bg-2: #0b1220;
  --bg-3: #111827;
  --surface: rgba(10, 16, 30, 0.88);
  --surface-2: rgba(255, 255, 255, 0.04);
  --surface-3: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --text: #f3f7ff;
  --muted: #a7b3c8;
  --primary: #8b5cf6;
  --primary-2: #6366f1;
  --accent: #22d3ee;
  --success: #34d399;
  --warning: #f59e0b;
  --danger: #fb7185;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
  --radius: 1.25rem;
  --radius-lg: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  color: var(--text);
  background:
	radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 28%),
	radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 24%),
	linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 40%, var(--bg-3) 100%);
}

a {
  color: inherit;
}

code {
  color: #8ce8ff;
  word-break: break-all;
}

.navbar {
  background: rgba(2, 6, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar .nav-link {
  color: rgba(243, 247, 255, 0.72);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffffff;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.18);
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.9rem;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.28);
}

.hero {
  padding: 7rem 0 4rem;
}

.section {
  padding: 0 0 5rem;
}

.dark-panel,
.metric-card,
.feature-card,
.info-card,
.contact-card,
.composer-card,
.app-card,
.timeline-card,
.gallery-card,
.cta-band,
.link-card,
.filter-bar {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 65%);
  pointer-events: none;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 800;
}

.display-title {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.text-muted-soft,
.muted {
  color: var(--muted) !important;
}

.chip,
.tag,
.meta-chip,
.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-shot,
.panel-shot,
.product-shot,
.thumb-frame {
  padding: 0.9rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-shot img,
.panel-shot img,
.product-shot img,
.thumb-frame img,
.app-thumb img,
.gallery-card img {
  width: 100%;
  display: block;
  border-radius: 1rem;
}

.metric-card,
.feature-card,
.info-card,
.contact-card,
.composer-card,
.timeline-card {
  padding: 1.35rem;
  height: 100%;
}

.metric-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

.metric-value {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 800;
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-bottom: 1rem;
}

.tile-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tile-link:hover {
  transform: translateY(-4px);
  color: inherit;
  border-color: rgba(34, 211, 238, 0.24);
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.link-row:hover {
  color: inherit;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  border-color: transparent;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.22);
}

.form-control,
.form-control:focus,
textarea.form-control,
textarea.form-control:focus {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.form-control::placeholder,
textarea.form-control::placeholder {
  color: rgba(243, 247, 255, 0.45);
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.7rem 1rem;
  font-weight: 700;
}

.filter-btn.active,
.filter-btn:hover {
  color: #020617;
  background: linear-gradient(135deg, #d8ccff, #99f6ff);
  border-color: transparent;
}

.app-card {
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.24);
}

.app-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.07));
  border-bottom: 1px solid var(--border);
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tier-paid {
  background: rgba(139, 92, 246, 0.18);
  color: #ddd6fe;
}

.tier-donation {
  background: rgba(245, 158, 11, 0.17);
  color: #fde68a;
}

.tier-free {
  background: rgba(52, 211, 153, 0.16);
  color: #a7f3d0;
}

.timeline {
  position: relative;
  padding-left: 1.45rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.55), rgba(34, 211, 238, 0.10));
}

.timeline-card {
  position: relative;
  margin-bottom: 1rem;
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: -1.48rem;
  top: 1.25rem;
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.14);
}

.timeline-range {
  display: inline-block;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: rgba(139, 92, 246, 0.18);
  color: #ddd6fe;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.preview-box {
  min-height: 18rem;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}

.sticky-panel {
  position: sticky;
  top: 5.75rem;
}

.badge-soft {
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.badge-detect {
  background: rgba(34, 211, 238, 0.14);
  color: #a5f3fc;
}

.badge-match {
  background: rgba(139, 92, 246, 0.16);
  color: #ddd6fe;
}

.badge-react {
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
}

.accordion-item {
  background: transparent !important;
  border: 0 !important;
}

.accordion-button,
.accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--text);
  box-shadow: none;
  font-weight: 700;
}

.accordion-button::after {
  filter: invert(1);
}

.success-note {
  display: none;
  color: #a7f3d0;
  font-weight: 700;
}

.success-note.show {
  display: inline-block;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 15, 0.72);
}

@media (max-width: 991.98px) {
  .hero {
	padding-top: 6rem;
  }

  .sticky-panel {
	position: static;
  }
}