/* ── C-Insight Shared Stylesheet ── */

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

:root {
  --navy:       #1A2B40;
  --blue:       #3B6DB3;
  --blue-light: #4F83CC;
  --blue-pale:  #EBF1FA;
  --warm:       #F7F5F2;
  --text:       #1C1C1E;
  --muted:      #5A6070;
  --white:      #FFFFFF;
  --border:     #D8E2EF;
  --charcoal:   #231F20;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-svg { width: 38px; height: 38px; object-fit: contain; }

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-text span { color: var(--blue); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover { color: var(--navy); }
nav a.active {
  color: var(--navy);
  font-weight: 600;
  background: var(--blue-pale);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.15rem;
  border-radius: 6px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--blue-light) !important; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A60 55%, #152840 100%);
  color: var(--white);
  padding: 72px 5vw 64px;
}

.page-hero-inner { max-width: 720px; }

.page-hero .section-label { color: #6FA3E0; margin-bottom: 0.75rem; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

.btn-blue-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-blue-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--blue-pale); transform: translateY(-1px); }

/* ── SHARED SECTION ── */
section { padding: 80px 5vw; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.7;
}

/* ── LOGO SVG INLINE ── */
.logo-eye-svg {
  /* Reusable class for the eye logo */
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: #6FA3E0; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-logo-text {
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ── CARDS ── */
.card {
  background: var(--warm);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover { box-shadow: 0 8px 32px rgba(26,43,64,0.1); transform: translateY(-3px); }
.card.dark  { background: var(--navy); border-color: var(--navy); }
.card.blue  { background: var(--blue-pale); border-color: var(--border); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav ul { display: none; }
}
