/* nebulyx.net — glass design. Single dark theme, Mentor red accent. */
:root {
  color-scheme: dark;
  --bg: #07070a;
  --bg-2: #0d0d12;
  --text: #f5f5f7;
  --text-2: #a1a1aa;
  --text-3: #6b6b76;
  --red: #c72c41;
  --red-hi: #e8334a;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-hi: rgba(255, 255, 255, 0.09);
  --glass-line: rgba(255, 255, 255, 0.12);
  --glass-line-hi: rgba(255, 255, 255, 0.22);
  --s-p: #4dfa90;
  --s-r: #fabe4d;
  --s-q: #ff9b4b;
  --s-nr: #ff5468;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --wrap: 1120px;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
  padding-inline: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }

/* Ambient light behind the glass */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; }
.aurora .a1 { width: 640px; height: 640px; background: #c72c41; top: -220px; left: 50%; transform: translateX(-70%); opacity: .38; }
.aurora .a2 { width: 520px; height: 520px; background: #3b2a8f; top: 280px; right: -180px; opacity: .35; }
.aurora .a3 { width: 460px; height: 460px; background: #7a1530; bottom: -160px; left: -140px; opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .aurora .a1 { animation: drift 22s ease-in-out infinite alternate; }
  .aurora .a2 { animation: drift 28s ease-in-out infinite alternate-reverse; }
}
@keyframes drift { to { translate: 60px 40px; } }

.wrap { max-width: var(--wrap); margin-inline: auto; }

.glass {
  background: linear-gradient(180deg, var(--glass-hi), var(--glass));
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 60px rgba(0,0,0,.45);
}

/* Nav */
.nav-shell { position: sticky; top: 12px; z-index: 50; margin-top: 12px; }
.nav {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  height: 56px; padding-inline: 18px 10px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); font: 500 14px var(--font); padding: 8px 12px; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding-inline: 22px; border-radius: 999px;
  font: 500 15px var(--font); cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 28px rgba(199,44,65,.4); }
.btn-primary:hover { background: var(--red-hi); }
.btn-glass { background: var(--glass); border: 1px solid var(--glass-line); color: var(--text); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-glass:hover { border-color: var(--glass-line-hi); }
.btn-sm { height: 36px; padding-inline: 16px; font-size: 14px; }

/* Hero */
.hero { text-align: center; padding-block: 96px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--text-2); }
.eyebrow b { width: 7px; height: 7px; border-radius: 50%; background: var(--s-p); box-shadow: 0 0 10px var(--s-p); }
.hero h1 {
  font-size: clamp(42px, 8vw, 84px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
  margin: 22px auto 0; max-width: 14ch; text-wrap: balance;
}
.hero h1 .grad { background: linear-gradient(100deg, #ff6b7d, #c72c41 45%, #8b6cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(17px, 2vw, 21px); color: var(--text-2); max-width: 40em; margin: 22px auto 0; text-wrap: balance; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* Showcase window */
.showcase { margin: 64px auto 0; max-width: 980px; border-radius: var(--r-lg); padding: 14px; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 14px; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.16); }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--text-3); }
.showcase-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.panel { border-radius: var(--r); background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.07); padding: 18px; text-align: left; }
.panel-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--red-hi); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 2px; border-top: 1px solid rgba(255,255,255,.06); }
.row:first-of-type { border-top: 0; }
.row-name { font-size: 15px; font-weight: 500; }
.row-div { font-size: 12px; color: var(--text-3); }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.b-p { color: var(--s-p); background: rgba(77,250,144,.1); }
.b-r { color: var(--s-r); background: rgba(250,190,77,.1); }
.b-q { color: var(--s-q); background: rgba(255,155,75,.1); }
.b-nr { color: var(--s-nr); background: rgba(255,84,104,.1); }
.reveal-list { list-style: none; display: grid; gap: 8px; }
.reveal-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: rgba(255,255,255,.04); font-size: 14px; }
.reveal-list .pl { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--text-3); width: 2.4em; }
.reveal-list .now { background: rgba(199,44,65,.18); border: 1px solid rgba(232,51,74,.4); }
.reveal-list .now .pl { color: var(--red-hi); }
.reveal-list .hidden { color: var(--text-3); }
.stat-line { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.stat-line b { color: var(--text); font-weight: 600; }

/* Sections */
section { padding-block: 96px; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.kicker { font-size: 14px; font-weight: 600; color: var(--red-hi); letter-spacing: .02em; }
.sec-head h2 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.03em; line-height: 1.08; font-weight: 700; margin-top: 10px; text-wrap: balance; }
.sec-head p { color: var(--text-2); font-size: 18px; margin-top: 14px; text-wrap: balance; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { border-radius: var(--r-lg); padding: 30px; grid-column: span 2; display: flex; flex-direction: column; gap: 10px; }
.tile.wide { grid-column: span 3; }
.tile .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(199,44,65,.16); border: 1px solid rgba(232,51,74,.3); margin-bottom: 8px; }
.tile .ico svg { width: 20px; height: 20px; stroke: var(--red-hi); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 21px; letter-spacing: -.015em; font-weight: 600; }
.tile p { color: var(--text-2); font-size: 15px; }

/* Screenshots */
.shots { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1100px; margin-inline: auto; }
.shot { border-radius: var(--r-lg); padding: 10px; }
.shot img { border-radius: 18px; width: 100%; height: auto; display: block; background: #000; }
.shot figcaption { font-size: 14px; color: var(--text-2); padding: 12px 8px 4px; }

/* Platform */
.platform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product { border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.product .tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.product h3 { font-size: 26px; letter-spacing: -.02em; }
.product p { color: var(--text-2); font-size: 15px; flex: 1; }
.product .url { font-family: var(--mono); font-size: 13px; color: var(--red-hi); }

/* Steps (a real sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { border-radius: var(--r); padding: 26px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--glass-line-hi); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14px; }

/* Contact */
.contact { border-radius: var(--r-lg); padding: 56px 40px; text-align: center; }
.contact h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; line-height: 1.1; margin-top: 10px; text-wrap: balance; }
.contact p { color: var(--text-2); margin: 14px auto 28px; max-width: 34em; }

/* Footer */
footer { border-top: 1px solid rgba(255,255,255,.08); padding-block: 48px 40px; margin-top: 40px; }
.logos { max-width: var(--wrap); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.plate { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 12px; background: #fff; transition: transform .2s; }
.plate:hover { transform: translateY(-2px); }
.plate img { display: block; width: auto; max-width: 100%; }
.credits { max-width: var(--wrap); margin: 24px auto 0; font-size: 13.5px; line-height: 1.6; color: var(--text-3); }
.credits p { margin: 0; max-width: 72ch; }
.credits a { color: var(--text-2); }
.credits a:hover { color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0; font-size: 13px; }
.foot-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.legal { max-width: var(--wrap); margin: 0; font-size: 12px; color: var(--text-3); }

/* Responsive */
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .platform { grid-template-columns: 1fr; }
  .showcase-body { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px; border-radius: 22px; background: rgba(20,20,26,.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--glass-line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .nav .btn { display: none; }
  .hero { padding-top: 64px; }
  section { padding-block: 64px; }
  .bento, .shots, .steps { grid-template-columns: 1fr; }
  .contact { padding: 40px 22px; }
}
