/* =============================================
   Jackson IT Services — Stylesheet
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #0057FF;
  --blue-dark:   #0040C7;
  --blue-light:  #E8F0FF;
  --cyan:        #00C2FF;
  --bg:          #F5F7FA;
  --surface:     #FFFFFF;
  --text:        #1A1D2E;
  --text-muted:  #5A607A;
  --border:      #E2E6EF;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --nav-h:       68px;

  /* Priority colours */
  --p1: #EF4444;
  --p1-bg: #FEF2F2;
  --p2: #F59E0B;
  --p2-bg: #FFFBEB;
  --p3: #10B981;
  --p3-bg: #ECFDF5;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; }

ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9375rem;
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,87,255,.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(0,87,255,.45);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-ghost:hover { background: var(--blue-light); }

.btn-full { width: 100%; justify-content: center; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: .75rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background .25s, box-shadow .25s;
}

.navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.nav-logo:hover { text-decoration: none; }

.logo-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-size: .75rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s;
}

.nav-links a:hover { color: var(--blue); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e24 0%, #0d1a4a 60%, #0a2a6e 100%);
  padding: calc(var(--nav-h) + 4rem) 1.25rem 5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.hero-eyebrow {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Decorative art */
.hero-art { position: absolute; inset: 0; pointer-events: none; }

.art-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
}

.c1 { width: 560px; height: 560px; top: -120px; right: -80px; }
.c2 { width: 380px; height: 380px; top: 60px; right: 60px; background: radial-gradient(circle, rgba(0,194,255,.08) 0%, transparent 70%); }
.c3 { width: 200px; height: 200px; bottom: 60px; left: 5%; background: radial-gradient(circle, rgba(0,87,255,.15) 0%, transparent 70%); }

.art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.6) 30%, rgba(0,0,0,.6) 70%, transparent);
}

/* ---------- Why Us ---------- */
.why {
  padding: 5rem 0;
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.why-card p {
  font-size: .9rem;
  color: var(--text-muted);
}

/* ---------- Services ---------- */
.services {
  padding: 6rem 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow .2s, transform .2s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
}

.server-icon     { background: #E8F0FF; }
.network-icon    { background: #E8F9FF; color: #0099CC; }
.workstation-icon{ background: #EDF9F0; color: #06925A; }
.tablet-icon     { background: #FFF4EC; color: #C2530A; }

.service-icon svg {
  width: 28px; height: 28px;
}

.service-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.service-body ul li {
  font-size: .9rem;
  color: var(--text-muted);
  padding: .25rem 0;
  padding-left: 1.1rem;
  position: relative;
}

.service-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: .75rem;
  top: .3rem;
}

.service-rate {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: .25rem;
}

.rate-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
}

.rate-unit {
  font-size: .8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 6rem 0;
  background: var(--surface);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}

.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.pricing-card-featured {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,87,255,.35);
}

.pricing-card-featured:hover {
  box-shadow: 0 12px 40px rgba(0,87,255,.45);
}

.pricing-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255,255,255,.2);
  color: #fff;
  padding: .3rem .75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.pricing-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.pricing-card-header p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card-featured .pricing-card-header p {
  color: rgba(255,255,255,.75);
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card-featured .pricing-card-price {
  border-bottom-color: rgba(255,255,255,.25);
}

.price-big {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--blue);
}

.pricing-card-featured .price-big { color: #fff; }

.price-per {
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card-featured .price-per { color: rgba(255,255,255,.75); }

.pricing-features li {
  font-size: .9rem;
  color: var(--text-muted);
  padding: .35rem 0;
  padding-left: 1.35rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--blue);
  font-size: .8rem;
}

.pricing-card-featured .pricing-features li { color: rgba(255,255,255,.85); }
.pricing-card-featured .pricing-features li::before { color: #7DD3FC; }

.feature-note {
  color: var(--p2) !important;
  font-style: italic;
}
.feature-note::before { content: '' !important; }

.feature-highlight {
  color: var(--p3) !important;
  font-weight: 600;
}
.pricing-card-featured .feature-highlight { color: #86EFAC !important; }
.feature-highlight::before { content: '' !important; }

/* ---------- SLA ---------- */
.sla {
  padding: 6rem 0;
  background: var(--bg);
}

.sla-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.sla-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: .9375rem;
}

.sla-table thead tr {
  background: var(--blue);
  color: #fff;
}

.sla-table th {
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sla-table td {
  padding: 1.25rem 1.5rem;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.sla-table tbody tr:last-child td { border-bottom: none; }

.sla-table td:nth-child(2) {
  color: var(--text);
  white-space: nowrap;
}

.priority-badge {
  display: inline-flex;
  align-items: center;
  font-size: .8125rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 100px;
  white-space: nowrap;
}

.p1 { background: var(--p1-bg); color: var(--p1); }
.p2 { background: var(--p2-bg); color: #B45309; }
.p3 { background: var(--p3-bg); color: #065F46; }

.sla-note {
  font-size: .9rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
}

/* ---------- Contact ---------- */
.contact {
  padding: 6rem 0;
  background: var(--surface);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-eyebrow { text-align: left; }

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9375rem;
}

.contact-icon {
  font-size: 1.1rem;
  width: 36px; height: 36px;
  background: var(--blue-light);
  border-radius: 8px;
  display: grid;
  place-items: center;
}

/* Form */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .9375rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,87,255,.12);
}

.form-note {
  margin-top: .75rem;
  font-size: .875rem;
  color: var(--p3);
  text-align: center;
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.6);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-size: 1rem;
  color: #fff;
}

.footer-copy { font-size: .85rem; }

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: color .15s;
}

.footer-nav a:hover { color: #fff; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .nav-links.open a { font-size: 1.1rem; color: var(--text); }

  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row     { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .sla-table th,
  .sla-table td { padding: .9rem 1rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 300px; }
}
