/* ── CORSIVENTURES WEBSITE — SHARED STYLES ── */

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

:root {
  --dark:    #162B3E;
  --mid:     #1E3A52;
  --teal:    #00A8CC;
  --amber:   #E8892B;
  --purple:  #7B61FF;
  --white:   #FFFFFF;
  --off:     #F7F8FA;
  --light:   #EAF6FB;
  --text:    #1A1A2E;
  --muted:   #5A6A7A;
  --border:  #D8E4EC;
  --max:     1100px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  background: var(--dark);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-mark {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-mark svg { width: 22px; height: 22px; }
.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}
.nav-brand span { color: var(--teal); }
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--white); }
.nav-links .nav-cta {
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 7px;
  margin-left: 6px;
}
.nav-links .nav-cta:hover { background: #0099bb; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 48px 40px 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .fb-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.footer-brand .fb-mark {
  width: 32px; height: 32px;
  background: var(--teal); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.footer-brand .fb-mark svg { width: 18px; height: 18px; }
.footer-brand .fb-name {
  font-size: 16px; font-weight: 700; color: var(--white);
}
.footer-brand .fb-name span { color: var(--teal); }
.footer-brand p {
  font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px;
}
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 13.5px; color: rgba(255,255,255,0.55);
  text-decoration: none; padding: 4px 0;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: var(--max);
  margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: var(--teal); text-decoration: none; font-size: 12px; }

/* ── SHARED SECTION UTILITIES ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 40px; max-width: var(--max); margin: 0 auto; }
.section-sm { padding: 56px 40px; max-width: var(--max); margin: 0 auto; }

.eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.eyebrow.amber { color: var(--amber); }
.section-heading {
  font-size: 36px; font-weight: 800; color: var(--text);
  letter-spacing: -0.6px; line-height: 1.15; margin-bottom: 18px;
}
.section-heading.white { color: var(--white); }
.section-sub {
  font-size: 17px; color: var(--muted); max-width: 640px;
  line-height: 1.7; margin-bottom: 48px;
}
.section-sub.white { color: rgba(255,255,255,0.65); }

/* ── BUTTONS ── */
.btn {
  display: inline-block; text-decoration: none;
  font-size: 15px; font-weight: 700; padding: 14px 32px;
  border-radius: 9px; transition: all 0.15s;
}
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #0099bb; transform: translateY(-1px); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--mid); }
.btn-lg { font-size: 17px; padding: 18px 40px; border-radius: 11px; }

/* ── CARDS ── */
.card {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
}
.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 28px;
}

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); }
.divider-dark { height: 1px; background: rgba(255,255,255,0.08); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--dark);
  padding: 72px 40px 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,204,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 {
  font-size: 48px; font-weight: 800; color: var(--white);
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,0.6);
  max-width: 580px; line-height: 1.7;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section, .section-sm { padding-left: 20px; padding-right: 20px; }
  .page-hero { padding: 48px 20px; }
  .page-hero h1 { font-size: 32px; }
  .section-heading { font-size: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
