/* =============================================
   SigBid Theme — Main Stylesheet
   ============================================= */

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

:root {
  --green: #1D9E75;
  --green-light: #E1F5EE;
  --green-dark: #0F6E56;
  --text: #111110;
  --text-secondary: #6B6B67;
  --text-tertiary: #A3A39F;
  --bg: #FAFAF8;
  --bg-card: #FFFFFF;
  --border: rgba(0,0,0,0.09);
  --border-strong: rgba(0,0,0,0.14);
  --font-display: 'Funnel Display', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

/* ---- NAV ---- */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
}
.logo span { color: var(--green); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 99px;
  font-family: var(--font-body);
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.82; }

/* ---- SECTIONS ---- */
section.kc-section { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem; }

/* ---- HERO ---- */
.kc-hero { padding-top: 5rem; padding-bottom: 5rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 2rem;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.kc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  max-width: 780px;
}
.kc-hero h1 em { font-style: normal; color: var(--green); }
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 99px;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 400;
  padding: 13px 0;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

/* ---- STATS STRIP ---- */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item { padding: 2rem 1.5rem; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--green); }
.stat-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }

/* ---- CHANNELS ---- */
.kc-channels { padding-top: 5rem; padding-bottom: 5rem; }
.section-header { margin-bottom: 3rem; }
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
  display: block;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  max-width: 500px;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.channel-card { background: var(--bg-card); padding: 2rem; transition: background 0.2s; }
.channel-card:hover { background: #F5FBF8; }
.channel-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}
.icon-google { background: #E8F0FE; color: #1A5DC2; }
.icon-meta   { background: #EEF0FB; color: #3B4BC8; }
.icon-msft   { background: #E4F3FD; color: #0076BE; }
.icon-data   { background: var(--green-light); color: var(--green-dark); }
.channel-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.3px;
}
.channel-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.25rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: #F2F2F0;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 99px;
}

/* ---- HOW WE WORK ---- */
.kc-how { padding-top: 5rem; padding-bottom: 5rem; background: var(--bg); }
.kc-how-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.how-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--border-strong);
  letter-spacing: -2px;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.how-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}
.how-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ---- VERTICALS ---- */
.kc-verticals { padding-top: 5rem; padding-bottom: 5rem; }
.vert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 2.5rem;
}
.vert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.15s;
}
.vert-card:hover { border-color: var(--green); transform: translateY(-2px); }
.vert-card h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.vert-card p { font-size: 12px; color: var(--text-tertiary); }

/* ---- GEO ---- */
.kc-geo { padding-top: 5rem; padding-bottom: 5rem; }
.geo-inner {
  background: var(--text);
  border-radius: 20px;
  padding: 3rem;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.geo-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.geo-inner h2 span { color: var(--green); }
.geo-inner > div > p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.geo-markets { display: flex; flex-direction: column; gap: 1rem; }
.geo-market {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
}
.geo-market-name { font-size: 14px; font-weight: 500; }
.geo-market-tag {
  background: rgba(29,158,117,0.25);
  color: #5DCAA5;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
}

/* ---- COMPLIANCE ---- */
.kc-compliance { padding-top: 5rem; padding-bottom: 5rem; }
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.compliance-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
}
.compliance-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.compliance-check svg { width: 14px; height: 14px; stroke: var(--green-dark); }
.compliance-card h4 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.compliance-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ---- CONTACT ---- */
.kc-contact { padding-top: 5rem; padding-bottom: 6rem; }
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-box h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.contact-box > p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.contact-email {
  display: inline-block;
  color: var(--green);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--green-dark); }
.contact-meta { font-size: 13px; color: var(--text-tertiary); margin-bottom: 2.5rem; }
.contact-detail {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}
.contact-detail strong { color: var(--text-secondary); font-weight: 500; }

/* ---- FOOTER ---- */
footer.site-footer { border-top: 1px solid var(--border); background: var(--bg-card); }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.5px; }
.footer-logo span { color: var(--green); }
.footer-copy { font-size: 12px; color: var(--text-tertiary); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 12px; color: var(--text-tertiary); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.kc-hero > * { animation: fadeUp 0.55s ease both; }
.kc-hero > *:nth-child(1) { animation-delay: 0.05s; }
.kc-hero > *:nth-child(2) { animation-delay: 0.12s; }
.kc-hero > *:nth-child(3) { animation-delay: 0.19s; }
.kc-hero > *:nth-child(4) { animation-delay: 0.26s; }

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
  .channels-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .geo-inner { grid-template-columns: 1fr; gap: 2rem; }
  .compliance-grid { grid-template-columns: 1fr; }
  .contact-box { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-top: 1px solid var(--border); }
  .stat-item:first-child { border-top: none; }
  .vert-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- GUTENBERG EDITOR OVERRIDES ---- */
.wp-block { max-width: none; }
.editor-styles-wrapper { font-family: var(--font-body); }
