/* NextWave Fusion — premium AI-studio chrome. Montserrat, restrained cyan/violet. */
:root {
  --nwf-bg: #05070d;
  --nwf-bg-2: #0a1020;
  --nwf-ink: #f4f7fb;
  --nwf-muted: #93a3b8;
  --nwf-cyan: #67e8f9;
  --nwf-cyan-2: #22d3ee;
  --nwf-violet: #8b5cf6;
  --nwf-border: rgba(255, 255, 255, 0.1);
  --nwf-card: rgba(10, 16, 30, 0.72);
  --nwf-max: 1120px;
  --nwf-radius: 22px;
  --nwf-font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --nwf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nwf-rise: 0.72s var(--nwf-ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.nwf-body {
  margin: 0;
  font-family: var(--nwf-font);
  background: #05070d;
  color: var(--nwf-ink);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body.nwf-body a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--nwf-cyan); outline-offset: 3px; }

.nwf-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.nwf-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  will-change: transform;
}
.nwf-aurora .a1 {
  width: min(52vw, 620px);
  height: min(52vw, 620px);
  left: -8%;
  top: -12%;
  background: rgba(34, 211, 238, 0.18);
  animation: nwf-drift-a 22s var(--nwf-ease) infinite alternate;
}
.nwf-aurora .a2 {
  width: min(46vw, 540px);
  height: min(46vw, 540px);
  right: -10%;
  top: 8%;
  background: rgba(99, 102, 241, 0.16);
  animation: nwf-drift-b 26s var(--nwf-ease) infinite alternate;
}
.nwf-aurora .a3 {
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  left: 38%;
  bottom: -18%;
  background: rgba(14, 165, 233, 0.1);
  animation: nwf-drift-a 30s var(--nwf-ease) infinite alternate-reverse;
}
.nwf-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 72%);
  opacity: 0.55;
}
.nwf-header,
.nwf-footer,
main { position: relative; z-index: 1; }

.nwf-skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--nwf-cyan);
  color: #042f2e;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}
.nwf-skip:focus { top: 12px; }

.nwf-wrap { width: 100%; max-width: var(--nwf-max); margin: 0 auto; padding: 0 28px; }

.nwf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 13, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--nwf-ease), border-color 0.35s, box-shadow 0.35s;
}
.nwf-header.is-scrolled {
  background: rgba(5, 7, 13, 0.82);
  border-bottom-color: var(--nwf-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.nwf-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.nwf-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.035em;
  flex: none;
}
.nwf-brand small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--nwf-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nwf-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(145deg, #22d3ee, #6366f1 70%);
  box-shadow: 0 10px 24px -10px rgba(99, 102, 241, 0.85);
}
.nwf-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
}
.nwf-links a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--nwf-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nwf-links a:hover,
.nwf-links a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nwf-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nwf-menu-btn {
  display: none;
  border: 1px solid var(--nwf-border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 11px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.nwf-mobile {
  display: none;
  padding: 8px 22px 18px;
  border-top: 1px solid var(--nwf-border);
}
.nwf-mobile a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--nwf-muted);
  font-weight: 700;
}
.nwf-mobile a:hover,
.nwf-mobile a.is-active { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nwf-mobile-sec { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--nwf-border); }
body.nwf-nav-open .nwf-mobile { display: block; }

.nwf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s var(--nwf-ease), box-shadow 0.22s, background 0.22s, border-color 0.22s;
}
.nwf-btn:hover { transform: translateY(-2px); }
.nwf-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #06b6d4, #6366f1 68%);
  box-shadow: 0 16px 40px -16px rgba(99, 102, 241, 0.75);
}
.nwf-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--nwf-ease);
}
.nwf-btn-primary:hover::after { transform: translateX(120%); }
.nwf-btn-ghost {
  color: #e8eef8;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
}
.nwf-btn-ghost:hover { border-color: rgba(103, 232, 249, 0.4); background: rgba(255, 255, 255, 0.07); }
.nwf-btn-invert {
  background: #fff;
  color: #0b1220;
  box-shadow: none;
}
.nwf-btn-invert:hover { box-shadow: 0 14px 30px -16px rgba(255, 255, 255, 0.45); }
.nwf-btn-sm { padding: 9px 15px; font-size: 13px; }

.nwf-hero { padding: 88px 0 56px; text-align: center; }
.nwf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.22);
  color: #99f6e4;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  font-weight: 700;
}
.nwf-hero h1,
.nwf-page h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.048em;
  margin: 22px auto 18px;
  max-width: 880px;
  font-weight: 800;
}
.nwf-grad {
  background: linear-gradient(105deg, #5eead4 0%, #7dd3fc 48%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nwf-lead {
  color: var(--nwf-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.nwf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.nwf-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  margin-top: 36px;
  color: var(--nwf-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.nwf-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nwf-trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #67e8f9;
  box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.5);
  animation: nwf-pulse 2.8s ease-out infinite;
}

.nwf-hero .nwf-eyebrow { animation: nwf-rise var(--nwf-rise) both; }
.nwf-hero h1 { animation: nwf-rise var(--nwf-rise) 0.08s both; }
.nwf-hero .nwf-lead { animation: nwf-rise var(--nwf-rise) 0.16s both; }
.nwf-hero .nwf-actions { animation: nwf-rise var(--nwf-rise) 0.24s both; }
.nwf-hero .nwf-trust { animation: nwf-rise var(--nwf-rise) 0.32s both; }

.nwf-section { padding: 36px 0 80px; }
.nwf-section-head { margin-bottom: 28px; }
.nwf-section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.038em;
  margin: 10px 0 10px;
  font-weight: 800;
}
.nwf-section-head p { color: var(--nwf-muted); margin: 0; max-width: 640px; }
.nwf-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.nwf-grid { display: grid; gap: 18px; }
.nwf-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nwf-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.nwf-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border-radius: var(--nwf-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--nwf-border);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s var(--nwf-ease), border-color 0.35s, box-shadow 0.35s;
}
.nwf-card:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 232, 249, 0.32);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(103, 232, 249, 0.08);
}
.nwf-card h3 { margin: 12px 0 10px; font-size: 1.12rem; letter-spacing: -0.025em; font-weight: 750; }
.nwf-card p { margin: 0 0 16px; color: var(--nwf-muted); font-size: 0.94rem; flex: 1; }
.nwf-emoji { font-size: 28px; line-height: 1; }
.nwf-pill {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.2);
}
.nwf-pill.live { color: #86efac; background: rgba(22, 163, 74, 0.1); border-color: rgba(22, 163, 74, 0.26); }
.nwf-pill.preview { color: #fcd34d; background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.26); }
.nwf-pill.secondary { color: #c4b5fd; background: rgba(124, 58, 237, 0.1); border-color: rgba(124, 58, 237, 0.22); }

.nwf-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}
.nwf-feature .nwf-card { padding: 32px; }
.nwf-cta-band {
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.18), transparent 42%),
    linear-gradient(145deg, #0b1b2e 0%, #122046 52%, #2e1065 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px -28px rgba(15, 23, 42, 0.7);
}
.nwf-cta-band h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -0.03em; }
.nwf-cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 520px; margin: 0 auto 8px; }

.nwf-form { display: grid; gap: 12px; max-width: 480px; }
.nwf-form input,
.nwf-form textarea {
  width: 100%;
  border: 1px solid var(--nwf-border);
  background: rgba(2, 6, 23, 0.55);
  color: #fff;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nwf-form input:focus,
.nwf-form textarea:focus {
  outline: none;
  border-color: rgba(103, 232, 249, 0.45);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}
.nwf-form textarea { min-height: 120px; resize: vertical; }
.nwf-note { color: var(--nwf-muted); font-size: 0.9rem; }
.nwf-lead-ok { color: #86efac; }
.nwf-lead-error { color: #fca5a5; }

.nwf-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--nwf-ease), transform 0.7s var(--nwf-ease);
}
.nwf-reveal.is-in {
  opacity: 1;
  transform: none;
}
.nwf-grid .nwf-card.nwf-reveal:nth-child(1) { transition-delay: 0.02s; }
.nwf-grid .nwf-card.nwf-reveal:nth-child(2) { transition-delay: 0.08s; }
.nwf-grid .nwf-card.nwf-reveal:nth-child(3) { transition-delay: 0.14s; }
.nwf-grid .nwf-card.nwf-reveal:nth-child(4) { transition-delay: 0.2s; }
.nwf-grid .nwf-card.nwf-reveal:nth-child(5) { transition-delay: 0.26s; }
.nwf-grid .nwf-card.nwf-reveal:nth-child(6) { transition-delay: 0.32s; }
.nwf-grid .nwf-card.nwf-reveal:nth-child(7) { transition-delay: 0.38s; }
.nwf-grid .nwf-card.nwf-reveal:nth-child(8) { transition-delay: 0.44s; }
.nwf-grid .nwf-card.nwf-reveal:nth-child(9) { transition-delay: 0.5s; }

.nwf-footer {
  border-top: 1px solid var(--nwf-border);
  padding: 56px 0 32px;
  margin-top: 8px;
  background: rgba(3, 5, 10, 0.55);
}
.nwf-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.nwf-footer h4 {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7d8ea3;
}
.nwf-footer ul { list-style: none; margin: 0; padding: 0; }
.nwf-footer li { margin-bottom: 9px; }
.nwf-footer li a { color: var(--nwf-muted); font-size: 0.93rem; transition: color 0.2s; }
.nwf-footer li a:hover { color: #fff; }
.nwf-foot-desc { color: var(--nwf-muted); margin: 12px 0 0; max-width: 300px; font-size: 0.92rem; }
.nwf-foot-bottom {
  border-top: 1px solid var(--nwf-border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--nwf-muted);
  font-size: 0.82rem;
}
.nwf-quiet { color: #6b7a90; font-size: 0.78rem; }

@keyframes nwf-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes nwf-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(28px, 36px, 0) scale(1.08); }
}
@keyframes nwf-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-32px, 24px, 0) scale(1.06); }
}
@keyframes nwf-pulse {
  0% { box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(103, 232, 249, 0); }
  100% { box-shadow: 0 0 0 0 rgba(103, 232, 249, 0); }
}

@media (max-width: 900px) {
  .nwf-links { display: none; }
  .nwf-menu-btn { display: inline-flex; }
  .nwf-nav-right .nwf-btn { display: none; }
  .nwf-cols-2, .nwf-cols-3, .nwf-feature, .nwf-foot-grid { grid-template-columns: 1fr; }
  .nwf-hero { padding: 52px 0 40px; text-align: left; }
  .nwf-actions, .nwf-trust { justify-content: flex-start; }
  .nwf-hero h1, .nwf-page h1 { font-size: 2.3rem; }
  .nwf-wrap { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nwf-aurora span,
  .nwf-trust span::before,
  .nwf-hero .nwf-eyebrow,
  .nwf-hero h1,
  .nwf-hero .nwf-lead,
  .nwf-hero .nwf-actions,
  .nwf-hero .nwf-trust {
    animation: none !important;
  }
  .nwf-card:hover, .nwf-btn:hover { transform: none; }
  .nwf-btn-primary::after { display: none; }
  .nwf-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
