/* Node Dynamic Systems Ltd. — Dark Blue / Glass / Less Boxy
   Precision. Privacy. Performance.
*/

:root{
  --bg0:#05070b;
  --bg1:#070b12;
  --bg2:#0b1220;

  --accent:#3ea6ff;
  --accent2:#0b3d91;

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.68);
  --muted2: rgba(255,255,255,0.50);

  --stroke: rgba(255,255,255,0.10);
  --stroke2: rgba(255,255,255,0.06);

  --glass: rgba(255,255,255,0.045);
  --glass2: rgba(255,255,255,0.065);

  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --shadowSoft: 0 14px 40px rgba(0,0,0,0.35);

  --radius: 18px;
  --radiusLg: 28px;

  --max: 1120px;
  --pad: 22px;

  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
          "Segoe UI", Helvetica, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font);
  background: radial-gradient(1200px 800px at 55% -10%, rgba(62,166,255,0.22), transparent 55%),
              radial-gradient(1000px 700px at 15% 10%, rgba(11,61,145,0.18), transparent 60%),
              radial-gradient(900px 700px at 85% 35%, rgba(62,166,255,0.10), transparent 60%),
              linear-gradient(180deg, var(--bg1), var(--bg0));
  color: var(--text);
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset: 4px; }

/* Background glow layer */
.bg-glow{
  position: fixed;
  inset: 0;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(62,166,255,0.18), transparent 60%),
    radial-gradient(760px 520px at 20% 20%, rgba(62,166,255,0.09), transparent 70%),
    radial-gradient(720px 520px at 80% 30%, rgba(11,61,145,0.10), transparent 72%);
  opacity: 0.95;
  z-index: 0;
}

/* Layout helpers */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

/* Top nav */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5,7,11,0.62);
  border-bottom: 1px solid var(--stroke2);
}
/* Brand logo alignment fix */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.brand .mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid currentColor;
  flex-shrink: 0;
  position: relative;
  top: 0; /* hard reset any previous offsets */
}

.brand .name {
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.nav{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--pad);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 220px;
}
.mark{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(62,166,255,0.85);
  box-shadow: 0 0 18px rgba(62,166,255,0.35);
}
.name{
  letter-spacing: 0.10em;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

.navlinks{
  display:flex;
  gap: 22px;
  align-items:center;
  justify-content:center;
  flex: 1;
}
.navlinks a{
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  padding: 10px 10px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.navlinks a:hover{
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.05);
  text-decoration:none;
}
.navlinks a.active{
  color: rgba(255,255,255,0.90);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.navcta{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 220px;
  justify-content:flex-end;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(62,166,255,0.22);
  background: rgba(62,166,255,0.08);
  color: rgba(255,255,255,0.92);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.pill:hover{
  transform: translateY(-1px);
  background: rgba(62,166,255,0.10);
  border-color: rgba(62,166,255,0.30);
  text-decoration:none;
}
.pill .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(62,166,255,0.80);
}

/* Mobile */
.burger{
  display:none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  padding: 9px 12px;
  border-radius: 999px;
}
.drawer{
  display:none;
  border-top: 1px solid var(--stroke2);
  background: rgba(5,7,11,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.drawer .inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px var(--pad) 16px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.drawer a{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.80);
}
.drawer a:hover{
  background: rgba(255,255,255,0.05);
  text-decoration:none;
}

/* Subnav */
.subnav{
  position: sticky;
  top: 56px;
  z-index: 40;
  border-bottom: 1px solid var(--stroke2);
  background: rgba(5,7,11,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.subnav .inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px var(--pad);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.subnav .title{
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}
.subnav .mini{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.subnav .mini a{
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.subnav .mini a:hover{
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.04);
  text-decoration:none;
}
.subnav .mini a.active{
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.10);
}

/* Sections — less “striped/boxed”, more flow */
main{ position:relative; z-index:1; }

section{
  padding: 92px 0;
  position: relative;
}
section::before{
  content:"";
  position:absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(1200px, 92vw);
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(62,166,255,0.16),
    rgba(255,255,255,0.08),
    rgba(62,166,255,0.12),
    transparent
  );
  opacity: 0.55;
}
section:first-of-type::before{ display:none; }

/* Hero */
.hero{
  padding: 90px 0 70px;
}
.hero .wrap{
  text-align:center;
}
.kicker{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 22px;
}
.kicker .line{
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62,166,255,0.55), transparent);
  opacity: 0.7;
}

h1{
  margin: 0 0 14px;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.95); /* FORCE LEGIBILITY */
  text-shadow: 0 18px 60px rgba(0,0,0,0.55); /* prevent “black on dark” look */
}
h2{
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
}
h3{
  margin: 0 0 10px;
  font-size: 18px;
  color: rgba(255,255,255,0.90);
}

.subhead{
  max-width: 860px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,0.70);
  line-height: 1.55;
  font-size: 16px;
}

.cta-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  margin-top: 14px;
}

.linkish{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.88);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.linkish:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  text-decoration:none;
}
.linkish.primary{
  border-color: rgba(62,166,255,0.24);
  background: rgba(62,166,255,0.10);
}
.arrow{ opacity:0.85; }

/* Head blocks inside sections */
.section-head{
  max-width: 880px;
  margin: 0 auto 26px;
  text-align: center;
}
.section-head .label{
  display:inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
  margin-bottom: 10px;
}
.section-head p{
  margin: 12px auto 0;
  color: rgba(255,255,255,0.66);
  line-height: 1.6;
}

/* “Less boxy” panels: soft glass with a gradient edge, not a hard rectangle */
.soft-card{
  border-radius: var(--radiusLg);
  background:
    radial-gradient(900px 400px at 50% -20%, rgba(62,166,255,0.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadowSoft);
}

/* Hero “backdrop” area that holds the 2 tiles */
.hero-backdrop{
  margin-top: 36px;
  padding: 22px;
  border-radius: 34px;
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(62,166,255,0.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadowSoft);
}

/* Grids */
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Tiles — remove “boxy”: no harsh border, more rounding, softer edge */
.tile{
  border-radius: 26px;
  padding: 18px 18px 16px;
  background:
    radial-gradient(520px 220px at 30% 0%, rgba(62,166,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.028));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.tile:hover{
  transform: translateY(-2px);
  border-color: rgba(62,166,255,0.18);
  background:
    radial-gradient(520px 220px at 30% 0%, rgba(62,166,255,0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}
.tile p{
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
  margin: 10px 0 12px;
}
.tile .mini{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.52);
}

/* Actions inside tiles */
.actions{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  margin-top: 8px;
}
.inline-link{
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.inline-link:hover{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-1px);
  text-decoration:none;
}

/* Feature row — make them feel like pills/panels instead of boxes */
.feature-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.feature{
  border-radius: 18px;
  padding: 14px 14px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.feature b{
  display:block;
  color: rgba(255,255,255,0.90);
  margin-bottom: 6px;
}
.feature span{
  display:block;
  color: rgba(255,255,255,0.62);
  line-height: 1.45;
}

/* Sponsor card */
.sponsor-card{
  border-radius: 30px;
  padding: 20px;
  display:flex;
  gap: 18px;
  align-items:center;
  background:
    radial-gradient(700px 320px at 25% 0%, rgba(62,166,255,0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadowSoft);
}
.sponsor-logo img{
  width: 260px;
  max-width: 42vw;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.35));
}
.sponsor-text p{
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
}

/* Contact panel */
.contact-panel{
  max-width: 760px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(800px 380px at 50% -10%, rgba(62,166,255,0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadowSoft);
  text-align:center;
}
.contact-panel p{
  color: rgba(255,255,255,0.66);
  line-height: 1.55;
}
.contact-panel .email{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  font-size: 14px;
  margin-top: 10px;
}
.contact-panel .email .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(62,166,255,0.85);
}

/* “Reveal” class — do NOT hide content by default */
.reveal{ }

/* Footer */
footer{
  padding: 26px 0 40px;
  color: rgba(255,255,255,0.52);
  font-size: 12px;
}
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap: 12px;
  align-items:center;
}
.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}
.footer-links a{
  color: rgba(255,255,255,0.52);
}
.footer-links a:hover{
  color: rgba(255,255,255,0.78);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Responsiveness */
@media (max-width: 980px){
  .navlinks{ display:none; }
  .burger{ display:inline-flex; }
}
@media (max-width: 900px){
  .grid, .grid2{ grid-template-columns: 1fr; }
  .feature-row{ grid-template-columns: 1fr; }
  .brand{ min-width:auto; }
  .navcta{ min-width:auto; }
  .hero-backdrop{ padding: 16px; }
}
@media (max-width: 720px){
  section{ padding: 70px 0; }
  .sponsor-card{ flex-direction:column; text-align:center; }
  .sponsor-logo img{ width: 220px; max-width: 70vw; }
}
/* Brand alignment + single-line name */
.brand { display:flex; align-items:center; gap:10px; white-space:nowrap; }
.brand .mark { width:12px; height:12px; border-radius:50%; border:2px solid currentColor; flex-shrink:0; }
.brand .name { line-height:1; white-space:nowrap; letter-spacing:.04em; }

/* Ensure no arrow remnants */
.arrow { display:none !important; }

/* Featured sponsor section */
.sponsor-feature {
  padding: 90px 0;
  background:
    radial-gradient(1200px 400px at 50% -200px,
      rgba(120,180,255,0.08),
      transparent 60%);
}

/* Sponsor card */
.sponsor-card {
  margin-top: 48px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02));
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Inner layout */
.sponsor-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding: 44px;
  align-items: center;
}

/* Logo */
.sponsor-logo img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.4));
}

/* Text */
.sponsor-text h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.sponsor-tagline {
  font-weight: 500;
  opacity: 0.85;
  margin-bottom: 14px;
}

/* Mobile */
@media (max-width: 720px) {
  .sponsor-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sponsor-logo img {
    margin-bottom: 18px;
  }
}
/* Temporary site notice banner */
.site-notice {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(
    180deg,
    rgba(20, 30, 45, 0.96),
    rgba(15, 25, 38, 0.96)
  );
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  animation: notice-slide-in 0.45s ease-out;
}

.notice-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.notice-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
}

.notice-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
}

.notice-close:hover {
  color: #ffffff;
}

@keyframes notice-slide-in {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
