/*
Theme Name: GeneratePress Child
Theme URI: 
Description: Custom child theme for GeneratePress - Building Brands Marketing
Author: Building Brands Marketing
Author URI: https://buildingbrandsmarketing.com
Template: generatepress
Version: 1.0.0
*/

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
body { background-color: #08050A; color: #ffffff; overflow-x: hidden; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #08050A; }
::-webkit-scrollbar-thumb { background: #8834B3; border-radius: 4px; }

/* ==========================================================================
   AMBIENT GLOW
   ========================================================================== */
.ambient-glow {
    position: absolute; border-radius: 50%; filter: blur(140px);
    z-index: 0; pointer-events: none;
}

/* ==========================================================================
   GLASS CARD
   ========================================================================== */
.glass-card {
    background: linear-gradient(145deg, rgba(25, 20, 30, 0.6) 0%, rgba(15, 10, 20, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(136, 52, 179, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.glass-card:hover {
    border-color: rgba(136, 52, 179, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -10px rgba(136, 52, 179, 0.25);
}

/* ==========================================================================
   GRADIENT TEXT
   ========================================================================== */
.purple-gradient-text {
    background: linear-gradient(135deg, #a348d4, #c87ef0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   FLOATING ANIMATION (Hero Mockup)
   ========================================================================== */
.float-gentle {
    animation: floatGentle 8s ease-in-out infinite;
}
@keyframes floatGentle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(0.5deg); }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION - Safe Version
   ========================================================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Only hide elements if JavaScript is confirmed working */
.js-enabled .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.js-enabled .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.stagger-children .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger-children .reveal:nth-child(2) { transition-delay: 100ms; }
.stagger-children .reveal:nth-child(3) { transition-delay: 200ms; }
.stagger-children .reveal:nth-child(4) { transition-delay: 300ms; }
.stagger-children .reveal:nth-child(5) { transition-delay: 400ms; }
.stagger-children .reveal:nth-child(6) { transition-delay: 500ms; }

/* ==========================================================================
   NOISE TEXTURE OVERLAY
   ========================================================================== */
.noise-bg::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0;
}

/* ==========================================================================
   X MARKS (Pain Points)
   ========================================================================== */
.x-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(229, 62, 62, 0.1); border: 1px solid rgba(229, 62, 62, 0.25);
    color: #e53e3e; font-size: 12px; flex-shrink: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border-top-color: transparent !important;
    transition: all 0.4s ease-in-out;
}
.faq-answer.open {
    max-height: 400px;
    opacity: 1;
    padding-bottom: 1.5rem;
    border-top-color: rgba(255, 255, 255, 0.05) !important;
}

/* ==========================================================================
   MULTI-STEP FORM - Screen Transitions
   ========================================================================== */
.form-screen {
    display: none;
    width: 100%;
}
.form-screen.active {
    display: block;
    opacity: 1;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right { animation-name: slideInRight; }
.slide-in-left { animation-name: slideInLeft; }

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   FORM - Validation & Input States
   ========================================================================== */
.input-error { border-color: #ef4444 !important; }
.error-message { display: none; color: #ef4444; font-size: 0.75rem; margin-top: 0.25rem; font-weight: 500; }
.input-error + .error-message { display: block; }

/* ==========================================================================
   FORM - File Upload Zone
   ========================================================================== */
.upload-zone {
    border: 2px dashed rgba(136, 52, 179, 0.4);
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}
.upload-zone:hover, .upload-zone.dragover {
    border-color: rgba(136, 52, 179, 0.8);
    background: rgba(136, 52, 179, 0.05);
}

/* ==========================================================================
   FORM - Toggle Card (Service Selection)
   ========================================================================== */
.toggle-card.selected {
    border-color: #a348d4;
    background-color: rgba(136, 52, 179, 0.15);
}
.toggle-card.selected .check-icon { opacity: 1; transform: scale(1); }
.toggle-card .check-icon { opacity: 0; transform: scale(0.8); transition: all 0.2s; }

/* ==========================================================================
   FORM - Progress Labels (Mobile)
   ========================================================================== */
@media (max-width: 640px) {
    .progress-label-text { display: none; }
    .progress-label-active { display: block; font-size: 0.75rem; }
}