/* Anvicom Connect public homepage — brand styling lifted from the user manual.
   Palette: --brand:#09A5D3 (cyan), with cyan gradients, dot-grid hero, gradient
   header tables, and step-list numbered circles to match the manual look. */

:root {
  --brand: #09A5D3;
  --brand-dark: #0785aa;
  --brand-light: #2bbde8;
  --brand-tint: #e6f7fd;

  --bg: #ffffff;
  --surface-2: #f4f6f9;
  --border: #e2e8f0;

  --text: #1e293b;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --ok: #10b981;
  --warn: #f59e0b;
  --bad: #ef4444;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font: 15.5px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff; color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text-muted); }
.small { font-size: 12.5px; }

a { color: var(--brand-dark); text-decoration: none; transition: color .12s; }
a:hover { color: var(--brand); }

/* ─── Header ─────────────────────────────────────────── */
.site-header {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
  box-shadow: var(--shadow-sm);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 800; letter-spacing: -.2px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark-svg { width: 34px; height: auto; flex: 0 0 auto; }
.brand-text b {
  background: linear-gradient(180deg, var(--brand-light), var(--brand-dark));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-by {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 8px;
  border-left: 1px solid var(--border);
  margin-left: 6px;
}
.anviteq-logo { height: 28px; width: auto; vertical-align: middle; margin-bottom: 6px; }
.footer-logo { height: 18px; width: auto; vertical-align: middle; margin-left: 4px; }

/* Single-maker contact card */
.contact-single { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.maker-card {
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(135deg, #fff 0%, var(--brand-tint) 100%);
}
.maker-card .anviteq-logo-large { height: 56px; width: auto; margin-bottom: 16px; }
.maker-card .maker-line { font-size: 14px; color: var(--text-muted); margin: 0 0 6px; }
.maker-card .maker-product { font-size: 14px; color: var(--text); margin: 0 0 24px; }
.maker-card .maker-contacts {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}
.maker-card .maker-contacts a {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  transition: all .15s;
}
.maker-card .maker-contacts a:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(9, 165, 211, .15);
  text-decoration: none;
}
.maker-card .maker-contacts iconify-icon { font-size: 16px; color: var(--brand); }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  color: var(--text);
  font-size: 14px; font-weight: 500;
}
.site-header nav a:hover { color: var(--brand); }

/* ─── Hero (gradient + dot grid + glow orb) ─────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 80px;
  background:
    radial-gradient(circle at 20% 110%, rgba(125, 211, 252, .25), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(189, 238, 251, .28), transparent 50%),
    linear-gradient(135deg, #0a4a63 0%, var(--brand-dark) 45%, var(--brand) 100%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to right, transparent, #000 30%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30%, #000 100%);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 400px; height: 400px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(189, 238, 251, .35), rgba(9, 165, 211, 0) 65%);
}
.hero > * { position: relative; z-index: 1; }
.hero .chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 999px; padding: 6px 16px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset;
  color: #fff;
}
.hero .chip::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, .25);
}
.hero h1 {
  margin: 0 0 16px;
  font-size: 50px; font-weight: 800;
  letter-spacing: -1px; line-height: 1.08;
  text-shadow: 0 2px 14px rgba(10, 74, 99, .35);
  max-width: 780px;
  color: #fff;
}
.hero h1 b {
  background: linear-gradient(180deg, #ffffff 0%, #bdeefb 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  margin: 0; font-size: 17px; max-width: 720px;
  color: #e2f5fc;
}
.cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 32px;
}
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 56px;
  font-size: 13.5px; color: #cdeefb;
}
.hero-stats strong {
  display: block;
  font-size: 22px; font-weight: 800; color: #fff;
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  font-size: 15px; font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(9, 165, 211, .35), 0 1px 0 rgba(255, 255, 255, .25) inset;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(9, 165, 211, .45);
  color: #fff;
}
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}
.section .btn-ghost {
  background: #fff; color: var(--text); border-color: var(--border);
  padding: 10px 18px; font-size: 14px;
}
.section .btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--brand-light);
  color: var(--brand-dark);
}

/* ─── Use cases banner ───────────────────────────────── */
.usecases {
  background: #fff;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.usecases-label {
  text-align: center;
  margin: 0 0 22px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.usecases-row {
  display: flex; gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.usecase {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--brand-tint);
  border: 1px solid #bae6fd;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-dark);
  transition: transform .12s, box-shadow .12s;
}
.usecase:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(9, 165, 211, .20);
}
.usecase iconify-icon { font-size: 18px; }

/* ─── Sections ───────────────────────────────────────── */
.section { padding: 84px 0; }
.section.alt { background: var(--surface-2); }
h2.sec {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 36px;
  font-size: 30px; font-weight: 800;
  color: var(--text); letter-spacing: -.4px;
}
h2.sec .n {
  flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; letter-spacing: -.5px;
  box-shadow: 0 6px 16px rgba(9, 165, 211, .30), 0 1px 0 rgba(255, 255, 255, .30) inset;
}
.section .lead {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ─── Feature cards ──────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
}
.feature-card .icon {
  width: 52px; height: 52px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 14px rgba(9, 165, 211, .30), 0 1px 0 rgba(255, 255, 255, .25) inset;
}
.feature-card .icon iconify-icon { display: block; width: 28px; height: 28px; }
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px; font-weight: 700;
  color: var(--text);
}
.feature-card p {
  margin: 0; color: var(--text-muted);
  font-size: 14px;
}

/* ─── Protocol table ─────────────────────────────────── */
.protocol-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.protocol-table thead {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-bottom: 1px solid #d8e0ea;
}
.protocol-table th {
  text-align: left; padding: 13px 18px;
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px;
  color: #334155; font-weight: 700;
}
.protocol-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); }
.protocol-table tr:last-child td { border-bottom: none; }
.protocol-table tbody tr:nth-child(even) td { background: #fbfcfd; }
.protocol-table tbody tr:hover td { background: #f0fbff; }
.protocol-table strong { color: var(--brand-dark); }

/* ─── Step list (manual style) ───────────────────────── */
ol.steps {
  list-style: none; padding-left: 0; margin: 0;
  counter-reset: step;
}
ol.steps > li {
  position: relative;
  padding: 4px 0 24px 60px;
  counter-increment: step;
  font-size: 15px;
  color: var(--text-muted);
}
ol.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
  box-shadow: 0 5px 12px rgba(9, 165, 211, .35), 0 0 0 4px #fff, 0 0 0 5px rgba(9, 165, 211, .20);
}
ol.steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 19px; top: 46px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, rgba(9, 165, 211, .45) 0%, var(--border) 100%);
}
ol.steps > li > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px; font-weight: 700;
  color: var(--text);
}
ol.steps code {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 13px;
  background: #eef2f7;
  padding: 2px 7px; border-radius: 5px;
  color: #0f3a4d;
}

/* ─── Download ───────────────────────────────────────── */
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 28px 0;
}
.download-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.download-card.windows::before, .download-card.linux::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
}
.download-card .dl-icon {
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(9, 165, 211, .30), 0 1px 0 rgba(255, 255, 255, .25) inset;
}
.download-card .dl-icon iconify-icon { font-size: 32px; }
.btn-primary iconify-icon, .btn-ghost iconify-icon { font-size: 18px; vertical-align: middle; }
.download-card h3 {
  margin: 0 0 8px;
  font-size: 20px; font-weight: 700;
}
.download-card > p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}
.download-card .btn-primary {
  font-size: 14px; padding: 10px 18px;
}
.download-card .dl-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.download-card .dl-row .btn-ghost {
  padding: 8px 14px; font-size: 13px;
}
.download-card .small {
  margin-top: 14px; margin-bottom: 0;
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── Callouts ───────────────────────────────────────── */
.callout {
  position: relative;
  border: 1px solid transparent; border-left-width: 4px;
  border-radius: 10px;
  padding: 14px 18px 14px 50px;
  margin: 24px 0;
  font-size: 14.5px;
  box-shadow: var(--shadow-sm);
}
.callout::before {
  content: ""; position: absolute; left: 14px; top: 14px;
  width: 24px; height: 24px; border-radius: 50%;
}
.callout.note { background: #eff6ff; border-color: #3b82f6; color: #1e3a5f; }
.callout.note::before {
  background: #3b82f6 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'><line x1='12' y1='8' x2='12' y2='8.01'/><line x1='12' y1='11' x2='12' y2='17'/></svg>") center/14px no-repeat;
}
.callout .tag {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px;
  margin-right: 8px; opacity: .85;
}
.callout code {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 12.5px;
  background: rgba(255, 255, 255, .65);
  padding: 1px 7px; border-radius: 5px;
  color: #0f3a4d;
}

/* ─── Contact ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 13px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.contact-card p { margin: 0; font-size: 15px; }
.contact-card a { font-weight: 600; }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  font-size: 13px;
  background: var(--surface-2);
}
.site-footer .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 50px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 16px; }
  .hero-stats { gap: 18px; margin-top: 36px; }
  .hero-stats strong { font-size: 18px; }
  .section { padding: 52px 0; }
  h2.sec { font-size: 24px; }
  h2.sec .n { width: 38px; height: 38px; font-size: 17px; border-radius: 11px; }
  .download-grid { grid-template-columns: 1fr; }
  .site-header nav { display: none; }
}
