/* ============================================================
   GREEN KOW CORE  -  one stylesheet for the whole site
   Load once (via the Green Kow Core plugin). Every page then
   uses these classes. Change a button here = it changes everywhere.
   No em dashes anywhere. Brand green is #39FF14.
   ============================================================ */

/* ---------- 1. TOKENS (the single source of truth) ---------- */
:root {
  --gk-green:        #39FF14;
  --gk-green-2:      rgba(57,255,20,0.50);
  --gk-green-soft:   rgba(57,255,20,0.08);
  --gk-green-border: rgba(57,255,20,0.26);
  --gk-glow:         0 0 28px rgba(57,255,20,0.50);
  --gk-glow-strong:  0 0 50px rgba(57,255,20,0.80);

  --gk-black:        #050505;
  --gk-ink:          #ffffff;
  --gk-muted:        rgba(255,255,255,0.62);
  --gk-red:          #ff4444;

  --gk-display: 'Bebas Neue', sans-serif;     /* big headlines */
  --gk-sans:    'DM Sans', sans-serif;        /* body + buttons */
  --gk-mono:    'Space Mono', monospace;      /* kickers + small text */

  --gk-radius:   22px;     /* cards */
  --gk-radius-pill: 999px; /* buttons + pills */
  --gk-max:      1220px;   /* content width */
  --gk-section:  90px;     /* vertical rhythm */
  --gk-gutter:   24px;     /* side padding (desktop uses 40px via .gk-section) */
}

/* ---------- 2. SCOPED RESET ----------
   Everything lives under .gk-root so it can NEVER leak into the
   WordPress header, footer or nav. Wrap each page block in
   <div class="gk-root"> ... </div>. That is the only rule to remember. */
.gk-root, .gk-root *, .gk-root *::before, .gk-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.gk-root {
  font-family: var(--gk-sans);
  color: var(--gk-ink);
  background: var(--gk-black);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}
.gk-root a { text-decoration: none; }
.gk-root img { display: block; max-width: 100%; }
.gk-root button,
.gk-root input,
.gk-root textarea,
.gk-root select { font-family: inherit; }

/* optional ambient backdrop (add class gk-root--lit to a page wrapper) */
.gk-root--lit {
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%,   rgba(57,255,20,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 88% 40%,  rgba(57,255,20,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 8%  70%,  rgba(57,255,20,0.09) 0%, transparent 55%),
    var(--gk-black);
}

/* ---------- 3. LAYOUT ---------- */
.gk-section { max-width: var(--gk-max); margin: 0 auto; padding: var(--gk-section) 40px; position: relative; z-index: 2; }
.gk-section--tight { padding-top: 60px; padding-bottom: 60px; }
.gk-section--center { text-align: center; }
.gk-divider { border: none; border-top: 1px solid rgba(57,255,20,0.10); margin: 0; }

/* ---------- 3b. HERO SHELL (flashlight cursor + floating image) ---------- */
.gk-hero { position: relative; overflow: hidden; isolation: isolate; }
.gk-flash { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; mix-blend-mode: screen;
  background: radial-gradient(circle 220px at var(--mx,50%) var(--my,40%), rgba(57,255,20,0.16) 0%, rgba(57,255,20,0.06) 35%, transparent 70%); }
.gk-hero:hover .gk-flash { opacity: 1; }
.gk-hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(57,255,20,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(57,255,20,0.045) 1px, transparent 1px);
  background-size: 55px 55px; animation: gkGridDrift 22s linear infinite; }
@keyframes gkGridDrift { 0% { background-position: 0 0; } 100% { background-position: 55px 55px; } }
.gk-orb { position: absolute; width: 400px; height: 400px; border-radius: 50%; filter: blur(55px); pointer-events: none;
  background: radial-gradient(circle, rgba(57,255,20,0.32), transparent 65%); animation: gkOrb 4s ease-in-out infinite; }
@keyframes gkOrb { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
.gk-float { animation: gkFloat 6s ease-in-out infinite; }
@keyframes gkFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

/* ---------- 4. TYPOGRAPHY HELPERS ---------- */
.gk-h1 {
  font-family: var(--gk-display);
  font-size: clamp(52px, 6.5vw, 90px);
  line-height: 0.93;
  letter-spacing: 1px;
  color: var(--gk-ink);
  margin-bottom: 22px;
}
.gk-h1 .gk-green   { color: var(--gk-green); display: block; }
.gk-h1 .gk-outline { -webkit-text-stroke: 2.5px var(--gk-ink); color: transparent; display: block; }

.gk-h2 {
  font-family: var(--gk-display);
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.0;
  color: var(--gk-ink);
  margin-bottom: 16px;
}
.gk-h2 .gk-green { color: var(--gk-green); }

.gk-body { font-family: var(--gk-mono); font-size: 12.5px; color: var(--gk-muted); line-height: 1.85; margin-bottom: 12px; max-width: 540px; }
.gk-body--lg { font-size: 14px; }

/* kicker (the funky "// LABEL"). Keep it for personality, or just
   delete the element on a page if you want it gone there. */
.gk-kicker {
  font-family: var(--gk-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gk-green);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

/* pill eyebrow with the blinking dot */
.gk-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--gk-green-2);
  background: var(--gk-green-soft);
  color: var(--gk-green);
  padding: 6px 16px;
  border-radius: var(--gk-radius-pill);
  font-size: 11px;
  font-family: var(--gk-mono);
  letter-spacing: 2px;
  margin-bottom: 22px;
}
.gk-blink { width: 7px; height: 7px; background: var(--gk-green); border-radius: 50%; flex-shrink: 0; animation: gkBlink 1.4s ease-in-out infinite; }
@keyframes gkBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.15; } }

/* ---------- 5. THE ONE BUTTON SYSTEM ----------
   This replaces .gk-cta-btn, .gk2-btn, .btn-cta, .btn-green,
   .gk-cta-btn, .back-btn and every other one-off button on the site. */
.gk-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.gk-btns--center { justify-content: center; }

.gk-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--gk-sans);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  padding: 14px 28px;
  border-radius: var(--gk-radius-pill);
  border: 1.5px solid transparent; /* keeps primary + ghost the exact same height */
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.gk-btn-primary { background: var(--gk-green); color: #000; box-shadow: var(--gk-glow); }
.gk-btn-primary:hover { box-shadow: var(--gk-glow-strong); transform: translateY(-3px) scale(1.03); color: #000; }

.gk-btn-ghost { background: transparent; color: var(--gk-green); border: 1.5px solid var(--gk-green-2); }
.gk-btn-ghost:hover { background: rgba(57,255,20,0.10); transform: translateY(-2px); color: var(--gk-green); }

/* one deliberate larger size for closing CTAs (replaces inline style patches) */
.gk-btn-lg { font-size: 15px; padding: 16px 34px; }

/* ---------- 6. CARDS ---------- */
.gk-card {
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--gk-green-border);
  border-radius: var(--gk-radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.gk-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(57,255,20,0.14); border-color: var(--gk-green-2); }

/* stat block */
.gk-stat { border: 1px solid rgba(57,255,20,0.22); background: var(--gk-green-soft); border-radius: 14px; padding: 14px 18px; text-align: center; }
.gk-stat-num { font-family: var(--gk-display); font-size: 34px; color: var(--gk-green); display: block; line-height: 1; }
.gk-stat-label { font-family: var(--gk-mono); font-size: 9px; color: var(--gk-muted); letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.4; }

/* ---------- 7. MARQUEE (funky, keep it) ---------- */
.gk-marquee { background: var(--gk-green); color: #000; overflow: hidden; padding: 11px 0; position: relative; z-index: 5; width: 100%; }
.gk-marquee-track { display: flex; width: max-content; animation: gkMarquee 20s linear infinite; }
@keyframes gkMarquee { 100% { transform: translateX(-50%); } }
.gk-marquee-content { display: flex; gap: 28px; padding-right: 28px; font-family: var(--gk-display); font-size: 21px; letter-spacing: 2px; white-space: nowrap; align-items: center; }
.gk-mdot { width: 6px; height: 6px; background: rgba(0,0,0,0.28); border-radius: 50%; flex-shrink: 0; display: inline-block; }

/* ---------- 7b. FUNKY HELPERS (the one-of-a-kind Green Kow touches) ---------- */

/* stretchy "mooo" - the o's stretch tall like a cow mooing, with a green
   glow, on a lively loop. Stretches even bigger on hover.
   Markup:  Make your m<span class="gk-moo">ooo</span>-oove */
.gk-moo {
  display: inline-block;
  transform-origin: 50% 60%;
  color: inherit;              /* matches its surroundings - green on dark, black on a green button */
  font-weight: 800;
  padding: 0 0.14em;           /* breathing room so the enlarged o's never collide with neighbours */
  animation: gkMoo 1.6s ease-in-out infinite;
  will-change: transform;
}
@keyframes gkMoo {
  0%, 100% { transform: scale(1) rotate(0deg); }
  35%      { transform: scale(1.32) rotate(-5deg); }
  55%      { transform: scale(1.32) rotate(5deg); }
}
/* bigger pop on hover */
.gk-moo:hover, *:hover > .gk-moo { animation-duration: 0.45s; }
@media (prefers-reduced-motion: reduce) { .gk-moo { animation: none; } }

/* green strike-through (the "Wasted clicks." treatment) */
.gk-strike {
  text-decoration: line-through;
  text-decoration-color: var(--gk-green);
  text-decoration-thickness: 3px;
  color: rgba(255,255,255,0.55);
}

/* floating MOO! badge that sits on the cow image */
.gk-moo-badge {
  position: absolute;
  background: var(--gk-green); color: #000;
  font-family: var(--gk-display); font-size: 26px; letter-spacing: 2px;
  padding: 8px 18px; border-radius: var(--gk-radius-pill);
  z-index: 3; box-shadow: 0 0 20px rgba(57,255,20,0.60);
  animation: gkMooBadge 2s ease-in-out infinite;
}
@keyframes gkMooBadge { 0%,100% { transform: rotate(-3deg) scale(1); } 50% { transform: rotate(3deg) scale(1.10); } }

/* ---------- 8. SCROLL REVEAL (driven by gk-core.js) ---------- */
.gk-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.gk-reveal.gk-in { opacity: 1; transform: translateY(0); }

/* ---------- 9. SHARED MODAL (injected once by the plugin) ---------- */
.gk-modal-overlay { display: none; position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 20px; }
.gk-modal-overlay.gk-active { display: flex; }
.gk-modal { background: #0a120a; border: 1px solid rgba(57,255,20,0.35); border-radius: var(--gk-radius); padding: 44px 40px; max-width: 480px; width: 100%; position: relative; box-shadow: 0 0 80px rgba(57,255,20,0.15); animation: gkModalIn 0.35s ease; }
@keyframes gkModalIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.gk-modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; color: rgba(255,255,255,0.40); font-size: 22px; cursor: pointer; line-height: 1; transition: color 0.2s; }
.gk-modal-close:hover { color: #fff; }
.gk-modal .gk-kicker { margin-bottom: 12px; }
.gk-modal h3 { font-family: var(--gk-display); font-size: 36px; color: #fff; line-height: 1.05; margin-bottom: 10px; }
.gk-modal h3 span { color: var(--gk-green); }
.gk-modal p { font-family: var(--gk-mono); font-size: 11.5px; color: var(--gk-muted); line-height: 1.75; margin-bottom: 24px; }
.gk-modal-form { display: flex; flex-direction: column; gap: 12px; }
.gk-modal-form input { width: 100%; background: rgba(0,0,0,0.45); border: 1px solid rgba(57,255,20,0.35); border-radius: 12px; padding: 14px 16px; color: #fff; font-family: var(--gk-sans); font-size: 14px; outline: none; transition: border-color 0.2s; }
.gk-modal-form input:focus { border-color: rgba(57,255,20,0.80); }
.gk-modal-form input::placeholder { color: rgba(255,255,255,0.55); }
.gk-modal-success { display: none; text-align: center; padding: 20px 0 10px; }
.gk-modal-success.gk-active { display: block; }
.gk-modal-success .gk-si { font-size: 48px; margin-bottom: 14px; display: block; }
.gk-modal-success h4 { font-family: var(--gk-display); font-size: 28px; color: var(--gk-green); margin-bottom: 8px; }

/* ---------- 10. STICKY WHATSAPP (injected once) ---------- */
.gk-wa { position: fixed; bottom: 24px; right: 24px; z-index: 9998; display: flex; align-items: center; gap: 9px; background: #25D366; color: #fff; font-family: var(--gk-sans); font-weight: 700; font-size: 14px; padding: 12px 20px 12px 15px; border-radius: var(--gk-radius-pill); box-shadow: 0 4px 24px rgba(37,211,102,0.55); animation: gkWaPulse 3s ease-in-out infinite; transition: transform 0.2s; }
.gk-wa:hover { transform: scale(1.05); color: #fff; }
@keyframes gkWaPulse { 0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,0.55); } 50% { box-shadow: 0 4px 40px rgba(37,211,102,0.85); } }
.gk-wa svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- 11. SHORTCODE EMBED (the search-intent engine in a page) ---------- */
.gk-intent-embed { position: relative; width: 100%; border: 1px solid var(--gk-green-border); border-radius: var(--gk-radius); overflow: hidden; background: var(--gk-black); }
.gk-intent-embed iframe { width: 100%; border: 0; display: block; }

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width: 960px) {
  .gk-section { padding: 60px 20px; }
  .gk-wa { bottom: 16px; right: 16px; font-size: 13px; padding: 10px 16px 10px 12px; }
  .gk-modal { padding: 32px 24px; }
  .gk-modal h3 { font-size: 28px; }
}
