/*
Theme Name: Beastness Child
Theme URI: https://beastness.shop
Description: Child theme of Astra for beastness.shop. Bakes in the BEASTNESS "beast mode" brand system — molten-red-on-black palette, Anton + Inter fonts, and reusable helper classes (buttons, glow, slanted edges, scroll reveal) so pages stay pixel-consistent and fully Elementor-editable.
Author: Cybrok
Author URI: https://beastness.shop
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beastness-child
*/

/* =========================================================================
   1. BRAND TOKENS  (change a value here and it updates everywhere)
   ========================================================================= */
:root {
  --beast-bg:            #0F0E0C; /* near-black page background */
  --beast-card:          #1A1714; /* cards, panels, form */
  --beast-surface:       #201E1A; /* alt sections, input fields */
  --beast-accent:        #FE2C00; /* MOLTEN RED — primary accent */
  --beast-accent-glow:   #FF6D00; /* lighter orange for glows */
  --beast-text:          #F5F4F1; /* near-white text */
  --beast-muted:         #9E9890; /* warm-gray sub-copy */
  --beast-border:        rgba(255,255,255,0.10);

  --beast-gradient: linear-gradient(100deg, #EA240E, #FF6F00);
  --beast-glow: 0 0 0 1px rgba(255,109,0,0.35), 0 12px 40px -8px rgba(254,44,0,0.55);
  --beast-card-shadow: 0 24px 60px -30px rgba(0,0,0,0.9);

  --beast-font-display: "Anton", "Oswald", system-ui, sans-serif;
  --beast-font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* Smooth scroll for the #claim anchor + any in-page links */
html { scroll-behavior: smooth; }

/* =========================================================================
   2. TYPOGRAPHY
   Anton for headings (uppercase, condensed), Inter for body.
   ========================================================================= */
body { font-family: var(--beast-font-body); -webkit-font-smoothing: antialiased; }

/* Apply the display font wherever you want it. Global headings inside a
   .beast-page wrapper get it automatically; elsewhere use .beast-display. */
.beast-page h1, .beast-page h2, .beast-page h3,
.beast-display {
  font-family: var(--beast-font-display);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

/* Eyebrow / label text (e.g. "BEASTNESS", "LIMITED LAUNCH OFFER") */
.beast-eyebrow {
  font-family: var(--beast-font-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--beast-accent);
  font-size: 0.8rem;
}

/* =========================================================================
   3. DARK PAGE WRAPPER
   Add class "beast-page" to the section/container (or page body) that should
   use the near-black brand background + light text. Scoped so it never
   darkens your WooCommerce shop/product pages unless you opt in.
   ========================================================================= */
.beast-page {
  background-color: var(--beast-bg);
  color: var(--beast-text);
}
.beast-page p { color: var(--beast-text); }
.beast-muted, .beast-page .beast-muted { color: var(--beast-muted) !important; }

/* Accent-gradient text (for the highlighted word in a headline) */
.beast-accent-text {
  background: var(--beast-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Small accent underline bar */
.beast-accent-rule {
  display: block;
  height: 4px;
  width: 5rem;
  background: var(--beast-gradient);
  box-shadow: var(--beast-glow);
  border: 0;
}

/* Surface helpers */
.beast-card {
  background-color: var(--beast-card);
  border: 1px solid var(--beast-border);
  box-shadow: var(--beast-card-shadow);
  border-radius: 12px;
}
.beast-surface { background-color: var(--beast-surface); }

/* =========================================================================
   4. BUTTONS
   Add "beast-btn" (primary) or "beast-btn-outline" (secondary/WhatsApp)
   to an Elementor Button widget: Advanced -> CSS Classes.
   ========================================================================= */
.beast-btn,
.beast-btn.elementor-button,
a.beast-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--beast-gradient) !important;
  color: #0F0E0C !important;
  font-family: var(--beast-font-body) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 1rem 2.25rem !important;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.beast-btn:hover,
.beast-btn.elementor-button:hover,
a.beast-btn:hover {
  transform: scale(1.03);
  box-shadow: var(--beast-glow);
  color: #0F0E0C !important;
}

.beast-btn-outline,
.beast-btn-outline.elementor-button,
a.beast-btn-outline {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent !important;
  color: var(--beast-text) !important;
  font-family: var(--beast-font-body) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--beast-accent) !important;
  border-radius: 6px !important;
  padding: calc(1rem - 2px) 2.25rem !important;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.beast-btn-outline:hover,
.beast-btn-outline.elementor-button:hover,
a.beast-btn-outline:hover {
  background: var(--beast-accent) !important;
  color: #0F0E0C !important;
  box-shadow: var(--beast-glow);
}

/* =========================================================================
   5. SLANTED SECTION EDGES
   Add "beast-slant-top", "beast-slant-bottom", or "beast-slant-both" to a
   section/container for the aggressive angled cut.
   ========================================================================= */
.beast-slant-top    { clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%); }
.beast-slant-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3vw), 0 100%); }
.beast-slant-both   { clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); }

/* =========================================================================
   6. GLOW + CARD HOVER
   ========================================================================= */
.beast-glow { box-shadow: var(--beast-glow); }

.beast-hover-lift {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.beast-hover-lift:hover {
  transform: translateY(-4px);
  border-color: rgba(254,44,0,0.6);
  box-shadow: var(--beast-glow);
}

/* Accent color helpers (icons, stars, checkmarks) */
.beast-accent { color: var(--beast-accent) !important; }
.beast-accent-bg { background: var(--beast-gradient) !important; }

/* =========================================================================
   7. SUBTLE GRAIN OVERLAY
   Add "beast-grain" to a section (hero, form) for a faint noise texture.
   ========================================================================= */
.beast-grain { position: relative; }
.beast-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.beast-grain > * { position: relative; z-index: 2; }

/* =========================================================================
   8. SCROLL REVEAL (free replacement for Elementor Pro Motion Effects)
   Add "beast-reveal" to any element. beast.js adds .is-visible on scroll.
   Optional stagger: add "beast-delay-1" ... "beast-delay-4".
   ========================================================================= */
.beast-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.beast-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.beast-delay-1 { transition-delay: 0.10s; }
.beast-delay-2 { transition-delay: 0.20s; }
.beast-delay-3 { transition-delay: 0.30s; }
.beast-delay-4 { transition-delay: 0.40s; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beast-reveal { opacity: 1; transform: none; transition: none; }
  .beast-btn:hover, .beast-hover-lift:hover { transform: none; }
}

/* =========================================================================
   9. FORM STYLING  (works with Fluent Forms / WPForms inside .beast-page)
   ========================================================================= */
.beast-page input[type="text"],
.beast-page input[type="email"],
.beast-page input[type="tel"],
.beast-page textarea,
.beast-form input,
.beast-form textarea {
  background-color: var(--beast-surface) !important;
  border: 1px solid var(--beast-border) !important;
  color: var(--beast-text) !important;
  border-radius: 6px !important;
}
.beast-page input::placeholder,
.beast-page textarea::placeholder { color: var(--beast-muted) !important; }
.beast-form label { color: var(--beast-text) !important; }

/* =========================================================================
   10. RESPONSIVE HEADLINE SIZES
   Use on the hero H1 (class "beast-hero-title") and section H2s.
   ========================================================================= */
.beast-hero-title { font-size: clamp(3.25rem, 9vw, 8.5rem); line-height: 0.86; }
.beast-h2         { font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.9; }
