/*
Theme Name: Mageap
Theme URI: https://mageap.com
Author: Mageap Team
Author URI: https://mageap.com
Description: Modern, high-conversion custom WordPress theme for Mageap — software development, eCommerce solutions and dedicated engineering teams. Built from scratch with beautiful glassmorphism design, smooth animations and conversion-focused UX.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mageap
Tags: custom-theme, landing-page, business, one-page, responsive, glassmorphism
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
    --bg-dark: #0F172A;
    --accent-neon: #FF4500;
    --accent-gold: #FFD700;
    --base-light: #FFFFFF;
    --base-light-bg: #F8FAFC;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
}

.font-display {
    font-family: 'Syne', 'Inter', system-ui, sans-serif;
    font-weight: 700;
}

/* Glassmorphism Cards */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.25), inset 0 0 12px rgba(255, 69, 0, 0.15);
    transform: translateY(-6px);
}

/* Premium Gradient Buttons */
button.gradient-btn,
a.gradient-btn,
input[type="submit"].gradient-btn,
.gradient-btn {
    background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-gold) 100%) !important;
    background-size: 200% 100% !important;
    background-position: left center !important;
    color: #FFFFFF !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

button.gradient-btn:hover,
a.gradient-btn:hover,
input[type="submit"].gradient-btn:hover,
.gradient-btn:hover {
    background-position: right center !important;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.45), 0 8px 25px -6px rgba(255, 69, 0, 0.3) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

button.gradient-btn:active,
a.gradient-btn:active,
input[type="submit"].gradient-btn:active,
.gradient-btn:active {
    transform: translateY(-1px) scale(1.0) !important;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.3) !important;
}

/* Premium Outline Buttons */
button.outline-btn,
a.outline-btn,
.outline-btn {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #E4E4E7 !important; /* zinc-300 */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

button.outline-btn:hover,
a.outline-btn:hover,
.outline-btn:hover {
    border-color: var(--accent-neon) !important;
    background: rgba(255, 69, 0, 0.08) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.2), inset 0 0 8px rgba(255, 69, 0, 0.05) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

button.outline-btn:active,
a.outline-btn:active,
.outline-btn:active {
    transform: translateY(-1px) scale(1.0) !important;
}

/* Fluid Liquid Shapes */
.liquid-shape {
    background: linear-gradient(45deg, rgba(255, 69, 0, 0.25), rgba(255, 215, 0, 0.2));
    filter: blur(50px);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 12s ease-in-out infinite alternate, spin 30s linear infinite;
    pointer-events: none;
    will-change: transform, border-radius;
}

.liquid-shape-2 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 69, 0, 0.2));
    filter: blur(60px);
    border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
    animation: morph2 10s ease-in-out infinite alternate, spin 25s linear infinite reverse;
    pointer-events: none;
    will-change: transform, border-radius;
}

@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { border-radius: 40% 60% 70% 30% / 50% 60% 30% 70%; }
}

@keyframes morph2 {
    0% { border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%; }
    100% { border-radius: 70% 30% 40% 60% / 60% 50% 40% 50%; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header sticky styling */
nav.sticky-active {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Animations & Stagger details */
.stagger-item {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Services page: DevOps & Design blocks always visible */
#services-devops,
#services-design,
.services-visible-grid,
.services-visible-grid > * {
    opacity: 1 !important;
    transform: none !important;
}

/* WordPress specific styles */
.wp-block {
    max-width: 100%;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Card Buttons */
button.portfolio-card-btn,
.portfolio-card-btn {
    background: rgba(255, 69, 0, 0.08) !important;
    border: 1px solid rgba(255, 69, 0, 0.25) !important;
    color: #FFFFFF !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

button.portfolio-card-btn:hover,
.portfolio-card-btn:hover {
    background: var(--accent-neon) !important;
    border-color: var(--accent-neon) !important;
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.45) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

button.portfolio-card-btn:active,
.portfolio-card-btn:active {
    transform: translateY(-1px) scale(1.0) !important;
}

/* Calculator & Portfolio filter buttons hover micro-animations */
.calc-stack-btn,
.calc-lvl-btn,
.calc-dur-btn,
.portfolio-filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.calc-stack-btn:hover,
.calc-lvl-btn:hover,
.calc-dur-btn:hover,
.portfolio-filter-btn:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.15) !important;
}

/* Logo Pulse Premium Animation */
.logo-pulse {
    animation: premiumPulse 2.5s infinite cubic-bezier(0.4, 0, 0.6, 1) !important;
}

@keyframes premiumPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4), 0 4px 10px rgba(255, 69, 0, 0.1);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0), 0 8px 20px rgba(255, 69, 0, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0), 0 4px 10px rgba(255, 69, 0, 0.1);
    }
}

/* Infinite Scrolling Marquee */
.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent) !important;
}

.marquee-track {
    display: flex !important;
    width: max-content !important;
    animation: marquee-scroll 25s linear infinite !important;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Custom transitions and interactive elements */
.transition-all-custom {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Technology tags on services page */
.tech-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    font-weight: 600;
    color: #D4D4D8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-tag:hover {
    border-color: rgba(255, 69, 0, 0.4);
    background: rgba(255, 69, 0, 0.08);
    color: #FFFFFF;
}

/* Framework chips in footer CTA */
.framework-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 0.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    font-weight: 600;
    color: #D4D4D8;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.framework-block:hover .framework-chip,
.marketing-block:hover .framework-chip {
    border-color: rgba(255, 255, 255, 0.08);
}

.framework-chip:hover {
    transform: translateY(-4px) scale(1.04);
    border-color: rgba(255, 69, 0, 0.45);
    background: rgba(255, 69, 0, 0.08);
    box-shadow: 0 8px 24px rgba(255, 69, 0, 0.12);
    color: #FFFFFF;
}

.framework-chip i {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.framework-chip:hover i,
.framework-chip:hover .framework-initial {
    transform: scale(1.15);
}

.framework-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.framework-initial--django {
    background: #092E20;
    color: #44B78B;
}

.framework-initial--shopware {
    background: #189EFF;
    color: #FFFFFF;
}

/* Animated CTA stage */
.animated-cta-stage {
    position: relative;
    padding: 2.5rem 0;
}

.cta-orbit-ring {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 69, 0, 0.15);
    animation: cta-orbit-spin 18s linear infinite;
    pointer-events: none;
}

.cta-orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-neon), var(--accent-gold));
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.6);
}

.cta-orbit-dot--1 { top: -4px; left: 50%; transform: translateX(-50%); }
.cta-orbit-dot--2 { bottom: -4px; left: 50%; transform: translateX(-50%); }
.cta-orbit-dot--3 { left: -4px; top: 50%; transform: translateY(-50%); }
.cta-orbit-dot--4 { right: -4px; top: 50%; transform: translateY(-50%); }

@keyframes cta-orbit-spin {
    to { transform: rotate(360deg); }
}

.animated-cta-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(30px) scale(0.96);
}

.animated-cta-border {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--cta-angle, 0deg),
        transparent 0%,
        rgba(255, 69, 0, 0.7) 15%,
        rgba(255, 215, 0, 0.5) 30%,
        transparent 45%
    );
    animation: cta-border-spin 4s linear infinite;
    z-index: 0;
    opacity: 0.7;
}

.animated-cta-border::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: rgba(15, 23, 42, 0.92);
}

.animated-cta-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: cta-shimmer 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.animated-cta-card > *:not(.animated-cta-border):not(.animated-cta-shimmer) {
    position: relative;
    z-index: 2;
}

@property --cta-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes cta-border-spin {
    to { --cta-angle: 360deg; }
}

@keyframes cta-shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.cta-typewriter {
    color: #E4E4E7;
}

.cta-cursor {
    color: var(--accent-neon);
    animation: cta-blink 1s step-end infinite;
    font-weight: 300;
}

@keyframes cta-blink {
    50% { opacity: 0; }
}

.cta-magnetic-btn {
    transition: transform 0.15s ease-out, box-shadow 0.4s ease !important;
    overflow: hidden;
}

.cta-btn-ripple {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cta-magnetic-btn:hover .cta-btn-ripple {
    opacity: 1;
}

#animated-cta.cta-visible .animated-cta-card {
    animation: cta-card-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cta-card-enter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Landing page blocks */
.client-logo {
    font-family: 'Syne', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.client-logo:hover {
    color: rgba(255, 255, 255, 0.7);
}

.pain-card:hover {
    border-color: rgba(255, 69, 0, 0.25);
    transform: translateY(-4px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table td,
.comparison-table th {
    transition: background 0.2s ease;
}

.faq-trigger {
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-trigger:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-icon.rotate-45 {
    transform: rotate(45deg);
}

.home-calc-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-calc-btn:hover {
    transform: translateY(-2px);
}

/* Section CTA bars */
.section-cta-bar {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.section-cta-bar:hover {
    border-color: rgba(255, 69, 0, 0.25);
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.08);
}

/* Animated modals */
.modal-overlay {
    opacity: 0;
    transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.modal-open {
    opacity: 1;
}

.modal-panel {
    transform: scale(0.88) translateY(28px);
    opacity: 0;
    transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease;
}

.modal-overlay.modal-open .modal-panel {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-overlay.modal-open .modal-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.4), rgba(255, 215, 0, 0.2), transparent 60%);
    z-index: -1;
    animation: modal-glow-pulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes modal-glow-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.modal-success-pop {
    animation: modal-success-bounce 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-success-bounce {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

#bottom-form-success.modal-success-show {
    animation: bottom-form-fade-in 0.4s ease forwards;
}

@keyframes bottom-form-fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Floating CTA button */
.floating-cta-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-neon), var(--accent-gold));
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.4);
    cursor: pointer;
    transform: translateY(120px) scale(0.8);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, box-shadow 0.3s ease;
    pointer-events: none;
}

.floating-cta-btn.floating-cta-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
    animation: floating-cta-pulse 2.5s ease-in-out infinite;
}

.floating-cta-btn:hover {
    box-shadow: 0 12px 40px rgba(255, 69, 0, 0.55);
    transform: translateY(-4px) scale(1.05);
}

@keyframes floating-cta-pulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(255, 69, 0, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(255, 69, 0, 0.65), 0 0 0 8px rgba(255, 69, 0, 0.1); }
}

/* ── Site preloader ── */
.mageap-preloader {
    isolation: isolate;
}

.mageap-preloader__orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.mageap-preloader__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    will-change: transform, border-radius;
}

.mageap-preloader__orb--1 {
    width: 420px;
    height: 420px;
    top: -8%;
    left: -6%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.45) 0%, transparent 70%);
    animation: preloader-orb-1 9s ease-in-out infinite alternate;
}

.mageap-preloader__orb--2 {
    width: 360px;
    height: 360px;
    bottom: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.35) 0%, transparent 70%);
    animation: preloader-orb-2 11s ease-in-out infinite alternate;
}

.mageap-preloader__orb--3 {
    width: 280px;
    height: 280px;
    top: 42%;
    left: 52%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 69, 0, 0.25) 0%, rgba(255, 215, 0, 0.15) 50%, transparent 72%);
    animation: preloader-orb-3 7s ease-in-out infinite alternate;
}

@keyframes preloader-orb-1 {
    0%   { transform: translate(0, 0) scale(1); border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%; }
    100% { transform: translate(40px, 30px) scale(1.12); border-radius: 45% 55% 40% 60% / 50% 55% 45% 50%; }
}

@keyframes preloader-orb-2 {
    0%   { transform: translate(0, 0) scale(1); border-radius: 50% 50% 45% 55% / 60% 40% 55% 45%; }
    100% { transform: translate(-35px, -25px) scale(1.08); border-radius: 55% 45% 60% 40% / 45% 55% 50% 50%; }
}

@keyframes preloader-orb-3 {
    0%   { transform: translate(-50%, -50%) scale(0.9); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.65; }
}

.mageap-preloader__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 75%);
    animation: preloader-grid-pulse 3s ease-in-out infinite;
}

@keyframes preloader-grid-pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.65; }
}

.mageap-preloader__inner {
    position: relative;
    z-index: 2;
}

.mageap-preloader__emblem {
    position: relative;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.mageap-preloader__mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #FF4500 0%, #FFD700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(255, 69, 0, 0.45), 0 8px 32px rgba(255, 69, 0, 0.25);
    animation: preloader-mark-pulse 2s ease-in-out infinite;
    z-index: 2;
}

.mageap-preloader__mark span {
    font-family: 'Syne', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.05em;
}

@keyframes preloader-mark-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(255, 69, 0, 0.45), 0 8px 32px rgba(255, 69, 0, 0.25); }
    50% { transform: scale(1.06); box-shadow: 0 0 55px rgba(255, 69, 0, 0.6), 0 12px 40px rgba(255, 215, 0, 0.2); }
}

.mageap-preloader__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.mageap-preloader__ring--outer {
    inset: 0;
    border-color: rgba(255, 69, 0, 0.2);
    animation: preloader-spin 4s linear infinite;
}

.mageap-preloader__ring--inner {
    inset: 10px;
    border-color: rgba(255, 215, 0, 0.15);
    animation: preloader-spin 2.5s linear infinite reverse;
}

.mageap-preloader__ring--outer::before,
.mageap-preloader__ring--inner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 50%;
    background: #FF4500;
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.8);
}

.mageap-preloader__ring--inner::before {
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

@keyframes preloader-spin {
    to { transform: rotate(360deg); }
}

.mageap-preloader__orbit {
    position: absolute;
    inset: -6px;
    animation: preloader-spin 6s linear infinite;
}

.mageap-preloader__dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.mageap-preloader__dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.mageap-preloader__dot:nth-child(2) { bottom: 12%; right: 8%; }
.mageap-preloader__dot:nth-child(3) { bottom: 12%; left: 8%; }

.mageap-preloader__track {
    width: min(220px, 60vw);
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.mageap-preloader__track::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 69, 0, 0.3), transparent);
    animation: preloader-track-glow 1.8s ease-in-out infinite;
}

@keyframes preloader-track-glow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.mageap-preloader__bar {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #FF4500, #FFD700, #FF4500);
    background-size: 200% 100%;
    animation: preloader-bar-fill 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               mageap-shimmer 1.2s ease-in-out 0.5s infinite;
    box-shadow: 0 0 16px rgba(255, 69, 0, 0.5);
}

@keyframes preloader-bar-fill {
    0%   { width: 0%; }
    70%  { width: 88%; }
    100% { width: 100%; }
}

#mageap-preloader.mageap-preloader--exit .mageap-preloader__inner {
    animation: preloader-content-exit 0.65s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes preloader-content-exit {
    to {
        opacity: 0;
        transform: scale(1.08) translateY(-12px);
        filter: blur(6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mageap-preloader__orb,
    .mageap-preloader__ring,
    .mageap-preloader__orbit,
    .mageap-preloader__mark,
    .mageap-preloader__char,
    .mageap-preloader__bar,
    .mageap-preloader__grid {
        animation: none !important;
    }
    .mageap-preloader__char {
        opacity: 1;
        transform: none;
    }
    .mageap-preloader__bar {
        width: 100%;
    }
}

/* Language switcher */
.lang-switcher-menu .lang-option.lang-option-active,
.lang-switcher-menu .lang-option.text-\[\#FF4500\] {
    background: rgba(255, 69, 0, 0.08);
}

@media (max-width: 767px) {
    .lang-switcher-btn {
        padding: 0.4rem 0.6rem;
    }
    #lang-switcher-current {
        display: none;
    }
}

/* Lead form field validation */
input.mageap-field-error,
textarea.mageap-field-error,
select.mageap-field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35);
}