/* ============================================================
   NEXUS IT — MANAGED IT SERVICES STYLESHEET
   ============================================================ */

:root {
  --primary:       #1a56db;
  --primary-dark:  #1547bc;
  --primary-light: #eff6ff;
  --primary-glow:  rgba(26,86,219,0.15);
  --bg:            #060b18;
  --bg-card:       #0c1428;
  --surface:       rgba(26,86,219,0.07);
  --border:        rgba(255,255,255,0.08);
  --border-subtle: rgba(255,255,255,0.04);
  --text:          #e4eaf8;
  --muted:         #8496b8;
  --accent:        #38bdf8;
  --accent-glow:   rgba(56,189,248,0.12);
  --success:       #22c55e;
  --radius:        12px;
  --radius-lg:     20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 96px 0; }
img { max-width: 100%; display: block; }

/* ALERT BAR */
.alert-bar { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); color: #fff; text-align: center; padding: 11px 24px; font-size: .83rem; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.alert-cta { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 1px; white-space: nowrap; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(6,11,24,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-subtle); transition: box-shadow .3s; }
.navbar.has-alert { top: 40px; }
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.5); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; height: 68px; gap: 40px; }
.nav-logo { text-decoration: none; display: flex; align-items: baseline; gap: 3px; }
.logo-main { font-size: 1.1rem; font-weight: 900; color: var(--text); letter-spacing: -.5px; }
.logo-sub { font-size: .75rem; font-weight: 700; color: var(--primary); letter-spacing: 2px; }
.nav-links { display: flex; list-style: none; gap: 6px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .85rem; font-weight: 500; padding: 6px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { background: var(--primary); color: #fff; text-decoration: none; padding: 8px 20px; border-radius: 8px; font-size: .84rem; font-weight: 700; white-space: nowrap; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* HERO */
.hero { padding: 160px 28px 80px; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid rgba(26,86,219,.3); color: #93b4fd; padding: 6px 16px; border-radius: 100px; font-size: .78rem; font-weight: 700; letter-spacing: .5px; margin-bottom: 28px; }
.hero-badge::before { content:''; width:8px;height:8px; background:var(--success); border-radius:50%; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900; line-height: 1.12; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.trust-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; flex-shrink: 0; }

/* TERMINAL */
.hero-visual { position: relative; }
.hero-terminal { background: #0a0f1e; border: 1px solid rgba(26,86,219,.25); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.6); }
.terminal-bar { background: #111827; padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot.red { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green { background: var(--success); }
.t-title { font-size: .78rem; color: var(--muted); margin-left: 8px; font-family: 'Courier New', monospace; }
.terminal-body { padding: 20px 20px 24px; font-family: 'Courier New', monospace; font-size: .82rem; line-height: 2; }
.t-line { display: flex; gap: 8px; }
.t-prompt { color: var(--success); }
.t-cmd { color: var(--accent); }
.t-ok { color: var(--success); }
.t-warn { color: #f59e0b; }
.t-cursor { color: var(--primary); animation: blink 1.2s infinite; }
@keyframes blink { 0%,50%{opacity:1}51%,100%{opacity:0} }
.hero-stats-float { display: flex; gap: 12px; margin-top: 16px; }
.stat-float { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 20px; flex: 1; text-align: center; }
.sf-val { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.sf-lbl { font-size: .72rem; color: var(--muted); margin-top: 2px; }

/* STATS BAND */
.stats-band { background: var(--primary); padding: 28px 0; }
.stats-band .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; }
.stat-item { text-align: center; padding: 8px 20px; }
.stat-val { font-size: 1.6rem; font-weight: 900; color: #fff; }
.stat-lbl { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: 2px; }

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge { display: inline-block; background: var(--surface); border: 1px solid rgba(26,86,219,.3); color: #93b4fd; padding: 5px 16px; border-radius: 100px; font-size: .73rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -1px; line-height: 1.2; margin-bottom: 16px; }
.section-header p { color: var(--muted); font-size: 1rem; max-width: 560px; margin: 0 auto; line-height: 1.75; }

/* SERVICES */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.svc-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.svc-card:hover { border-color: rgba(26,86,219,.4); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.svc-icon { width: 52px; height: 52px; background: var(--surface); border: 1px solid rgba(26,86,219,.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 20px; transition: background .3s; }
.svc-card:hover .svc-icon { background: rgba(26,86,219,.15); }
.svc-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .87rem; line-height: 1.7; margin-bottom: 16px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { background: var(--surface); border: 1px solid rgba(26,86,219,.15); color: #93b4fd; padding: 3px 10px; border-radius: 100px; font-size: .7rem; font-weight: 600; }

/* PROCESS */
.process { background: #070e1e; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.proc-card { position: relative; padding-left: 28px; border-left: 2px solid rgba(26,86,219,.25); }
.proc-step { font-size: 2.4rem; font-weight: 900; color: rgba(26,86,219,.2); line-height: 1; margin-bottom: 12px; letter-spacing: -2px; }
.proc-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.proc-card p { color: var(--muted); font-size: .87rem; line-height: 1.7; }

/* WHY US */
.why-us { background: var(--bg); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-check { width: 26px; height: 26px; background: rgba(26,86,219,.15); border: 1px solid rgba(26,86,219,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.why-item strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: .87rem; line-height: 1.7; margin: 0; }

/* SECURITY SCORE WIDGET */
.security-score { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.score-ring { position: relative; }
.score-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-num { font-size: 2.4rem; font-weight: 900; color: var(--text); line-height: 1; }
.score-lbl { font-size: .7rem; color: var(--muted); text-align: center; margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }
.score-metrics { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.score-metric { display: flex; align-items: center; gap: 10px; font-size: .83rem; color: var(--muted); }
.score-metric.ok .sm-dot { background: var(--success); }
.sm-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* CASES */
.cases { background: #070e1e; }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.case-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.case-img { height: 200px; position: relative; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-industry { position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.case-body { padding: 28px; }
.case-body h3 { font-size: .98rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.case-body p { color: var(--muted); font-size: .86rem; line-height: 1.7; margin-bottom: 20px; }
.case-metrics { display: flex; gap: 16px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.case-metric { text-align: center; }
.cm-val { font-size: 1.2rem; font-weight: 800; color: var(--accent); }
.cm-lbl { font-size: .7rem; color: var(--muted); margin-top: 2px; }

/* PRICING */
.pricing { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.plan-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; position: relative; transition: border-color .3s, transform .3s; }
.plan-card.plan-popular { border-color: var(--primary); background: rgba(26,86,219,.06); }
.plan-popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .7rem; font-weight: 800; padding: 4px 16px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.plan-price { font-size: 2.2rem; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.plan-price span { font-size: .82rem; font-weight: 400; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: .85rem; margin-bottom: 28px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--text); }
.plan-features li svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.pricing-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 28px; }

/* TEAM */
.team { background: #070e1e; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, border-color .3s; }
.team-card:hover { transform: translateY(-4px); border-color: rgba(26,86,219,.3); }
.team-img { height: 220px; overflow: hidden; }
.team-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-photo { transform: scale(1.05); }
.team-body { padding: 24px; }
.team-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: .8rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.team-body p { color: var(--muted); font-size: .84rem; line-height: 1.65; margin-bottom: 14px; }
.team-certs { display: flex; flex-wrap: wrap; gap: 5px; }
.cert-badge { background: rgba(26,86,219,.1); border: 1px solid rgba(26,86,219,.2); color: #93b4fd; padding: 2px 8px; border-radius: 6px; font-size: .68rem; font-weight: 600; }

/* CERTIFICATIONS GRID */
.certs-section { background: var(--bg); }
.certs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cert-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: border-color .3s, transform .3s; }
.cert-card:hover { border-color: rgba(26,86,219,.4); transform: translateY(-4px); }
.cert-icon { color: var(--primary); display: flex; justify-content: center; margin-bottom: 14px; }
.cert-name { font-size: .88rem; font-weight: 700; margin-bottom: 4px; }
.cert-level { font-size: .73rem; color: var(--success); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

/* TESTIMONIALS */
.testimonials { background: #070e1e; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.testi-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: transform .3s; }
.testi-card:hover { transform: translateY(-4px); }
.testi-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testi-card blockquote { font-size: .9rem; color: var(--text); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; font-size: .9rem; }
.testi-author span { font-size: .78rem; color: var(--muted); }

/* FAQ */
.faq { background: var(--bg); }
.faq-container { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; color: var(--text); font-family: inherit; font-size: .95rem; font-weight: 600; padding: 22px 0; cursor: pointer; text-align: left; }
.faq-q:hover { color: var(--accent); }
.faq-arrow { flex-shrink: 0; transition: transform .3s; color: var(--muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }
.faq-a p { color: var(--muted); font-size: .9rem; line-height: 1.8; }

/* CONTACT */
.contact { background: #070e1e; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: flex-start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.5px; margin: 16px 0 16px; }
.contact-info p { color: var(--muted); font-size: .95rem; line-height: 1.75; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.cd-item { display: flex; align-items: center; gap: 14px; font-size: .88rem; color: var(--muted); }
.cd-item svg { color: var(--primary); flex-shrink: 0; }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: inherit; font-size: .88rem; padding: 10px 14px; transition: border-color .2s; resize: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group select option { background: #0c1428; }
.form-note { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 12px; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; text-decoration: none; border: none; padding: 12px 28px; border-radius: 10px; font-family: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-full { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--text); text-decoration: none; padding: 12px 28px; border-radius: 10px; font-size: .9rem; font-weight: 600; transition: background .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); color: var(--text); text-decoration: none; padding: 12px 28px; border-radius: 10px; font-family: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; width: 100%; }
.btn-outline:hover { border-color: var(--primary); background: var(--surface); }

/* FOOTER */
.footer { background: #030609; border-top: 1px solid var(--border-subtle); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: .85rem; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; transition: background .2s, color .2s; }
.social-link:hover { background: var(--primary); color: #fff; }
.footer-col h4 { font-size: .78rem; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--text); }

/* FLOAT + BACK-TO-TOP */
.back-to-top { position: fixed; bottom: 80px; right: 28px; width: 42px; height: 42px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; opacity: 0; pointer-events: none; transition: all .3s; z-index: 900; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.float-cta { position: fixed; bottom: 28px; right: 28px; background: var(--primary); color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 50px; font-size: .82rem; font-weight: 700; z-index: 900; box-shadow: 0 8px 32px rgba(26,86,219,.4); transition: transform .2s, box-shadow .2s; }
.float-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(26,86,219,.5); }

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(6,11,24,.98); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  .nav-links.open + .nav-cta { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats-float { flex-direction: column; }
}
