/* ═══════════════════════════════════════════════════════════════════
   IT INSPECTORS — Design System
   Palette:  #6D28D9 signal red · #0C0A1D deep teal · #ffffff · #F6F5FB
   Flat colour only. No gradients anywhere.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand colours ──
     Deep violet-black for dark sections, a soft lavender-white for light
     ones (white cards), vivid violet as the primary accent and lime as the
     energy accent for highlights and primary buttons on dark. Flat colour. */
  --navy: #0E3B32;
  --paper: #F1F6F3;
  --acc: #16624F;
  --lime: #D6F36B;
  --white: #ffffff;

  /* ── Working shades ── */
  --navy-2: #144A3F;
  --navy-3: #092C25;
  --navy-line: #21594C;
  --paper-2: #E4EEE8;
  --acc-deep: #0E3B32;
  --acc-text: #0E3B32;
  --acc-bright: #D6F36B;
  --acc-soft: #E3F0E9;
  --acc-line: #CFE3D8;
  --lime-deep: #C3E24A;
  --lime-text: #3F5A00;
  --lime-soft: #F4FBDB;

  /* ── Legacy aliases (older stylesheets and inner-page components) ── */
  --red: var(--acc);
  --red-dark: var(--acc-deep);
  --red-soft: var(--acc-soft);
  --red-line: var(--acc-line);
  --dark: var(--navy);
  --dark-2: var(--navy-2);
  --dark-3: var(--navy-3);
  --dark-line: var(--navy-line);
  --off: var(--paper);

  /* ── Text ── */
  --ink: #0B1A16;
  --body: #52615B;
  --muted: #8A9892;
  --on-dark: rgba(255, 255, 255, .72);

  /* ── Surfaces & lines ── */
  --line: #E2EAE5;
  --line-2: #EDF2EF;

  /* ── Shadows ── */
  --sh-xs: 0 1px 3px rgba(11, 26, 22, .06);
  --sh-sm: 0 6px 20px rgba(11, 26, 22, .06);
  --sh-md: 0 18px 44px rgba(11, 26, 22, .09);
  --sh-lg: 0 30px 70px rgba(11, 26, 22, .13);
  --sh-red: 0 10px 26px rgba(14, 59, 50, .22);
  --sh-acc: var(--sh-red);

  /* ── Shape & type ── */
  --r-xl: 26px;
  --r-lg: 18px;
  --r-md: 13px;
  --font-h: "Lexend", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-b: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-m: "Plus Jakarta Sans", system-ui, sans-serif;

  /* ── States ── */
  --ok: #22C55E;
  --ok-soft: rgba(34, 197, 94, .12);
  --warn: #8A9892;
  --warn-soft: rgba(139, 135, 158, .18);

  /* ── Header geometry (read by JS for scroll offsets) ── */
  --hdr-h: 76px;
}

/* ═══════════ BASE ═══════════ */
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 20px); }

body {
  font-family: var(--font-b);
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16.5px;            /* a touch larger — easier on the eye */
  line-height: 1.7;
  letter-spacing: -.006em;      /* Inter sits slightly tighter than default */
  text-rendering: optimizeLegibility;
}
::selection { background: var(--acc); color: #fff; }

/* Headings tighten as they grow — large type needs negative tracking to
   look settled, small type does not. text-wrap:balance evens out the
   line lengths so headlines never leave one orphaned word. */
h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: var(--font-h); color: var(--ink); }
h1, h2 { letter-spacing: -.03em; text-wrap: balance; font-weight: 800; }
h3, h4 { letter-spacing: -.018em; }
h5, h6, .navbar-brand { letter-spacing: -.01em; }
p { text-wrap: pretty; } /* avoids single-word last lines in paragraphs */
a { text-decoration: none; }
img { max-width: 100%; }

/* ── Section rhythm ── */
.section-pad { padding: 110px 0; }
.section-pad-sm { padding: 74px 0; }
.section-head { margin-bottom: 60px; }
.sec-white { background: var(--white); }
.sec-off { background: var(--off); }
.sec-dark { background: var(--dark); }

.section-title { font-weight: 800; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; margin: .9rem 0; }
.section-sub { color: var(--body); font-size: 1.04rem; max-width: 640px; line-height: 1.8; }
.section-head.text-center .section-sub { margin-inline: auto; }
.sec-dark .section-title, .sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .section-sub, .sec-dark p { color: var(--on-dark); }

/* highlight word — flat colour */
.hl, .grad-text { color: var(--acc-text); -webkit-text-fill-color: currentColor; }
.hl-dark { color: var(--dark); }
.lead-p { color: var(--body); font-size: 1.04rem; line-height: 1.86; }

/* ── Eyebrow label ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-h); font-size: .74rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--acc-text);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.eyebrow.centered::after { content: ""; width: 26px; height: 2px; background: var(--red); }
.eyebrow.on-dark { color: var(--acc-bright); }
.eyebrow.on-dark::before, .eyebrow.on-dark::after { background: var(--red); }

.tag-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--acc-text); background: var(--red-soft); border: 1px solid var(--red-line);
  padding: .48rem 1rem; border-radius: 999px;
}
.tag-pill.dark { color: var(--dark); background: var(--off); border-color: var(--line); }
.tag-pill.on-dark { color: #fff; background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .18); }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  font-family: var(--font-h); font-weight: 600; border-radius: 999px;
  padding: .88rem 1.7rem; display: inline-flex; align-items: center; gap: .55rem;
  border: 1.5px solid transparent; line-height: 1.2;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.btn i { transition: transform .2s; }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }

.btn-red, .btn-primary, .btn-grad, .btn-acc { background: var(--acc); color: #fff; box-shadow: var(--sh-acc); font-weight: 700; }
.btn-red:hover, .btn-primary:hover, .btn-grad:hover, .btn-acc:hover { background: var(--acc-deep); color: #fff; transform: translateY(-2px); }

.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 26px rgba(198, 241, 53, .28); font-weight: 800; }
.btn-lime:hover { background: var(--lime-deep); color: var(--ink); transform: translateY(-2px); }
.btn-dark, .btn-navy { background: var(--dark); color: #fff; }
.btn-dark:hover, .btn-navy:hover { background: var(--dark-2); color: #fff; transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--paper-2); color: var(--ink); transform: translateY(-2px); }

.btn-outline, .btn-outline-soft { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover, .btn-outline-soft:hover { border-color: var(--navy); color: var(--ink); background: var(--paper); transform: translateY(-2px); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-ghost-light:hover { background: #fff; color: var(--dark); border-color: #fff; transform: translateY(-2px); }

.btn-xl { padding: 1.05rem 2rem; font-size: 1rem; }
.btn-sm-nav { padding: .66rem 1.25rem; font-size: .86rem; }

/* ═══════════ PRELOADER / PROGRESS ═══════════ */
.preloader { position: fixed; inset: 0; z-index: 9999; background: #fff; display: grid; place-items: center; gap: 1.2rem; grid-auto-flow: row; transition: opacity .45s, visibility .45s; }
.preloader.done { opacity: 0; visibility: hidden; }
.pre-mark { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.55rem; animation: preFloat 1.5s ease-in-out infinite; }
@keyframes preFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pre-bar { width: 180px; height: 3px; border-radius: 99px; background: var(--line); overflow: hidden; }
.pre-bar span { display: block; height: 100%; width: 40%; background: var(--red); border-radius: 99px; animation: preSlide 1.05s ease-in-out infinite; }
@keyframes preSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red); z-index: 9998; transition: width .1s linear; }

/* ═══════════ INNER PAGE HERO (dark) ═══════════
   Same layered treatment as the homepage hero — a red glow bleeding in
   from the top-right and a masked grid — built from pseudo-elements so
   no page markup has to change. */
.page-hero { background: var(--dark); position: relative; overflow: hidden; padding: calc(96px + var(--hdr-h)) 0 104px; margin-top: calc(-1 * var(--hdr-h)); }
.page-hero > .container { position: relative; z-index: 2; } /* keep copy above the glow/grid layers */
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.08; margin: 1.2rem 0; }
.page-hero p { color: var(--on-dark); font-size: 1.05rem; line-height: 1.8; max-width: 660px; }
.breadcrumb-nav { font-size: .83rem; color: rgba(255, 255, 255, .55); }
.breadcrumb-nav a { color: #fff; }
.breadcrumb-nav a:hover { color: var(--red); }
.breadcrumb-nav span { margin: 0 .45rem; opacity: .5; }

/* Fine diagonal texture used across dark sections */
.tex-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px);
}

/* ═══════════ CARDS ═══════════ */
.soft-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem; height: 100%; transition: transform .3s, box-shadow .3s, border-color .3s; }
.soft-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--red-line); }
.soft-card .sc-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.22rem; margin-bottom: 1.1rem; transition: background .3s, color .3s; }
.soft-card:hover .sc-ico { background: var(--red); color: #fff; }
.soft-card h3 { font-size: 1.14rem; font-weight: 700; margin-bottom: .5rem; }
.soft-card h3 a { color: var(--ink); }
.soft-card:hover h3 a { color: var(--red); }
.soft-card p { color: var(--body); font-size: .94rem; line-height: 1.74; margin-bottom: .9rem; }
.sc-link { font-family: var(--font-h); font-weight: 700; font-size: .87rem; color: var(--red); display: inline-flex; align-items: center; gap: .4rem; }
.sc-link:hover { gap: .65rem; }
.sc-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.sc-list li { font-size: .89rem; color: var(--body); padding-left: 1.45rem; position: relative; margin-bottom: .42rem; }
.sc-list li::before { content: "\f058"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; color: var(--red); font-size: .8rem; }

.feat-row { display: flex; gap: .95rem; align-items: flex-start; margin-bottom: 1.5rem; }
.feat-row .fr-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--off); color: var(--red); font-size: 1rem; transition: background .25s, color .25s; }
.feat-row:hover .fr-ico { background: var(--red); color: #fff; }
.feat-row h4 { font-size: 1rem; font-weight: 700; margin-bottom: .28rem; }
.feat-row p { color: var(--body); font-size: .92rem; line-height: 1.68; margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .8rem; color: var(--body); line-height: 1.7; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: .12rem; width: 21px; height: 21px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: .62rem; display: grid; place-items: center; }
.check-list li b { color: var(--ink); }

/* ═══════════ RATINGS ═══════════ */
.rating-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.rating-chip { display: flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .55rem .9rem; }
.rating-chip .rc-name { font-family: var(--font-h); font-weight: 700; font-size: .83rem; color: var(--ink); }
.rating-chip .rc-stars { color: #6D28D9; font-size: .73rem; letter-spacing: .5px; }
.rating-chip small { color: var(--muted); font-size: .71rem; }
.rating-row.on-dark .rating-chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); }
.rating-row.on-dark .rc-name { color: #fff; }

/* ═══════════ STATS ═══════════ */
.stat-band { background: var(--red); color: #fff; }
.stat-tile { text-align: center; padding: 1rem .5rem; }
.stat-tile .st-num { font-family: var(--font-h); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: #fff; }
.stat-tile .st-num i { font-style: normal; }
.stat-tile small { display: block; color: rgba(255, 255, 255, .84); font-size: .87rem; margin-top: .45rem; }

/* ═══════════ TECH MARQUEE ═══════════ */
.tech-strip { padding: 38px 0; background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.marquee { display: flex; gap: 2.4rem; width: max-content; animation: marq 34s linear infinite; }
.tech-strip:hover .marquee { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.tech-chip { display: flex; align-items: center; gap: .5rem; font-family: var(--font-h); font-weight: 700; font-size: .97rem; color: var(--muted); white-space: nowrap; transition: color .2s; }
.tech-chip i { font-size: 1.42rem; color: var(--dark); }
.tech-chip:hover, .tech-chip:hover i { color: var(--red); }

/* ═══════════ PRICING ═══════════ */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.9rem; height: 100%; display: flex; flex-direction: column; position: relative; transition: transform .3s, box-shadow .3s, border-color .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--red-line); }
.price-card.featured { background: var(--dark); border-color: var(--dark); }
.price-card.featured .pc-name, .price-card.featured .pc-amt { color: #fff; }
.price-card.featured .pc-desc, .price-card.featured .pc-list li { color: var(--on-dark); }
.price-card.featured .pc-list li::before { background: rgba(109, 40, 217, .22); color: #A78BFA; }
.pc-flag { position: absolute; top: 1.2rem; right: 1.2rem; background: var(--red); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .32rem .75rem; border-radius: 999px; }
.pc-name { font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.pc-desc { font-size: .87rem; color: var(--body); margin-bottom: 1.1rem; }
.pc-price { display: flex; align-items: flex-end; gap: .3rem; margin-bottom: .25rem; }
.pc-amt { font-family: var(--font-h); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.pc-per { color: var(--muted); font-size: .87rem; padding-bottom: .3rem; }
.pc-was { font-size: .8rem; color: var(--muted); text-decoration: line-through; }
.pc-save { display: inline-block; background: var(--red-soft); color: var(--red); font-size: .72rem; font-weight: 800; padding: .18rem .55rem; border-radius: 99px; margin-left: .35rem; }
.pc-list { list-style: none; padding: 0; margin: 1.3rem 0; flex: 1; }
.pc-list li { position: relative; padding-left: 1.75rem; margin-bottom: .62rem; font-size: .9rem; color: var(--body); }
.pc-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: .05rem; width: 20px; height: 20px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: .58rem; display: grid; place-items: center; }
.pc-note { font-size: .77rem; color: var(--muted); margin-top: .7rem; }
.price-card .btn { justify-content: center; }
.bill-toggle { display: inline-flex; background: var(--off); border: 1px solid var(--line); border-radius: 999px; padding: .28rem; gap: .18rem; }
.bill-toggle button { border: 0; background: transparent; font-family: var(--font-h); font-weight: 700; font-size: .85rem; color: var(--body); padding: .5rem 1.15rem; border-radius: 999px; transition: background .2s, color .2s; }
.bill-toggle button.active { background: var(--red); color: #fff; }
.bill-toggle .save-flag { font-size: .67rem; font-weight: 800; margin-left: .25rem; }

/* ═══════════ FAQ ═══════════ */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: .8rem; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--red-line); box-shadow: var(--sh-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 3.1rem 1.15rem 1.3rem; position: relative; font-family: var(--font-h); font-weight: 600; font-size: .98rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\f067"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: .66rem; display: grid; place-items: center; transition: background .25s, color .25s; }
.faq-item[open] summary::after { content: "\f068"; background: var(--red); color: #fff; }
.faq-item summary:hover { color: var(--red); }
.faq-body { padding: 0 1.3rem 1.25rem; color: var(--body); line-height: 1.8; font-size: .95rem; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--red); }

/* ═══════════ CTA BAND ═══════════ */
.cta-band { background: var(--red); color: #fff; padding: 82px 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 3.5vw, 2.7rem); line-height: 1.14; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 1.02rem; line-height: 1.78; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .tag-pill.on-dark { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }

/* ═══════════ FORMS ═══════════ */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--sh-sm); }
.form-panel.on-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.form-panel.on-dark .form-label { color: rgba(255, 255, 255, .86); }
.form-panel.on-dark .form-control, .form-panel.on-dark .form-select { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.form-label { font-family: var(--font-h); font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: .38rem; }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: 11px; padding: .78rem .95rem; font-size: .94rem; background: var(--off); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form-control:focus, .form-select:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); background: #fff; }
.form-note { font-size: .78rem; color: var(--muted); }
.form-note a { color: var(--red); font-weight: 600; }
.form-ok { display: none; align-items: center; gap: .55rem; background: var(--off); color: var(--dark); border: 1px solid var(--line); border-radius: 11px; padding: .8rem 1rem; font-size: .91rem; margin-top: 1rem; }
.form-ok.show { display: flex; }
.form-ok i { color: var(--red); }

/* ═══════════ CONTACT CARDS ═══════════ */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; height: 100%; transition: transform .3s, box-shadow .3s, border-color .3s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--red-line); }
.contact-card .cc-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.08rem; margin-bottom: .9rem; }
.contact-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .3rem; }
.contact-card p, .contact-card a { color: var(--body); font-size: .93rem; line-height: 1.7; }
.contact-card a:hover { color: var(--red); }

/* ═══════════ REVEAL ═══════════ */
.js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.3,1); }
.js .reveal { transform: translateY(26px); }
.js .reveal-left { transform: translateX(-30px); }
.js .reveal-right { transform: translateX(30px); }
.js .reveal-zoom { transform: scale(.95); }
.visible { opacity: 1 !important; transform: none !important; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-zoom { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 991.98px) { .section-pad { padding: 74px 0; } .page-hero { padding: calc(60px + var(--hdr-h)) 0 68px; } }
@media (max-width: 575.98px) {
  .section-pad { padding: 56px 0; }
  .soft-card, .price-card, .form-panel { padding: 1.4rem; }
  .btn-xl { padding: .9rem 1.5rem; font-size: .94rem; }
  .f-bottom { flex-direction: column; text-align: center; }
  .f-bottom a { margin: 0 .5rem; }
}
