/* Vigilica — marketing site stylesheet */
:root {
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-500: #3b82f6;
  --blue-50: #eff6ff;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --green-500: #22c55e;
  --green-50: #f0fdf4;
  --radius: 14px;
  --maxw: 1120px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--navy-800);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy-900); margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-secondary { background: #fff; color: var(--navy-900); border-color: var(--slate-300); }
.btn-secondary:hover { border-color: var(--slate-400); background: var(--slate-50); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--navy-900); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--slate-600); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--navy-900); text-decoration: none; }
.nav a.active { color: var(--blue-600); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 80% -10%, #1e3a8a 0%, var(--navy-900) 55%);
  color: #e2e8f0; padding: 96px 0 84px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 60%, rgba(15,23,42,.25));
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,.14); color: #86efac; border: 1px solid rgba(34,197,94,.25);
  font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.hero h1 { color: #fff; font-size: 46px; letter-spacing: -.02em; margin-bottom: 18px; }
.hero p.lead { color: #cbd5e1; font-size: 18px; max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; color: #94a3b8; font-size: 13px; }

.hero-visual {
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-card { background: #0b1220; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 20px; }
.hero-card .row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px; color: #cbd5e1; }
.hero-card .row:last-child { border-bottom: 0; }
.hero-card .status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.hero-card .tag { margin-left: auto; font-size: 12px; color: #94a3b8; }

/* Trust strip */
.trust-strip { background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--slate-500); font-size: 14px; font-weight: 500; }
.trust-item strong { color: var(--navy-900); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--slate-50); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: 34px; letter-spacing: -.02em; }
.section-head p { color: var(--slate-600); font-size: 17px; }
.kicker { color: var(--blue-600); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }

/* Cards grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 19px; }
.card p { color: var(--slate-600); margin: 0; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 18px; font-size: 22px;
}

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row h3 { font-size: 26px; margin-bottom: 14px; }
.feature-row p { color: var(--slate-600); font-size: 16px; }
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; }
.feature-list li { padding: 6px 0 6px 28px; position: relative; color: var(--slate-600); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px;
  background: var(--green-50); border-radius: 50%;
}
.feature-list li::after {
  content: "✓"; position: absolute; left: 4px; top: 8px; font-size: 11px; color: var(--green-500); font-weight: 700;
}
.feature-media {
  background: linear-gradient(160deg, var(--navy-900), #1e3a8a);
  border-radius: 18px; padding: 30px; color: #e2e8f0; box-shadow: var(--shadow-md);
}
.feature-media .media-title { color: #fff; font-weight: 600; margin-bottom: 12px; }
.media-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.media-line:last-child { border-bottom: 0; }
.media-line .m-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); }
.media-line .m-right { margin-left: auto; color: #94a3b8; font-size: 12px; }

/* Steps */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; margin-bottom: 36px; }
.step:last-child { margin-bottom: 0; }
.step-num {
  flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--blue-600); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px;
}
.step h3 { font-size: 19px; }
.step p { color: var(--slate-600); margin: 0; }

/* CTA band */
.cta-band {
  background: radial-gradient(900px 500px at 50% 0%, #1e3a8a, var(--navy-900));
  color: #e2e8f0; text-align: center; padding: 84px 0; border-radius: 20px;
}
.cta-band h2 { color: #fff; font-size: 34px; }
.cta-band p { color: #cbd5e1; font-size: 17px; max-width: 520px; margin: 0 auto 28px; }

/* Downloads */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dl-card { border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow-sm); }
.dl-card .os { font-size: 15px; font-weight: 700; color: var(--navy-900); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.dl-card .os svg { width: 22px; height: 22px; }
.dl-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--slate-100); font-size: 14px; }
.dl-row .meta { color: var(--slate-500); }
.dl-row .btn { padding: 8px 14px; font-size: 14px; }
.requirements { margin-top: 8px; color: var(--slate-500); font-size: 14px; }

/* Forms */
.form-card { max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--slate-300); border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--navy-900);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue-500); border-color: var(--blue-500); }

/* Footer */
.site-footer { background: var(--navy-900); color: #94a3b8; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-grid a { display: block; color: #94a3b8; padding: 4px 0; font-size: 14px; }
.footer-grid a:hover { color: #fff; text-decoration: none; }
.footer-brand .brand { color: #fff; }
.footer-tag { color: #64748b; font-size: 14px; margin-top: 12px; max-width: 260px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #64748b; }
.footer-bottom a { color: #94a3b8; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-2, .feature-row, .hero-grid, .dl-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .section-head h2 { font-size: 28px; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--slate-200); padding: 16px 24px; gap: 16px; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--slate-300); border-radius: 8px; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy-900); position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy-900); }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
}
