@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Michroma&family=Noto+Serif:wght@400;500;600&display=swap');


/* ============================================
   LEXVAIN UNIVERSE: Design System
   Colors taken from the brand artwork
   ============================================ */

:root {
  /* Colors */
  --bg: #05040e;
  --bg-raised: #0b0826;
  --bg-card: rgba(124, 92, 255, 0.05);
  --border: rgba(150, 130, 255, 0.14);
  --border-strong: rgba(150, 130, 255, 0.3);

  --text: #eef0fb;
  --text-muted: #a3a8c8;
  --text-faint: #6b709a;

  --violet: #9b6bff;
  --blue: #3d7bff;
  --cyan: #5ec8ff;
  --accent-gradient: linear-gradient(135deg, #9b6bff 0%, #3d7bff 100%);
  --glow: rgba(139, 92, 255, 0.45);

  /* Fonts: headings use Noto Serif */
  --font-display: 'Noto Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-brand: 'Michroma', system-ui, sans-serif;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 7rem;

  /* Layout */
  --container: 1200px;
  --radius: 14px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img, svg {
  max-width: 100%;
  display: block;
}

::selection {
  background: rgba(155, 107, 255, 0.4);
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}/* ============================================
   LEXVAIN UNIVERSE: App base, Loader, Header, Hero
   ============================================ */

.app {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(50% 40% at 50% 45%, rgba(139, 124, 255, 0.14), transparent 70%),
    var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.loader.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.loader__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
}

.loader__count {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.loader__percent {
  font-size: 0.3em;
  margin-left: 0.15em;
  letter-spacing: 0;
  color: var(--text-faint);
  -webkit-text-fill-color: var(--text-faint);
}

.loader__bar {
  width: min(320px, 70vw);
  height: 1px;
  background: var(--border-strong);
  overflow: hidden;
}

.loader__fill {
  height: 100%;
  background: var(--accent-gradient);
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- Reveal animation (starts after the loader) ---------- */
.reveal {
  opacity: 0;
}

.app.is-ready .reveal {
  animation: fadeUp 0.9s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

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

.btn--primary {
  background: var(--accent-gradient);
  color: #0a0a14;
  box-shadow: 0 0 0 0 rgba(139, 124, 255, 0);
}

.btn--primary:hover {
  box-shadow: 0 8px 30px rgba(139, 124, 255, 0.35);
}

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
}

.app.is-ready .site-header {
  animation: fadeIn 0.9s var(--ease) 0.1s both;
}

.site-header.is-solid {
  background: rgba(7, 7, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.brand__sub {
  color: var(--text-faint);
  font-weight: 300;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 1px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.nav__mobile-cta {
  display: none;
}

/* Hamburger button (hidden on large screens) */
.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 24px; }

.menu-toggle.is-open span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: min(var(--container), 100% - 3rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 9rem 0 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "text visual"
    "pillars pillars";
  align-items: center;
  gap: var(--space-4) var(--space-5);
}

.hero__text { grid-area: text; }
.hero__visual { grid-area: visual; }
.hero__pillars { grid-area: pillars; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
}

.hero__title {
  margin-top: var(--space-3);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.gradient-text {
  background: linear-gradient(120deg, #cfc8ff 0%, #8b7cff 45%, #4f8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  margin-top: var(--space-3);
  max-width: 34rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero__actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  }/* ============================================
   LEXVAIN UNIVERSE: Brand logo placement
   The logo file lives at public/logo.png
   ============================================ */

/* Navbar logo: small round image with a soft glow */
.logo-mark {
  display: block;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(124, 80, 255, 0.6);
}

/* Loading screen already shows a large logo, so hide the small one there */
.loader__brand .logo-mark {
  display: none;
}

/* Loading screen: large logo above the counter */
.loader__inner::before {
  content: "";
  width: min(220px, 52vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: url('/logo.png') center / cover no-repeat;
  box-shadow: 0 0 60px rgba(124, 80, 255, 0.55);
  animation: logoFade 0.8s var(--ease) both;
}

@keyframes logoFade {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Home hero: logo in the centre of the orbit rings */
.hero__visual .orbit__core {
  inset: 15%;
  background: url('/logo.png') center / cover no-repeat;
  box-shadow: 0 0 70px rgba(139, 92, 255, 0.6);
}

.hero__visual .orbit__glow {
  inset: 8%;
}

/* The innermost ring would sit behind the logo, so hide it */
.hero__visual .orbit__ring--1 {
  display: none;
}/* ============================================
   LEXVAIN UNIVERSE: Compact navbar for 7 links
   ============================================ */

/* Never break a link name into two lines */
.site-header .nav__link {
  white-space: nowrap;
}

.site-header .nav__list {
  flex-wrap: nowrap;
}

/* Laptop-size screens: slightly smaller, tighter links */
@media (min-width: 961px) and (max-width: 1400px) {
  .site-header .nav__link {
    padding: 0.5rem 0.55rem;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }

  .site-header .nav__link::after {
    left: 0.55rem;
    right: 0.55rem;
  }

  .site-header .site-header__inner {
    gap: 1rem;
  }

  .site-header .header__cta {
    padding: 0.55rem 1rem;
    font-size: 0.62rem;
    white-space: nowrap;
  }
}

/* Narrower screens: hide the button so the links always fit */
@media (min-width: 961px) and (max-width: 1250px) {
  .site-header .header__cta {
    display: none;
  }
}

/* Narrowest desktop widths: hide the word UNIVERSE next to the logo */
@media (min-width: 961px) and (max-width: 1150px) {
  .site-header .brand__sub {
    display: none;
  }
}/* ============================================
   LEXVAIN UNIVERSE: Footer
   ============================================ */

.footer {
  position: relative;
  margin-top: var(--space-5);
  border-top: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(5, 6, 26, 0.55), rgba(2, 3, 14, 0.9));
}

/* Thin glowing line across the top edge */
.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 120, 255, 0.9), rgba(80, 140, 255, 0.9), transparent);
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.7);
}

.footer__inner {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  padding: var(--space-5) 0 var(--space-4);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: var(--space-4);
}

/* ---------- Brand ---------- */
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__name {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.footer__name-sub {
  color: var(--text-faint);
}

.footer__tagline {
  max-width: 22rem;
  margin-top: var(--space-2);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer__motto {
  margin-top: var(--space-2);
  font-family: var(--font-brand);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
}

/* ---------- Columns ---------- */
.footer__heading {
  font-family: var(--font-brand);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer__list {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__link {
  font-size: 0.92rem;
  color: var(--text-muted);
  word-break: break-word;
  transition: color 0.25s;
}

.footer__link:hover {
  color: var(--text);
}

.footer__link--accent {
  color: #b9a8ff;
}

.footer__link--accent:hover {
  color: #ffffff;
}

/* ---------- Bottom bar ---------- */
.footer__bottom {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  padding: var(--space-3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 960px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}/* ============================================
   LEXVAIN UNIVERSE: Brand tagline, founder identity
   Used in the navbar, loader, footer and Founder page.
   ============================================ */

/* ---------- Tagline "Beyond Innovation" under LEXVAIN UNIVERSE ---------- */
.app .brand__name,
.app .footer__name {
  line-height: 1.25;
}

.app .brand__name::after,
.app .footer__name::after,
.app .loader__brand span::after {
  content: "Beyond Innovation";
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-brand);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #c9bbff 0%, #8fb4ff 55%, #9fe3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(139, 92, 255, 0.75));
}

/* Footer: a little larger */
.app .footer__name::after {
  font-size: 0.54rem;
}

/* Loading screen: centred and a little larger */
.app .loader__brand span {
  text-align: center;
}

.app .loader__brand span::after {
  margin-top: 0.7rem;
  font-size: 0.56rem;
  letter-spacing: 0.5em;
}

/* The old separate motto in the footer is no longer needed */
.app .footer__motto {
  display: none;
}

/* Phones: slightly smaller so the navbar never feels crowded */
@media (max-width: 480px) {
  .app .brand__name::after {
    font-size: 0.44rem;
    letter-spacing: 0.26em;
  }
}

/* ---------- Founder page ---------- */
.app .founder__tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: var(--space-2);
}

/* "Officially known as Miss Worship": a glowing highlighted chip */
.app .founder__alias--miss {
  margin: 0;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(200, 180, 255, 0.85);
  background: linear-gradient(120deg, rgba(139, 92, 255, 0.5), rgba(61, 123, 255, 0.4));
  box-shadow:
    0 0 28px rgba(139, 92, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.app .founder__alias--miss::before {
  content: "✦";
  margin-right: 0.7rem;
  color: #e9e3ff;
}

/* Official handle: a large, bright pill */
.app .founder__handle {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(160, 190, 255, 0.6);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(61, 123, 255, 0.24), rgba(139, 92, 255, 0.22));
  box-shadow:
    0 0 24px rgba(80, 130, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.app .founder__handle:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 220, 255, 0.95);
  box-shadow:
    0 0 36px rgba(100, 150, 255, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.app .founder__handle-label {
  font-family: var(--font-brand);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b9c3ee;
}

.app .founder__handle-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(139, 150, 255, 0.9);
}

/* ---------- Footer: bottom bar ---------- */
.footer__bottom {
  align-items: flex-start;
}

.footer__founder {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  text-align: right;
}

.footer__founder-line--accent {
  font-family: var(--font-brand);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d8ccff;
  text-shadow: 0 0 14px rgba(139, 92, 255, 0.85);
}

.footer__handle {
  color: #cdbfff;
  font-size: 0.95rem;
  text-shadow: 0 0 12px rgba(139, 92, 255, 0.7);
  transition: color 0.25s;
}

a.footer__handle:hover {
  color: #ffffff;
}

@media (max-width: 520px) {
  .footer__founder {
    align-items: flex-start;
    text-align: left;
  }
}/* ============================================
   LEXVAIN UNIVERSE: Night sky with galaxies
   ============================================ */

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 78% 8%, rgba(70, 60, 255, 0.28), transparent 70%),
    radial-gradient(50% 50% at 8% 30%, rgba(30, 90, 255, 0.26), transparent 70%),
    radial-gradient(55% 40% at 30% 100%, rgba(80, 40, 200, 0.26), transparent 72%),
    linear-gradient(180deg, #01020a 0%, #030827 50%, #02030f 100%);
}

/* ---------- Nebula clouds ---------- */
.sky__cloud {
  position: absolute;
  border-radius: 50%;
}

.sky__cloud--a {
  top: 52%;
  left: -8%;
  width: 55vw;
  height: 38vw;
  background:
    radial-gradient(ellipse at 40% 50%, rgba(214, 70, 190, 0.22), transparent 62%),
    radial-gradient(ellipse at 65% 40%, rgba(120, 60, 255, 0.2), transparent 60%);
}

.sky__cloud--b {
  top: -6%;
  right: -10%;
  width: 52vw;
  height: 36vw;
  background:
    radial-gradient(ellipse at 55% 55%, rgba(40, 190, 230, 0.16), transparent 62%),
    radial-gradient(ellipse at 35% 40%, rgba(70, 90, 255, 0.2), transparent 60%);
}

/* ---------- Milky Way: glowing band with a dark dust lane ---------- */
.sky__band {
  position: absolute;
  left: -25%;
  top: 20%;
  width: 150%;
  height: 46%;
  transform: rotate(-24deg);
  background:
    radial-gradient(ellipse 50% 8% at 50% 50%, rgba(2, 3, 14, 0.55), transparent 80%),
    radial-gradient(ellipse 52% 22% at 50% 50%, rgba(160, 185, 255, 0.2), transparent 70%),
    radial-gradient(ellipse 72% 40% at 50% 50%, rgba(110, 85, 255, 0.14), transparent 72%);
}

/* ---------- Galaxies ---------- */
.sky__galaxy {
  position: absolute;
  width: var(--w);
  aspect-ratio: 2.3 / 1;
  top: var(--t);
  left: var(--l);
  transform: rotate(var(--rot));
  opacity: var(--op, 0.9);
  background: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    var(--core) 0%,
    var(--mid) 12%,
    var(--edge) 36%,
    transparent 70%
  );
}

/* spiral arms */
.sky__galaxy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 20deg at 50% 50%,
    transparent 0 8%,
    var(--arm) 16%,
    transparent 28% 52%,
    var(--arm) 66%,
    transparent 78%
  );
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 66%);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 66%);
}

/* bright nucleus */
.sky__galaxy::after {
  content: "";
  position: absolute;
  left: 42%;
  top: 38%;
  width: 16%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, var(--core) 35%, transparent 72%);
}

.sky__galaxy--a {
  --w: 24vw;
  --t: 12%;
  --l: 4%;
  --rot: -28deg;
  --core: rgba(255, 236, 250, 0.95);
  --mid: rgba(200, 150, 255, 0.55);
  --edge: rgba(110, 80, 230, 0.22);
  --arm: rgba(190, 140, 255, 0.4);
}

.sky__galaxy--b {
  --w: 17vw;
  --t: 64%;
  --l: 76%;
  --rot: 16deg;
  --op: 0.85;
  --core: rgba(225, 245, 255, 0.95);
  --mid: rgba(110, 190, 255, 0.5);
  --edge: rgba(50, 110, 230, 0.22);
  --arm: rgba(100, 170, 255, 0.38);
}

.sky__galaxy--c {
  --w: 8vw;
  --t: 38%;
  --l: 60%;
  --rot: -8deg;
  --op: 0.6;
  --core: rgba(255, 235, 215, 0.9);
  --mid: rgba(255, 190, 140, 0.4);
  --edge: rgba(200, 110, 90, 0.16);
  --arm: rgba(255, 180, 130, 0.28);
}

/* ---------- Planet horizon ---------- */
.sky__planet {
  position: absolute;
  left: 50%;
  bottom: -120vw;
  width: 140vw;
  height: 140vw;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, rgba(30, 40, 140, 0.6), #02030f 62%);
  box-shadow:
    0 -2px 3px rgba(160, 200, 255, 0.6),
    0 -12px 70px rgba(70, 130, 255, 0.5),
    inset 0 24px 90px rgba(90, 80, 255, 0.28);
}

/* ---------- Stars ---------- */
.sky__stars {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: transparent;
}

.sky__stars--small {
  width: 1px;
  height: 1px;
  animation: skyTwinkle 9s ease-in-out infinite;
}

.sky__stars--medium {
  width: 2px;
  height: 2px;
  animation: skyTwinkle 6s ease-in-out infinite 1.5s;
}

.sky__stars--large {
  width: 3px;
  height: 3px;
  animation: skyTwinkle 4.5s ease-in-out infinite 0.8s;
}

@keyframes skyTwinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---------- Shooting stars (rare) ---------- */
.sky__shoot {
  position: absolute;
  width: 150px;
  height: 1.5px;
  opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(160, 190, 255, 0));
}

.sky__shoot--a {
  top: 12%;
  left: 72%;
  animation: skyShoot 17s linear infinite 4s;
}

.sky__shoot--b {
  top: 30%;
  left: 40%;
  animation: skyShoot 23s linear infinite 12s;
}

@keyframes skyShoot {
  0%, 93% {
    opacity: 0;
    transform: translate(0, 0) rotate(-31deg);
  }
  94% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-480px, 290px) rotate(-31deg);
  }
}

/* ---------- Small screens: smaller galaxies ---------- */
@media (max-width: 760px) {
  .sky__galaxy--a { --w: 46vw; }
  .sky__galaxy--b { --w: 34vw; --l: 62%; }
  .sky__galaxy--c { --w: 16vw; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .sky__stars,
  .sky__shoot {
    animation: none;
  }
  .sky__shoot {
    display: none;
  }
}/* ============================================
   LEXVAIN UNIVERSE: Home page motion
   Rotating word and scroll-reveal sections
   ============================================ */

/* Text for screen readers only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Rotating word ---------- */
.rotator {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: var(--space-2);
  min-height: 2.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  letter-spacing: -0.02em;
}

.rotator__lead {
  color: var(--text-muted);
}

.rotator__word {
  display: inline-block;
  background: linear-gradient(120deg, #ffffff 0%, #c9bbff 50%, #7fb0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wordIn 0.7s var(--ease) both;
}

@keyframes wordIn {
  from { opacity: 0; transform: translateY(0.7em); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Layout for the sections below the hero ---------- */
.home {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  padding: var(--space-4) 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Fade-up on scroll */
.hm-rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.hm-rv.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Headings ---------- */
.hm-label {
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

.hm-title {
  margin-top: var(--space-2);
  max-width: 40rem;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
}

/* ---------- Two big cards ---------- */
.hm-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.hm-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 12%, var(--a), transparent 58%),
    radial-gradient(circle at 90% 92%, var(--b), transparent 60%),
    linear-gradient(160deg, #0a0a26 0%, #02030d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 0 30px rgba(110, 80, 255, 0.2);
}

/* A few stars inside the card */
.hm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #ffffff, transparent),
    radial-gradient(1px 1px at 38% 70%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 74% 28%, #ffffff, transparent),
    radial-gradient(1px 1px at 88% 76%, rgba(220, 230, 255, 0.9), transparent),
    radial-gradient(1px 1px at 56% 90%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 94% 12%, rgba(255, 255, 255, 0.8), transparent);
}

.hm-card > * {
  position: relative;
  z-index: 1;
}

.hm-card--violet { --a: rgba(130, 80, 255, 0.5); --b: rgba(60, 40, 170, 0.5); }
.hm-card--cyan   { --a: rgba(40, 200, 220, 0.4); --b: rgba(30, 90, 190, 0.5); }

.hm-card__label {
  font-family: var(--font-brand);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hm-card__title {
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.hm-card__text {
  max-width: 28rem;
  color: rgba(236, 238, 245, 0.78);
}

.hm-card__link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--text);
  transition: color 0.25s;
}

.hm-card__link:hover {
  color: #c9bbff;
}

/* ---------- Service chips ---------- */
.hm-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  /* The row itself stays still; each chip animates on its own */
  opacity: 1;
  transform: none;
}

.hm-chip {
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-card);
  font-family: var(--font-brand);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
  transition-delay: calc(var(--i) * 80ms), calc(var(--i) * 80ms), 0s, 0s, 0s;
}

.hm-chips.is-visible .hm-chip {
  opacity: 1;
  transform: none;
}

.hm-chip:hover {
  border-color: rgba(190, 170, 255, 0.9);
  background: rgba(130, 90, 255, 0.18);
  box-shadow: 0 0 22px rgba(130, 90, 255, 0.35);
}

/* ---------- Coming soon teaser ---------- */
.hm-soon {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(130, 80, 255, 0.45), transparent 56%),
    radial-gradient(circle at 92% 92%, rgba(50, 110, 255, 0.35), transparent 58%),
    linear-gradient(160deg, #0a0a26 0%, #02030d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 50px rgba(110, 80, 255, 0.25);
}

.hm-soon__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-brand);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hm-soon__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffc86b;
  box-shadow: 0 0 10px #ffc86b;
  animation: hmPulse 2.4s ease-in-out infinite;
}

@keyframes hmPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.hm-soon__title {
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.035em;
  background: linear-gradient(120deg, #ffffff 0%, #d6cfff 50%, #8fa6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hm-soon__text {
  color: var(--text-muted);
}

/* ---------- Approach mini cards ---------- */
.hm-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.hm-mini {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 25% 10%, rgba(130, 80, 255, 0.32), transparent 58%),
    linear-gradient(160deg, rgba(14, 12, 48, 0.9), rgba(4, 4, 20, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hm-mini__number {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--violet);
}

.hm-mini__title {
  margin-top: var(--space-2);
  font-weight: 500;
  font-size: 1.15rem;
}

.hm-mini__text {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Closing call-to-action ---------- */
.hm-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-strong);
}

.hm-cta__title {
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.hm-cta__text {
  margin-top: 0.4rem;
  color: var(--text-muted);
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 900px) {
  .hm-duo,
  .hm-trio {
    grid-template-columns: 1fr;
  }

  .hm-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hm-soon {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hm-card {
    padding: 1.75rem;
  }

  .hm-cta .btn {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hm-rv,
  .hm-chip {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rotator__word,
  .hm-soon__dot {
    animation: none;
  }
}/* ============================================
   LEXVAIN UNIVERSE: Our Work page
   ============================================ */

.work {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  padding: 10rem 0 var(--space-6);
}

.work-in {
  animation: workIn 0.9s var(--ease) both;
}

@keyframes workIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Heading ---------- */
.work__label {
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

.work__title {
  margin-top: var(--space-2);
  max-width: 44rem;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  letter-spacing: -0.03em;
}

.work__desc {
  margin-top: var(--space-3);
  max-width: 40rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------- Empty state ---------- */
.work__empty {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 10%, rgba(130, 80, 255, 0.4), transparent 58%),
    radial-gradient(circle at 90% 95%, rgba(50, 110, 255, 0.35), transparent 60%),
    linear-gradient(160deg, #0a0a26 0%, #02030d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 40px rgba(110, 80, 255, 0.22);
}

.work__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-brand);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.work__chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
  animation: workPulse 2.4s ease-in-out infinite;
}

@keyframes workPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.work__empty-title {
  max-width: 30rem;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
}

.work__empty-text {
  max-width: 34rem;
  color: var(--text-muted);
}

.work__empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-2);
}

/* ---------- Project cards ---------- */
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(80, 50, 200, 0.25), rgba(6, 6, 30, 0.8));
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.45);
}

.work-card__category {
  font-family: var(--font-brand);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

.work-card__title {
  font-weight: 400;
  font-size: 1.4rem;
}

.work-card__text {
  color: var(--text-muted);
}

.work-card__link {
  margin-top: 0.5rem;
  font-size: 0.92rem;
}

.work-card__link:hover {
  color: var(--violet);
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .work {
    padding-top: 8rem;
  }

  .work__empty {
    padding: 1.75rem;
  }

  .work__grid {
    grid-template-columns: 1fr;
  }

  .work__empty-actions .btn {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .work-in {
    animation: none;
  }
  .work__chip-dot {
    animation: none;
  }
}/* ============================================
   LEXVAIN UNIVERSE: About page
   ============================================ */

.about {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  padding: 10rem 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Fade-up on scroll */
.ab-rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.ab-rv.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Headings ---------- */
.about__label {
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

.about__title {
  margin-top: var(--space-2);
  max-width: 44rem;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.about__lead {
  margin-top: var(--space-3);
  max-width: 42rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.about__head {
  margin-top: var(--space-5);
}

.about__h2 {
  margin-top: var(--space-2);
  max-width: 40rem;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
}

.about__sub {
  margin-top: var(--space-2);
  max-width: 38rem;
  color: var(--text-muted);
}

/* ---------- Glass cards (mission, vision, two sides) ---------- */
.about__duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.ab-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 12%, var(--a), transparent 58%),
    radial-gradient(circle at 90% 92%, var(--b), transparent 60%),
    linear-gradient(160deg, #0a0a26 0%, #02030d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 0 36px rgba(255, 255, 255, 0.04),
    0 0 30px rgba(110, 80, 255, 0.2);
}

/* A few stars inside each card */
.ab-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #ffffff, transparent),
    radial-gradient(1px 1px at 38% 70%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 74% 28%, #ffffff, transparent),
    radial-gradient(1px 1px at 88% 76%, rgba(220, 230, 255, 0.9), transparent),
    radial-gradient(1px 1px at 56% 90%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 94% 12%, rgba(255, 255, 255, 0.8), transparent);
}

.ab-card > * {
  position: relative;
  z-index: 1;
}

.ab-card--violet { --a: rgba(130, 80, 255, 0.5); --b: rgba(60, 40, 170, 0.5); }
.ab-card--blue   { --a: rgba(60, 120, 255, 0.5); --b: rgba(30, 50, 170, 0.5); }
.ab-card--pink   { --a: rgba(235, 70, 190, 0.42); --b: rgba(120, 40, 190, 0.5); }
.ab-card--cyan   { --a: rgba(40, 200, 220, 0.4); --b: rgba(30, 90, 190, 0.5); }

.ab-card__label {
  font-family: var(--font-brand);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.ab-card__big {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
}

.ab-card__title {
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.ab-card__text {
  max-width: 28rem;
  color: rgba(236, 238, 245, 0.78);
}

.ab-card__link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--text);
  transition: color 0.25s;
}

.ab-card__link:hover {
  color: #c9bbff;
}

/* ---------- Vision pillars ---------- */
.about__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pillar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-card);
  font-family: var(--font-brand);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pillar-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
}

/* ---------- Three-column mini cards ---------- */
.about__trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.ab-mini {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 25% 10%, rgba(130, 80, 255, 0.32), transparent 58%),
    linear-gradient(160deg, rgba(14, 12, 48, 0.9), rgba(4, 4, 20, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ab-mini__number {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--violet);
}

.ab-mini__title {
  margin-top: var(--space-2);
  font-weight: 500;
  font-size: 1.15rem;
}

.ab-mini__text {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Founder call-to-action ---------- */
.about__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-strong);
}

.about__cta-title {
  font-weight: 400;
  font-size: 1.5rem;
}

.about__cta-text {
  margin-top: 0.4rem;
  color: var(--text-muted);
}

.about__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 900px) {
  .about {
    padding-top: 8rem;
  }

  .about__duo,
  .about__trio {
    grid-template-columns: 1fr;
  }

  .about__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .ab-card {
    padding: 1.75rem;
  }

  .about__cta-actions {
    width: 100%;
  }

  .about__cta-actions .btn {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ab-rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}/* ============================================
   LEXVAIN UNIVERSE: Founder page
   ============================================ */

.founder {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  padding: 10rem 0 var(--space-6);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-areas:
    "portrait info"
    "values values";
  align-items: center;
  gap: var(--space-5) var(--space-5);
}

.founder__portrait { grid-area: portrait; }
.founder__info { grid-area: info; }
.founder__values { grid-area: values; }

.fd-in {
  animation: fdIn 0.9s var(--ease) both;
}

@keyframes fdIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Portrait: monogram inside neon orbit rings ---------- */
.founder__portrait {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.fp__glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 80, 255, 0.55), rgba(61, 123, 255, 0.15) 60%, transparent 74%);
  filter: blur(22px);
}

.fp__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(160, 130, 255, 0.5);
  box-shadow: 0 0 18px rgba(124, 80, 255, 0.35), inset 0 0 18px rgba(124, 80, 255, 0.15);
  will-change: transform;
}

.fp__ring::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8d0ff;
  box-shadow: 0 0 12px #8b7cff;
}

.fp__ring--1 { inset: 8%; animation: fdSpin 34s linear infinite; }
.fp__ring--2 { inset: 0; border-color: rgba(120, 150, 255, 0.4); animation: fdSpin 56s linear infinite reverse; }

.fp__ring--3 {
  inset: -6%;
  border: 2px solid rgba(110, 140, 255, 0.55);
  box-shadow: 0 0 30px rgba(90, 120, 255, 0.5), inset 0 0 40px rgba(124, 80, 255, 0.25);
  animation: fdSpin 90s linear infinite;
}

.fp__ring--3::after {
  display: none;
}

@keyframes fdSpin {
  to { transform: rotate(360deg); }
}

.fp__disc {
  position: absolute;
  inset: 17%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background:
    radial-gradient(circle at 30% 24%, rgba(150, 100, 255, 0.55), transparent 58%),
    radial-gradient(circle at 75% 85%, rgba(50, 110, 255, 0.45), transparent 60%),
    linear-gradient(160deg, #0b0b2c 0%, #02030d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 60px rgba(139, 92, 255, 0.45);
}

.fp__initials {
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #c9c2ff 45%, #7f8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Info ---------- */
.founder__label {
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

.founder__name {
  margin-top: var(--space-2);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  background: linear-gradient(120deg, #ffffff 0%, #d6cfff 50%, #8fa6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.founder__role {
  margin-top: var(--space-2);
  font-size: 1.05rem;
  color: var(--text);
}

.founder__alias {
  display: inline-block;
  margin-top: var(--space-2);
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-card);
  font-family: var(--font-brand);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.founder__bio {
  margin-top: var(--space-3);
  max-width: 36rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.founder__belief {
  max-width: 36rem;
  margin-top: var(--space-3);
  padding-left: 1.25rem;
  border-left: 2px solid var(--violet);
}

.founder__belief-label {
  font-family: var(--font-brand);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.founder__belief-text {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text);
}

.founder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-4);
}

/* ---------- Values ---------- */
.founder__values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.founder-value {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 25% 12%, rgba(130, 80, 255, 0.4), transparent 58%),
    radial-gradient(circle at 88% 92%, rgba(50, 110, 255, 0.3), transparent 60%),
    linear-gradient(160deg, #0a0a26 0%, #02030d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 28px rgba(110, 80, 255, 0.18);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.founder-value:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.45);
}

.founder-value__number {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--violet);
}

.founder-value__title {
  margin-top: var(--space-2);
  font-weight: 500;
  font-size: 1.15rem;
}

.founder-value__text {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 960px) {
  .founder {
    grid-template-columns: 1fr;
    grid-template-areas:
      "portrait"
      "info"
      "values";
    padding-top: 8rem;
  }

  .founder__portrait {
    max-width: 280px;
  }

  .founder__values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .founder__actions .btn {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .fd-in {
    animation: none;
  }
  .fp__ring {
    animation: none;
  }
}/* ============================================
   LEXVAIN UNIVERSE: Founder artwork inside the orbit
   The image lives at public/founder.png
   ============================================ */

.founder__portrait {
  max-width: 440px;
}

/* Show the artwork instead of the SJ monogram */
.fp__disc {
  inset: 10%;
  border: none;
  background: url('/founder.png') center / cover no-repeat;
  box-shadow: 0 0 60px rgba(139, 92, 255, 0.5);
}

.fp__initials {
  display: none;
}

/* Keep the first ring close around the artwork */
.fp__ring--1 {
  inset: 5%;
}/* ============================================
   LEXVAIN UNIVERSE: Services page (7 cards)
   ============================================ */

.svc {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  padding: 10rem 0 var(--space-6);
}

.svc-in {
  animation: svcIn 0.9s var(--ease) both;
}

@keyframes svcIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Heading ---------- */
.svc__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

.svc__title {
  margin-top: var(--space-2);
  max-width: 44rem;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  letter-spacing: -0.03em;
}

.svc__desc {
  margin-top: var(--space-3);
  max-width: 40rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------- Cards (mobile first: simple grid) ---------- */
.svc__fan {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.svc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 13rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.svc-card:nth-child(1) { --c1: #3a2a8f; --c2: #14122e; }
.svc-card:nth-child(2) { --c1: #4a35b8; --c2: #17133a; }
.svc-card:nth-child(3) { --c1: #5b45d6; --c2: #1a1646; }
.svc-card:nth-child(4) { --c1: #4a52dc; --c2: #161a47; }
.svc-card:nth-child(5) { --c1: #3d5fd9; --c2: #141a44; }
.svc-card:nth-child(6) { --c1: #2f6fcf; --c2: #0f1d3d; }
.svc-card:nth-child(7) { --c1: #2a5aa8; --c2: #0d1a33; }

.svc-card__number {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
}

.svc-card__title {
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.svc-card__text {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(236, 238, 245, 0.8);
}

/* ---------- Fan layout (big screens with a mouse) ---------- */
@media (min-width: 961px) and (hover: hover) {
  .svc__fan {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    height: 28rem;
    padding-top: 2rem;
  }

  .svc-card {
    flex: 0 0 11.5rem;
    width: 11.5rem;
    height: 19.5rem;
    min-height: 0;
    margin-left: -3rem;
    padding: 1.25rem;
    transform-origin: 50% 100%;
    transform: translateY(var(--y)) rotate(var(--r));
    transition:
      transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.6s ease,
      filter 0.6s ease;
    will-change: transform;
    cursor: pointer;
  }

  .svc-card:first-child {
    margin-left: 0;
  }

  .svc-card__title {
    font-size: 1.1rem;
  }

  .svc-card__text {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .svc-card:hover,
  .svc-card:focus-visible {
    z-index: 10;
    transform: translateY(-26px) rotate(0deg) scale(1.06);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 124, 255, 0.25);
  }

  /* Dim the other cards slightly while one is hovered */
  .svc__fan:hover .svc-card:not(:hover) {
    filter: brightness(0.75);
  }
}

/* ---------- Bottom call-to-action ---------- */
.svc__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.svc__cta-title {
  font-weight: 400;
  font-size: 1.3rem;
}

.svc__cta-text {
  margin-top: 0.35rem;
  color: var(--text-muted);
}

/* ---------- Tablet and phone ---------- */
@media (min-width: 640px) and (max-width: 960px) {
  .svc__fan {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 7 cards: let the last one use the full row */
  .svc-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .svc {
    padding-top: 8rem;
  }

  .svc__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .svc__cta .btn {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .svc-in {
    animation: none;
  }
  .svc-card {
    transition: none;
  }
} /* ============================================
   LEXVAIN UNIVERSE: Swipeable service cards for phones and tablets
   ============================================ */

/* Dots and hint are hidden on large screens */
.svc__dots,
.svc__hint {
  display: none;
}

/* Phones, tablets and any touch device (no mouse hover) */
@media (max-width: 960px), (hover: none) {
  .svc__stage {
    margin-top: var(--space-5);
  }

  /* The row of cards scrolls sideways and snaps to each card */
  .svc__fan {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 1rem;
    height: auto;
    margin-top: 0;
    /* Break out of the page margins so cards can reach the screen edge */
    margin-inline: calc(50% - 50vw);
    padding: 1.5rem calc((100vw - min(78vw, 22rem)) / 2) 2rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .svc__fan::-webkit-scrollbar {
    display: none;
  }

  .svc-card {
    flex: 0 0 min(78vw, 22rem);
    width: auto;
    height: auto;
    min-height: 17rem;
    margin-left: 0;
    scroll-snap-align: center;
    transform: scale(0.92);
    opacity: 0.55;
    filter: none;
    transition:
      transform 0.5s var(--ease),
      opacity 0.5s var(--ease),
      box-shadow 0.5s var(--ease);
  }

  /* The card in the middle is larger, brighter and glows */
  .svc-card.is-active {
    transform: scale(1);
    opacity: 1;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      0 22px 44px rgba(0, 0, 0, 0.5),
      0 0 38px rgba(139, 92, 255, 0.45);
  }

  .svc-card__title {
    font-size: 1.35rem;
  }

  .svc-card__text {
    font-size: 0.95rem;
  }

  /* ---------- Dots ---------- */
  .svc__dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
  }

  .svc__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    transition: width 0.4s var(--ease), background 0.4s var(--ease);
  }

  .svc__dot.is-active {
    width: 26px;
    background: var(--accent-gradient);
  }

  /* ---------- Swipe hint ---------- */
  .svc__hint {
    display: block;
    margin-top: var(--space-2);
    text-align: center;
    font-family: var(--font-brand);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    transition: opacity 0.5s var(--ease);
  }

  .svc__hint.is-hidden {
    opacity: 0;
  }

  .svc__hint-arrow {
    display: inline-block;
    margin-left: 0.4rem;
    animation: svcNudge 1.4s ease-in-out infinite;
  }

  @keyframes svcNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc__dot,
  .svc__hint {
    transition: none;
  }

  .svc__hint-arrow {
    animation: none;
  }
}/* ============================================
   LEXVAIN UNIVERSE: AI Products page
   ============================================ */

.products {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  padding: 10rem 0 var(--space-6);
}

/* Screen par aate hi upar ko fade-in */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.rv.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section heading (baad ke pages mein bhi istemal hoga) ---------- */
.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

.section-title {
  margin-top: var(--space-2);
  max-width: 44rem;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  letter-spacing: -0.03em;
}

.section-desc {
  margin-top: var(--space-3);
  max-width: 40rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------- Status chip ---------- */
.products__status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.products__status-note {
  font-size: 0.9rem;
  color: var(--text-faint);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
  animation: pulse 2.4s ease-in-out infinite;
}

.status--live .status__dot {
  background: #4fd1a5;
  box-shadow: 0 0 10px #4fd1a5;
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ---------- Cards ---------- */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2.25rem;
  min-height: 15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s;
}

.product-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 90%;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.product-card:hover {
  border-color: rgba(139, 124, 255, 0.45);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-4px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card__number {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--violet);
}

.product-card__title {
  margin-top: auto;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.product-card__text {
  max-width: 26rem;
  color: var(--text-muted);
}

.product-card__link {
  margin-top: var(--space-1);
  font-size: 0.92rem;
  color: var(--text);
  transition: color 0.25s;
}

.product-card__link:hover {
  color: var(--violet);
}

/* ---------- Neeche ki call-to-action strip ---------- */
.products__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.products__cta-title {
  font-weight: 400;
  font-size: 1.3rem;
}

.products__cta-text {
  margin-top: 0.35rem;
  color: var(--text-muted);
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .products {
    padding-top: 8rem;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 12rem;
    padding: 1.75rem;
  }

  .products__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .products__cta .btn {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .status__dot {
    animation: none;
  }
} /* ============================================
   LEXVAIN UNIVERSE: "Coming soon" product card
   ============================================ */

/* One product: use the full width */
.products__grid--single {
  grid-template-columns: 1fr;
}

.product-card--featured {
  min-height: 14rem;
}

/* Keep the status chip from stretching across the card */
.product-card .status {
  align-self: flex-start;
}

/* Amber dot for products that are not live yet */
.status--soon .status__dot {
  background: #ffc86b;
  box-shadow: 0 0 10px #ffc86b;
}

.product-card--featured .product-card__title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
}

/* Space above the "areas we are working toward" row */
.products__subhead {
  margin-top: var(--space-5);
}

/* Early access form: leave room for the fixed navbar when jumping to it */
.ea {
  scroll-margin-top: 6rem;
}/* ============================================
   LEXVAIN UNIVERSE: Early access form
   ============================================ */

.ea {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  padding-bottom: var(--space-6);
}

.ea__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(130, 80, 255, 0.45), transparent 56%),
    radial-gradient(circle at 92% 92%, rgba(50, 110, 255, 0.35), transparent 58%),
    linear-gradient(160deg, #0a0a26 0%, #02030d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 50px rgba(110, 80, 255, 0.25);
}

/* Stars inside the card */
.ea__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 8% 20%, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 24% 78%, #ffffff, transparent),
    radial-gradient(1px 1px at 46% 12%, rgba(220, 230, 255, 0.9), transparent),
    radial-gradient(1px 1px at 52% 88%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 70% 30%, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 90% 14%, #ffffff, transparent),
    radial-gradient(1px 1px at 96% 66%, rgba(255, 235, 220, 0.8), transparent);
}

.ea__text,
.ea__form,
.ea__done {
  position: relative;
  z-index: 1;
}

.ea__label {
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

.ea__title {
  margin-top: var(--space-2);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ea__desc {
  margin-top: var(--space-2);
  max-width: 30rem;
  color: var(--text-muted);
}

/* ---------- Form ---------- */
.ea__form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.ea__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ea__field label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ea__field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(3, 4, 22, 0.7);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ea__field input::placeholder {
  color: var(--text-faint);
}

.ea__field input:focus {
  outline: none;
  border-color: rgba(190, 170, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(139, 92, 255, 0.25);
}

.ea__submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.ea__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.ea__hint {
  font-size: 0.82rem;
  color: var(--text-faint);
}

.ea__note {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(94, 200, 255, 0.4);
  border-radius: 12px;
  background: rgba(94, 200, 255, 0.08);
  font-size: 0.9rem;
}

.ea__note--error {
  border-color: rgba(255, 120, 150, 0.5);
  background: rgba(255, 120, 150, 0.08);
}

/* ---------- Success message ---------- */
.ea__done {
  padding: 2rem;
  border: 1px solid rgba(94, 200, 255, 0.4);
  border-radius: 18px;
  background: rgba(94, 200, 255, 0.07);
}

.ea__done-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 0 24px var(--glow);
}

.ea__done-title {
  margin-top: var(--space-2);
  font-weight: 500;
  font-size: 1.4rem;
}

.ea__done-text {
  margin-top: 0.4rem;
  color: var(--text-muted);
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 900px) {
  .ea__card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .ea__card {
    padding: 1.5rem;
  }

  .ea__submit {
    align-self: stretch;
    width: 100%;
  }
}/* ============================================
   LEXVAIN UNIVERSE: Contact page
   ============================================ */

.contact {
  width: min(var(--container), 100% - 3rem);
  margin: 0 auto;
  padding: 10rem 0 var(--space-6);
}

.ct-in {
  animation: ctIn 0.9s var(--ease) both;
}

@keyframes ctIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Heading ---------- */
.contact__label {
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

.contact__title {
  margin-top: var(--space-2);
  max-width: 44rem;
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.contact__desc {
  margin-top: var(--space-3);
  max-width: 38rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------- Layout ---------- */
.contact__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
  align-items: start;
}

/* ---------- Details ---------- */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ct-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 10%, rgba(130, 80, 255, 0.32), transparent 60%),
    linear-gradient(160deg, rgba(14, 12, 48, 0.9), rgba(4, 4, 20, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ct-card__label {
  font-family: var(--font-brand);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.ct-card__value {
  font-size: 1.02rem;
  color: var(--text);
  word-break: break-word;
  transition: color 0.25s;
}

.ct-card__value:hover {
  color: #c9bbff;
}

.ct-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.ct-social {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.25s, background 0.25s;
}

.ct-social:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.contact__note {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-faint);
}

/* ---------- Form ---------- */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 8%, rgba(130, 80, 255, 0.4), transparent 58%),
    radial-gradient(circle at 92% 94%, rgba(50, 110, 255, 0.3), transparent 60%),
    linear-gradient(160deg, #0a0a26 0%, #02030d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 0 36px rgba(110, 80, 255, 0.2);
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ct-field label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(3, 4, 22, 0.7);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ct-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: var(--text-faint);
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: rgba(190, 170, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(139, 92, 255, 0.25);
}

.ct-field select option {
  background: #0a0a26;
  color: #eef0fb;
}

.ct-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.ct-hint {
  font-size: 0.84rem;
  color: var(--text-faint);
}

.ct-opened {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(94, 200, 255, 0.4);
  border-radius: 12px;
  background: rgba(94, 200, 255, 0.08);
  font-size: 0.9rem;
  color: var(--text);
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 900px) {
  .contact {
    padding-top: 8rem;
  }

  .contact__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ct-form {
    padding: 1.5rem;
  }

  .ct-submit {
    align-self: stretch;
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ct-in {
    animation: none;
  }
}
/* ---------- Success and error messages ---------- */
.ct-opened--error {
  border-color: rgba(255, 120, 150, 0.5);
  background: rgba(255, 120, 150, 0.08);
}

.ct-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.ct-done {
  align-items: flex-start;
  justify-content: center;
  border-color: rgba(94, 200, 255, 0.4);
}

.ct-done__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow: 0 0 24px var(--glow);
}

.ct-done__title {
  font-weight: 500;
  font-size: 1.6rem;
}

.ct-done__text {
  max-width: 28rem;
  color: var(--text-muted);
}/* ============================================
   LEXVAIN UNIVERSE: Refined headings
   Loaded last, so these rules win over page styles.
   ============================================ */

/* ---------- Main page titles ---------- */
.app .hero__title,
.app .section-title,
.app .svc__title,
.app .work__title,
.app .contact__title,
.app .about__title,
.app .hm-title,
.app .about__h2 {
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #f4f2ff;
}

.app .hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4.7rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.app .section-title,
.app .svc__title,
.app .work__title,
.app .contact__title {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}

.app .about__title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
}

.app .hm-title,
.app .about__h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
}

/* ---------- Highlighted words inside titles ---------- */
.app .gradient-text {
  background: linear-gradient(100deg, #e9e3ff 0%, #a98bff 38%, #5f9bff 75%, #9fe3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Founder name ---------- */
.app .founder__name {
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

/* ---------- Smaller headings in call-to-action strips ---------- */
.app .ea__title,
.app .hm-soon__title,
.app .hm-cta__title,
.app .about__cta-title,
.app .products__cta-title,
.app .svc__cta-title,
.app .work__empty-title {
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* ---------- Section labels: a glowing line before the text ---------- */
.app .section-label,
.app .svc__label,
.app .work__label,
.app .about__label,
.app .contact__label,
.app .founder__label,
.app .hm-label,
.app .ea__label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.app .section-label::before,
.app .svc__label::before,
.app .work__label::before,
.app .about__label::before,
.app .contact__label::before,
.app .founder__label::before,
.app .hm-label::before,
.app .ea__label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--accent-gradient);
  box-shadow: 0 0 10px rgba(139, 92, 255, 0.8);
}

/* ---------- Phones: slightly smaller so long words never overflow ---------- */
@media (max-width: 480px) {
  .app .hero__title {
    font-size: clamp(2.1rem, 9vw, 2.6rem);
  }

  .app .section-title,
  .app .svc__title,
  .app .work__title,
  .app .contact__title {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .app .about__title {
    font-size: clamp(2rem, 8.6vw, 2.6rem);
  }
}/* ============================================
   LEXVAIN UNIVERSE: Orbit, Pillars, Pages, Mobile
   ============================================ */

/* ---------- Orbit visual ---------- */
.orbit {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.orbit__glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.35), rgba(79, 140, 255, 0.08) 60%, transparent 72%);
  filter: blur(18px);
}

.orbit__core {
  position: absolute;
  inset: 41%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e7e3ff, #8b7cff 45%, #1b1d46 100%);
  box-shadow: 0 0 60px rgba(139, 124, 255, 0.5);
}

.orbit__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  will-change: transform;
}

.orbit__ring::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfc8ff;
  box-shadow: 0 0 12px #8b7cff;
}

.orbit__ring--1 { inset: 28%; animation: spin 28s linear infinite; }
.orbit__ring--2 { inset: 12%; animation: spin 46s linear infinite reverse; }
.orbit__ring--3 { inset: 0; border-color: rgba(255, 255, 255, 0.07); animation: spin 70s linear infinite; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Pillars (01, 02, 03) ---------- */
.hero__pillars {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: var(--space-3) 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.hero__pillars li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pillar__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--violet);
  letter-spacing: 0.15em;
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.pillar__text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Khali pages ke dhanche ---------- */
.placeholder {
  width: min(var(--container), 100% - 3rem);
  min-height: 60vh;
  margin: 0 auto;
  padding: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
}

.placeholder__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

.placeholder__title {
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

.placeholder__note {
  color: var(--text-faint);
}

/* Fixed navbar ke neeche jagah chhorne ke liye */
.placeholder--page {
  min-height: 100vh;
  padding-top: 10rem;
}

/* ---------- Responsive (phone aur chhoti screen) ---------- */
@media (max-width: 960px) {
  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: -1.5rem;
    right: -1.5rem;
    margin: 0;
    padding: 0.5rem 1.5rem 1.5rem;
    background: rgba(7, 7, 8, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    padding: 0.95rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__link::after {
    display: none;
  }

  .nav__mobile-cta {
    display: block;
    margin-top: var(--space-3);
  }

  .nav__mobile-cta .btn {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "visual"
      "pillars";
    padding-top: 7rem;
  }

  .orbit {
    max-width: 300px;
  }

  .hero__pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand__sub { display: none; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .orbit__ring,
  .stars--twinkle {
    animation: none;
  }
} /* ============================================
   LEXVAIN UNIVERSE: Brand theme
   (nebula, neon rings, glass cards)
   ============================================ */

/* ---------- Background: nebula + planet horizon ---------- */
.cosmos {
  overflow: hidden;
  background:
    radial-gradient(45% 40% at 85% 10%, rgba(124, 60, 255, 0.38), transparent 70%),
    radial-gradient(40% 40% at 6% 22%, rgba(60, 90, 255, 0.3), transparent 70%),
    radial-gradient(50% 45% at 18% 96%, rgba(110, 50, 220, 0.32), transparent 70%),
    radial-gradient(35% 30% at 96% 86%, rgba(50, 120, 255, 0.28), transparent 70%),
    linear-gradient(180deg, #05040e 0%, #090620 55%, #05040e 100%);
}

/* Planet horizon at the bottom of the screen */
.cosmos::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -112vw;
  width: 130vw;
  height: 130vw;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, rgba(40, 30, 120, 0.55), #05040e 60%);
  box-shadow:
    0 -2px 3px rgba(150, 190, 255, 0.55),
    0 -10px 60px rgba(80, 140, 255, 0.45),
    inset 0 20px 80px rgba(100, 70, 255, 0.25);
  opacity: 0.85;
}

/* ---------- Header ---------- */
.site-header.is-solid {
  background: rgba(8, 6, 28, 0.82);
  border-bottom-color: var(--border-strong);
}

.brand__name {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.nav__link {
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn--primary {
  color: #ffffff;
  box-shadow: 0 0 22px var(--glow);
}

.btn--primary:hover {
  box-shadow: 0 0 36px rgba(139, 92, 255, 0.8);
}

.btn--ghost {
  border-color: rgba(150, 130, 255, 0.55);
  box-shadow: 0 0 16px rgba(110, 80, 255, 0.2), inset 0 0 14px rgba(110, 80, 255, 0.12);
}

.btn--ghost:hover {
  border-color: rgba(190, 170, 255, 0.9);
  box-shadow: 0 0 26px rgba(130, 100, 255, 0.45), inset 0 0 18px rgba(110, 80, 255, 0.2);
}

/* ---------- Small labels ---------- */
.eyebrow,
.section-label,
.svc__label,
.placeholder__label,
.status {
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.eyebrow {
  border-color: var(--border-strong);
  box-shadow: 0 0 18px rgba(110, 80, 255, 0.2);
}

/* ---------- Orbit: neon rings like the logo ---------- */
.orbit__glow {
  background: radial-gradient(circle, rgba(124, 80, 255, 0.55), rgba(61, 123, 255, 0.15) 60%, transparent 74%);
}

.orbit__ring {
  border-color: rgba(160, 130, 255, 0.5);
  box-shadow: 0 0 18px rgba(124, 80, 255, 0.35), inset 0 0 18px rgba(124, 80, 255, 0.15);
}

.orbit__ring--3 {
  border: 2px solid rgba(110, 140, 255, 0.75);
  box-shadow:
    0 0 30px rgba(90, 120, 255, 0.55),
    inset 0 0 40px rgba(124, 80, 255, 0.3);
}

.orbit__core {
  box-shadow: 0 0 80px rgba(139, 92, 255, 0.75), 0 0 30px rgba(94, 200, 255, 0.4);
}

/* ---------- Pillars (01, 02, 03) as glass cards ---------- */
.hero__pillars {
  border-top: none;
  padding-top: 0;
}

.hero__pillars li {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(80, 50, 200, 0.22), rgba(10, 8, 40, 0.6));
  box-shadow: 0 0 24px rgba(110, 80, 255, 0.14), inset 0 0 24px rgba(110, 80, 255, 0.08);
}

/* ---------- Product cards as glowing glass ---------- */
.product-card {
  border-color: rgba(150, 130, 255, 0.35);
  background: linear-gradient(160deg, rgba(80, 50, 200, 0.22), rgba(10, 8, 40, 0.65));
  box-shadow: 0 0 28px rgba(110, 80, 255, 0.14), inset 0 0 28px rgba(110, 80, 255, 0.08);
}

.product-card:hover {
  border-color: rgba(190, 170, 255, 0.8);
  background: linear-gradient(160deg, rgba(100, 65, 230, 0.3), rgba(12, 10, 50, 0.7));
  box-shadow: 0 0 44px rgba(130, 90, 255, 0.35), inset 0 0 32px rgba(110, 80, 255, 0.14);
}

.products__cta,
.svc__cta {
  border-top-color: var(--border-strong);
}

/* ---------- Service cards: neon edge ---------- */
.svc-card {
  border-color: rgba(170, 150, 255, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 26px rgba(124, 92, 255, 0.28);
}

/* ---------- Loader ---------- */
.loader {
  background:
    radial-gradient(50% 40% at 50% 45%, rgba(124, 80, 255, 0.3), transparent 70%),
    radial-gradient(40% 35% at 85% 15%, rgba(60, 90, 255, 0.2), transparent 70%),
    var(--bg);
}

.loader__brand {
  font-family: var(--font-brand);
  font-size: 0.72rem;
}/* ============================================
   LEXVAIN UNIVERSE: Cards with their own galaxy
   Each card gets its own colour, stars and a small galaxy
   ============================================ */

/* ---------- Service cards ---------- */
.svc-card {
  background:
    radial-gradient(circle at 28% 18%, var(--a), transparent 58%),
    radial-gradient(circle at 82% 88%, var(--b), transparent 60%),
    linear-gradient(160deg, #0a0a26 0%, #02030d 100%);
}

.svc-card:nth-child(1) { --a: rgba(130, 80, 255, 0.55); --b: rgba(60, 40, 170, 0.5); --core: rgba(220, 190, 255, 0.9); }
.svc-card:nth-child(2) { --a: rgba(235, 70, 190, 0.5);  --b: rgba(120, 40, 190, 0.5); --core: rgba(255, 200, 235, 0.9); }
.svc-card:nth-child(3) { --a: rgba(60, 120, 255, 0.55); --b: rgba(30, 50, 170, 0.5);  --core: rgba(190, 220, 255, 0.9); }
.svc-card:nth-child(4) { --a: rgba(40, 200, 220, 0.45); --b: rgba(30, 90, 190, 0.5);  --core: rgba(200, 245, 255, 0.9); }
.svc-card:nth-child(5) { --a: rgba(255, 170, 70, 0.4);  --b: rgba(150, 60, 160, 0.5); --core: rgba(255, 225, 180, 0.9); }
.svc-card:nth-child(6) { --a: rgba(160, 90, 255, 0.5);  --b: rgba(40, 90, 210, 0.5);  --core: rgba(215, 195, 255, 0.9); }
.svc-card:nth-child(7) { --a: rgba(50, 210, 160, 0.4);  --b: rgba(30, 70, 190, 0.5);  --core: rgba(195, 255, 230, 0.9); }

/* Keep the text above the stars */
.svc-card > * {
  position: relative;
  z-index: 2;
}

/* Stars inside the card */
.svc-card::before,
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #ffffff, transparent),
    radial-gradient(1px 1px at 38% 64%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 72% 30%, #ffffff, transparent),
    radial-gradient(1px 1px at 86% 78%, rgba(220, 230, 255, 0.9), transparent),
    radial-gradient(1px 1px at 55% 90%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 22% 82%, rgba(255, 235, 220, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 92% 12%, #ffffff, transparent),
    radial-gradient(1px 1px at 6% 48%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 48% 8%, rgba(210, 220, 255, 0.9), transparent),
    radial-gradient(1px 1px at 64% 58%, rgba(255, 255, 255, 0.6), transparent);
}

/* A small galaxy inside the card */
.svc-card::after,
.product-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 6%;
  right: -14%;
  width: 78%;
  aspect-ratio: 2.2 / 1;
  transform: rotate(-24deg);
  pointer-events: none;
  opacity: 0.6;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0%, var(--core) 6%, transparent 15%),
    radial-gradient(ellipse 50% 50% at 50% 50%, var(--a), transparent 70%);
}

/* Vary the stars from card to card */
.svc-card:nth-child(even)::before,
.product-card:nth-child(even)::after {
  transform: scaleX(-1);
}

.svc-card:nth-child(3n)::before,
.product-card:nth-child(3n)::after {
  transform: scaleY(-1);
}

/* ---------- Product cards ---------- */
.product-card {
  background:
    radial-gradient(circle at 25% 15%, var(--a), transparent 58%),
    radial-gradient(circle at 85% 90%, var(--b), transparent 60%),
    linear-gradient(160deg, #0a0a26 0%, #02030d 100%);
}

.product-card:nth-child(1) { --a: rgba(130, 80, 255, 0.5); --b: rgba(60, 40, 170, 0.5); --core: rgba(220, 190, 255, 0.9); }
.product-card:nth-child(2) { --a: rgba(60, 120, 255, 0.5); --b: rgba(30, 50, 170, 0.5); --core: rgba(190, 220, 255, 0.9); }
.product-card:nth-child(3) { --a: rgba(235, 70, 190, 0.45); --b: rgba(120, 40, 190, 0.5); --core: rgba(255, 200, 235, 0.9); }
.product-card:nth-child(4) { --a: rgba(40, 200, 220, 0.42); --b: rgba(30, 90, 190, 0.5); --core: rgba(200, 245, 255, 0.9); }

.product-card > * {
  position: relative;
  z-index: 2;
}

.product-card:hover {
  background:
    radial-gradient(circle at 25% 15%, var(--a), transparent 62%),
    radial-gradient(circle at 85% 90%, var(--b), transparent 64%),
    linear-gradient(160deg, #0c0c2e 0%, #03040f 100%);
}/* ============================================
   LEXVAIN UNIVERSE: Shooting stars + glass cards
   ============================================ */

/* ---------- Shooting stars ---------- */
.sky__shoot--x {
  width: 190px;
  height: 2px;
  animation-name: skyShoot;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  background: linear-gradient(90deg, #ffffff, rgba(160, 190, 255, 0));
  box-shadow: 0 0 10px rgba(180, 205, 255, 0.85);
}

/* ---------- Service cards: glass edge and shine ---------- */
.svc-card {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 0 36px rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 26px rgba(124, 92, 255, 0.3);
}

/* ---------- Product cards: glass edge and shine ---------- */
.product-card {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 0 36px rgba(255, 255, 255, 0.05),
    0 0 28px rgba(110, 80, 255, 0.2);
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 40px rgba(255, 255, 255, 0.08),
    0 0 46px rgba(130, 90, 255, 0.4);
}

/* ---------- Hero pillars: glass edge ---------- */
.hero__pillars li {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 24px rgba(110, 80, 255, 0.16);
}