:root {
  --bg: #07080d;
  --bg-2: #0f1118;
  --surface: rgba(18, 21, 31, 0.78);
  --surface-strong: #12141d;
  --card: #151925;
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-soft: #c7cbd7;
  --text-muted: #8f95a8;
  --accent: #f30d6d;
  --accent-2: #b90f73;
  --accent-soft: rgba(243, 13, 109, 0.14);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container-max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 18%, rgba(70, 47, 132, 0.22), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(243, 13, 109, 0.18), transparent 20%),
    linear-gradient(180deg, #07080d 0%, #090b11 32%, #07080d 100%);
  overflow-x: hidden;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255,255,255,0.4) 0.6px, transparent 0.6px);
  background-size: 14px 14px;
}

.bg-blur {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: -2;
}

.blur-top {
  width: 320px;
  height: 320px;
  right: -70px;
  top: 120px;
  background: rgba(243, 13, 109, 0.2);
}

.blur-bottom {
  width: 280px;
  height: 280px;
  left: -80px;
  bottom: 60px;
  background: rgba(98, 74, 217, 0.18);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
.container { max-width: var(--container-max); }

.section-pad { padding: 110px 0; }
.section-surface {
  background: linear-gradient(180deg, rgba(17, 20, 28, 0.88), rgba(12, 14, 21, 0.82));
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff5c9c;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

h1, h2, h3, h4, p { margin-top: 0; }
h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
}

p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1rem;
}

.text-soft { color: var(--text-soft); }
.subtitle {
  color: #ff71a9;
  font-weight: 600;
  font-size: 1.06rem;
}

.mayven-nav {
  background: rgba(7, 8, 13, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.mayven-nav.nav-scrolled {
  background: rgba(8, 10, 15, 0.92);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.brand-logo {
  height: 34px;
  width: auto;
}

.navbar-toggler {
  border-color: rgba(255,255,255,.16);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 .18rem rgba(243, 13, 109, .22);
}
.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  color: rgba(255,255,255,.75) !important;
  font-weight: 500;
  font-size: .98rem;
  padding: .7rem .95rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: .9rem 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-mayven {
  color: white;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 32px rgba(243, 13, 109, .24);
}

.btn-mayven:hover { color: white; }

.btn-outline-mayven,
.btn-outline-light {
  color: white;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.02);
}

.btn-outline-mayven:hover,
.btn-outline-light:hover {
  color: white;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.05);
}

.hero {
  padding: 140px 0 90px;
}

.hero-shell {
  position: relative;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 5.15rem);
  line-height: .98;
  letter-spacing: -0.055em;
  max-width: 780px;
}

.hero-title span {
  background: linear-gradient(90deg, #ffffff 0%, #ff8eb9 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  max-width: 720px;
}

.hero-support {
  font-size: 1rem;
  max-width: 690px;
  color: var(--text-muted);
}

.metric-card,
.signal-card,
.module-card,
.benefit-card,
.persona-card,
.contact-form,
.statement-card,
.mini-feature,
.integration-chip {
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(22, 25, 36, 0.94), rgba(13, 15, 23, 0.94));
  box-shadow: var(--shadow);
}

.metric-card {
  border-radius: var(--radius-md);
  padding: 1.15rem 1.15rem;
  min-height: 110px;
}

.metric-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: .4rem;
}

.metric-card span {
  color: var(--text-muted);
  font-size: .95rem;
}

.hero-panel {
  position: relative;
  border-radius: 32px;
  padding: 1.3rem;
  background: linear-gradient(160deg, rgba(25, 28, 40, .96), rgba(11, 13, 19, .98));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 28px 70px rgba(0,0,0,.42);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(243,13,109,.38), rgba(255,255,255,.03), rgba(92,84,255,.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.hero-panel-head h2 {
  font-size: 1.7rem;
  margin-bottom: .5rem;
}

.hero-panel-head p {
  font-size: .98rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.panel-pill {
  display: inline-flex;
  padding: .38rem .7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ff72aa;
  font-weight: 700;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.cockpit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1.1rem;
}

.cockpit-card {
  padding: 1rem;
  border-radius: 18px;
  min-height: 132px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}

.cockpit-card.accent {
  background: linear-gradient(160deg, rgba(243, 13, 109, .18), rgba(255,255,255,.04));
  border-color: rgba(243, 13, 109, .3);
}

.cockpit-card small {
  display: inline-block;
  color: #ff81b0;
  font-weight: 600;
  margin-bottom: .55rem;
}

.cockpit-card h3 {
  font-size: 1rem;
  line-height: 1.45;
  margin: 0;
  color: #fff;
}

.hero-flow,
.mini-flow {
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-flow {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero-flow span,
.mini-flow span,
.integration-chip,
.persona-grid span,
.journey-stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-size: .92rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}



.hero-flow i,
.mini-flow i,
.flow-rail i  {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(243,13,109,.2), rgba(243,13,109,1));
  display: inline-block;
}

.section-intro {
  margin-bottom: 2rem;
}

.section-intro.narrow {
  max-width: 820px;
}

.signal-card {
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.15rem;
  min-height: 100%;
  color: var(--text-soft);
}

.statement-card {
  border-radius: 24px;
  padding: 1.35rem 1.45rem;
  border-left: 3px solid var(--accent);
}

.statement-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .35rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 2rem;
}

.journey-column {
  position: relative;
  border-radius: 24px;
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(17,19,28,.92), rgba(11,13,19,.92));
  box-shadow: var(--shadow);
}

.journey-label {
  margin-bottom: .95rem;
  color: #ff79ad;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
}

.journey-stack {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.journey-stack span {
  justify-content: flex-start;
  padding: .82rem 1rem;
}

.journey-connector {
  position: relative;
  display: none;
}

.journey-connector::before {
  content: "";
  position: absolute;
  inset: 50% -10px auto -10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(243,13,109,.2), rgba(243,13,109,1), rgba(243,13,109,.2));
}

.journey-note {
  color: var(--text-muted);
  margin-top: 1.5rem;
  max-width: 860px;
}


.module-card {
  border-radius: 24px;
  padding: 1.35rem;
  height: 100%;
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}

.module-card:hover,
.benefit-card:hover,
.signal-card:hover,
.mini-feature:hover,
.integration-chip:hover,
.persona-grid span:hover {
  transform: translateY(-4px);
  border-color: rgba(243,13,109,.35);
}

.module-card.featured {
  background: linear-gradient(180deg, rgba(243,13,109,.12), rgba(17,18,27,.96));
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1rem;
}

.module-top span:first-child {
  font-size: 1.08rem;
  font-weight: 700;
}

.module-badge {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #ff7aac;
  background: rgba(243,13,109,.12);
  border: 1px solid rgba(243,13,109,.22);
  border-radius: 999px;
  padding: .35rem .55rem;
}

.module-card p {
  color: var(--text-soft);
  font-size: .96rem;
  margin-bottom: 1rem;
}

.module-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-card li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-muted);
  margin-bottom: .55rem;
  font-size: .93rem;
}

.module-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.module-highlight {
  padding: 1.4rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 22, 32, .96), rgba(12, 14, 20, .96));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}

.mini-flow {
  margin-bottom: 1rem;
}

.mini-feature {
  border-radius: 16px;
  padding: 1rem;
  min-height: 100%;
  color: var(--text-soft);
}

.integration-wrap,
.persona-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.integration-chip {
  border-radius: 999px;
  box-shadow: none;
}

.benefit-card,
.persona-card {
  border-radius: 24px;
  padding: 1.4rem;
  height: 100%;
}

.benefit-card h3,
.persona-card h2 {
  font-size: 1.18rem;
  margin-bottom: .65rem;
}

.adoption-list {
  display: grid;
  gap: 1rem;
}

.adoption-list > div {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}

.cta-band {
  background:
    radial-gradient(circle at 80% 10%, rgba(243,13,109,.18), transparent 24%),
    linear-gradient(180deg, rgba(18,20,30,.96), rgba(11,13,19,.96));
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.cta-copy {
  max-width: 760px;
}

.contact-form {
  padding: 1.5rem;
  border-radius: 24px;
}

.form-label {
  color: var(--text-soft);
  font-size: .95rem;
  margin-bottom: .45rem;
}

.form-control {
  background: rgba(9, 11, 17, 0.95);
  border: 1px solid rgba(255,255,255,.12);
  color: white;
  border-radius: 14px;
  padding: .9rem 1rem;
}

.form-control:focus {
  background: rgba(9, 11, 17, 1);
  color: white;
  border-color: rgba(243,13,109,.48);
  box-shadow: 0 0 0 .18rem rgba(243,13,109,.16);
}

.footer {
  padding: 2.1rem 0 2.6rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(5, 6, 10, 0.92);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer-logo {
  height: 28px;
  margin-bottom: 1rem;
}

.footer p,
.footer small {
  color: var(--text-muted);
  max-width: 480px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1rem 1.4rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

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

.footer-links a:hover {
  color: white;
}

@media (min-width: 992px) {
  .journey-grid {
    grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  }
  .journey-connector {
    display: block;
  }
}

@media (max-width: 1199px) {
  .hero-title { max-width: 100%; }
  .feature-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .section-pad { padding: 84px 0; }
  .hero { padding: 118px 0 70px; }
  .brand-logo { height: 30px; }
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(14,16,23,.95);
    border: 1px solid rgba(255,255,255,.08);
  }
  .hero-orbit {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-orbit::before { display: none; }
  .orbit-card {
    position: static;
    width: 100% !important;
    min-height: auto;
  }
  .journey-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.6rem;
    line-height: 1.02;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-panel,
  .module-highlight,
  .persona-card,
  .contact-form { padding: 1.15rem; }
  .statement-inline {
    padding-left: 1rem;
  }
  .journey-grid,
  .feature-points {
    grid-template-columns: 1fr;
  }
  .flow-rail {
    gap: 8px;
  }
  .flow-rail i { display: none; }
  .footer-links {
    gap: .6rem 1rem;
  }
}
