/* ============================================================
   Sci-Key Solutions — revamped site styles
   Brand: primary blue #1283F0 · dark blue #0B63CE · ink #101418
   ============================================================ */

:root {
  --blue: #1283F0;
  --blue-dark: #0B63CE;
  --blue-darker: #084a9c;
  --blue-light: #E9F3FE;
  --blue-faint: #F2F8FF;
  --ink: #101418;
  --muted: #5B6572;
  --line: #E3E9F1;
  --bg: #F4F7FB;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(16, 20, 24, 0.08);
  --shadow-sm: 0 4px 14px rgba(16, 20, 24, 0.07);
  --maxw: 1140px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.22;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--muted); }
p.lead { font-size: 1.15rem; color: var(--muted); }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid rgba(18, 131, 240, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: min(var(--maxw), 100% - 2.5rem); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  line-height: 1.3;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: var(--blue-light); color: var(--blue-darker); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(16, 20, 24, 0.09); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--blue-dark); background: var(--blue-faint); }
.main-nav a.active { color: var(--blue-dark); font-weight: 700; }

.header-cta { margin-left: 0.75rem; flex-shrink: 0; }
.header-cta .btn { padding: 0.65rem 1.35rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(720px 380px at 88% -40px, var(--blue-light), transparent 65%),
    radial-gradient(520px 300px at 4% 110%, #E4F0FE, transparent 60%),
    var(--white);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 { color: var(--ink); }
.hero h1 .accent { color: var(--blue); }
.hero .sub { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

/* Hero visual card */
.hero-visual { position: relative; }
.visual-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.6rem;
  position: relative;
  z-index: 1;
}
.visual-card .vc-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.visual-card .vc-head img { height: 40px; width: auto; }
.visual-card .vc-head strong { font-family: var(--font-head); font-size: 0.95rem; }
.visual-card .vc-head span { display: block; font-size: 0.8rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }

.funnel-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.funnel-mini li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.funnel-mini .step-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.float-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}
.float-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 0.75rem; }
.chip-a { top: -18px; right: 6%; }
.chip-b { bottom: -18px; left: 4%; }
.chip-a strong { color: var(--blue-dark); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.2rem) 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 44rem; margin: 0 auto 2.6rem; text-align: center; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head p { font-size: 1.08rem; }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(120deg, var(--blue-dark), var(--blue) 70%); color: #fff; }
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2.6rem;
  padding-bottom: 2.6rem;
}
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.stat span { font-size: 0.95rem; opacity: 0.92; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.45rem; }
.card p { font-size: 0.98rem; margin-bottom: 0; }

.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card .icon svg { width: 26px; height: 26px; }

/* ---------- Steps (funnel) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.step h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.step p { font-size: 0.95rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-darker), var(--blue-dark) 60%, var(--blue));
  color: #fff;
  border-radius: 24px;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -200px; right: -120px;
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 38rem; margin: 0 auto 1.6rem; }
.cta-band .row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.14); color: #fff; border-color: #fff; }

/* ---------- Two-up band ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.checklist { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 500; }
.checklist svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(640px 320px at 85% -60px, var(--blue-light), transparent 65%),
    var(--bg);
  padding: clamp(2.6rem, 6vw, 4.2rem) 0;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 0.6rem; }
.page-hero .sub { font-size: 1.12rem; max-width: 46rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.6rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field label .req { color: var(--blue-dark); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font: inherit;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 131, 240, 0.18);
}
.field .hint { font-size: 0.85rem; color: var(--muted); }
.checkbox-group { display: grid; gap: 0.55rem; margin-top: 0.2rem; }
.checkbox-row { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 400; font-size: 0.97rem; cursor: pointer; }
.checkbox-row input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }

.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }
.form-status { display: none; border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 1.2rem; font-weight: 500; }
.form-status.show { display: block; }
.form-status.success { background: #E7F6EC; color: #14622E; border: 1px solid #BFE6CB; }
.form-status.error { background: #FDECEC; color: #A12323; border: 1px solid #F5C6C6; }

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.info-panel {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.info-panel h3 { color: #fff; margin-bottom: 1rem; }
.info-panel p { color: rgba(255,255,255,0.82); }
.info-item { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.1rem; }
.info-item svg { width: 22px; height: 22px; color: #8FC2FA; flex-shrink: 0; margin-top: 3px; }
.info-item strong { display: block; color: #fff; font-size: 0.95rem; }
.info-item span, .info-item a { color: rgba(255,255,255,0.82); font-size: 0.95rem; text-decoration: none; }
.info-item a:hover { color: #fff; text-decoration: underline; }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.18s ease;
}
.social-row a:hover { background: var(--blue); color: #fff; }
.social-row svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.2rem 0 2.2rem;
}
.footer-brand img { height: 52px; width: auto; background: #fff; border-radius: 12px; padding: 6px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; max-width: 24rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-nav a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Status pill (government page) ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFF7E6;
  border: 1px solid #F3DFAE;
  color: #7A5B12;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1.4rem;
}
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #E8A93D; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---------- Founder card ---------- */
.founder-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}
.founder-photo {
  width: 220px; height: 220px;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--blue-light), var(--blue-faint));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.founder-card h3 { font-size: 1.45rem; margin-bottom: 0.2rem; }
.founder-title { color: var(--blue-dark); font-weight: 600; margin-bottom: 0.8rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-dark);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 0;
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(16,20,24,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 480px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 0.6rem 1.25rem 1rem; gap: 0; }
  .main-nav a { padding: 0.75rem 0.4rem; border-bottom: 1px solid var(--bg); }
  .main-nav li:last-child a { border-bottom: 0; }
  .site-header { position: sticky; }

  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-visual { max-width: 520px; }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 1.8rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { margin: 0 auto; }
  .float-chip.chip-a { top: -14px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { width: 100%; }
  .cta-band .row .btn { width: 100%; }
  .chip-b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
