/* =========================================================
   SILVERNODE SOLUTIONS — Design tokens
   Palette: void black / onyx panels / metallic silver / signal blue
   Type: Space Grotesk (display) · Inter (body) · IBM Plex Mono (labels)
   Signature: the hex "node" mark + connective node network
   ========================================================= */
:root{
  --void:        #05070a;
  --onyx:        #0b0f16;
  --onyx-2:      #10151f;
  --steel-line:  #202834;
  --steel-line-soft: #171d27;

  --silver-1:    #f1f3f5;
  --silver-2:    #c3c9d1;
  --silver-3:    #8b929c;
  --silver-4:    #5b6169;

  --blue:        #2f6fed;
  --blue-bright: #5b9dff;
  --blue-dim:    #1a3d85;

  --ink:         #c7cdd6;
  --ink-dim:     #8891a0;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ text-decoration: none; color: inherit; }
::selection{ background: var(--blue-dim); color: var(--silver-1); }

:focus-visible{
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container{ max-width: 1240px; }

/* =========================================================
   NAV
   ========================================================= */
.sn-nav{
  background: rgba(5,7,10,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--steel-line-soft);
  padding: 14px 0;
  transition: background .3s ease;
}

.sn-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.sn-brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--steel-line);
}
.sn-brand-text{ display: flex; flex-direction: column; line-height: 1.05; }
.sn-brand-silver{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--silver-1);
}
.sn-brand-grey{ color: var(--silver-3); }
.sn-brand-sub{
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  color: var(--blue-bright);
  margin-top: 3px;
}

.navbar-nav .nav-link{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 16px !important;
  position: relative;
  transition: color .2s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{ color: var(--silver-1); }
.navbar-nav .nav-link.active::after{
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.navbar-toggler{
  border: 1px solid var(--steel-line);
  background: var(--onyx);
  color: var(--silver-1);
  padding: 6px 10px;
}
.navbar-toggler:focus{ box-shadow: 0 0 0 2px var(--blue-dim); }

/* Buttons */
.sn-btn-primary{
  background: linear-gradient(135deg, var(--blue), #1e56c9);
  color: var(--silver-1) !important;
  border: 1px solid var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 0 0 0 rgba(47,111,237,0);
}
.sn-btn-primary:hover{
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(47,111,237,0.55);
  color: var(--silver-1) !important;
}
.sn-btn-outline{
  background: transparent;
  color: var(--silver-1) !important;
  border: 1px solid var(--silver-4);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.sn-btn-outline:hover{
  border-color: var(--silver-1);
  background: rgba(255,255,255,0.04);
  color: var(--silver-1) !important;
}
.sn-btn-lg{ padding: 14px 28px; font-size: 0.82rem; }

/* =========================================================
   HERO
   ========================================================= */
.sn-hero{
  position: relative;
  padding: 168px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 15%, rgba(47,111,237,0.16), transparent 55%),
    var(--void);
}
.sn-node-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.sn-hero-fade{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,10,0.1) 0%, rgba(5,7,10,0.55) 70%, var(--void) 100%);
  pointer-events: none;
}

.sn-eyebrow{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  color: var(--blue-bright);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.sn-eyebrow-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(91,157,255,0.18);
}
.sn-eyebrow-static{ margin-bottom: 14px; }

.sn-h1{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.sn-h1-line1{
  display: block;
  color: var(--silver-1);
}
.sn-h1-line2{
  display: block;
  background: linear-gradient(120deg, var(--silver-1) 0%, var(--silver-3) 45%, var(--silver-2) 65%, var(--silver-4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sn-lede{
  font-size: 1.08rem;
  color: var(--ink);
  max-width: 560px;
  margin-bottom: 38px;
}

.solutionsPage .sn-lede{
  margin-bottom: -40px !important;
}

.sn-hero-ctas .btn{ min-width: 190px; text-align: center; }

/* Hero signature node mark */
.sn-hero-node{
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sn-hero-ring{
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--steel-line);
}
.sn-hero-ring-1{ inset: 0; animation: sn-spin 34s linear infinite; }
.sn-hero-ring-2{ inset: 34px; border-style: dashed; border-color: var(--steel-line); animation: sn-spin-rev 46s linear infinite; }

.sn-hex-mark{
  position: relative;
  width: 168px;
  height: 194px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--onyx);
  box-shadow: 0 0 60px -12px rgba(47,111,237,0.35);
  overflow: hidden;
}
.sn-hex-slice{
  position: absolute;
  inset: 0;
}
.sn-hex-slice-1{
  background: repeating-linear-gradient(115deg, var(--silver-1) 0 3px, transparent 3px 9px);
  clip-path: polygon(50% 0%, 100% 25%, 50% 50%, 0% 25%);
  opacity: 0.9;
}
.sn-hex-slice-2{
  background: repeating-linear-gradient(65deg, var(--silver-3) 0 3px, transparent 3px 9px);
  clip-path: polygon(100% 25%, 100% 75%, 50% 100%, 50% 50%);
  opacity: 0.85;
}
.sn-hex-slice-3{
  background: repeating-linear-gradient(180deg, var(--silver-4) 0 3px, transparent 3px 9px);
  clip-path: polygon(0% 25%, 50% 50%, 50% 100%, 0% 75%);
  opacity: 0.8;
}

.sn-orbit-node{
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 14px 2px rgba(91,157,255,0.6);
}
.sn-orbit-node-a{ top: 6%; left: 50%; animation: sn-float 5s ease-in-out infinite; }
.sn-orbit-node-b{ bottom: 10%; left: 14%; animation: sn-float 6.5s ease-in-out infinite 0.6s; }
.sn-orbit-node-c{ bottom: 18%; right: 8%; animation: sn-float 5.6s ease-in-out infinite 1.2s; }

@keyframes sn-spin{ to{ transform: rotate(360deg); } }
@keyframes sn-spin-rev{ to{ transform: rotate(-360deg); } }
@keyframes sn-float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.sn-marquee{
  background: var(--onyx);
  border-top: 1px solid var(--steel-line);
  border-bottom: 1px solid var(--steel-line);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}
.sn-marquee-track{
  display: flex;
  width: max-content;
  animation: sn-marquee 40s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  color: var(--silver-2);
}
.sn-marquee-group{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  padding-right: 18px;
}
.sn-marquee-track span{ padding: 0 2px; }
.sn-marquee-dot{ color: var(--blue-bright); letter-spacing: 0; }
@keyframes sn-marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (min-width: 1600px){
  .sn-marquee-track{ animation-duration: 55s; }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.sn-section{ padding: 96px 0; }
.sn-section-head{ max-width: 640px; margin-bottom: 54px; }
.sn-section-head-split{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}
.sn-h2{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  color: var(--silver-1);
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.sn-body-lg{ font-size: 1.02rem; color: var(--ink); max-width: 480px; }

.sn-textlink{
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.sn-textlink:hover{ color: var(--silver-1); border-color: var(--silver-1); }

/* Pillars */
.sn-pillars{ background: var(--void); }
.sn-pillar{
  height: 100%;
  padding: 30px 22px;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--onyx) 0%, var(--onyx-2) 100%);
  transition: border-color .2s ease, transform .2s ease;
}
.sn-pillar:hover{ border-color: var(--silver-4); transform: translateY(-4px); }
.sn-pillar-icon{
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--onyx-2);
  border: 1px solid var(--steel-line);
  color: var(--blue-bright);
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.sn-pillar h3{
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--silver-1);
  margin-bottom: 8px;
}
.sn-pillar p{ font-size: 0.92rem; color: var(--ink-dim); margin: 0; }

/* Solutions cards */
.sn-solutions{ background: var(--onyx); border-top: 1px solid var(--steel-line-soft); border-bottom: 1px solid var(--steel-line-soft); }
.sn-card{
  height: 100%;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: var(--void);
  border: 1px solid var(--steel-line);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.sn-card:hover{
  border-color: var(--blue-dim);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -24px rgba(47,111,237,0.5);
}
.sn-card-icon{
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-dim), rgba(47,111,237,0.12));
  color: var(--blue-bright);
  font-size: 1.15rem;
  margin-bottom: 20px;
}
.sn-card h3{
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--silver-1);
  margin-bottom: 10px;
}
.sn-card p{ font-size: 0.92rem; color: var(--ink-dim); margin: 0; }

/* About band */
.sn-about-band{ background: var(--void); }
.sn-stat{
  padding: 26px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--steel-line);
  background: linear-gradient(180deg, var(--onyx), var(--onyx-2));
  display: flex; flex-direction: column; gap: 6px;
}
.sn-stat-num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--silver-1);
}
.sn-stat-label{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* CTA band */
.sn-cta-band{
  padding: 70px 0;
  background: linear-gradient(120deg, #0a1a3a, #061020 60%, var(--void));
  border-top: 1px solid var(--steel-line);
  border-bottom: 1px solid var(--steel-line);
}
.sn-cta-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* =========================================================
   FOOTER
   ========================================================= */
.sn-footer{
  background: var(--onyx);
  border-top: 1px solid var(--steel-line);
  padding: 72px 0 28px;
}
.sn-footer-brand{ margin-bottom: 16px; }
.sn-footer-tag{ color: var(--ink-dim); font-size: 0.92rem; max-width: 280px; margin-bottom: 22px; }
.sn-social{ display: flex; gap: 12px; }
.sn-social a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--steel-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--silver-2);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.sn-social a:hover{ border-color: var(--blue-bright); color: var(--blue-bright); background: rgba(47,111,237,0.08); }

.sn-footer-head{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-3);
  margin-bottom: 18px;
}
.sn-footer-links{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.sn-footer-links a{ font-size: 0.92rem; color: var(--ink); transition: color .18s ease; }
.sn-footer-links a:hover{ color: var(--blue-bright); }

.sn-footer-bottom{
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--steel-line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-dim);
}
.sn-footer-motto{ letter-spacing: 0.18em; color: var(--silver-3); }
.sn-dot{ color: var(--blue-bright); font-style: normal; margin: 0 8px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px){
  .sn-hero{ padding: 140px 0 80px; }
  .sn-section{ padding: 72px 0; }
  .sn-section-head-split{ flex-direction: column; align-items: flex-start; }
  .navbar-collapse{
    background: var(--onyx);
    margin-top: 14px;
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--steel-line);
  }
  .navbar-nav .nav-link.active::after{ display: none; }
  .sn-hero-ctas .btn{ width: 100%; }
}

@media (max-width: 575.98px){
  .sn-h1{ font-size: 2.5rem; }
  .sn-cta-inner{ text-align: left; }
  .sn-cta-inner .btn{ width: 100%; }
  .sn-footer-bottom{ flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   INNER PAGE HERO (Solutions, Consultation, About, Contact)
   ========================================================= */
.sn-hero-inner{
  padding: 150px 0 64px;
}
.sn-h1-inner{ font-size: clamp(2.2rem, 4.2vw, 3.4rem); }

/* =========================================================
   SOLUTIONS — TAB NAV
   ========================================================= */
.sn-solutions-tabs{ padding-top: 24px; }

.sn-tab-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: none;
  margin-bottom: 44px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--steel-line);
}
.sn-tab-btn{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--onyx);
  border: 1px solid var(--steel-line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: 999px;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.sn-tab-btn i{ color: var(--silver-4); transition: color .18s ease; font-size: 0.9rem; }
.sn-tab-btn:hover{ border-color: var(--silver-4); color: var(--silver-1); }
.sn-tab-btn.active{
  background: linear-gradient(135deg, var(--blue), #1e56c9);
  border-color: var(--blue-bright);
  color: var(--silver-1);
  box-shadow: 0 10px 24px -12px rgba(47,111,237,0.55);
}
.sn-tab-btn.active i{ color: var(--silver-1); }

.sn-tab-content{ min-height: 260px; }

.sn-panel-head{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--steel-line-soft);
}
.sn-panel-icon{
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-dim), rgba(47,111,237,0.1));
  color: var(--blue-bright);
  font-size: 1.4rem;
  border: 1px solid var(--steel-line);
}

.sn-item{
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--steel-line);
  background: linear-gradient(180deg, var(--onyx), var(--onyx-2));
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.sn-item i{
  color: var(--blue-bright);
  font-size: 0.82rem;
  flex-shrink: 0;
}
.sn-item:hover{
  border-color: var(--blue-dim);
  transform: translateY(-3px);
  background: linear-gradient(180deg, var(--onyx-2), var(--onyx));
}

@media (max-width: 767.98px){
  .sn-tab-nav{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .sn-tab-btn{
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }
  .sn-panel-head{ align-items: flex-start; }
}

@media (max-width: 420px){
  .sn-tab-nav{ grid-template-columns: 1fr; }
}
