:root {
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #d9e2ec;
  --paper: #ffffff;
  --cloud: #f5f8fb;
  --mist: #eaf3f4;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --amber: #b45309;
  --blue: #1d4ed8;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--ink), var(--teal));
  color: white;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}

.nav-links a:hover { color: var(--teal-dark); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.button:hover { background: var(--teal-dark); }

.button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(6, 20, 30, .92) 0%, rgba(6, 20, 30, .72) 42%, rgba(6, 20, 30, .14) 100%),
    url("../images/hero-netsoftpro.png") center right / cover no-repeat;
  color: white;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 48px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  color: #9de0d9;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .08em;
}

h1, h2, h3 {
  margin: 0 0 14px;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 21px; }

p { margin: 0 0 16px; }

.lead {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255,255,255,.88);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-strip {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.18);
}

.hero-strip div {
  padding: 18px;
  background: rgba(7, 18, 27, .64);
}

.hero-strip strong {
  display: block;
  font-size: 24px;
}

.hero-strip span {
  display: block;
  color: rgba(255,255,255,.74);
  font-size: 14px;
}

.hero-strip.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section {
  padding: 82px 0;
}

.section.alt { background: var(--cloud); }
.section.mist { background: var(--mist); }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p { color: var(--ink-soft); }

.grid {
  display: grid;
  gap: 18px;
}

.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(15,23,42,.02);
}

.card:hover { box-shadow: var(--shadow); }

.card p, .muted { color: var(--muted); }

.card.featured {
  border-color: rgba(15, 118, 110, .42);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 6px;
  background: #ecfeff;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.link {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.proof {
  border-left: 4px solid var(--amber);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 44px;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--teal);
}

.cta-band {
  background: var(--ink);
  color: white;
  padding: 54px 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band p { color: rgba(255,255,255,.76); max-width: 620px; }

.page-hero {
  background: linear-gradient(135deg, var(--ink), #103d40);
  color: white;
  padding: 82px 0 52px;
}

.page-hero .container {
  max-width: 960px;
}

.page-hero p { color: rgba(255,255,255,.82); font-size: 19px; }

.breadcrumb {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-bottom: 22px;
}

.breadcrumb a { color: white; text-decoration: none; }

.form {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 14px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  min-height: 44px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: white;
}

textarea { min-height: 124px; resize: vertical; }

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion button {
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.accordion-panel {
  display: none;
  color: var(--ink-soft);
  padding: 0 0 20px;
}

.accordion-item.open .accordion-panel { display: block; }

.site-footer {
  background: #0b1220;
  color: white;
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
}

.site-footer a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  display: block;
  margin: 8px 0;
}

.site-footer p { color: rgba(255,255,255,.68); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero { min-height: auto; background-position: center; }
  .hero-inner { padding-top: 74px; }
  .hero-strip, .grid.three, .grid.two, .grid.four, .section-head, .split, .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-band .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .section { padding: 58px 0; }
  .hero-actions .button, .cta-band .button { width: 100%; }
}
