/* Nexus landing — premium dark SaaS layout (sidebar shell) */

.view-nexus {
  --nx-accent: #00f0ff;
  --nx-accent-dim: #0099ff;
  --nx-bg: #04060d;
  --nx-surface: rgba(255, 255, 255, 0.04);
  --nx-border: rgba(255, 255, 255, 0.08);
  --nx-glow: rgba(0, 240, 255, 0.15);
  --nx-max: 1400px;
}

.view-nexus.tt-root {
  background: var(--nx-bg) !important;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(0, 153, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(0, 240, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(80, 60, 255, 0.06), transparent 50%) !important;
}

.view-nexus .tt-stage {
  background: transparent;
}

.view-nexus .tt-main {
  width: 100%;
  max-width: none;
}

.view-nexus .nx-inner {
  width: 100%;
  max-width: var(--nx-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
}

/* ── Zones (sections) ── */
.view-nexus .nx-zone {
  position: relative;
  width: 100%;
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.view-nexus .nx-zone--hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 7vw, 6rem);
  isolation: isolate;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
}

.view-nexus .nx-zone--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.view-nexus .nx-zone--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, transparent 100%);
  border-block: 1px solid var(--nx-border);
}

.view-nexus .nx-zone-head {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.view-nexus .nx-zone-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f4f4f5;
  margin-bottom: 1rem;
}

/* ── Hero ── */
.view-nexus .nx-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.view-nexus .nx-zone--hero {
  position: relative;
  isolation: isolate;
}

.view-nexus .nx-hero__content {
  position: relative;
  z-index: 2;
}

.view-nexus .iridescence-container--hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.36;
  mix-blend-mode: screen;
}

.view-nexus .nx-use__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nx-accent);
  margin-bottom: 0.75rem;
}

.view-nexus .nx-use__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f4f4f5;
  margin-bottom: 0.5rem;
}

.view-nexus .nx-use__text {
  font-size: 0.9rem;
  color: #a1a1aa;
  line-height: 1.6;
}

.view-nexus .nx-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .view-nexus .nx-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.view-nexus .nx-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-accent);
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.view-nexus .nx-hero__title {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fafafa;
  margin-bottom: 1.5rem;
}

.view-nexus .nx-hero__title .tt-accent {
  background: linear-gradient(135deg, #fff 20%, var(--nx-accent) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.view-nexus .nx-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: #a1a1aa;
  max-width: 36rem;
  margin-bottom: 0.85rem;
}

.view-nexus .nx-hero__note {
  font-size: 0.9rem;
  color: #71717a;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.view-nexus .nx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.view-nexus .nx-hero__meta {
  font-size: 0.8rem;
  color: #52525b;
  font-variant-numeric: tabular-nums;
}

.view-nexus .nx-hero__visual {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .view-nexus .nx-hero__visual {
    justify-content: flex-end;
  }
}

.view-nexus .nx-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--nx-glow), transparent 68%);
  filter: blur(56px);
  pointer-events: none;
  animation: nx-float 8s ease-in-out infinite;
}

@keyframes nx-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-12px) scale(1.04); opacity: 1; }
}

.view-nexus .nx-app-frame {
  position: relative;
  width: 100%;
  max-width: 620px;
  padding: 1.15rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 48px 96px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 240, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.view-nexus .nx-app-frame:hover {
  transform: perspective(1400px) rotateY(-1deg) rotateX(0.5deg) translateY(-6px);
  box-shadow:
    0 56px 110px rgba(0, 0, 0, 0.6),
    0 0 48px rgba(0, 240, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.view-nexus .nx-app-frame__chrome {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.view-nexus .nx-app-frame__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.view-nexus .nx-app-frame__dot--c {
  background: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.view-nexus .nx-app-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* ── Stats ── */
.view-nexus .nx-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) {
  .view-nexus .nx-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.view-nexus .nx-stats .tt-card {
  padding: 1.85rem 1.35rem;
  text-align: center;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.view-nexus .nx-stats .tt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 240, 255, 0.06);
}

/* ── Feature grid ── */
.view-nexus .nx-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .view-nexus .nx-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .view-nexus .nx-feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.view-nexus .nx-feature-grid .tt-card {
  padding: 1.75rem;
  border-radius: 18px;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  backdrop-filter: blur(14px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.view-aurora.view-nexus #features .nx-feature-grid .tt-card {
  border: none;
  background: rgba(12, 10, 20, 0.72);
}

.view-nexus .nx-feature-grid .tt-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.22);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 32px rgba(0, 240, 255, 0.08);
}

.view-nexus .tt-icon-box {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.15);
}

/* ── Showcase ── */
.view-nexus .showcase-glow {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 40%;
  height: 50%;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.12), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.view-nexus .nx-showcase-card {
  position: relative;
  padding: 0.75rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--nx-border);
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
}

.view-nexus .nx-showcase-float {
  position: absolute;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: rgba(8, 12, 22, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.18);
  backdrop-filter: blur(16px);
  font-size: 0.8rem;
  color: #a1a1aa;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.view-nexus .nx-showcase-float--a {
  top: -1rem;
  right: -0.5rem;
  animation: nx-float 6s ease-in-out infinite;
}

.view-nexus .nx-showcase-float--b {
  bottom: 1.5rem;
  left: -1rem;
  animation: nx-float 7s ease-in-out infinite 1s;
}

/* ── Use cases ── */
.view-nexus .nx-use-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .view-nexus .nx-use-matrix {
    grid-template-columns: repeat(3, 1fr);
  }
}

.view-nexus .tt-usecase {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.view-nexus .tt-usecase:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
}

.view-nexus .nx-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}

.view-nexus .nx-glow--cyan {
  background: rgba(0, 240, 255, 0.14);
}

.view-nexus .nx-glow--blue {
  background: rgba(0, 153, 255, 0.16);
}

/* ── Pricing ── */
.view-nexus .nx-pricing-wrap {
  max-width: 28rem;
  margin-inline: auto;
}

.view-nexus .pricing-card--featured {
  padding: 2.5rem 2rem;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(0, 240, 255, 0.06), rgba(0, 80, 200, 0.04));
  border: 1px solid rgba(0, 240, 255, 0.2);
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 240, 255, 0.06);
}

/* ── Testimonials ── */
.view-nexus .quote-scroll {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.view-nexus .quote-lane {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: nx-marquee 45s linear infinite;
}

.view-nexus .quote-lane article {
  width: 380px;
  flex-shrink: 0;
  padding: 2rem;
  border-radius: 20px;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s ease;
}

.view-nexus .quote-lane article:hover {
  border-color: rgba(0, 240, 255, 0.2);
}

@keyframes nx-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── CTA block ── */
.view-nexus .tt-cta-block {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(0, 100, 200, 0.05)),
    var(--nx-surface);
  border: 1px solid rgba(0, 240, 255, 0.18);
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.view-nexus .tt-cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 240, 255, 0.12), transparent 60%);
  pointer-events: none;
}

/* ── Footer ── */
.view-nexus .nx-foot {
  position: relative;
  z-index: 1;
  padding-block: 3.5rem 2rem;
  border-top: 1px solid var(--nx-border);
  background: rgba(4, 6, 13, 0.9);
}

.view-nexus .nx-foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .view-nexus .nx-foot__grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.view-nexus .nx-foot__col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 1rem;
}

.view-nexus .nx-foot__col a {
  display: block;
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.view-nexus .nx-foot__col a:hover {
  color: var(--nx-accent);
}

.view-nexus .nx-foot__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.view-nexus .nx-foot__brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
}

.view-nexus .nx-foot__brand span {
  font-weight: 700;
  font-size: 1.1rem;
  color: #f4f4f5;
}

.view-nexus .nx-foot__copy {
  padding-top: 2rem;
  border-top: 1px solid var(--nx-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #52525b;
}

.view-nexus .tt-footer__langs a {
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.view-nexus .tt-footer__langs a:hover {
  color: var(--nx-accent);
}

/* ── Buttons glow ── */
.view-nexus .tt-btn--primary {
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.view-nexus .tt-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0, 240, 255, 0.4);
}

/* ── Reveal animations ── */
.view-nexus .tt-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-nexus .tt-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.view-nexus .tt-reveal--d1 { transition-delay: 0.1s; }
.view-nexus .tt-reveal--d2 { transition-delay: 0.2s; }
.view-nexus .tt-reveal--d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .view-nexus .quote-lane { animation: none; }
  .view-nexus .nx-hero__glow { animation: none; }
  .view-nexus .nx-showcase-float { animation: none; }
  .view-nexus .tt-reveal { opacity: 1; transform: none; }
}
