:root {
  --nw-bg: linear-gradient(135deg, #003b95 0%, #0065d8 50%, #31a5ff 100%);
  --nw-dark: #0b1f36;
  --nw-mint: #99f3dc;
  --nw-text: #0f172a;
  --nw-muted: #6b7280;
  --nw-card: #ffffff;
  --nw-card-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
  --nw-border: rgba(255, 255, 255, 0.2);
}

body.nw-landing {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f8fafc;
  color: var(--nw-text);
  line-height: 1.6;
}

.nw-header {
  background: var(--nw-bg);
  color: #ffffff;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.nw-header::after {
  content: "";
  position: absolute;
  inset: 45% -35% -20%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 55%);
  transform: rotate(-8deg);
}

.navbar {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  z-index: 1;
  position: relative;
}

.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.navbar-brand .brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--nw-mint);
  display: inline-block;
  box-shadow: 0 0 0 6px rgba(153, 243, 220, 0.2);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

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

.navbar .subscribe-pill {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.btn-theme {
  background: #ffffff;
  color: var(--nw-dark);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  border: none;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.18);
}

.btn-theme:hover {
  color: var(--nw-dark);
  background: var(--nw-mint);
}

.nw-hero {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
}

.eyebrow {
  letter-spacing: 0.3em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.hero-mockup {
  border-radius: 1.5rem;
  overflow: hidden;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--nw-dark);
  background: rgba(49, 165, 255, 0.15);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
}

.feature-card {
  background: var(--nw-card);
  padding: 2.25rem;
  border-radius: 1.5rem;
  box-shadow: var(--nw-card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(49, 165, 255, 0.15);
  display: grid;
  place-items: center;
  color: #0065d8;
  font-size: 1.35rem;
}

.icon-bullet {
  color: #0065d8;
  font-size: 1.15rem;
  margin-right: 0.75rem;
  margin-top: 0.2rem;
}

.gallery-stack {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.gallery-primary {
  width: 100%;
  border: 14px solid #0f172a;
  border-radius: 1.5rem;
}

.gallery-secondary {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 55%;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--nw-card);
  border: 10px solid #ffffff;
}

.metric-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}

.text-theme {
  color: #0065d8;
}

.subscribe-form input {
  border-radius: 999px;
  padding-left: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow: none;
}

.subscribe-form input:focus {
  border-color: #0065d8;
  box-shadow: 0 0 0 0.15rem rgba(49, 165, 255, 0.2);
}

.subscribe-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--nw-dark);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2000;
}

.subscribe-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.nw-footer {
  background: #0b1729;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nw-footer .brand-dot {
  background: var(--nw-mint);
  box-shadow: 0 0 0 6px rgba(153, 243, 220, 0.15);
}

.footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.footer-link:hover {
  color: #ffffff;
}

.link-underline {
  color: #0065d8;
  text-decoration: underline;
}

.link-underline:hover {
  color: #004f99;
}

@media (max-width: 991px) {
  .navbar-nav .nav-link,
  .navbar-nav .btn {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .gallery-secondary {
    display: none;
  }

  .nw-header {
    padding-bottom: 4rem;
  }
}

@media (max-width: 575px) {
  .feature-card,
  .metric-card {
    padding: 2rem 1.5rem;
  }

  .nw-header::after {
    inset: 40% -50% -30%;
  }

  .subscribe-toast {
    left: 1rem;
    right: 1rem;
  }
}
