/* 
 * Magic Enhancer SaaS - High-Tech Landing Page CSS
 * Futuristic, Dark, Neon, Glassmorphism
 */

:root {
    --text: #ececf5;
    --text-muted: #8b8b9f;
    --bg-dark: #05050a;
    --yellow: #ffb703;
    --yellow-glow: rgba(255, 183, 3, 0.3);
    --purple-glow: rgba(138, 43, 226, 0.15);
    --surface: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --tr: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Isolator */
body.wpmes-landing-body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

.wpmes-landing-body * {
    box-sizing: border-box;
}

.wpmes-landing-body a {
    text-decoration: none;
    color: inherit;
    transition: var(--tr);
}

/* Atmospheric Glows */
.wpmes-glow-orb {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}
.wpmes-glow-1 {
    top: -200px;
    left: -200px;
    background: var(--purple-glow);
}
.wpmes-glow-2 {
    bottom: 20%;
    right: -200px;
    background: var(--yellow-glow);
    filter: blur(150px);
}

/* Navbar */
.wpmes-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(5, 5, 10, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.wpmes-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.wpmes-brand svg {
    color: var(--yellow);
    width: 24px;
    height: 24px;
}

.wpmes-nav-actions .btn {
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
}
.btn-ghost {
    color: var(--text);
    margin-right: 15px;
}
.btn-ghost:hover {
    color: var(--yellow);
}
.btn-primary {
    background: var(--yellow);
    color: #000;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.2);
}
.btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 183, 3, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.wpmes-hero {
    position: relative;
    padding: 200px 5% 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.wpmes-hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.3);
    color: var(--yellow);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeDown 1s ease-out backwards;
}

.wpmes-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #a0a0b5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeUp 1s ease-out 0.2s backwards;
}

.wpmes-hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeUp 1s ease-out 0.4s backwards;
}

.wpmes-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeUp 1s ease-out 0.6s backwards;
}
.wpmes-hero-cta .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}
.btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    color: #fff;
    font-weight: 500;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Hero Showcase Graphic & Before-After Slider */
.wpmes-showcase {
    margin-top: 5rem;
    width: 100%;
    max-width: 900px;
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255,183,3,0.1);
    padding: 1rem;
    animation: fadeUp 1.2s ease-out 0.8s backwards;
}

.wpmes-showcase-inner {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
    border: 3px solid #333;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* Interactive Before/After Slider */
.wpmes-ba-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    --position: 50%;
}
.wpmes-ba-before, .wpmes-ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.wpmes-contain-images .wpmes-ba-before,
.wpmes-contain-images .wpmes-ba-after {
    object-fit: contain !important;
    background: #111;
}
.wpmes-force-blur {
    filter: blur(0.8px) contrast(0.95);
}

/* The magical enhanced photo */
.wpmes-ba-after {
    clip-path: polygon(var(--position) 0, 100% 0, 100% 100%, var(--position) 100%);
}

.wpmes-ba-line {
    position: absolute;
    top: 0;
    left: var(--position);
    width: 4px;
    height: 100%;
    background: var(--yellow);
    box-shadow: 0 0 20px 2px var(--yellow);
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.wpmes-ba-line-handle {
    width: 40px;
    height: 40px;
    background: #000;
    border: 2px solid var(--yellow);
    color: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 20px var(--yellow);
    pointer-events: none;
}

.wpmes-ba-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
    margin: 0;
}

.wpmes-ba-label {
    position: absolute;
    top: 20px;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 10;
    font-family: 'Outfit', sans-serif;
    border: 1px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.wpmes-ba-label-before { left: 20px; }
.wpmes-ba-label-after { 
    right: 20px; 
    border-color: var(--yellow); 
    color: var(--yellow); 
    box-shadow: inset 0 0 10px rgba(255,183,3,0.3);
}

/* ----------------------------
   Feature Rows Layout
----------------------------- */
.wpmes-features {
    padding: 5rem 5%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.wpmes-section-title {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Sumário das Features e Divisor de Elite */
.wpmes-features-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: fadeUp 1s ease-out 0.2s backwards;
}

.wpmes-dot {
    width: 5px;
    height: 5px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--yellow);
}

.wpmes-magic-divider {
    position: relative;
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin: 0 auto 6rem;
}

.wpmes-magic-divider::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--yellow);
    box-shadow: 0 0 30px 2px var(--yellow), 0 0 10px var(--yellow);
    border-radius: 10px;
    animation: luxuryScan 4s infinite ease-in-out;
}

@keyframes luxuryScan {
    0% { left: 0%; transform: translateX(-100%) scaleX(0.5); opacity: 0; }
    20% { opacity: 1; transform: scaleX(1.5); }
    50% { left: 50%; transform: translateX(-50%) scaleX(0.8); }
    80% { opacity: 1; transform: scaleX(1.5); }
    100% { left: 100%; transform: translateX(0%) scaleX(0.5); opacity: 0; }
}

.wpmes-feature-rows {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.wpmes-feature-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
}

.wpmes-feature-text {
    width: 100%;
}
.wpmes-feature-demo {
    width: 100%;
}

@media (max-width: 768px) {
    .wpmes-features {
        padding: 3rem 1rem;
    }
}

.wpmes-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255,183,3,0.1);
    border-radius: 12px;
    color: var(--yellow);
}

.wpmes-feature-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin: 0 0 1rem;
    font-weight: 600;
}
.wpmes-feature-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Footer */
.wpmes-footer {
    border-top: 1px solid var(--border);
    padding: 3rem 5%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
}

/* Animations Variables */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .wpmes-hero-cta { flex-direction: column; }
    .wpmes-navbar { padding: 0 1.5rem; }
    .wpmes-hero { padding-top: 150px; }
}
