/*
Theme Name: Cepora Digital
Theme URI: https://cepora.co
Author: Cepora Digital
Author URI: https://cepora.co
Description: Custom theme for Cepora Digital — strategy, websites, marketing systems, and AI-powered automation.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: cepora-digital
*/

/* ---------- VARIABLES ---------- */
:root {
  --magenta: #BC00FF;
  --navy: #253C78;
  --navy-dark: #1A2B57;
  --navy-deepest: #141F3E;
  --sky: #55C1FF;
  --lime: #B9FF66;
  --warm-charcoal: #2A2925;
  --warm-dark: #3A3833;
  --warm-mid: #8A8578;
  --warm-light: #E8E5DF;
  --bg-warm: #F7F5F2;
  --bg-warm-2: #FAFAF8;
  --text-body: #444;
  --text-muted: #7a7870;
  --text-faint: #a8a59b;
  --hairline: rgba(37, 60, 120, 0.08);
  --hairline-strong: rgba(37, 60, 120, 0.14);
}

/* ---------- RESET & BASE ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Prompt', sans-serif;
  font-weight: 400;
  color: var(--text-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 1100px; margin: 0 auto; padding: 0 48px; }

/* ---------- UTILITIES ---------- */
.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sky);
}
.section-pad { padding: 120px 0; }
.section-pad-lg { padding: 140px 0; }
.section-head {
  text-align: center;
  margin-bottom: 72px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.2rem);
}
.section-head .eyebrow { margin-bottom: 16px; }

/* ---------- PILLS ---------- */
.pill {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 4px;
}
.pill-sky { background: var(--sky); color: #fff; }
.pill-lime { background: var(--lime); color: var(--navy); }
.pill-magenta { background: var(--magenta); color: #fff; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-large { padding: 16px 28px; font-size: 0.98rem; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--hairline);
  padding: 14px 48px;
}
.nav .logo, .nav .nav-links a { color: #fff; transition: color 0.35s ease; }
.nav.scrolled .logo, .nav.scrolled .nav-links a { color: var(--navy); }
.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
}
.nav-links { display: flex; gap: 42px; align-items: center; }
.nav-links a {
  font-family: 'Prompt', sans-serif;
  font-size: 0.92rem;
  position: relative;
  transition: opacity 0.2s, color 0.35s ease;
}
.nav-links a:hover { opacity: 0.7; }
.nav-links a.active { font-weight: 500; }

/* ---------- SECTION LAYERS ---------- */
section { position: relative; }
section > *:not(.section-bg):not(.section-photo):not(.section-tint):not(.beam) { position: relative; z-index: 2; }
.section-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}
.section-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.section-label {
  position: absolute;
  top: 48px;
  left: 48px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
  z-index: 3;
}
.section-label .num { color: var(--navy); margin-right: 12px; opacity: 0.6; }

/* ---------- FINAL CTA (shared) ---------- */
.final-cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta .section-tint {
  background: linear-gradient(180deg, rgba(14, 23, 51, 0.82) 0%, rgba(14, 23, 51, 0.92) 100%);
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(188, 0, 255, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(85, 193, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}
.final-cta-inner {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 48px;
}
.final-cta .eyebrow { color: var(--lime); margin-bottom: 32px; }
.final-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 28px;
  line-height: 1.08;
}
.final-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.final-trust { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-deepest);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 40px;
  position: relative;
  z-index: 5;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-logo {
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  margin-bottom: 18px;
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
  line-height: 1.6;
}
.footer-nav { display: flex; gap: 36px; flex-wrap: wrap; }
.footer-nav a { font-family: 'Prompt', sans-serif; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-li {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
  transition: background 0.2s;
}
.footer-li:hover { background: var(--magenta); }

/* ---------- LINKEDIN CTA (shared) ---------- */
.linkedin-cta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.linkedin-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
}
.linkedin-cta p { font-size: 0.92rem; color: #666; line-height: 1.5; margin-bottom: 6px; }
.linkedin-cta a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
}

/* ---------- NEWSLETTER (shared) ---------- */
.newsletter {
  background: var(--bg-warm);
  padding: 44px 40px;
  border: 1px solid var(--hairline);
}
.newsletter h3 { font-size: 1.3rem; margin-bottom: 14px; line-height: 1.2; }
.newsletter p { font-size: 0.95rem; color: #666; margin-bottom: 28px; line-height: 1.6; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form input {
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  background: #fff;
  font-family: 'Prompt', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--navy); }
.newsletter-form input::placeholder { color: #aaa; }
.newsletter-form button { justify-content: center; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

::selection { background: var(--lime); color: var(--navy); }

/* ---------- MOBILE CTA BAR ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px; right: 16px;
  z-index: 99;
}
.mobile-cta .btn {
  width: 100%;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(188,0,255,0.3);
}

/* ---------- RESPONSIVE (shared) ---------- */
@media (max-width: 900px) {
  .container, .container-narrow { padding: 0 24px; }
  .nav, .nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .section-pad { padding: 80px 0; }
  .section-pad-lg { padding: 96px 0; }
  .section-label { top: 32px; left: 24px; font-size: 0.62rem; }
  .final-cta-buttons { flex-direction: column; }
  .final-cta-buttons .btn { width: 100%; justify-content: center; }
  .mobile-cta { display: block; }
  body { padding-bottom: 80px; }
  .footer-nav { gap: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}
