@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --brand: #f7faff;
  --bg: #080b11;
  --bg-soft: #111726;
  --card: #121826;
  --card-2: #0f1522;
  --muted: #a3adc1;
  --line: rgba(236, 244, 255, 0.1);
  --studio-accent: #72a8ff;
  --nightpicks-accent: #970a0a;
  --abundance-accent: #2a8a6a;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.38);
}

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

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #e8edf8;
  background:
    radial-gradient(900px 500px at 8% -8%, rgba(114, 168, 255, 0.2), transparent 62%),
    radial-gradient(700px 460px at 95% 2%, rgba(42, 138, 106, 0.14), transparent 62%),
    linear-gradient(180deg, var(--bg), #090d15 45%, #070a11 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.01em;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:hover {
  color: #cddfff;
}

.muted {
  color: var(--muted);
}

.navbar {
  background: rgba(8, 11, 17, 0.75) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(236, 244, 255, 0.06);
}

.navbar .nav-link {
  color: #d5deed;
  border-radius: 0.5rem;
  padding: 0.45rem 0.7rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero,
.app-hero {
  padding: 7.2rem 0 3.5rem;
}

.studio-hero {
  padding: 8.5rem 0 4.2rem;
}

.studio-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #b8d2ff;
  font-weight: 700;
}

.btn-accent {
  --bs-btn-bg: #f1f6ff;
  --bs-btn-border-color: #f1f6ff;
  --bs-btn-color: #0a1222;
  --bs-btn-hover-bg: #72a8ff;
  --bs-btn-hover-border-color: #72a8ff;
  --bs-btn-hover-color: #050912;
}

.btn-ghost {
  --bs-btn-color: #e8edf8;
  --bs-btn-border-color: rgba(232, 237, 248, 0.25);
  --bs-btn-hover-bg: rgba(232, 237, 248, 0.08);
  --bs-btn-hover-border-color: rgba(232, 237, 248, 0.35);
}

.card-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.38rem 0.78rem;
  font-size: 0.82rem;
  color: #d7e2f6;
  background: rgba(255, 255, 255, 0.03);
}

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

.app-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)), var(--card-2);
  border: 1px solid rgba(236, 244, 255, 0.12);
  border-radius: 1rem;
  padding: 1.2rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(236, 244, 255, 0.24);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.app-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(236, 244, 255, 0.15);
  object-fit: cover;
  background: #0e131f;
  flex-shrink: 0;
}

.app-card-copy {
  margin-top: 1rem;
  flex: 1;
}

.app-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.app-accent {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 244, 255, 0.3);
  color: #d7e2f6;
  font-size: 0.8rem;
}

.device {
  width: 340px;
  max-width: 90vw;
  aspect-ratio: 9 / 19.5;
  border: 8px solid #6b7078;
  border-radius: 44px;
  background: #0b0c0f;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.device .screen {
  position: absolute;
  inset: 6px;
  border-radius: 36px;
  background: #000;
  overflow: hidden;
}

.device .screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device::before {
  content: "";
  position: absolute;
  top: 2.6%;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 5.6%;
  background: #000;
  border-radius: 9999px;
  z-index: 2;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento > * {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--card);
  border: 1px solid rgba(236, 244, 255, 0.1);
  border-radius: 1rem;
  padding: 1.25rem;
}

.bento .span-6 {
  grid-column: span 6;
}

.bento .span-4 {
  grid-column: span 4;
}

.bento .span-8 {
  grid-column: span 8;
}

.bento .span-12 {
  grid-column: span 12;
}

.fade-in {
  animation: fadeInUp 520ms ease-out both;
}

.delay-1 {
  animation-delay: 90ms;
}

.delay-2 {
  animation-delay: 180ms;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .delay-1,
  .delay-2,
  .app-card {
    animation: none;
    transition: none;
  }
}

@media (max-width: 991px) {
  .studio-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento .span-6,
  .bento .span-4,
  .bento .span-8,
  .bento .span-12 {
    grid-column: span 6;
  }
}

footer {
  border-top: 1px solid rgba(236, 244, 255, 0.09);
}
