:root {
  --bg: #080a10;
  --panel: rgba(14, 17, 27, 0.75);
  --text: #f4f7ff;
  --muted: #b8c3df;
  --accent: #5eead4;
  --accent-2: #60a5fa;
  --border: rgba(255, 255, 255, 0.14);
  --max-w: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: var(--bg);
  font-family: "Bahnschrift", "Segoe UI Variable", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(94, 234, 212, 0.14), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(96, 165, 250, 0.18), transparent 35%),
    linear-gradient(160deg, #06070c 0%, #0a0d16 55%, #090c14 100%);
}

.container {
  position: relative;
  z-index: 1;
  width: min(var(--max-w), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 4.5rem 0 2.25rem;
  animation: fade-up 0.6s ease both;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.hero-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.hero-logo {
  height: 280px;
  width: auto;
  object-fit: contain;
  display: block;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 1.5rem;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.lead-secondary {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-card--active {
  border-color: var(--accent);
}

.project-card--dev {
  border-color: #3a4a60;
}

.project-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
  width: fit-content;
}

.project-card--active .project-card__badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061019;
}

.project-card--dev .project-card__badge {
  background: rgba(255,255,255,0.07);
  color: var(--muted);
  border: 1px solid var(--border);
}

.project-card h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.project-card__link {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.project-card__link:hover {
  text-decoration: underline;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.28rem;
}

.lang-label {
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0 0.35rem;
}

.lang-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 0.76rem;
  border-radius: 999px;
  padding: 0.34rem 0.56rem;
  cursor: pointer;
}

.lang-btn.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061019;
}

.lang-select {
  border: 1px solid var(--border);
  background: #0d111a;
  color: var(--text);
  border-radius: 999px;
  font-size: 0.76rem;
  padding: 0.34rem 0.56rem;
  min-width: 94px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.08;
}

.lead {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.72rem 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061019;
  box-shadow: 0 12px 26px rgba(96, 165, 250, 0.28);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.card,
.section,
.cta-panel {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(8px);
  border-radius: 16px;
}

.card {
  padding: 1rem;
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  margin-top: 1rem;
  padding: 1rem;
  animation: fade-up 0.5s ease both;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.roadmap-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

.roadmap-card h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.roadmap-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.roadmap-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.roadmap-card--now .roadmap-label {
  background: rgba(94, 234, 212, 0.2);
  color: var(--accent);
}

.roadmap-card--next .roadmap-label {
  background: rgba(96, 165, 250, 0.18);
  color: #9ec7ff;
}

.roadmap-card--future .roadmap-label {
  background: rgba(255, 255, 255, 0.12);
  color: #d4ddf5;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-head {
  margin-bottom: 0.75rem;
}

.section-head h3 {
  margin: 0;
}

.section-head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.service-grid,
.case-grid,
.pricing-grid,
.media-kit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

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

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

.service-card,
.case-card,
.pricing-card,
.media-kit-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card h4,
.case-card h4,
.pricing-card h4,
.media-kit-card strong {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.service-card p,
.case-card p,
.pricing-card p,
.media-kit-card span {
  margin: 0.4rem 0;
  color: var(--muted);
  line-height: 1.5;
}

.service-card a {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.pricing-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.pricing-price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0.2rem 0 0.55rem;
  letter-spacing: -0.01em;
}

.pricing-price--custom {
  font-size: 1.1rem;
  color: var(--muted);
}

.pricing-card ul {
  margin: 0.5rem 0 0.85rem;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}

.pricing-card li {
  margin-bottom: 0.3rem;
}

.pricing-cta {
  display: block;
  text-align: center;
  margin-top: auto;
}

.pricing-card.is-highlighted {
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.25) inset;
}

.pricing-card--custom {
  border-color: rgba(228, 177, 52, 0.35);
}

.pricing-support-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.015);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
}

.pricing-support-note strong {
  font-size: 0.97rem;
  color: var(--fg);
  flex: 1 1 auto;
  min-width: 200px;
}

.pricing-support-note p {
  color: var(--muted);
  font-size: 0.87rem;
  margin: 0;
  flex: 2 1 280px;
}

.pricing-support-note .btn {
  flex: 0 0 auto;
}

.inline-cta {
  margin-top: 0.8rem;
  margin-bottom: 0.25rem;
}

.about-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.about-values span,
.trust-badges span {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.slider {
  margin-top: 0.75rem;
}

.slide {
  display: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem;
}

.slide.is-active {
  display: block;
}

.showcase-slide {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.08), rgba(96, 165, 250, 0.08));
  padding: 1rem;
}

.showcase-slide--broadcast,
.showcase-slide--discord,
.showcase-slide--ops {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background:
    linear-gradient(90deg, rgba(5, 8, 16, 0.98) 0%, rgba(5, 8, 16, 0.9) 42%, rgba(5, 8, 16, 0.42) 66%, rgba(5, 8, 16, 0.14) 100%),
    linear-gradient(135deg, rgba(94, 234, 212, 0.08), rgba(96, 165, 250, 0.08));
}

.showcase-slide--broadcast::before,
.showcase-slide--discord::before,
.showcase-slide--ops::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 16, 0.98) 0%, rgba(5, 8, 16, 0.7) 28%, rgba(5, 8, 16, 0.18) 56%, rgba(5, 8, 16, 0) 78%);
  z-index: 2;
  pointer-events: none;
}

.showcase-copy {
  position: relative;
  z-index: 3;
  max-width: min(52%, 34rem);
}

.showcase-collage {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.96;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.showcase-collage__single {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.04) saturate(1.02) contrast(1.02);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0.18) 92%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0.18) 92%, rgba(0, 0, 0, 0) 100%);
}

.showcase-slide h4 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.showcase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.showcase-stat {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(96, 165, 250, 0.4);
  background: rgba(96, 165, 250, 0.08);
  color: #b8d8ff;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.showcase-points {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.showcase-points li {
  margin-bottom: 0.32rem;
}

.slide p {
  margin: 0.5rem 0 0;
  color: var(--text);
  line-height: 1.6;
}

.brand-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  background: rgba(94, 234, 212, 0.08);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-weight: 700;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.quote-role {
  color: var(--muted);
  font-size: 0.92rem;
}

.slider-controls {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.45rem;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.dot-btn.is-active {
  background: var(--accent);
  border-color: rgba(94, 234, 212, 0.9);
}

.faq-section details {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.5rem;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-section details p {
  color: var(--muted);
  margin: 0.45rem 0 0;
}

.media-kit-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.media-kit-card:hover {
  border-color: rgba(94, 234, 212, 0.6);
}

.cta-panel {
  margin-top: 1rem;
  padding: 1rem;
}

.cta-panel h3 {
  margin: 0 0 0.45rem;
}

.cta-panel p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  padding: 1.2rem 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  display: grid;
  gap: 0.45rem;
}

.company-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
}

.admin-page .hero {
  padding-top: 3rem;
}

.admin-lock {
  max-width: 760px;
  margin: 1rem auto 0;
}

.admin-access-form,
.admin-note-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.admin-input {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  font-size: 0.95rem;
}

.admin-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.admin-error {
  color: #fca5a5;
  margin: 0.8rem 0 0;
}

.admin-last-login {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-kpi-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.8rem 0.9rem;
}

.admin-kpi-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-kpi-value {
  margin: 0.3rem 0 0;
  font-size: 1.6rem;
  font-weight: 800;
}

.admin-checklist {
  display: grid;
  gap: 0.55rem;
}

.admin-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.62rem 0.74rem;
  background: rgba(255, 255, 255, 0.02);
}

.admin-checklist-item input {
  width: 16px;
  height: 16px;
}

.admin-note-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.admin-top-pages {
  margin-top: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.8rem;
}

.admin-analytics-source {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-trend {
  margin-top: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.8rem;
}

.admin-trend h4 {
  margin: 0 0 0.6rem;
}

.admin-trend-list {
  display: grid;
  gap: 0.38rem;
}

.admin-trend-row {
  display: grid;
  grid-template-columns: 92px 1fr 48px;
  align-items: center;
  gap: 0.55rem;
}

.admin-trend-date {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-trend-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.admin-trend-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.admin-trend-count {
  text-align: right;
  color: var(--text);
  font-size: 0.82rem;
}

.admin-top-pages h4 {
  margin: 0 0 0.6rem;
}

.admin-top-pages-list {
  display: grid;
  gap: 0.45rem;
}

.admin-top-page-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
}

.admin-top-page-path {
  color: var(--text);
  overflow-wrap: anywhere;
}

.admin-top-page-count {
  color: var(--accent);
  font-weight: 700;
}

.admin-note {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}

.admin-note__meta {
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 0.3rem;
}

.admin-note__text {
  margin: 0 0 0.55rem;
  white-space: pre-wrap;
}

.admin-note__remove {
  padding: 0.42rem 0.65rem;
}

.admin-notes-empty {
  color: var(--muted);
  margin: 0.2rem 0 0;
}

@media (max-width: 1200px) {
  .pricing-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .card-grid,
  .roadmap-grid,
  .service-grid,
  .case-grid,
  .pricing-grid,
  .pricing-grid--4,
  .media-kit-grid {
    grid-template-columns: 1fr;
  }

  .showcase-slide--broadcast {
    min-height: auto;
  }

  .showcase-slide--broadcast::before {
    background: linear-gradient(180deg, rgba(5, 8, 16, 0.96) 0%, rgba(5, 8, 16, 0.76) 44%, rgba(5, 8, 16, 0.14) 100%);
  }

  .showcase-copy {
    max-width: 100%;
  }

  .showcase-collage {
    position: relative;
    inset: auto;
    width: 100%;
    height: 220px;
    margin-top: 1rem;
  }

  .showcase-collage__single {
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0.16) 92%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0.16) 92%, rgba(0, 0, 0, 0) 100%);
  }

  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .hero-logo {
    height: 140px;
  }
}
