:root {
  --night: #05060b;
  --ink: #0d101a;
  --accent: #8ef0d5;
  --glow: 0 20px 60px rgba(142, 240, 213, 0.35);
  --soft: rgba(255, 255, 255, 0.75);
  --outline: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(142, 240, 213, 0.08), transparent 30%), var(--night);
  color: #fff;
}

.bg-night {
  background-color: var(--night);
}

.hero-section {
  background: linear-gradient(120deg, rgba(14, 21, 45, 0.95), rgba(7, 9, 18, 0.95));
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--accent);
}

.text-soft {
  color: var(--soft);
}

.btn-primary {
  background: linear-gradient(135deg, #39c6b0, #8ef0d5);
  border: none;
  color: #0a0d16;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  color: #0a0d16;
}

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

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.pulse {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(142, 240, 213, 0.4);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(142, 240, 213, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(142, 240, 213, 0);
  }
}

.pill {
  border: 1px solid var(--outline);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 500;
}

.text-accent {
  color: var(--accent) !important;
}

.phone-stack {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 9 / 19.5;
}

.glass-card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateX(10%) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.glass-card.primary {
  animation: hero-slide 9s ease-in-out infinite;
}

.glass-card.secondary {
  animation: hero-slide 9s ease-in-out infinite 3s;
}

.glass-card.tertiary {
  animation: hero-slide 9s ease-in-out infinite 6s;
}

.glass-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glass-card.primary {
  z-index: 3;
}

.glass-card.secondary {
  z-index: 2;
}

.glass-card.tertiary {
  z-index: 1;
}

.glow-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.glow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 240, 213, 0.35);
  box-shadow: var(--glow);
}

.icon-circle {
  width: 48px;
  height: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 48px;
  background: rgba(142, 240, 213, 0.15);
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.border-glow {
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.story-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
}

.timeline {
  border-left: 1px solid var(--outline);
  padding-left: 1rem;
}

.timeline-item {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.timeline-item .dot {
  position: absolute;
  left: -10px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(142, 240, 213, 0.15);
}

.screenshot-frame {
  border-radius: 18px;
  border: 1px solid var(--outline);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
}

.feature-shot {
  border-radius: 0;
  border: none;
  background: none;
  padding: 0;
  box-shadow: none;
}

.feature-shot img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  display: block;
}

.cta-card {
  background: linear-gradient(135deg, rgba(142, 240, 213, 0.2), rgba(142, 240, 213, 0.08));
  border-radius: 16px;
  border: 1px solid rgba(142, 240, 213, 0.35);
  box-shadow: var(--glow);
}

.gradient-orb {
  position: absolute;
  filter: blur(70px);
  opacity: 0.8;
  z-index: 0;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(142, 240, 213, 0.15);
  top: -80px;
  right: 5%;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: rgba(85, 118, 255, 0.18);
  bottom: -60px;
  left: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.carousel-item img {
  background: #0c0f1a;
}

.screenshot-hero {
  max-width: 100%;
}

.screenshot-hero .carousel-inner,
.screenshot-hero .carousel-item {
  height: auto !important;
}

.screenshot-hero .carousel-item img {
  height: auto !important;
  width: 100%;
  object-fit: contain;
}

@media (max-width: 991px) {
  .screenshot-hero .carousel-item img {
    max-height: 480px;
    min-height: 380px;
  }
}

.soft-band {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(142, 240, 213, 0.08));
  border: 1px solid rgba(142, 240, 213, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.list-check li {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: flex-start;
}

.list-check i {
  margin-top: 0.15rem;
}

.screenshot-mini img {
  object-fit: contain;
  width: 100%;
  height: auto !important;
}

.screenshot-mini {
  height: auto;
}

.screens-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.screenshot-tile img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  background: #0c0f1a;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.5rem;
  column-gap: 1rem;
}

@keyframes hero-slide {
  0% {
    opacity: 0;
    transform: translateX(10%) scale(0.98);
  }
  10%,
  30% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  40% {
    opacity: 0;
    transform: translateX(-6%) scale(0.98);
  }
  100% {
    opacity: 0;
    transform: translateX(-6%) scale(0.98);
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 2rem;
  }

  .phone-stack {
    width: 100%;
    min-height: 480px;
  }
}
