/* ============================================================
   The NetSoft Solutions — Design System
   Style: Premium dark + Glassmorphism | Brand: #452C80
   Fonts: Poppins (headings) / Open Sans (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand:        #452C80;
  --brand-600:    #5B3AA6;
  --brand-400:    #8B5CF6;
  --brand-300:    #A78BFA;
  --accent:       #22D3EE;   /* cyan circuit accent */
  --accent-600:   #06B6D4;

  /* Surfaces (dark) */
  --bg:           #0A0713;
  --bg-2:         #120B26;
  --surface:      rgba(255,255,255,0.05);
  --surface-2:    rgba(255,255,255,0.08);
  --border:       rgba(255,255,255,0.10);
  --border-strong:rgba(139,92,246,0.35);

  /* Text */
  --text:         #F5F3FB;
  --muted:        #C7BEE3;   /* ~7:1 on --bg */
  --muted-2:      #9B90C0;   /* ~4.7:1 on --bg */

  /* Effects */
  --radius:       20px;
  --radius-sm:    12px;
  --radius-pill:  999px;
  --shadow:       0 20px 60px -20px rgba(0,0,0,0.6);
  --shadow-glow:  0 20px 60px -15px rgba(91,58,166,0.45);
  --blur:         18px;

  /* Gradients */
  --grad-brand:   linear-gradient(135deg, #5B3AA6 0%, #452C80 55%, #2E1B5C 100%);
  --grad-accent:  linear-gradient(135deg, #8B5CF6 0%, #22D3EE 120%);
  --grad-text:    linear-gradient(100deg, #A78BFA 0%, #22D3EE 100%);

  /* Z-scale */
  --z-bg: 0;
  --z-base: 10;
  --z-nav: 40;
  --z-overlay: 50;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: "Poppins", sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.h-display { font-size: clamp(2.6rem, 6.5vw, 5.2rem); font-weight: 700; }
h2.section-title { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.3rem; }
p { max-width: 68ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.7; }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: min(1200px, 92vw); margin-inline: auto; }
.section { position: relative; padding: clamp(2.5rem, 5.5vw, 4.5rem) 0; z-index: var(--z-base); }
.section--tight { padding: clamp(1.75rem, 3.5vw, 3rem) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-300);
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong); background: rgba(139,92,246,0.10);
  backdrop-filter: blur(8px);
}
.section-head { max-width: 760px; margin-bottom: 2.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1.1rem; }
.section-head h2 { margin-top: 1.1rem; }

/* ---------- Animated Background ---------- */
.bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: var(--z-bg); pointer-events: none;
  background:
    radial-gradient(900px 600px at 80% -5%, rgba(91,58,166,0.30), transparent 60%),
    radial-gradient(800px 600px at 5% 10%, rgba(34,211,238,0.10), transparent 55%),
    linear-gradient(180deg, #0A0713 0%, #0D0920 45%, #0A0713 100%);
}
.bg-blob {
  position: fixed; border-radius: 50%; filter: blur(90px);
  z-index: var(--z-bg); pointer-events: none; opacity: 0.5;
  animation: float 18s var(--ease) infinite alternate;
}
.bg-blob--1 { width: 460px; height: 460px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(139,92,246,0.5), transparent 70%); }
.bg-blob--2 { width: 520px; height: 520px; bottom: -180px; left: -120px; background: radial-gradient(circle, rgba(34,211,238,0.25), transparent 70%); animation-delay: -6s; }
@keyframes float { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,-30px) scale(1.12); } }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  width: min(1200px, 94vw); z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.7rem 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(18,11,38,0.55); border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  transition: background .3s var(--ease), box-shadow .3s var(--ease), top .3s var(--ease);
}
.nav.scrolled { background: rgba(12,8,26,0.85); box-shadow: var(--shadow); top: 0.6rem; }
.nav__brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav__brand img { height: 38px; width: auto; filter: brightness(0) invert(1); transition: filter .3s; }
.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a {
  font-family: "Poppins", sans-serif; font-size: 0.92rem; font-weight: 500; color: var(--muted);
  padding: 0.55rem 0.95rem; border-radius: var(--radius-pill);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__links a.active { color: var(--text); background: rgba(139,92,246,0.16); }
.nav__cta { display: flex; align-items: center; gap: 0.6rem; }
.nav__toggle { display: none; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__toggle svg { width: 22px; height: 22px; stroke: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-pill); border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s, background .25s, border-color .25s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px -18px rgba(124,92,246,0.6); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--border-strong); transform: translateY(-2px); }
.btn--accent { background: var(--grad-accent); color: #061018; box-shadow: 0 18px 50px -18px rgba(34,211,238,0.55); }
.btn--accent:hover { transform: translateY(-2px); }
.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.88rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Glass card ---------- */
.glass {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
}
.glass::after {
  content: ""; position: absolute; top: -40%; right: -30%; width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(139,92,246,0.16), transparent 70%);
  pointer-events: none;
}
.card-hover { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card-hover:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(8rem, 16vh, 12rem); padding-bottom: clamp(3rem, 8vw, 6rem); position: relative; z-index: var(--z-base); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero h1 { margin: 1.4rem 0 1.5rem; }
.hero h1 .line { display: block; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2.6rem; color: var(--muted-2); font-size: 0.9rem; }
.hero__trust b { color: var(--text); font-family: "Poppins"; font-size: 1.5rem; display: block; }
.hero__aside { display: grid; gap: 1.3rem; }

/* stat card inside hero */
.statcard { padding: 1.8rem; }
.statcard__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.statcard__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand); box-shadow: var(--shadow-glow); }
.statcard__icon svg { width: 26px; height: 26px; stroke: #fff; }
.statcard__big { font-family: "Poppins"; font-size: 1.9rem; font-weight: 700; line-height: 1; }
.statcard__label { color: var(--muted-2); font-size: 0.85rem; }
.bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 0.5rem; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--grad-accent); width: 0; transition: width 1.4s var(--ease); }
.statcard__row { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--muted); }
.divider { height: 1px; background: var(--border); margin: 1.4rem 0; }
.statcard__grid { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; gap: 0.5rem; }
.statcard__grid b { font-family: "Poppins"; font-size: 1.35rem; display: block; }
.statcard__grid span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); }

/* mini services list card */
.minilist { padding: 1.5rem 1.6rem; }
.minilist h4 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-2); margin-bottom: 1rem; }
.minilist li { display: flex; align-items: center; gap: 0.7rem; padding: 0.45rem 0; color: var(--muted); font-weight: 500; transition: color .2s; }
.minilist li:hover { color: var(--text); }
.minilist .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-accent); flex-shrink: 0; }

/* ---------- Marquee (trust strip) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: scroll 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: "Poppins"; font-weight: 600; color: var(--muted-2); white-space: nowrap; display: flex; align-items: center; gap: 0.6rem; }
.marquee__item svg { width: 20px; height: 20px; stroke: var(--brand-300); }
@keyframes scroll { to { transform: translateX(-50%); } }

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

.feature { padding: 2rem 1.8rem; }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: rgba(139,92,246,0.14); border: 1px solid var(--border-strong);
}
.feature__icon svg { width: 28px; height: 28px; stroke: var(--brand-300); fill: none; }
.feature h3 { margin-bottom: 0.6rem; }
.feature p { color: var(--muted); font-size: 0.96rem; }
.feature__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem; color: var(--brand-300); font-weight: 600; font-family: "Poppins"; font-size: 0.9rem; }
.feature__link svg { width: 16px; height: 16px; transition: transform .2s; }
.feature:hover .feature__link svg { transform: translateX(4px); }
.feature__num { position: absolute; top: 1.3rem; right: 1.5rem; font-family: "Poppins"; font-weight: 700; font-size: 2.4rem; color: rgba(255,255,255,0.06); }

/* ---------- Stats band ---------- */
.statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; text-align: center; }
.statband .glass { padding: 2rem 1rem; }
.statband b { font-family: "Poppins"; font-size: clamp(2rem,3.5vw,2.8rem); display: block; }
.statband span { color: var(--muted-2); font-size: 0.9rem; }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; }
.step { padding: 1.8rem; position: relative; }
.step__no { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; font-family: "Poppins"; font-weight: 700; margin-bottom: 1.1rem; box-shadow: var(--shadow-glow); }
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.quote { padding: 2rem; }
.quote p { color: var(--text); font-style: italic; font-size: 1.02rem; }
.quote__who { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.4rem; }
.quote__av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; font-family: "Poppins"; font-weight: 700; color: #fff; }
.quote__who b { display: block; font-family: "Poppins"; font-size: 0.95rem; }
.quote__who span { color: var(--muted-2); font-size: 0.83rem; }
.stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.stars svg { width: 18px; height: 18px; fill: #FBBF24; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; z-index: var(--z-base); }
.ctaband__inner { text-align: center; padding: clamp(3rem,6vw,5rem) 2rem; border-radius: 28px; background: var(--grad-brand); overflow: hidden; position: relative; box-shadow: var(--shadow-glow); }
.ctaband__inner::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 80% 0%, rgba(34,211,238,0.25), transparent 60%); }
.ctaband__inner > * { position: relative; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,0.85); margin: 1rem auto 2rem; }
.ctaband .hero__cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: var(--z-base); border-top: 1px solid var(--border); padding: 4rem 0 2rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand img { height: 44px; filter: brightness(0) invert(1); margin-bottom: 1.1rem; }
.footer__brand p { color: var(--muted-2); font-size: 0.92rem; max-width: 34ch; }
.footer h4 { font-family: "Poppins"; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-2); margin-bottom: 1.1rem; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { color: var(--muted); font-size: 0.93rem; transition: color .2s; }
.footer__links a:hover { color: var(--brand-300); }
.footer__contact li { display: flex; gap: 0.6rem; color: var(--muted); font-size: 0.92rem; margin-bottom: 0.8rem; }
.footer__contact svg { width: 18px; height: 18px; stroke: var(--brand-300); flex-shrink: 0; margin-top: 2px; }
.footer__social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); transition: all .2s; }
.footer__social a:hover { background: rgba(139,92,246,0.2); border-color: var(--border-strong); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; stroke: var(--text); }
.footer__bottom { border-top: 1px solid var(--border); margin-top: 3rem; padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--muted-2); font-size: 0.86rem; }

/* ---------- Page hero (inner pages) ---------- */
.pagehero { padding-top: clamp(9rem, 18vh, 13rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); text-align: center; position: relative; z-index: var(--z-base); }
.pagehero .lead { margin: 1.2rem auto 0; }
.breadcrumb { color: var(--muted-2); font-size: 0.85rem; margin-bottom: 0.4rem; }
.breadcrumb a:hover { color: var(--brand-300); }

/* ---------- About: values / timeline ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.imgframe { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); position: relative; min-height: 320px; background: var(--grad-brand); display: grid; place-items: center; padding: 2rem; }
.imgframe img { filter: brightness(0) invert(1); width: min(280px, 70%); }
/* art variant — full-bleed SVG illustration instead of the centered logo */
.imgframe--art { padding: 0; background: #0F0A1F; box-shadow: var(--shadow); }
.imgframe--art img { filter: none; width: 100%; height: 100%; object-fit: cover; display: block; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1rem; color: var(--muted); }
.checklist svg { width: 22px; height: 22px; stroke: var(--accent); flex-shrink: 0; margin-top: 2px; }
.checklist b { color: var(--text); font-family: "Poppins"; display: block; font-size: 1rem; }

.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 2rem; }
.timeline::before { content:""; position:absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand-400), transparent); }
.tl { position: relative; padding: 0 0 2.2rem 1.6rem; }
.tl::before { content:""; position:absolute; left: -2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 4px rgba(139,92,246,0.18); }
.tl b { font-family: "Poppins"; color: var(--brand-300); font-size: 0.9rem; }
.tl h3 { margin: 0.2rem 0 0.4rem; font-size: 1.15rem; }
.tl p { color: var(--muted); font-size: 0.95rem; }

/* ---------- NTPOS page ---------- */
.ntpos-hero { padding-top: clamp(9rem,18vh,13rem); }
.ntpos-badge { display:inline-flex; align-items:center; gap:0.5rem; font-family:"Poppins"; font-weight:700; letter-spacing:0.04em; padding:0.5rem 1rem; border-radius:var(--radius-pill); background:var(--grad-accent); color:#061018; font-size:0.8rem; }
.mock { border-radius: var(--radius); border:1px solid var(--border); overflow:hidden; background: rgba(255,255,255,0.04); backdrop-filter: blur(var(--blur)); }
.mock__bar { display:flex; align-items:center; gap:0.5rem; padding:0.8rem 1rem; border-bottom:1px solid var(--border); background: rgba(255,255,255,0.03); }
.mock__bar i { width:11px; height:11px; border-radius:50%; background: var(--muted-2); opacity:.5; }
.mock__body { padding:1.4rem; display:grid; grid-template-columns: 1.3fr 1fr; gap:1rem; }
.mock__panel { background: rgba(255,255,255,0.04); border:1px solid var(--border); border-radius:14px; padding:1rem; }
.mock__panel h5 { font-family:"Poppins"; font-size:0.8rem; color:var(--muted-2); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:0.8rem; }
.mock__line { display:flex; justify-content:space-between; padding:0.5rem 0; border-bottom:1px dashed var(--border); font-size:0.9rem; color:var(--muted); }
.mock__line:last-child { border-bottom:0; }
.mock__total { display:flex; justify-content:space-between; margin-top:0.8rem; font-family:"Poppins"; font-weight:700; color:var(--text); font-size:1.1rem; }
.keypad { display:grid; grid-template-columns: repeat(3,1fr); gap:0.5rem; margin-top:0.8rem; }
.keypad b { background: rgba(139,92,246,0.12); border:1px solid var(--border); border-radius:10px; padding:0.7rem; text-align:center; font-family:"Poppins"; }
.pricing { display:grid; grid-template-columns: repeat(3,1fr); gap:1.4rem; align-items:stretch; }
.price { padding:2rem 1.8rem; display:flex; flex-direction:column; }
.price--featured { border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.price__tag { font-family:"Poppins"; font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--brand-300); }
.price__amt { font-family:"Poppins"; font-weight:700; font-size:2.6rem; margin:0.6rem 0; }
.price__amt small { font-size:0.95rem; color:var(--muted-2); font-weight:400; }
.price ul { margin:1.2rem 0 1.6rem; display:grid; gap:0.7rem; }
.price li { display:flex; gap:0.6rem; color:var(--muted); font-size:0.93rem; }
.price li svg { width:18px; height:18px; stroke:var(--accent); flex-shrink:0; }
.price .btn { margin-top:auto; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items:start; }
.form-card { padding: 2.2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display:block; font-family:"Poppins"; font-size:0.85rem; font-weight:500; margin-bottom:0.5rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width:100%; padding:0.85rem 1rem; border-radius:12px; font-family:inherit; font-size:0.95rem;
  background: rgba(255,255,255,0.04); border:1px solid var(--border); color: var(--text);
  transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--brand-400); background: rgba(255,255,255,0.06); }
/* Native dropdown list: force a dark popup with light text (otherwise the OS
   renders light text on a white background = unreadable). */
.field select option { background: #140C28; color: var(--text); }
.field select option:disabled { color: var(--muted-2); }
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-note { font-size:0.82rem; color: var(--muted-2); margin-top:0.8rem; }
.form-success { display:none; padding:1rem 1.2rem; border-radius:12px; background: rgba(34,211,238,0.12); border:1px solid rgba(34,211,238,0.4); color: var(--accent); font-weight:500; margin-bottom:1.2rem; }
.form-success.show { display:block; }
.form-error { display:none; padding:1rem 1.2rem; border-radius:12px; background: rgba(248,113,113,0.12); border:1px solid rgba(248,113,113,0.45); color:#FCA5A5; font-weight:500; margin-bottom:1.2rem; }
.form-error.show { display:block; }
.info-card { padding: 1.6rem; display:flex; gap:1rem; align-items:flex-start; }
.info-card__icon { width:46px; height:46px; border-radius:13px; display:grid; place-items:center; background: rgba(139,92,246,0.14); border:1px solid var(--border-strong); flex-shrink:0; }
.info-card__icon svg { width:22px; height:22px; stroke: var(--brand-300); }
.info-card h4 { font-family:"Poppins"; font-size:1rem; margin-bottom:0.25rem; }
.info-card p, .info-card a { color: var(--muted); font-size:0.92rem; }
.info-card a:hover { color: var(--brand-300); }
.map-embed { border-radius: var(--radius); overflow:hidden; border:1px solid var(--border); height: 260px; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg) contrast(0.9); }
.map-embed iframe { width:100%; height:100%; border:0; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline:auto; }
.faq__item { border:1px solid var(--border); border-radius:14px; margin-bottom:0.9rem; overflow:hidden; background: var(--surface); }
.faq__q { width:100%; text-align:left; display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.2rem 1.4rem; font-family:"Poppins"; font-weight:600; color:var(--text); background:none; border:none; font-size:1rem; }
.faq__q svg { width:22px; height:22px; stroke: var(--brand-300); transition: transform .3s; flex-shrink:0; }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height:0; overflow:hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding:0 1.4rem 1.3rem; color: var(--muted); }

/* reCAPTCHA v3 badge: bottom-left, logo-only (hide "protected by reCAPTCHA") and small. */
.grecaptcha-badge {
  left: 6px !important; right: auto !important; bottom: 6px !important;
  width: 70px !important; overflow: hidden !important;
  transform: scale(0.5) !important; transform-origin: 0 100% !important;
  box-shadow: none !important; opacity: 0.8; transition: opacity .2s;
}
.grecaptcha-badge:hover { opacity: 1; }

/* ---------- AI chat widget (Nova) ---------- */
.nschat { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-overlay); }
.nschat__fab {
  display: inline-flex; align-items: center; gap: 0.55rem;
  height: 58px; padding: 0 1.2rem 0 1.1rem; border: none; border-radius: var(--radius-pill);
  background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow);
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.95rem;
  transition: transform .2s var(--ease), box-shadow .25s;
}
.nschat__fab:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -16px rgba(124,92,246,0.6); }
.nschat__fab svg { width: 24px; height: 24px; }
.nschat__fab-close { display: none; }
.nschat--open .nschat__fab-open, .nschat--open .nschat__fab-label { display: none; }
.nschat--open .nschat__fab-close { display: block; }
.nschat--open .nschat__fab { padding: 0; width: 58px; justify-content: center; }

.nschat__panel {
  position: absolute; right: 0; bottom: 72px; width: min(380px, calc(100vw - 40px)); height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--border);
  background: rgba(14,9,28,0.96); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
  animation: nschatIn .28s var(--ease);
}
.nschat__panel[hidden] { display: none; }
@keyframes nschatIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.nschat__head { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.nschat__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); font-family: "Poppins"; font-weight: 700; color: #fff; }
.nschat__id { line-height: 1.2; }
.nschat__id b { font-family: "Poppins"; font-size: 0.95rem; }
.nschat__id span { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--muted-2); }
.nschat__dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px rgba(52,211,153,0.18); }
.nschat__close { margin-left: auto; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; }
.nschat__close svg { width: 18px; height: 18px; stroke: var(--text); }
.nschat__body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.nschat__msg { max-width: 84%; padding: 0.7rem 0.9rem; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.nschat__msg--bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; color: var(--text); }
.nschat__msg--user { align-self: flex-end; background: var(--grad-brand); color: #fff; border-bottom-right-radius: 5px; }
.nschat__typing { display: inline-flex; gap: 4px; align-items: center; }
.nschat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); animation: nschatBlink 1.2s infinite ease-in-out; }
.nschat__typing span:nth-child(2) { animation-delay: .2s; }
.nschat__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes nschatBlink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.nschat__form { display: flex; gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--border); }
.nschat__form input { flex: 1; padding: 0.7rem 0.9rem; border-radius: var(--radius-pill); border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: var(--text); font-family: inherit; font-size: 0.92rem; }
.nschat__form input::placeholder { color: var(--muted-2); }
.nschat__form input:focus { outline: none; border-color: var(--brand-400); }
.nschat__form button { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--grad-accent); display: grid; place-items: center; transition: transform .2s; }
.nschat__form button:hover { transform: scale(1.06); }
.nschat__form button svg { width: 19px; height: 19px; stroke: #061018; }
.nschat__foot { text-align: center; font-size: 0.7rem; color: var(--muted-2); padding: 0 0.7rem 0.7rem; }
@media (max-width: 480px) {
  .nschat { right: 14px; bottom: 14px; }
  .nschat__fab-label { display: none; }
  .nschat--open .nschat__fab, .nschat__fab { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .nschat__panel { width: calc(100vw - 28px); height: calc(100vh - 100px); }
}
@media (prefers-reduced-motion: reduce) {
  .nschat__panel { animation: none; }
  .nschat__typing span { animation: none; }
}

/* ---------- Scroll reveal ----------
   NOTE: the critical reveal CSS lives INLINE in each page's <head> (above the
   external stylesheet) so the hidden state is set before first paint (no flash)
   and a pure-CSS fallback animation force-reveals content even if JS never runs.
   See the inline <style> in the page <head>. */

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__aside { max-width: 440px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .statband { grid-template-columns: repeat(2,1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pricing { grid-template-columns: 1fr; max-width:420px; margin-inline:auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap:2rem; }
  .mock__body { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.2rem;
    position: absolute; top: calc(100% + 0.6rem); left: 0; right: 0;
    background: rgba(12,8,26,0.97); border:1px solid var(--border); border-radius: 20px;
    padding: 0.8rem; backdrop-filter: blur(var(--blur));
  }
  .nav__menu-open .nav__links a { padding: 0.9rem 1rem; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  p { max-width: 100%; }
}

/* ---------- Reduced motion ---------- */
@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; }
  /* reveal reduced-motion handling is in the inline <head> style */
  .marquee__track { animation: none; }
  .bg-blob { animation: none; }
}
