/* Home page in the NEXA look (light theme): glass panels, cyan/violet glow, big gradient headline.
   Everything is scoped to .nx so the rest of the site keeps its Tailwind look. */
.nx {
  --nx-bg: #f5f8ff; --nx-bg-alt: #edf3fc; --nx-panel: #fff; --nx-panel-2: #f0f6ff;
  --nx-text: #10233f; --nx-muted: #536981; --nx-cyan: #087da6; --nx-link: #087aab;
  --nx-border: rgba(38, 120, 203, .28); --nx-soft: rgba(60, 120, 180, .15);
  --nx-shadow: 0 12px 40px #24477710; --nx-glow: 0 5px 24px #167be911; --nx-purple: #7547d4;
  position: relative; overflow: hidden; background: var(--nx-bg); color: var(--nx-text);
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif; line-height: 1.6;
}
.nx *, .nx *::before, .nx *::after { box-sizing: border-box; }
:where(.nx) a { color: inherit; text-decoration: none; }  /* zero specificity: utility classes such as text-white (the "Buy" buttons) must win */
.nx-glow { position: absolute; top: 0; right: 0; width: 75%; height: 700px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 70% 20%, #3b82f625, transparent 65%); }
.nx-container { position: relative; z-index: 1; width: min(1280px, calc(100% - 48px)); margin-inline: auto; }

.nx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--nx-link); font-weight: 700; }
.nx-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #1fc7d4; box-shadow: 0 0 9px #1fc7d4; flex: none; }

.nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 28px;
  font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap; transition: transform .2s, box-shadow .2s; cursor: pointer; }
.nx-btn:hover { transform: translateY(-1px); }
.nx-btn-primary { color: #fff !important; border: 1px solid #7ac7ff;
  background: linear-gradient(110deg, #9444ff -10%, #5f43f2 42%, #087ef1 95%);
  box-shadow: inset 0 0 8px #ffffff35, 0 6px 22px #5639f550; }
.nx-btn-outline { background: var(--nx-panel); border: 1px solid #379bdf99; color: var(--nx-text); box-shadow: 0 0 12px #088bee12; }

/* hero */
.nx-hero { position: relative; z-index: 1; padding: 48px 0 40px; }
.nx-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.nx-hero h1 { margin: 18px 0 0; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; color: #0f1f3d; }
.nx-hero h1 span { background: linear-gradient(95deg, #0e9bb8 0%, #3b6fe6 55%, #8453e8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-hero p.nx-lead { margin: 22px 0 0; max-width: 470px; font-size: 16px; color: var(--nx-muted); line-height: 1.75; }
.nx-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.nx-visual { position: relative; min-height: 440px; border-radius: 26px; isolation: isolate; padding: 28px 28px 178px;
  background: linear-gradient(145deg, #0b1d3d 0%, #10306a 55%, #2b2a86 100%);
  box-shadow: 0 30px 70px #1c3f8a33, inset 0 0 0 1px #5aa6ff40; overflow: hidden; }
.nx-visual::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 20% 15%, #22d3ee33, transparent 45%), radial-gradient(circle at 85% 85%, #8b5cf644, transparent 50%); }
.nx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nx-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 1 / 1; padding: 10px; border-radius: 16px;
  background: #ffffff14; border: 1px solid #7ab8ff40; backdrop-filter: blur(6px); text-align: center; transition: transform .25s, background .25s; }
.nx-tile:hover { transform: translateY(-3px); background: #ffffff24; }
.nx-tile img { width: 64%; height: 64%; object-fit: contain; border-radius: 10%; }
.nx-tile span { font-size: 11px; font-weight: 700; color: #dbeafe; line-height: 1.2; }
.nx-panel { position: absolute; right: 22px; bottom: 22px; width: 232px; padding: 16px 16px 12px; border-radius: 16px;
  border: 1px solid #38bdf8; background: linear-gradient(130deg, #05284aef, #071a39ef);
  box-shadow: inset 0 0 20px #1773f42b, 0 10px 36px #0468ee55; color: #e6f1ff; transform: perspective(700px) rotateY(-6deg); }
.nx-panel-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.nx-panel-head small { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 10px; font-weight: 400; color: #6fe8ed; }
.nx-panel-head small i { width: 5px; height: 5px; border-radius: 50%; background: #3ce6e8; box-shadow: 0 0 8px #3ce6e8; }
.nx-panel-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid #38bdf8; color: #67e8f9; }
.nx-row { display: flex; align-items: center; gap: 9px; margin-top: 11px; font-size: 12px; color: #b4cdea; }
.nx-row b { margin-left: auto; color: #fff; font-weight: 700; }
.nx-orbit { position: absolute; left: 4%; bottom: 14px; width: 60%; height: 54px; border: 1px solid #21cfee85; border-radius: 50%; transform: rotate(-4deg);
  box-shadow: 0 0 14px #029eef55, inset 0 0 20px #0794fc18; z-index: -1; }
.nx-caption { position: absolute; left: 28px; bottom: 26px; max-width: 45%; font-size: 10px; letter-spacing: .2em; color: #7ce8f3; display: flex; align-items: center; gap: 7px; }

/* stats */
.nx-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px auto 54px; }
.nx-stat { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 18px; border-radius: 18px; background: var(--nx-panel);
  border: 1px solid var(--nx-border); box-shadow: var(--nx-glow); }
.nx-stat::after { content: ""; position: absolute; bottom: -1px; left: 15%; width: 70%; height: 1px; background: linear-gradient(90deg, transparent, #8155ff, transparent); }
.nx-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; font-size: 21px; color: #0a8fb3;
  border: 1px solid #397fd760; background: radial-gradient(circle, #bfe8ff, #e8f4ff 70%); }
.nx-icon.purple { color: var(--nx-purple); background: radial-gradient(circle, #e1d6ff, #f1ecff 70%); border-color: #8054ee55; }
.nx-stat strong { display: block; font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--nx-cyan); }
.nx-stat h3 { margin: 5px 0 0; font-size: 13px; font-weight: 700; }
.nx-stat p { margin: 3px 0 0; font-size: 11px; color: var(--nx-muted); }

/* sections */
.nx-section { position: relative; z-index: 1; padding: 22px 0 48px; }
.nx-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.nx-heading h2 { margin: 8px 0 0; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.nx-heading h2 span { background: linear-gradient(95deg, #0e9bb8, #8453e8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--nx-link) !important; }
.nx-link:hover { text-decoration: underline; }

.nx-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.nx-cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; text-align: center;
  background: var(--nx-panel); border: 1px solid var(--nx-border); border-radius: 18px; box-shadow: var(--nx-glow); transition: transform .2s, box-shadow .2s; }
.nx-cat:hover, .nx-cat:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 30px #3b82f630; outline: none; }
.nx-cat img { width: 78%; max-width: 96px; aspect-ratio: 1; object-fit: contain; border-radius: 10%; }
.nx-cat h5 { margin: 0; font-size: 12px; font-weight: 700; }

.nx-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nx-empty { grid-column: 1 / -1; color: var(--nx-muted); font-size: 14px; }

/* about */
.nx-about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: stretch; }
.nx-showcase { padding: 40px 38px; border-radius: 22px; border: 1px solid var(--nx-border); box-shadow: var(--nx-glow);
  background: linear-gradient(120deg, var(--nx-panel), var(--nx-bg-alt)); display: flex; flex-direction: column; justify-content: center; }
.nx-showcase h2 { margin: 12px 0 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.nx-showcase h2 span { background: linear-gradient(95deg, #0e9bb8, #8453e8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-showcase p { margin: 16px 0 26px; max-width: 520px; font-size: 14px; color: var(--nx-muted); line-height: 1.8; }
.nx-showcase .nx-btn { align-self: flex-start; }
.nx-features { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.nx-feature { display: flex; gap: 14px; align-items: flex-start; }
.nx-feature .nx-icon { width: 50px; height: 50px; font-size: 18px; }
.nx-feature h3 { margin: 0; font-size: 14px; font-weight: 700; }
.nx-feature p { margin: 4px 0 0; font-size: 12px; color: var(--nx-muted); line-height: 1.6; }

@media (max-width: 1024px) {
  .nx-hero-grid { grid-template-columns: 1fr; }
  .nx-stats { grid-template-columns: repeat(2, 1fr); }
  .nx-cats { grid-template-columns: repeat(3, 1fr); }
  .nx-products { grid-template-columns: repeat(2, 1fr); }
  .nx-about { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nx-container { width: calc(100% - 32px); }
  .nx-hero { padding-top: 30px; }
  .nx-visual { min-height: 0; padding: 18px 18px 170px; }
  .nx-panel { right: 12px; bottom: 12px; width: 210px; transform: none; }
  .nx-caption { display: none; }
  .nx-stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; }
  .nx-stat strong { font-size: 24px; }
  .nx-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .nx-products { grid-template-columns: 1fr; }
  .nx-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nx-showcase { padding: 28px 22px; }
  .nx-btn { width: 100%; }
}
