.neva-homepage {
  --neva-bg: #f6f8fc;
  --neva-surface: #ffffff;
  --neva-surface-alt: #f2f5fb;
  --neva-text: #111827;
  --neva-text-soft: #4b5563;
  --neva-heading: #0b1220;
  --neva-border: rgba(148, 163, 184, 0.3);
  --neva-shadow-soft: 0 18px 36px rgba(15, 23, 42, 0.08);
  --neva-shadow-card: 0 20px 42px rgba(15, 23, 42, 0.09);
  --neva-primary: #1d4ed8;
  --neva-primary-strong: #1e40af;
  color: var(--neva-text);
  background:
    radial-gradient(circle at 12% 0%, #e8efff 0%, rgba(232, 239, 255, 0) 42%),
    linear-gradient(180deg, var(--neva-bg) 0%, #ffffff 35%, #ffffff 100%);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.005em;
}

.neva-container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.neva-section {
  position: relative;
  padding: 120px 0;
  background: #ffffff;
}

section {
  padding: 120px 0;
}

.neva-homepage .neva-section:nth-of-type(even):not(.neva-section--cta):not(.neva-section--alt):not(.neva-section--privacy):not(.neva-section--enterprise) {
  background: #f7f9fc;
}

.neva-section--alt {
  background: linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
}

.neva-section--privacy {
  background: linear-gradient(180deg, #f7faff 0%, #eef3ff 100%);
}

.neva-section--enterprise {
  background:
    linear-gradient(180deg, rgba(249, 251, 255, 0.86), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.07), rgba(148, 163, 184, 0.07) 1px, transparent 1px, transparent 72px);
}

.neva-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  color: #fff;
  background: #080c18;
}

.neva-hero__media,
.neva-hero__video,
.neva-hero__fallback,
.neva-hero__overlay {
  position: absolute;
  inset: 0;
}

.neva-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neva-hero__fallback {
  background-position: center;
  background-size: cover;
  transform: scale(1.06);
}

.neva-hero__overlay {
  background: linear-gradient(135deg, rgba(8, 12, 24, 0.92) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(30, 41, 59, 0.65) 100%);
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(8, 12, 24, 0.92), rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.72));
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.15), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(56, 189, 248, 0.15), transparent 60%);
  animation: heroGradient 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGradient {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-20px, -20px);
  }
}

.neva-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  margin-right: auto;
  padding: clamp(5.5rem, 8.5vw, 8rem) 0;
  text-align: left;
}

.hero-content {
  max-width: 620px;
}

.neva-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.77rem;
  font-weight: 600;
  opacity: 0.9;
}

.neva-kicker--dark {
  color: #334155;
}

.neva-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 13ch;
}

.hero-title {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.neva-hero__subheading,
.neva-lead,
.section-subtitle {
  margin-top: 0;
  font-size: clamp(1.12rem, 2.3vw, 1.36rem);
  color: var(--neva-text-soft);
  max-width: 66ch;
}

.neva-hero__subheading {
  margin-top: 16px;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.9;
  max-width: 34ch;
}

.hero-subtitle {
  font-size: 22px;
  opacity: 0.9;
  margin-top: 16px;
}

.neva-homepage h2,
.section-title {
  margin: 0 0 1.8rem;
  color: var(--neva-heading);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.022em;
  max-width: 20ch;
}

.section-title {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: #475569;
  max-width: 620px;
}

.neva-homepage h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
}

.neva-copy,
.neva-homepage p {
  max-width: 650px;
}

.neva-homepage p {
  margin: 0 0 1.1rem;
  font-size: 18px;
  line-height: 1.7;
  color: #475569;
}

.neva-homepage small,
.neva-homepage .neva-kicker,
.neva-homepage .neva-trust-line {
  font-size: 15px;
}

.neva-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.2rem 0 1.4rem;
}

.neva-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 54px;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.neva-btn--primary,
.button-primary {
  background: linear-gradient(135deg, #4f6cff, #7b5cff);
  color: #fff;
  border-radius: 999px;
  padding: 16px 32px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(80, 90, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.neva-btn--ghost {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.neva-homepage .neva-section:not(.neva-section--cta) .neva-btn--ghost {
  border-color: rgba(30, 41, 59, 0.28);
  color: #0f172a;
  background: transparent;
}

.neva-homepage .neva-btn:hover,
.neva-homepage .neva-btn:focus-visible {
  transform: translateY(-2px);
}

.neva-homepage .neva-btn--primary:hover,
.neva-homepage .neva-btn--primary:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(80, 90, 255, 0.45);
}

.neva-btn--ghost {
  border-radius: 999px;
  padding: 16px 32px;
}

.neva-homepage .neva-btn--ghost:hover,
.neva-homepage .neva-btn--ghost:focus-visible,
.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.neva-homepage a:focus-visible,
.neva-homepage button:focus-visible,
.neva-homepage .neva-btn:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.4);
  outline-offset: 3px;
}

.neva-trust-line {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.86);
}

.neva-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.6rem);
}

.neva-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}


.neva-split .neva-grid {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.neva-split .neva-text {
  max-width: 560px;
}

.neva-media img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  object-fit: cover;
  display: block;
}

.neva-panel,
.neva-card,
.neva-cta-box {
  border-radius: 20px;
  padding: clamp(1.3rem, 2.5vw, 2.05rem);
  border: 1px solid var(--neva-border);
  box-shadow: var(--neva-shadow-soft);
  background: var(--neva-surface);
}

.neva-panel--media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 24px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.neva-panel--media::before,
.neva-panel--media::after {
  content: "";
  position: absolute;
  inset: 0;
}

.neva-panel--media::before {
  background-image:
    linear-gradient(140deg, rgba(148, 197, 255, 0.22), rgba(15, 23, 42, 0.18)),
    var(--panel-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  opacity: 0.42;
  z-index: 0;
}

.neva-panel--media::after {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.65));
  z-index: 2;
  pointer-events: none;
}

.panel-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  position: relative;
}

.panel-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.65));
}


.neva-panel--moments {
  border-radius: 20px;
  padding: clamp(1.3rem, 2.5vw, 2.05rem);
  overflow: hidden;
  position: relative;
  background: transparent;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  align-self: center;
}

.neva-panel__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.neva-panel--moments::before {
  content: none;
}

.neva-panel--moments::after {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%);
}

.neva-panel__content {
  position: relative;
  z-index: 3;
}


.panel-image,
.card-feature {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.panel-image:hover,
.panel-image:focus-within,
.card-feature:hover,
.card-feature:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

.neva-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.neva-cards--safety {
  margin: 2.2rem 0 2.8rem;
  gap: 1.25rem;
}

.neva-card {
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--neva-shadow-card);
}

.neva-card h3,
.neva-card p:last-child {
  margin-bottom: 0;
}

.neva-card--feature {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.neva-card--feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(99, 102, 241, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.neva-card--feature:hover::before,
.neva-card--feature:focus-within::before {
  opacity: 1;
}

.neva-card--feature h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 0.85rem;
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
}

.neva-card--feature h3 a {
  position: relative;
  z-index: 2;
  color: inherit;
}

.neva-card--feature p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 16px;
  color: #475569;
}

.neva-card__icon-placeholder {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
  border: 1px solid #dbe4ef;
}

.neva-card__stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 16px;
}

.neva-cards--4up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.neva-cards--5up {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.neva-list {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

.neva-list li + li {
  margin-top: 0.5rem;
}

.neva-list--inline,
.neva-list--chips,
.neva-list--structured {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.neva-list--inline li {
  margin: 0.45rem 0;
}

.neva-list--structured li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0.6rem 0;
}

.neva-list--structured li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2563eb;
}

.neva-list--chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.neva-list--chips li {
  border-radius: 999px;
  padding: 0.52rem 1rem;
  background: #e8eef8;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-weight: 500;
}

.neva-homepage a {
  color: #1d4ed8;
  text-decoration: none;
  text-underline-offset: 0.16em;
}

.neva-homepage a:hover {
  color: #4f6cff;
  text-decoration: underline;
}

.neva-card__stretched-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: -3px;
}

.neva-section--cta {
  background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

.neva-cta-box {
  background:
    radial-gradient(circle at 18% 8%, rgba(59, 130, 246, 0.24), transparent 48%),
    linear-gradient(140deg, #0f172a, #1e293b);
  color: #fff;
  border-color: rgba(148, 163, 184, 0.38);
}

.neva-cta-box h2,
.neva-cta-box p,
.neva-cta-box a {
  color: #fff;
}

.neva-cta-box .neva-btn--ghost {
  border-color: rgba(255, 255, 255, 0.58);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-overlay::after {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .neva-cards--5up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}




@media (max-width: 900px) {
  section {
    padding: 80px 0;
  }

  .neva-split .neva-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .neva-split .neva-text {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .neva-cards--4up,
  .neva-cards--5up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .neva-hero h1 {
    max-width: 16ch;
  }
}

@media (max-width: 767px) {
  .neva-grid--2col,
  .neva-cards--4up,
  .neva-cards--5up {
    grid-template-columns: 1fr;
  }

  .neva-section {
    padding: 80px 0;
  }

  .neva-homepage p {
    font-size: 17px;
  }

  .neva-hero {
    min-height: 90vh;
  }

  .neva-hero__content {
    max-width: 100%;
    margin: 0 auto;
    padding: 4.8rem 0 4rem;
    text-align: center;
  }

  .neva-homepage h2,
.section-title {
    max-width: 100%;
  }

  .neva-actions {
    gap: 0.75rem;
  }

  .neva-btn {
    width: 100%;
    min-height: 52px;
    padding: 0.95rem 1.35rem;
  }

  .neva-actions {
    justify-content: center;
  }

  .neva-trust-line {
    text-align: center;
  }

  .neva-panel--media {
    min-height: 250px;
  }

  .neva-panel--moments {
    align-self: stretch;
  }

  .neva-homepage h2,
.section-title {
    margin-bottom: 1.35rem;
  }
}
