/* ============================================================
   Elektrotechnik Schwab - Shared Stylesheet
   Extracted from inline styles across all pages.
   ============================================================ */

/* ==========================================================
   0. SELF-HOSTED INTER FONT (DSGVO-konform)
   ========================================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================
   1. CSS VARIABLES
   ========================================================== */
:root {
    --brand-yellow: #E9DF3C;
    --brand-dark: #1F2937;
    --brand-yellow-hover: #D4CA35;
    --brand-yellow-dark: #b8af1e; /* WCAG AA contrast on white */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-800: #262626;
    --neutral-900: #171717;
}

/* ==========================================================
   2. UNIVERSAL FONT-FAMILY
   ========================================================== */
* {
    font-family: "Inter", sans-serif;
}

/* ==========================================================
   3. SMOOTH SCROLLING
   ========================================================== */
html {
    scroll-behavior: smooth;
}

/* ==========================================================
   4. BODY BACKGROUND & PATTERN
   ========================================================== */
body {
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f8fafc 30%,
        #f1f5f9 70%,
        #e2e8f0 100%
    );
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(233, 223, 60, 0.10) 1px, transparent 0),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.07) 2px, transparent 0);
    background-size: 40px 40px, 120px 120px;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
    animation: patternFlow 30s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes patternFlow {
    0%, 100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.3;
    }
    50% {
        transform: translate3d(20px, 20px, 0);
        opacity: 0.1;
    }
}

/* ==========================================================
   5. CUSTOM SCROLLBAR
   ========================================================== */

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-yellow) var(--neutral-100);
}

/* WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-yellow);
    border-radius: 4px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-yellow-hover);
}

/* ==========================================================
   6. GLASS HEADER
   ========================================================== */
.glass-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==========================================================
   7. MODERN CARDS
   ========================================================== */
.modern-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(229, 231, 235, 0.8);
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.modern-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

.modern-card:hover::before {
    left: 100%;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(233, 223, 60, 0.3),
        0 0 20px -4px rgba(233, 223, 60, 0.15);
    border-color: var(--brand-yellow);
}

/* ==========================================================
   8. BUTTONS
   ========================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-yellow) 0%, #f4d03f 100%);
    color: var(--brand-dark);
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(233, 223, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 25px 0 rgba(233, 223, 60, 0.45),
        0 4px 10px 0 rgba(0, 0, 0, 0.08);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px 0 rgba(233, 223, 60, 0.3);
    transition-duration: 0.1s;
}

.btn-secondary {
    background: white;
    color: var(--brand-dark);
    border: 2px solid var(--neutral-200);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 20px 0 rgba(233, 223, 60, 0.3),
        0 4px 8px 0 rgba(0, 0, 0, 0.06);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.08);
    transition-duration: 0.1s;
}

/* ==========================================================
   9. GRADIENT TEXT
   ========================================================== */
.gradient-text {
    background: linear-gradient(135deg, var(--brand-yellow) 0%, #f7dc6f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(233, 223, 60, 0.4))
                drop-shadow(0 0 20px rgba(233, 223, 60, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(233, 223, 60, 0.8))
                drop-shadow(0 0 40px rgba(233, 223, 60, 0.4));
    }
}

/* ==========================================================
   10. TYPING EFFECT
   ========================================================== */
.typing-container {
    display: inline-block;
}

.typing-text {
    display: inline-block;
    border-right: 3px solid var(--brand-yellow);
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--brand-yellow);
    }
}

.typing-done {
    border-right: none !important;
    animation: none !important;
}

/* ==========================================================
   11. CORE ANIMATIONS (KEYFRAMES)
   ========================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translate3d(12px, -25px, 0) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translate3d(-8px, -12px, 0) scale(0.95);
        opacity: 0.85;
    }
    75% {
        transform: translate3d(15px, -30px, 0) scale(1.05);
        opacity: 0.9;
    }
}

@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ==========================================================
   12. ANIMATE ELEMENT (IntersectionObserver)
   ========================================================== */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform, opacity;
}

.animate-element.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   13. WHATSAPP PULSE
   ========================================================== */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.pulse-whatsapp {
    animation: pulse-whatsapp 2s infinite;
}

/* ==========================================================
   14. TEXT EFFECTS
   ========================================================== */

/* Text Shimmer Effect */
.text-shimmer {
    background: linear-gradient(90deg,
        var(--brand-yellow) 0%,
        #fff 25%,
        var(--brand-yellow) 50%,
        #fff 75%,
        var(--brand-yellow) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* 3D Hover Tilt Effect */
.tilt-3d {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.tilt-3d:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.02);
}

/* Neon Glow Border */
.neon-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--brand-yellow), #f59e0b, var(--brand-yellow)) border-box;
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 5px var(--brand-yellow), 0 0 10px var(--brand-yellow); }
    50% { box-shadow: 0 0 20px var(--brand-yellow), 0 0 40px var(--brand-yellow); }
}

/* Bouncy Hover */
.bounce-hover {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-hover:hover {
    transform: scale(1.1) translateY(-5px);
}

/* Floating Animation with Rotation */
.float-rotate {
    animation: floatRotate 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatRotate {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    25% { transform: translate3d(0, -15px, 0) rotate(2deg); }
    50% { transform: translate3d(0, -5px, 0) rotate(0deg); }
    75% { transform: translate3d(0, -20px, 0) rotate(-2deg); }
}

/* Glitch Text Effect */
.glitch {
    position: relative;
}

.glitch:hover {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

/* ==========================================================
   15. STAGGER DELAYS
   ========================================================== */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ==========================================================
   16. COUNTER ANIMATION
   ========================================================== */
.counter-animate {
    display: inline-block;
    animation: countUp 2s ease-out forwards;
    will-change: transform, opacity;
}

@keyframes countUp {
    0% { opacity: 0; transform: translate3d(0, 20px, 0) scale(0.5); }
    60% { transform: translate3d(0, -5px, 0) scale(1.1); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* ==========================================================
   17. ELECTRIC SPARK EFFECT
   ========================================================== */
.electric-spark::after {
    content: '\26A1';
    position: absolute;
    font-size: 1.5rem;
    animation: spark 0.5s ease-in-out infinite;
    opacity: 0;
}

.electric-spark:hover::after {
    opacity: 1;
}

@keyframes spark {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
    50% { transform: translate(10px, -10px) scale(1.2); opacity: 1; }
}

/* ==========================================================
   18. GRADIENT BACKGROUND ANIMATION
   ========================================================== */
.gradient-animate {
    background: linear-gradient(-45deg, #1f2937, #374151, var(--brand-yellow), #f59e0b);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================
   19. ICON ANIMATIONS
   ========================================================== */

/* Wiggle Animation */
.icon-wiggle {
    animation: wiggle 2.5s ease-in-out infinite;
}
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Heartbeat Pulse */
.icon-heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.15); }
    20% { transform: scale(1); }
    30% { transform: scale(1.1); }
    40% { transform: scale(1); }
}

/* Spin on Hover */
.icon-spin-hover {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.icon-spin-hover:hover {
    transform: rotate(360deg) scale(1.2);
}

/* Rubber Band */
.icon-rubber {
    animation: rubberBand 1.5s ease-in-out infinite;
}
@keyframes rubberBand {
    0%, 100% { transform: scale(1); }
    30% { transform: scaleX(1.25) scaleY(0.75); }
    40% { transform: scaleX(0.75) scaleY(1.25); }
    50% { transform: scaleX(1.15) scaleY(0.85); }
    65% { transform: scaleX(0.95) scaleY(1.05); }
    75% { transform: scaleX(1.05) scaleY(0.95); }
}

/* Swing Animation */
.icon-swing {
    transform-origin: top center;
    animation: swing 2s ease-in-out infinite;
}
@keyframes swing {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
}

/* Jello Wobble */
.icon-jello {
    animation: jello 2s ease-in-out infinite;
}
@keyframes jello {
    0%, 100% { transform: skewX(0deg) skewY(0deg); }
    20% { transform: skewX(-12deg) skewY(-3deg); }
    40% { transform: skewX(8deg) skewY(2deg); }
    60% { transform: skewX(-4deg) skewY(-1deg); }
    80% { transform: skewX(2deg) skewY(0.5deg); }
}

/* 3D Flip on Hover */
.icon-flip-hover {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.icon-flip-hover:hover {
    transform: rotateY(180deg) scale(1.1);
}

/* Glow Pulse */
.icon-glow {
    animation: iconGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 0 transparent);
}
@keyframes iconGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(233, 223, 60, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(233, 223, 60, 0.8)); }
}

/* Pop Effect */
.icon-pop {
    animation: iconPop 3s ease-in-out infinite;
}
@keyframes iconPop {
    0%, 100% { transform: scale(1); }
    5% { transform: scale(1.3); }
    10% { transform: scale(0.9); }
    15% { transform: scale(1.1); }
    20% { transform: scale(1); }
}

/* Wave Animation */
.icon-wave {
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}
@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
}

/* Zoom Pulse */
.icon-zoom-pulse {
    animation: zoomPulse 2s ease-in-out infinite;
}
@keyframes zoomPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Electric Shake */
.icon-electric {
    animation: electricShake 0.5s ease-in-out infinite;
}
@keyframes electricShake {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-2px) rotate(-1deg); }
    20% { transform: translateX(2px) rotate(1deg); }
    30% { transform: translateX(-2px) rotate(0deg); }
    40% { transform: translateX(2px) rotate(1deg); }
    50% { transform: translateX(-2px) rotate(-1deg); }
    60% { transform: translateX(2px) rotate(0deg); }
    70% { transform: translateX(-2px) rotate(-1deg); }
    80% { transform: translateX(2px) rotate(1deg); }
    90% { transform: translateX(-1px) rotate(0deg); }
}

/* ==========================================================
   20. MAGNETIC BUTTON & RIPPLE EFFECT
   ========================================================== */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.3s;
}

.ripple:active::after {
    transform: scale(2);
    opacity: 1;
    transition: 0s;
}

/* ==========================================================
   21. FOOTER GLASS MORPHISM
   ========================================================== */
.footer-glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px 0 rgba(31, 41, 55, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.4);
}

/* ==========================================================
   22. JOB POPUP STYLES
   ========================================================== */
#jobPopup {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#jobPopupContent {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================
   23. BATTLE ARENA / COMPARISON SECTION
   ========================================================== */
.battle-arena {
    background: linear-gradient(180deg, #0F172A 0%, #1a1a2e 50%, #0F172A 100%);
    position: relative;
    overflow: hidden;
}
.battle-arena::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(239, 68, 68, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(233, 223, 60, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Grid lines background */
.battle-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: 60px 60px;
    pointer-events: none;
}

/* VS Badge */
.vs-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444, #E9DF3C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    box-shadow: 0 0 40px rgba(233, 223, 60, 0.4), 0 0 80px rgba(233, 223, 60, 0.1);
    animation: vs-pulse 2s ease-in-out infinite;
    z-index: 10;
    position: relative;
}
@keyframes vs-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(233, 223, 60, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 60px rgba(233, 223, 60, 0.6), 0 0 100px rgba(233, 223, 60, 0.2); }
}

/* Battle Cards */
.battle-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.battle-card-standard {
    border-color: rgba(239, 68, 68, 0.2);
}
.battle-card-standard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
}
.battle-card-knx {
    border-color: rgba(233, 223, 60, 0.3);
}
.battle-card-knx::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E9DF3C, transparent);
    box-shadow: 0 0 20px rgba(233, 223, 60, 0.5);
}
.battle-card-knx:hover {
    border-color: rgba(233, 223, 60, 0.5);
    box-shadow: 0 0 40px rgba(233, 223, 60, 0.1), inset 0 0 40px rgba(233, 223, 60, 0.03);
    transform: translateY(-4px);
}

/* Feature comparison rows */
.feature-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-row.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-label {
    text-align: center;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}
.feature-icon {
    font-size: 1.5rem;
    text-align: center;
}
.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.875rem;
}
.check-yes {
    background: rgba(233, 223, 60, 0.15);
    color: #E9DF3C;
    box-shadow: 0 0 15px rgba(233, 223, 60, 0.2);
}
.check-no {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.check-partial {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

/* Animated counter (battle arena) */
@keyframes count-glow {
    0%, 100% { text-shadow: 0 0 10px currentColor; }
    50% { text-shadow: 0 0 30px currentColor, 0 0 60px currentColor; }
}
.count-up {
    font-variant-numeric: tabular-nums;
}
.count-up.glowing {
    animation: count-glow 2s ease-in-out;
}

/* Winner banner */
.winner-banner {
    background: linear-gradient(135deg, rgba(233, 223, 60, 0.1), rgba(233, 223, 60, 0.05));
    border: 1px solid rgba(233, 223, 60, 0.3);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.winner-banner.visible {
    opacity: 1;
    transform: scale(1);
}

/* Floating particles for KNX card */
.knx-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #E9DF3C;
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 3s ease-in-out infinite;
}
@keyframes particle-float {
    0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0); }
    20% { opacity: 0.6; }
    100% { opacity: 0; transform: translate3d(0, -80px, 0) scale(1); }
}

/* ==========================================================
   24. RING PROGRESS STYLES
   ========================================================== */
.ring-progress {
    width: 120px;
    height: 120px;
    position: relative;
}
.ring-progress svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}
.ring-progress .ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.08);
    stroke-width: 8;
}
.ring-progress .ring-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}
.ring-progress .ring-fill-red { stroke: #ef4444; }
.ring-progress .ring-fill-yellow {
    stroke: #E9DF3C;
    filter: drop-shadow(0 0 6px rgba(233, 223, 60, 0.5));
}
.ring-progress .ring-fill-green {
    stroke: #22c55e;
    filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.5));
}
.ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
}
.ring-progress.animated .ring-fill {
    stroke-dashoffset: var(--target-offset);
}

/* ==========================================================
   25. HOVER LIFT EFFECTS
   ========================================================== */
.hover-lift {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   26. BORDER GLOW ANIMATION
   ========================================================== */
@keyframes borderGlow {
    0%, 100% { border-color: rgba(233, 223, 60, 0.3); }
    50% { border-color: rgba(233, 223, 60, 0.8); }
}
.animate-border-glow {
    animation: borderGlow 3s ease-in-out infinite;
}

/* ==========================================================
   27. SKIP LINK (ACCESSIBILITY)
   ========================================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--brand-yellow);
    color: black;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 6px;
}

/* ==========================================================
   28. FOCUS IMPROVEMENTS (ACCESSIBILITY)
   ========================================================== */
:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 2px;
}

.focus-visible:focus {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 2px;
}

/* ==========================================================
   29. INSTAGRAM CTA SECTION
   ========================================================== */
.instagram-gradient {
    background: linear-gradient(135deg, #833AB4 0%, #C13584 25%, #E1306C 50%, #F77737 75%, #FCAF45 100%);
}

.instagram-icon-glow {
    animation: igGlow 3s ease-in-out infinite;
}

@keyframes igGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 24px rgba(225, 48, 108, 0.8)) drop-shadow(0 0 48px rgba(131, 58, 180, 0.4));
    }
}

.instagram-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.instagram-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.instagram-handle {
    background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6), rgba(255,255,255,0.9));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* ==========================================================
   30. REMOVE BG-GRAY-50 OVERRIDES
   ========================================================== */
section.bg-gray-50, .bg-gray-50 {
    background: none !important;
}

/* ==========================================================
   31. ANIMATED LINK UNDERLINE
   ========================================================== */
.animated-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-yellow);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-link:hover::after {
    width: 100%;
}

/* Right-to-left variant */
.animated-link-rtl {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-link-rtl::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--brand-yellow);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-link-rtl:hover::after {
    width: 100%;
}

/* Center-out variant */
.animated-link-center {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-link-center::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-yellow);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-link-center:hover::after {
    width: 100%;
    left: 0;
}

/* ==========================================================
   32. ICON HOVER ON PARENT (Service Cards)
   ========================================================== */
.service-card-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover .service-card-icon,
.hover-lift:hover .service-card-icon {
    transform: scale(1.12) rotate(6deg);
    filter: drop-shadow(0 2px 8px rgba(233, 223, 60, 0.35));
}

/* Counterclockwise rotation variant */
.service-card-icon-alt {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover .service-card-icon-alt,
.hover-lift:hover .service-card-icon-alt {
    transform: scale(1.12) rotate(-6deg);
    filter: drop-shadow(0 2px 8px rgba(233, 223, 60, 0.35));
}

/* Scale-only variant (no rotation) */
.service-card-icon-scale {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover .service-card-icon-scale,
.hover-lift:hover .service-card-icon-scale {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 8px rgba(233, 223, 60, 0.35));
}

/* ==========================================================
   33. FOCUS-VISIBLE RING (enhanced accessibility)
   ========================================================== */
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 3px;
}

/* ==========================================================
   34. RESPONSIVE MEDIA QUERIES (Mobile 768px)
   ========================================================== */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    body::before {
        animation-duration: 60s;
        background-size: 60px 60px;
    }

    .typing-text {
        font-size: 0.9em;
    }

    .footer-glass {
        padding: 2rem 1rem;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .ring-progress {
        width: 70px;
        height: 70px;
    }

    .ring-value {
        font-size: 0.9rem;
    }

    .vs-badge {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }

    .battle-card {
        padding: 1.25rem;
    }
}

/* ==========================================================
   35. REDUCED MOTION SUPPORT
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
