/* ============================================================
   Nurvnet Technologies — Design System
   Static marketing site. No build step.
   ============================================================ */

/* ---------- Theme tokens — charcoal / red / silver (matches NurvNet logo) ---------- */
:root {
  --bg:            #14181D;   /* deep gunmetal */
  --bg-2:          #1A1F26;
  --surface:       #1F262E;
  --surface-2:     #29323C;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text:          #EDF0F3;
  --text-muted:    #A7B0BB;   /* silver-gray */
  --text-dim:      #6E7884;

  --accent:        #E5202B;   /* brand red */
  --accent-2:      #C4CBD2;   /* steel / silver */
  --accent-soft:   rgba(229, 32, 43, 0.13);
  --grad:          linear-gradient(100deg, #F12A30 0%, #C00E18 100%);
  --grad-soft:     linear-gradient(120deg, rgba(229,32,43,0.16), rgba(196,203,210,0.10));
  --grad-steel:    linear-gradient(120deg, #E7EAEC 0%, #9AA3AC 55%, #C4CBD2 100%);

  --ring:          rgba(229, 32, 43, 0.40);
  --shadow:        0 28px 64px -28px rgba(0, 0, 0, 0.7);
  --shadow-glow:   0 0 0 1px var(--border-strong), 0 22px 54px -22px rgba(229, 32, 43, 0.30);

  --font-head: "Saira", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --space: clamp(4rem, 9vw, 7.5rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }

::selection { background: var(--accent); color: #fff; }

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2rem); }
.section { padding-block: var(--space); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: 3.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
h2.title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.lead { color: var(--text-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); margin-top: 1rem; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px var(--ring); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px var(--ring); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); background: var(--accent-soft); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand-mark { height: 40px; width: auto; }
.brand-word { height: 21px; width: auto; }
.brand .tld { color: inherit; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-muted); font-size: .95rem; font-weight: 500; transition: color .2s ease; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: .4rem; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.04; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.75rem; color: var(--text-muted); font-size: .9rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-badges svg { width: 18px; height: 18px; color: var(--accent); }

.pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--border); color: var(--text);
  font-size: .82rem; font-weight: 500; margin-bottom: 1.5rem;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .55; transform: scale(.7);} }

/* hero visual — animated node network card */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 30% 20%, var(--surface-2), var(--surface) 55%, var(--bg-2));
  border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden;
  display: grid; place-items: center;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 45% at 50% 42%, rgba(229,32,43,.18), transparent 70%);
}
.hero-visual .shield { position: relative; z-index: 1; width: 56%; max-width: 300px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }
.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* background glow blobs */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; z-index: 0; pointer-events: none; }
.glow.a { width: 480px; height: 480px; background: radial-gradient(circle, rgba(229,32,43,.38), transparent 65%); top: -180px; right: -120px; }
.glow.b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(150,160,172,.20), transparent 65%); bottom: -220px; left: -160px; }
.section > .container { position: relative; z-index: 1; }

/* ---------- Logo strip ---------- */
.logos { border-block: 1px solid var(--border); padding-block: 2.25rem; }
.logos p { text-align: center; color: var(--text-dim); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.75rem; color: var(--text-muted); }
.logos-row span { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; opacity: .65; letter-spacing: .02em; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 1.25rem; color: var(--accent);
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.card p { color: var(--text-muted); font-size: .96rem; }
.card .more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; color: var(--accent); font-weight: 600; font-size: .9rem; }
.card.feature::before {
  content: ""; position: absolute; inset: 0 auto auto 0; height: 3px; width: 100%; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card.feature:hover::before { transform: scaleX(1); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.stat .num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--text-muted); font-size: .9rem; margin-top: .35rem; }

/* ---------- Split / why-us ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.checklist li { display: flex; gap: .85rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: 0; }
.checklist .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-top: 2px; }
.checklist .tick svg { width: 14px; height: 14px; }
.checklist strong { display: block; font-weight: 600; }
.checklist p { color: var(--text-muted); font-size: .92rem; margin: 0; }

.panel {
  background: radial-gradient(120% 120% at 20% 0%, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow);
}
.panel .row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.panel .row:last-child { border-bottom: 0; }
.panel .row .k { color: var(--text-muted); font-size: .92rem; }
.panel .row .v { font-family: var(--font-head); font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: .4rem; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step .n { font-family: var(--font-head); font-weight: 700; font-size: 1rem; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); color: var(--accent); margin-bottom: 1rem; }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--text-muted); font-size: .92rem; }

/* ---------- Testimonial ---------- */
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.quote p { font-size: 1.05rem; color: var(--text); }
.quote .who { display: flex; align-items: center; gap: .85rem; margin-top: 1.4rem; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; }
.quote .who .name { font-weight: 600; font-size: .95rem; }
.quote .who .role { color: var(--text-dim); font-size: .85rem; }
.stars { color: var(--accent); display: flex; gap: .15rem; margin-bottom: 1rem; }
.stars svg { width: 18px; height: 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad); border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4rem); text-align: center;
  position: relative; overflow: hidden; color: #fff;
  box-shadow: 0 30px 60px -30px rgba(229,32,43,.6);
}
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(70% 120% at 50% -20%, rgba(255,255,255,.18), transparent 60%); pointer-events:none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.92); max-width: 50ch; margin: 1rem auto 2rem; font-weight: 500; }
.cta-band .btn-primary { background: #fff; color: var(--accent); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f1f1f1; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- Contact / forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: .95rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--text-dim); }
.contact-info li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.contact-info li:last-child { border-bottom: 0; }
.contact-info .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border); color: var(--accent); display: grid; place-items: center; }
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info .k { font-size: .82rem; color: var(--text-dim); }
.contact-info .v { font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .lead { max-width: 60ch; margin-inline: auto; }
.breadcrumb { color: var(--text-dim); font-size: .85rem; margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--accent); }
.confirm-check {
  display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 1.5rem;
  border-radius: 50%; color: var(--accent);
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 10%, transparent);
}
.confirm-check svg { width: 34px; height: 34px; }
.portal-soon {
  display: inline-block; margin-top: 1.25rem; padding: .6rem 1rem;
  font-size: .9rem; color: var(--text-muted);
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; max-width: 60ch;
}
/* ---------- Founder ---------- */
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.founder-ph {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--bg-2), var(--surface)); border: 1px solid var(--border);
  display: grid; place-items: center;
}
.founder-ph::after { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .06; }
.founder-ph .mono { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 8vw, 5rem); color: var(--text); letter-spacing: .04em; }
.founder-ph .cap { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: var(--text-dim); font-size: .78rem; }
.founder-bio .founder-role { color: var(--accent); font-weight: 600; font-size: .95rem; margin: .2rem 0 .6rem; }
.founder-bio p { color: var(--text-muted); line-height: 1.7; margin-top: 1rem; }
.split.founder-split { grid-template-columns: 180px 1fr; align-items: start; }
@media (max-width: 920px) { .split.founder-split { grid-template-columns: 1fr; } .founder-photo { max-width: 180px; } }
/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal > p:first-of-type { color: var(--text-dim); font-size: .9rem; }
.legal h2 { font-family: var(--font-head); font-size: 1.3rem; margin: 2.4rem 0 .5rem; }
.legal h3 { font-size: 1.02rem; margin: 1.4rem 0 .3rem; color: var(--text); }
.legal p { color: var(--text-muted); line-height: 1.75; margin-top: .85rem; }
.legal ul { margin: .7rem 0; padding-left: 1.3rem; list-style: disc; }
.legal li { color: var(--text-muted); line-height: 1.7; margin-top: .4rem; }
.legal a { color: var(--accent); }
.legal .disclaimer { margin-top: 2.5rem; padding: 1rem 1.2rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; font-size: .9rem; color: var(--text-dim); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-block: 3.5rem 2rem; margin-top: var(--space); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 700; }
.footer-grid a { color: var(--text-muted); font-size: .94rem; display: block; padding: .35rem 0; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .brand { display: inline-flex; }
.footer-brand p { color: var(--text-muted); font-size: .94rem; margin-top: 1rem; max-width: 34ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-muted); }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .split { grid-template-columns: 1fr; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 1.2rem; gap: .25rem;
  }
  .site-header.open .nav-links a { padding: .8rem 0; width: 100%; }
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
