/* ============================================================
   Sencira, LLC — corporate site stylesheet
   ============================================================ */

:root {
  --navy: #14263f;
  --navy-deep: #0e1c30;
  --ink: #1c2f4a;
  --body: #51627a;
  --muted: #7c8ba1;
  --teal: #17858d;
  --teal-dark: #116d75;
  --teal-soft: #e3f3f4;
  --blue: #2467c7;
  --blue-soft: #e8f1fb;
  --section-tint: #f2f7fb;
  --line: #e2e9f1;
  --card-shadow: 0 1px 2px rgba(20, 38, 63, 0.05), 0 8px 24px rgba(20, 38, 63, 0.07);
  --radius: 12px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 700; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }

.btn-outline { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-soft); color: var(--teal-dark); }

/* ---------- Header ---------- */

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

.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand img { height: 34px; width: auto; }

.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  margin-left: auto;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  content: "";
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after { position: absolute; top: 7px; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover { color: var(--teal); }
.site-nav a.active {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 3px;
}
.site-nav .btn { color: #fff; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, #eaf2f9 0%, #f4f9fc 100%);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero h1 {
  font-size: clamp(32px, 4.2vw, 46px);
  margin-bottom: 20px;
}

.hero p {
  font-size: 17px;
  margin-bottom: 30px;
  max-width: 46ch;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Dashboard mock ---------- */

.mock {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(20, 38, 63, 0.16);
  overflow: hidden;
  font-size: 11px;
  min-width: 0;
}

.mock-titlebar {
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 12px;
}
.mock-titlebar img { height: 16px; width: auto; }
.mock-dots { margin-left: auto; display: flex; gap: 5px; }
.mock-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.mock-body {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 300px;
}

.mock-sidebar {
  background: #f7fafc;
  border-right: 1px solid var(--line);
  padding: 12px 0;
}
.mock-sidebar span {
  display: block;
  padding: 7px 16px;
  color: var(--muted);
  font-weight: 500;
}
.mock-sidebar span.on {
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-right: 2px solid var(--teal);
  font-weight: 600;
}

.mock-main { padding: 14px 16px; min-width: 0; }
.mock-main h5 { font-size: 13px; color: var(--ink); margin-bottom: 12px; }

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.mock-stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 0;
}
.mock-stat em {
  font-style: normal;
  display: block;
  color: var(--muted);
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-stat b { font-size: 17px; color: var(--ink); }

.mock-panels { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px; }
.mock-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  min-width: 0;
}
.mock-panel h6 { font-size: 10.5px; color: var(--ink); margin-bottom: 8px; }
.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-top: 1px solid #eef3f8;
  color: var(--body);
}
.mock-row:first-of-type { border-top: 0; }
.mock-row small { color: var(--muted); white-space: nowrap; }
.mock-link { color: var(--blue); font-weight: 600; margin-top: 6px; display: inline-block; }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section.tint { background: var(--section-tint); }

.section-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 14px;
}
.section-lead {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 44px;
  font-size: 16.5px;
}

/* ---------- About ---------- */

.about-box {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}
.about-icon {
  flex: 0 0 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.about-box h2 { font-size: 26px; margin-bottom: 10px; }
.about-box p { font-size: 16.5px; }

/* ---------- Feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--card-shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; }

/* ---------- Featured product ---------- */

.product-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) 2fr auto;
  gap: 36px;
  align-items: center;
}

.product-id { display: flex; gap: 18px; align-items: flex-start; }
.product-logo {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.product-logo img { max-width: 100%; max-height: 100%; }
.product-id h3 { font-size: 22px; margin-bottom: 2px; }
.product-id .operated-by {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.product-id p { font-size: 14.5px; }

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.pfeature { display: flex; gap: 12px; }
.pfeature-icon {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pfeature h4 { font-size: 14.5px; margin-bottom: 2px; }
.pfeature p { font-size: 13px; }

.product-cta { text-align: center; }

/* ---------- Contact ---------- */

.contact-simple {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.contact-simple h2 { font-size: 28px; margin-bottom: 14px; }
.contact-simple > p { margin-bottom: 26px; }
.contact-simple > .btn { margin-bottom: 34px; }

.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 500;
}
.contact-item .ci-icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #b8c4d4;
  padding: 56px 0 0;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-brand .logo-chip {
  background: #fff;
  border-radius: 8px;
  padding: 5px;
  display: flex;
}
.footer-brand img { height: 24px; width: auto; }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: #b8c4d4;
  padding: 4px 0;
}
.footer-col a:hover { color: #fff; }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.footer-contact a { color: #b8c4d4; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 13.5px;
  color: #8fa0b5;
}

/* ---------- Legal pages ---------- */

.page-hero {
  background: linear-gradient(180deg, #eaf2f9 0%, #f4f9fc 100%);
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero h1 { font-size: 36px; margin-bottom: 8px; }
.page-hero .updated { color: var(--muted); font-size: 14.5px; }

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal h2 {
  font-size: 21px;
  margin: 36px 0 12px;
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal .highlight {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 14px 0;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .product-panel { grid-template-columns: 1fr; gap: 28px; }
  .product-cta { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle-label { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    box-shadow: 0 12px 24px rgba(20, 38, 63, 0.08);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid #eef3f8; }
  .site-nav a.active { border-bottom: 1px solid #eef3f8; }
  .site-nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }

  .contact-details { flex-direction: column; align-items: center; gap: 16px; }
  .about-box { flex-direction: column; text-align: center; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
  .mock-panels { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 104px 1fr; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .product-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
}
