/* ============================================================
   OURCOMPARISONS — Global Header & Footer Styles
   Upload this file to your root via File Manager
   Then link it in every page's <head>:
   <link rel="stylesheet" href="/oc-header-footer.css">
   ============================================================ */

/* ===== FONT IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary-brand: #6495ED;
  --secondary-brand: #4682B4;
  --dark-accent: #1E3A5F;
  --light-accent: #AFCBFF;
  --light-tint: #EBF2FF;
  --bg-main: #F8FAFC;
  --bg-section: #F1F5F9;
  --card-bg: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --border-color: #DCE6F2;
  --hover-color: #7DA8F5;
  --teal: var(--primary-brand);
  --teal-deep: var(--dark-accent);
  --teal-tint: var(--light-tint);
  --ink: var(--text-primary);
  --ink-soft: var(--text-secondary);
  --line: var(--border-color);
  --paper: var(--bg-main);
  --paper-2: var(--bg-section);
  --shadow-sm: 0 4px 14px rgba(15,23,42,0.04);
  --shadow-md: 0 12px 32px rgba(30,58,95,0.08);
  --shadow-teal: 0 14px 28px rgba(100,149,237,0.28);
  --btn-gradient: linear-gradient(135deg, #6495ED 0%, #4682B4 100%);
  --btn-gradient-hover: linear-gradient(135deg, #7DA8F5 0%, #3B6F9A 100%);
  --ease: cubic-bezier(.22,1,.36,1);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
#oc-header .site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border-color);
}
.oc-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.oc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
  text-decoration: none;
}
.oc-logo .oc-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.oc-logo .oc-brand-accent { color: var(--primary-brand); }

.oc-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.oc-nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color .25s var(--ease);
  text-decoration: none;
  font-family: var(--font-body);
}
.oc-nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--primary-brand);
  transition: width .3s var(--ease);
}
.oc-nav-links a:hover { color: var(--primary-brand); }
.oc-nav-links a:hover::after { width: 100%; }

.oc-header-actions { display: flex; align-items: center; gap: 14px; }

.oc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  background: var(--btn-gradient);
  color: #fff !important;
  box-shadow: var(--shadow-teal);
  text-decoration: none !important;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  white-space: nowrap;
  font-family: var(--font-body);
  border: none;
}
.oc-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(100,149,237,0.38);
  background: var(--btn-gradient-hover) !important;
  color: #fff !important;
}

.oc-nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  border: none;
  cursor: pointer;
}
.oc-nav-toggle svg { width: 20px; height: 20px; }

/* ===== FOOTER ===== */
#oc-footer footer {
  background: #0C1315;
  color: rgba(255,255,255,0.78);
  padding: 76px 0 30px;
  margin-top: 100px;
}
.oc-footer-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.oc-footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr) 1.2fr;
  gap: 32px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.oc-footer-brand .oc-logo { color: #fff; }
.oc-footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  max-width: 260px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  line-height: 1.6;
}
.oc-footer-social { display: flex; gap: 10px; margin-top: 20px; }
.oc-footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.oc-footer-social a:hover { background: var(--primary-brand); transform: translateY(-3px); }
.oc-footer-social svg { width: 16px; height: 16px; }

.oc-footer-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
  margin-top: 0;
  font-weight: 800;
  font-family: var(--font-body);
}
.oc-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
  margin: 0;
  padding: 0;
}
.oc-footer-col a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
  font-family: var(--font-body);
}
.oc-footer-col a:hover { color: #fff; padding-left: 4px; }

/* Newsletter column in footer */
.oc-newsletter-col p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  font-family: var(--font-body);
  line-height: 1.55;
}
.oc-newsletter-form { display: flex; gap: 8px; }
.oc-newsletter-form input {
  flex: 1; min-width: 0;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #fff;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.oc-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.oc-newsletter-form input:focus {
  border-color: var(--primary-brand);
  background: rgba(255,255,255,0.1);
}
.oc-newsletter-form button {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  border: none;
  cursor: pointer;
  transition: background .3s var(--ease);
}
.oc-newsletter-form button:hover { background: var(--secondary-brand); }
.oc-newsletter-note {
  font-size: 12px;
  margin-top: 10px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-body);
}

.oc-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
}
.oc-footer-legal { display: flex; gap: 20px; }
.oc-footer-legal a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color .25s;
}
.oc-footer-legal a:hover { color: #fff; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
  .oc-nav-links {
    position: fixed;
    inset: 80px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 26px;
    font-size: 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    z-index: 9998;
  }
  .oc-nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .oc-header-actions .oc-btn-primary { display: none; }
  .oc-nav-toggle { display: inline-flex; }
}
@media (max-width: 980px) {
  .oc-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .oc-footer-top { grid-template-columns: 1fr; }
  #oc-footer footer { padding: 56px 0 24px; }
}
