/* ============================================================
   GradeX Landing — Ultra marketing shell (v2)
   ============================================================ */
:root {
  --gx-blue: #0078D4;
  --gx-cyan: #00BCF2;
  --gx-violet: #7C3AED;
  --gx-ink: #0F172A;
  --gx-muted: #64748B;
  --gx-font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.gx-lp {
  font-family: var(--gx-font);
  color: #E2E8F0;
  background: #060B14;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Ambient background */
.gx-lp-scene {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 15% -20%, rgba(0,120,212,0.5), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 5%, rgba(124,58,237,0.28), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(0,188,242,0.2), transparent 50%),
    #060B14;
}
.gx-lp-scene::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 70%);
}
.gx-lp-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55;
  animation: gx-float 18s ease-in-out infinite;
}
.gx-lp-orb-1 { width: 420px; height: 420px; background: #0078D4; top: -80px; left: -100px; }
.gx-lp-orb-2 { width: 320px; height: 320px; background: #7C3AED; top: 10%; right: -60px; animation-delay: -6s; }
.gx-lp-orb-3 { width: 280px; height: 280px; background: #00BCF2; bottom: 20%; left: 30%; animation-delay: -12s; opacity: 0.25; }
@keyframes gx-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.gx-lp-root { position: relative; z-index: 1; }

/* Nav */
.gx-lp-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 28px;
  background: rgba(6,11,20,0.72);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gx-lp-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 1.2rem; color: #fff; letter-spacing: -0.02em;
}
.gx-lp-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, #00BCF2, #0078D4 45%, #005A9E);
  display: grid; place-items: center; color: #fff; font-size: 0.8rem; font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,120,212,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}
.gx-lp-nav-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.gx-lp-nav-right a.nav-link {
  padding: 8px 14px; border-radius: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.7);
  transition: 0.2s ease;
}
.gx-lp-nav-right a.nav-link:hover { color: #fff; background: rgba(255,255,255,0.07); }

/* Buttons */
.gx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s, background 0.2s;
}
.gx-btn:hover { transform: translateY(-2px); }
.gx-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1AA3FF, #0078D4 50%, #005EA8);
  box-shadow: 0 4px 20px rgba(0,120,212,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.gx-btn-primary:hover { box-shadow: 0 10px 32px rgba(0,120,212,0.6); color: #fff; }
.gx-btn-ghost {
  color: #fff; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.gx-btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.gx-btn-white {
  background: #fff; color: #005A9E; font-weight: 700;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.gx-btn-white:hover { background: #F0F9FF; color: #004578; }
.gx-btn-xl { padding: 16px 28px; font-size: 1.05rem; border-radius: 14px; }

/* Hero */
.gx-hero {
  max-width: 1100px; margin: 0 auto;
  padding: 80px 24px 40px; text-align: center;
}
.gx-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 28px;
  font-size: 0.8rem; font-weight: 600; color: #7DD3FC;
  background: rgba(0,120,212,0.12);
  border: 1px solid rgba(56,189,248,0.25);
  animation: gx-fade-up 0.7s ease both;
}
.gx-pill-live {
  width: 8px; height: 8px; border-radius: 50%; background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.2);
  animation: gx-pulse 2s ease infinite;
}
@keyframes gx-pulse {
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0.08); }
}
.gx-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.85rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  color: #F8FAFC; margin-bottom: 20px;
  animation: gx-fade-up 0.7s 0.08s ease both;
}
.gx-hero h1 .grad {
  background: linear-gradient(115deg, #67E8F9 0%, #38BDF8 25%, #0078D4 55%, #A78BFA 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gx-hero .lead {
  max-width: 620px; margin: 0 auto 36px;
  font-size: 1.15rem; color: #94A3B8; line-height: 1.7;
  animation: gx-fade-up 0.7s 0.16s ease both;
}
.gx-hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 52px;
  animation: gx-fade-up 0.7s 0.24s ease both;
}
.gx-metrics {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px;
  animation: gx-fade-up 0.7s 0.32s ease both;
}
.gx-metrics div { text-align: center; }
.gx-metrics strong {
  display: block; font-size: 1.5rem; font-weight: 800; color: #F1F5F9;
  letter-spacing: -0.02em;
}
.gx-metrics span { font-size: 0.8rem; color: #64748B; }

@keyframes gx-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product showcase */
.gx-showcase {
  max-width: 1040px; margin: 0 auto 90px; padding: 0 20px;
  animation: gx-fade-up 0.8s 0.35s ease both;
}
.gx-window {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15,23,42,0.85);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 100px rgba(0,0,0,0.55),
    0 0 80px rgba(0,120,212,0.15);
}
.gx-window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gx-window-bar i {
  width: 11px; height: 11px; border-radius: 50%; display: inline-block;
}
.gx-window-bar .r { background: #FF5F57; }
.gx-window-bar .y { background: #FEBC2E; }
.gx-window-bar .g { background: #28C840; }
.gx-window-url {
  flex: 1; margin-left: 10px; padding: 5px 12px; border-radius: 7px;
  background: rgba(255,255,255,0.05); font-size: 0.72rem; color: #94A3B8;
}
.gx-window-body {
  display: grid; grid-template-columns: 190px 1fr; min-height: 300px;
}
.gx-mock-side {
  padding: 18px 12px; background: rgba(8,12,22,0.9);
  border-right: 1px solid rgba(255,255,255,0.05);
}
.gx-mock-item {
  height: 11px; border-radius: 5px; margin-bottom: 12px;
  background: rgba(255,255,255,0.07);
}
.gx-mock-item.active {
  width: 78%; background: linear-gradient(90deg, rgba(0,120,212,0.55), rgba(0,188,242,0.25));
}
.gx-mock-main { padding: 22px; }
.gx-mock-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px;
}
.gx-mock-kpi {
  padding: 16px; border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.gx-mock-kpi b { display: block; font-size: 1.35rem; color: #F8FAFC; font-weight: 800; }
.gx-mock-kpi span { font-size: 0.7rem; color: #64748B; }
.gx-mock-table { border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.gx-mock-tr {
  display: grid; grid-template-columns: 2.2fr 0.7fr 0.7fr 1fr;
  padding: 11px 14px; font-size: 0.78rem; color: #94A3B8;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.gx-mock-tr.hd { background: rgba(255,255,255,0.03); color: #64748B; font-weight: 600; }
.gx-badge-ok {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  background: rgba(34,197,94,0.18); color: #4ADE80; font-size: 0.68rem; font-weight: 700;
}

/* Sections */
.gx-sec { max-width: 1100px; margin: 0 auto; padding: 72px 24px; }
.gx-sec-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #38BDF8; margin-bottom: 12px;
}
.gx-sec h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 800;
  letter-spacing: -0.025em; color: #F8FAFC; margin-bottom: 12px; line-height: 1.15;
}
.gx-sec .sub { max-width: 540px; color: #94A3B8; margin-bottom: 40px; line-height: 1.65; }

.gx-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gx-card {
  padding: 26px; border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: 0.25s cubic-bezier(.2,.8,.2,1);
}
.gx-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,120,212,0.4);
  background: rgba(0,120,212,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.gx-ico {
  width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: linear-gradient(145deg, rgba(0,188,242,0.2), rgba(0,120,212,0.12));
  color: #38BDF8; border: 1px solid rgba(56,189,248,0.15);
}
.gx-card h3 { font-size: 1.08rem; font-weight: 700; color: #F1F5F9; margin-bottom: 8px; }
.gx-card p { font-size: 0.92rem; color: #94A3B8; line-height: 1.55; }

/* Steps */
.gx-steps {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  counter-reset: step;
}
.gx-step {
  position: relative; padding: 24px; border-radius: 16px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
}
.gx-step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px;
  font-weight: 800; font-size: 0.95rem; color: #fff;
  background: linear-gradient(135deg, #0078D4, #005A9E);
  box-shadow: 0 6px 16px rgba(0,120,212,0.35);
}
.gx-step h3 { font-size: 1rem; color: #F1F5F9; margin-bottom: 6px; }
.gx-step p { font-size: 0.88rem; color: #94A3B8; }

/* Levels band */
.gx-levels-band {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  padding: 28px 20px; margin: 0 auto 20px; max-width: 900px;
}
.gx-chip {
  padding: 10px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 650;
  color: #E2E8F0; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Quote */
.gx-quote-wrap { max-width: 800px; margin: 0 auto; padding: 40px 24px 80px; text-align: center; }
.gx-quote {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem); font-weight: 600; line-height: 1.45;
  color: #F1F5F9; letter-spacing: -0.02em; margin-bottom: 20px;
}
.gx-quote-meta { color: #64748B; font-size: 0.9rem; }
.gx-quote-meta strong { color: #CBD5E1; }

/* CTA band */
.gx-cta-band {
  max-width: 920px; margin: 0 auto 80px; padding: 52px 36px;
  text-align: center; border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 80% at 20% 0%, rgba(0,188,242,0.25), transparent 50%),
    linear-gradient(135deg, #0078D4 0%, #005A9E 45%, #1E3A5F 100%);
  box-shadow: 0 30px 80px rgba(0,120,212,0.35);
  border: 1px solid rgba(255,255,255,0.12);
}
.gx-cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.gx-cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.gx-cta-band .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Footer */
.gx-lp-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 24px 48px; text-align: center; color: #64748B; font-size: 0.85rem;
}
.gx-lp-footer a { color: #94A3B8; margin: 0 8px; }
.gx-lp-footer a:hover { color: #fff; }
.gx-lp-footer .brand { color: #CBD5E1; font-weight: 700; }

@media (max-width: 800px) {
  .gx-lp-nav-right .nav-link { display: none; }
  .gx-window-body { grid-template-columns: 1fr; }
  .gx-mock-side { display: none; }
  .gx-mock-kpis { grid-template-columns: 1fr; }
  .gx-hero { padding-top: 48px; }
}


/* System brand (public pages) */
.gx-sys-brand{
  display:inline-flex;align-items:center;gap:10px;text-decoration:none;
  color:inherit;font-weight:700;letter-spacing:-.02em;line-height:1;
}
.gx-sys-brand-logo{
  width:var(--gx-brand-size,36px);height:var(--gx-brand-size,36px);
  object-fit:contain;border-radius:10px;flex-shrink:0;
  background:transparent;
}
.gx-sys-brand-mark{
  width:var(--gx-brand-size,36px);height:var(--gx-brand-size,36px);
  border-radius:10px;display:grid;place-items:center;flex-shrink:0;
  font-size:calc(var(--gx-brand-size,36px) * .38);font-weight:700;color:#fff;
  background:linear-gradient(135deg,#6366f1,#8b5cf6);
  box-shadow:0 6px 16px rgba(99,102,241,.28);
}
.gx-sys-brand-text{font-size:1.05rem}
.gx-lp-brand .gx-sys-brand-text{font-size:1.1rem;color:inherit}
