/* Neovega marketing — navy / green brand, angular energy */

:root {
  --nv-navy: #051728;
  --nv-navy-deep: #020d16;
  --nv-navy-elevated: #0a2236;
  --nv-navy-soft: #102a40;
  --nv-ink: #e8eef4;
  --nv-muted: #9bb0c0;
  --nv-green: #4dac1f;
  --nv-green-deep: #3b8a18;
  --nv-green-soft: rgba(77, 172, 31, 0.16);
  --nv-line: rgba(232, 238, 244, 0.12);
  --nv-surface: rgba(10, 34, 54, 0.72);
  --nv-display: "Fraunces", "Times New Roman", serif;
  --nv-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --nv-bevel: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  --nv-bevel-sm: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.marketing {
  margin: 0;
  min-height: 100vh;
  font-family: var(--nv-sans);
  color: var(--nv-ink);
  background: var(--nv-navy);
  -webkit-font-smoothing: antialiased;
}

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* ——— Header ——— */

.landing__header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(5, 23, 40, 0.88);
  border-bottom: 1px solid var(--nv-line);
}

.landing__header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing__brand-link {
  display: inline-flex;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 0.35rem 0.55rem;
  clip-path: var(--nv-bevel-sm);
}

.brand-badge--sm {
  padding: 0.25rem 0.4rem;
}

.brand-badge__img {
  display: block;
  width: auto;
  height: 2.4rem;
  max-width: 7.5rem;
  object-fit: contain;
}

.brand-badge--sm .brand-badge__img {
  height: 1.85rem;
  max-width: 5.75rem;
}

.landing__nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.landing__nav a {
  color: var(--nv-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.landing__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 20%;
  bottom: -0.35rem;
  height: 2px;
  background: var(--nv-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.landing__nav a:hover,
.landing__nav a:focus-visible {
  color: var(--nv-ink);
}

.landing__nav a:hover::after,
.landing__nav a:focus-visible::after {
  transform: scaleX(1);
}

.landing__nav--desktop {
  margin-left: 1rem;
  flex: 1;
}

.landing__nav-mobile {
  display: none;
  margin-left: auto;
}

.landing__nav-toggle {
  list-style: none;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--nv-line);
  background:
    linear-gradient(var(--nv-ink), var(--nv-ink)) center 0.75rem / 1.1rem 2px no-repeat,
    linear-gradient(var(--nv-ink), var(--nv-ink)) center / 1.1rem 2px no-repeat,
    linear-gradient(var(--nv-ink), var(--nv-ink)) center 1.55rem / 1.1rem 2px no-repeat,
    var(--nv-navy-elevated);
  clip-path: var(--nv-bevel-sm);
}

.landing__nav-toggle::-webkit-details-marker {
  display: none;
}

.landing__nav--mobile {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: clamp(1rem, 3vw, 2rem);
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  min-width: 12rem;
  padding: 0.75rem;
  background: var(--nv-navy-elevated);
  border: 1px solid var(--nv-line);
  clip-path: var(--nv-bevel);
}

.landing__nav--mobile a {
  padding: 0.55rem 0.65rem;
}

.landing__header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--nv-line);
  clip-path: var(--nv-bevel-sm);
  overflow: hidden;
}

.lang-toggle__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--nv-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.lang-toggle__btn.is-active {
  background: var(--nv-green-soft);
  color: var(--nv-green);
  box-shadow: inset 0 -2px 0 var(--nv-green);
}

/* ——— Hero ——— */

.landing__hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 46rem);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem);
  overflow: hidden;
}

.landing__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 50% at 85% 20%, rgba(77, 172, 31, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(16, 42, 64, 0.9), transparent 55%),
    linear-gradient(160deg, var(--nv-navy-deep) 0%, var(--nv-navy) 45%, #071b2c 100%);
}

.landing__chevron--hero {
  position: absolute;
  right: -4%;
  top: 8%;
  width: min(48vw, 28rem);
  height: min(70vh, 34rem);
  background: linear-gradient(135deg, rgba(77, 172, 31, 0.28), rgba(77, 172, 31, 0.02));
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
  animation: landing-chevron-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing__hero-content {
  max-width: 42rem;
  animation: landing-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing__eyebrow {
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nv-muted);
}

.landing__motif {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--nv-navy-elevated) 50%, var(--nv-green) 50%);
  clip-path: polygon(0 100%, 45% 0, 100% 0, 55% 100%);
}

.landing__title {
  margin: 0 0 1.25rem;
  font-family: var(--nv-display);
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.landing__lede,
.landing__section-copy {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  color: var(--nv-muted);
}

.landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.landing__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  background: var(--nv-green);
  color: #04120a;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  clip-path: var(--nv-bevel-sm);
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s ease;
}

.landing__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.landing__cta:hover,
.landing__cta:focus-visible {
  background: var(--nv-green-deep);
  color: #fff;
  transform: translateY(-1px);
}

.landing__cta:hover::before,
.landing__cta:focus-visible::before {
  transform: translateX(120%);
}

.landing__cta--ghost {
  background: transparent;
  color: var(--nv-ink);
  box-shadow: inset 0 0 0 1px var(--nv-line);
}

.landing__cta--ghost:hover,
.landing__cta--ghost:focus-visible {
  background: var(--nv-green-soft);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--nv-green);
}

.landing__cta--sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

/* ——— Sections ——— */

.landing__section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem);
}

.landing__section--angled {
  background: var(--nv-navy-elevated);
  clip-path: polygon(0 1.5rem, 100% 0, 100% calc(100% - 1.5rem), 0 100%);
  padding-top: clamp(4.5rem, 9vw, 7rem);
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
}

.landing__section-inner {
  max-width: 72rem;
  margin: 0 auto;
  animation: landing-rise 1s 0.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing__section-title {
  margin: 0 0 1rem;
  font-family: var(--nv-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #fff;
}

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

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

.landing__card {
  background: var(--nv-surface);
  border: 1px solid var(--nv-line);
  padding: 1.5rem 1.35rem;
  clip-path: var(--nv-bevel);
}

.landing__card--compact {
  padding: 1.25rem 1.1rem;
}

.landing__card-title {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.landing__card-body {
  margin: 0;
  color: var(--nv-muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

/* ——— Product / mock ——— */

.landing__product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.landing__mock {
  background: var(--nv-navy-deep);
  border: 1px solid var(--nv-line);
  clip-path: var(--nv-bevel);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.landing__mock-chrome {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--nv-line);
  background: rgba(255, 255, 255, 0.03);
}

.landing__mock-chrome span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(232, 238, 244, 0.25);
}

.landing__mock-chrome span:first-child {
  background: #e35d5d;
}

.landing__mock-chrome span:nth-child(2) {
  background: #e3b55d;
}

.landing__mock-chrome span:nth-child(3) {
  background: var(--nv-green);
}

.landing__mock-body {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  min-height: 14rem;
}

.landing__mock-sidebar {
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--nv-line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.02);
}

.landing__mock-pill {
  height: 0.65rem;
  background: rgba(232, 238, 244, 0.12);
  clip-path: var(--nv-bevel-sm);
}

.landing__mock-pill.is-active {
  background: var(--nv-green);
}

.landing__mock-main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.landing__mock-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--nv-muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.landing__mock-toolbar strong {
  color: #fff;
}

.landing__mock-row {
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid transparent;
  color: var(--nv-ink);
  font-size: 0.92rem;
}

.landing__mock-row:nth-child(2) {
  border-left-color: var(--nv-green);
}

/* ——— Process ——— */

.landing__process {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.landing__process-step {
  position: relative;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--nv-line);
  background: var(--nv-surface);
  clip-path: var(--nv-bevel);
}

.landing__process-num {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--nv-green);
  font-size: 0.85rem;
}

/* ——— Contact ——— */

.landing__contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.landing__contact-details {
  margin: 0;
  padding: 1.5rem;
  background: var(--nv-navy-deep);
  border: 1px solid var(--nv-line);
  clip-path: var(--nv-bevel);
  display: grid;
  gap: 1.15rem;
}

.landing__contact-details dt {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: #fff;
}

.landing__contact-details dd {
  margin: 0;
  color: var(--nv-muted);
  line-height: 1.45;
}

.landing__contact-details a {
  color: var(--nv-green);
  text-decoration: none;
  font-weight: 600;
}

.landing__contact-details a:hover,
.landing__contact-details a:focus-visible {
  text-decoration: underline;
}

/* ——— Footer ——— */

.landing__footer {
  margin-top: auto;
  border-top: 1px solid var(--nv-line);
  background: var(--nv-navy-deep);
  padding: 2rem clamp(1rem, 3vw, 2rem);
}

.landing__footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.landing__footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.landing__footer-nav a {
  color: var(--nv-muted);
  text-decoration: none;
  font-weight: 600;
}

.landing__footer-nav a:hover,
.landing__footer-nav a:focus-visible {
  color: var(--nv-green);
}

.landing__footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--nv-muted);
  font-size: 0.9rem;
}

/* ——— Motion ——— */

@keyframes landing-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landing-chevron-in {
  from {
    opacity: 0;
    transform: translate(2rem, -1.5rem);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing__atmosphere,
  .landing__chevron--hero,
  .landing__hero-content,
  .landing__section-inner,
  .landing__cta::before {
    animation: none;
    transition: none;
  }

  .landing__cta {
    transition: none;
  }
}

/* ——— Responsive ——— */

@media (max-width: 960px) {
  .landing__values,
  .landing__process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing__product,
  .landing__contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .landing__nav--desktop {
    display: none;
  }

  .landing__nav-mobile {
    display: block;
    position: relative;
  }

  .landing__header-actions .landing__cta--sm {
    display: none;
  }

  .landing__pillars,
  .landing__values,
  .landing__process {
    grid-template-columns: 1fr;
  }

  .landing__mock-body {
    grid-template-columns: 1fr;
  }

  .landing__mock-sidebar {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--nv-line);
  }

  .landing__mock-pill {
    width: 2.5rem;
  }
}
