@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #090607;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.105);
  --text: #fff7f7;
  --muted: #b9a8aa;
  --red: #ff2a2a;
  --ruby: #b60b18;
  --crimson: #e11d2e;
  --ember: #ff6a3d;
  --gold: #f6b45b;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.26);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 42, 42, 0.24), transparent 34%),
    radial-gradient(circle at top right, rgba(246, 180, 91, 0.1), transparent 30%),
    radial-gradient(circle at 50% 38%, rgba(182, 11, 24, 0.12), transparent 28%),
    linear-gradient(180deg, #090607 0%, #13090c 45%, #080506 100%);
  line-height: 1.5;
}

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

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

button,
input {
  font: inherit;
}

.site-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 16px 0 56px;
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(9, 6, 7, 0.7);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.brand,
.nav-links,
.hero-actions,
.filter-row,
.form-row,
.badge-row,
.card-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #12070c;
  box-shadow: 0 0 30px rgba(255, 42, 42, 0.34);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
}

.nav-links {
  gap: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 220ms ease, background 220ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-action,
.primary-button,
.ghost-button,
.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: -0.02em;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.nav-action {
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--ruby));
  box-shadow: 0 16px 40px rgba(255, 42, 42, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  min-height: calc(100vh - 150px);
  gap: 48px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.hero-text,
.featured-copy p {
  max-width: 650px;
  margin-bottom: 30px;
  color: #d4c4c6;
  font-size: 1.13rem;
  font-weight: 500;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.primary-button {
  gap: 10px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--ruby));
  box-shadow: 0 18px 50px rgba(255, 42, 42, 0.28);
}

.ghost-button {
  padding: 0 20px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.nav-action:hover,
.primary-button:hover,
.ghost-button:hover,
.signup-form button:hover,
.app-card:hover,
.intro-grid article:hover,
.stack-item:hover,
.release-list li:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.button-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 680px;
  margin: 0;
}

.hero-stats div,
.intro-grid article,
.app-card,
.stack-item,
.release-panel,
.contact-section,
.site-footer,
.product-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-stats div {
  min-width: 0;
  padding: 18px;
}

.hero-stats dt {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #100809;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
  isolation: isolate;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 6, 7, 0.64), transparent 52%),
    linear-gradient(to top, rgba(9, 6, 7, 0.8), transparent 48%);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
}

.release-chip {
  position: absolute;
  z-index: 2;
  width: 188px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(9, 6, 7, 0.7);
  backdrop-filter: blur(18px);
}

.release-chip span,
.card-topline,
.card-meta,
.stack-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.release-chip strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.release-chip-top {
  top: 24px;
  right: 24px;
}

.release-chip-bottom {
  right: 24px;
  bottom: 24px;
}

.section {
  padding: 92px 0;
}

.featured-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 34px;
}

.featured-copy {
  padding: 20px 0;
}

.featured-copy h2 {
  font-size: clamp(3rem, 8vw, 7rem);
}

.badge-row {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.badge-row span {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #fff0ef;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.84rem;
  font-weight: 800;
}

.product-frame {
  padding: 14px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 42, 42, 0.28), transparent 38%),
    radial-gradient(circle at 88% 20%, rgba(246, 180, 91, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.07);
}

.app-media {
  aspect-ratio: 1024 / 500;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, #17080c, #090607);
}

.app-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  max-width: 860px;
  margin-bottom: 28px;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  border-top: 1px solid var(--border);
}

.intro-grid,
.stack-grid,
.app-grid {
  display: grid;
  gap: 16px;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
}

.intro-grid article,
.stack-item {
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.intro-grid p,
.app-card p,
.stack-item p,
.release-panel p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

.mini-icon,
.catalog-mark {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--ruby), var(--ember));
}

.mini-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 34px;
  border-radius: 16px;
}

.filter-row {
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.filter-button {
  flex: 0 0 auto;
  min-width: 78px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-weight: 800;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.filter-button.active,
.filter-button:hover {
  color: #fff;
  border-color: rgba(255, 42, 42, 0.64);
  background: linear-gradient(135deg, var(--red), var(--ruby));
}

.app-grid.single-app {
  grid-template-columns: minmax(0, 1fr);
}

.app-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 20px;
  min-height: 0;
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.secretvibe-card {
  background:
    linear-gradient(135deg, rgba(255, 42, 42, 0.14), transparent 34%),
    linear-gradient(45deg, rgba(246, 180, 91, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.075);
}

.catalog-mark {
  grid-row: span 5;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(255, 42, 42, 0.28);
}

.app-card h3 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 0.98;
}

.app-card p {
  max-width: 720px;
  font-size: 1.04rem;
}

.card-topline,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.status {
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
}

.status.live {
  background: linear-gradient(135deg, var(--red), var(--ruby));
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  color: #ff8a78;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.card-actions {
  flex-wrap: wrap;
  gap: 18px;
}

.secondary-link {
  color: var(--gold);
}

.app-card.hidden {
  display: none;
}

.release-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 42px;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(255, 42, 42, 0.14), transparent 46%),
    var(--surface);
}

.release-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 4px 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.release-list span {
  grid-row: span 2;
  color: var(--red);
  font-weight: 900;
}

.release-list p {
  margin: 0;
}

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

.stack-item span {
  display: block;
  margin-bottom: 56px;
  color: var(--red);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 30px;
  margin-bottom: 34px;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(255, 42, 42, 0.14), transparent),
    var(--surface);
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.form-row {
  gap: 10px;
}

.signup-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
  outline: none;
}

.signup-form input:focus {
  border-color: rgba(255, 42, 42, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 42, 42, 0.13);
}

.signup-form button {
  min-width: 138px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--ruby));
  cursor: pointer;
}

.form-message {
  min-height: 24px;
  margin: 10px 0 0;
  color: #ff8a78;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  margin: 22px 0 34px;
  padding: 30px;
}

.footer-brand {
  width: fit-content;
  margin-bottom: 12px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #eadadc;
  font-size: 0.9rem;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.045);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .featured-section,
  .intro-band,
  .release-panel,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 470px;
  }

  .intro-grid,
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 22px, 1220px);
  }

  .topbar {
    top: 8px;
    margin-top: 8px;
    margin-bottom: 42px;
  }

  .nav-action {
    display: none;
  }

  h1 {
    font-size: 3.38rem;
    letter-spacing: -0.06em;
  }

  h2 {
    font-size: 2.45rem;
    letter-spacing: -0.045em;
  }

  .hero-stats,
  .intro-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 390px;
  }

  .release-chip {
    width: 154px;
    padding: 12px;
    border-radius: 18px;
  }

  .release-chip-top {
    top: 14px;
    right: 14px;
  }

  .release-chip-bottom {
    right: 14px;
    bottom: 14px;
  }

  .section {
    padding: 64px 0;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .catalog-mark {
    grid-row: auto;
  }

  .release-panel,
  .contact-section,
  .site-footer {
    padding: 24px;
  }

  .release-list li {
    grid-template-columns: 1fr;
  }

  .form-row {
    align-items: stretch;
    flex-direction: column;
  }

  .signup-form button {
    width: 100%;
  }
}
