/* ════════════════════════════════════════════════════════════════
   WP MOZ — MAIN STYLESHEET  (assets/css/main.css)
   Imports tokens.css then defines all global shared styles:
   reset, typography, utilities, navbar, footer, buttons,
   badges, scroll-reveal, cursor, particles, sticky CTA.

   HOW TO ADD PAGE-SPECIFIC STYLES:
   → Create  assets/css/page-[name].css
   → Enqueue it conditionally in functions.php using
     is_page_template('page-templates/template-[name].php')
════════════════════════════════════════════════════════════════ */

@import url("tokens.css");
/* ════════════════════════════════════════
   WP MOZ — SHARED STYLESHEET
   Used by: index.html, wpmoz-plugins.html
════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  --orange: #f97316;
  --orange-light: #fb923c;
  --orange-cream: #fed7aa;
  --orange-soft: #fff7ed;
  --green: #22c55e;
  --green-light: #4ade80;
  --green-cream: #bbf7d0;
  --green-soft: #f0fdf4;
  --blue: #3b82f6;
  --blue-soft: #eff6ff;
  --blue-cream: #bfdbfe;
  --purple: #8b5cf6;
  --purple-soft: #f5f3ff;
  --bg: #fefcf8;
  --bg2: #f9f6f0;
  --surface: #ffffff;
  --surface2: rgba(255, 255, 255, 0.75);
  --border: rgba(0, 0, 0, 0.07);
  --border2: rgba(249, 115, 22, 0.2);
  --text: #1a1208;
  --text2: #6b5e4e;
  --text3: #9c8e80;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.1);
  --shadow-orange: 0 8px 32px rgba(249, 115, 22, 0.25);
  --shadow-green: 0 8px 32px rgba(34, 197, 94, 0.2);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 72px;
}

/* ─── DARK MODE TOKENS ─── */
[data-dark] {
  --bg: #0f0c07;
  --bg2: #151009;
  --surface: #1c1710;
  --surface2: rgba(28, 23, 16, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(249, 115, 22, 0.3);
  --text: #f5edd8;
  --text2: #b5a898;
  --text3: #7a6e60;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
  --orange-soft: rgba(249, 115, 22, 0.08);
  --orange-cream: rgba(249, 115, 22, 0.2);
  --green-soft: rgba(34, 197, 94, 0.07);
  --green-cream: rgba(34, 197, 94, 0.18);
  --blue-soft: rgba(59, 130, 246, 0.08);
  --blue-cream: rgba(59, 130, 246, 0.2);
  --purple-soft: rgba(139, 92, 246, 0.08);
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition:
    background 0.4s,
    color 0.4s;
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ─── UTILITIES ─── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-cream);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 600px;
  line-height: 1.75;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after {
  opacity: 1;
}
.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4);
}
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.35);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.badge-orange {
  background: var(--orange-soft);
  color: var(--orange);
  border: 1px solid var(--orange-cream);
}
.badge-green {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid var(--green-cream);
}
.badge-blue {
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid var(--blue-cream);
}
.badge-purple {
  background: var(--purple-soft);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1,
.rd1 {
  transition-delay: 0.1s;
}
.reveal-delay-2,
.rd2 {
  transition-delay: 0.18s;
}
.reveal-delay-3,
.rd3 {
  transition-delay: 0.26s;
}
.rd4 {
  transition-delay: 0.34s;
}
.rd5 {
  transition-delay: 0.42s;
}
.rd6 {
  transition-delay: 0.5s;
}

/* ─── CURSOR ─── */
#cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  transition:
    transform 0.15s,
    width 0.2s,
    height 0.2s,
    opacity 0.2s;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  top: 0;
  left: 0;
}
[data-dark] #cursor {
  mix-blend-mode: screen;
}

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: var(--transition);
}
#navbar.scrolled {
  background: var(--surface2);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.nav-logo span {
  -webkit-text-fill-color: var(--green);
  color: var(--green);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--orange);
  transition: right 0.3s;
}
.nav-links a:hover {
  color: var(--orange);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}
.nav-links a.active {
  color: var(--orange);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dark-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  color: var(--text);
}
.dark-toggle:hover {
  border-color: var(--orange);
  transform: rotate(20deg);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ─── MOBILE MENU ─── */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
#mobile-menu a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}
#mobile-menu a:hover {
  color: var(--orange);
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 26px;
  cursor: pointer;
  color: var(--text);
  background: none;
  border: none;
}

/* ─── FOOTER ─── */
footer {
  background: #0a0804;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.55);
}
.footer-social-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--orange);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-contact-item .fc-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
}
.footer-bottom a {
  color: var(--orange);
}

/* ─── STICKY CTA ─── */
#sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}
.sc-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.sc-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  border: none;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
}
.sc-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-orange);
}
.sc-label {
  background: var(--surface);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
  position: absolute;
  right: 68px;
  white-space: nowrap;
}
.sc-btn:hover ~ .sc-label {
  opacity: 1;
  transform: translateX(0);
}

/* ─── BACK TO TOP ─── */
#back-top {
  position: fixed;
  bottom: 96px;
  right: 30px;
  z-index: 998;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  transition: var(--transition);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
}
#back-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-top:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ─── CTA BANNER ─── */
#cta-banner {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0c07 0%, #1a1208 50%, #0a1a0a 100%);
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
}
.h-orange {
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.h-green {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  margin-bottom: 44px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}
.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 500;
}

/* ─── PARTICLES ─── */
#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  #sticky-cta {
    bottom: 18px;
    right: 18px;
  }
  #back-top {
    bottom: 80px;
    right: 18px;
  }
  .section {
    padding: 70px 0;
  }
}
@media (max-width: 480px) {
  .reveal.visible {
    overflow-x: scroll;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .cta-trust {
    flex-direction: column;
    gap: 12px;
  }
}

.d-none {
  display: none !important;
}
