/* ========================================================
   WEB DEVELOPMENT PAGE STYLES (WIREFRAME GRIDS THEME)
   ======================================================== */

.webdev-page {
    background: linear-gradient(135deg, #010804 0%, #03140a 50%, #010804 100%);
    color: #ffffff;
    font-family: 'Inter', 'Poppins', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.webdev-hero {
    padding-top: 160px;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.webdev-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* ========================================================
   WIREFRAME 3D GRIDS & MOCKUPS THEME
   ======================================================== */

.wireframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    perspective: 1200px;
}

.wireframe-grid {
    position: absolute;
    top: 20%;
    left: -20%;
    width: 140%;
    height: 200%;
    background-image:
        linear-gradient(rgba(0, 255, 85, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 85, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(65deg) translateY(-50px) translateZ(-250px);
    animation: grid-scroll 10s linear infinite;
    transform-origin: top center;
}

@keyframes grid-scroll {
    0% {
        transform: rotateX(65deg) translateY(0) translateZ(-250px);
    }

    100% {
        transform: rotateX(65deg) translateY(-50px) translateZ(-250px);
    }
}

.floating-mockups {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    perspective: 1000px;
}

.mockup {
    position: absolute;
    border: 1px solid rgba(0, 255, 85, 0.3);
    background: rgba(0, 255, 85, 0.02);
    box-shadow: 0 0 20px rgba(0, 255, 85, 0.1), inset 0 0 10px rgba(0, 255, 85, 0.05);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    opacity: 0;
    animation: mockup-float 12s infinite ease-in-out;
}

.mockup::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 40px;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 255, 85, 0.2);
}

.mockup.laptop {
    width: 350px;
    height: 200px;
    top: 15%;
    left: 5%;
    transform: rotateY(25deg) rotateX(10deg);
    animation-delay: 0s;
}

.mockup.laptop::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 15px;
    width: 70%;
    height: 2px;
    background: rgba(0, 255, 85, 0.3);
    box-shadow: 0 12px 0 rgba(0, 255, 85, 0.2), 0 24px 0 rgba(0, 255, 85, 0.4), 0 48px 0 rgba(0, 255, 85, 0.2);
}

.mockup.phone {
    width: 140px;
    height: 280px;
    bottom: 5%;
    right: 10%;
    border-radius: 16px;
    transform: rotateY(-20deg) rotateX(5deg);
    animation-delay: -6s;
    animation-duration: 15s;
}

@keyframes mockup-float {
    0% {
        transform: translateY(0) rotateY(15deg) rotateX(5deg);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    50% {
        transform: translateY(-40px) rotateY(25deg) rotateX(0deg);
        opacity: 0.8;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(0) rotateY(15deg) rotateX(5deg);
        opacity: 0;
    }
}

.code-stream {
    position: absolute;
    bottom: 25%;
    left: 30%;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: rgba(0, 255, 85, 0.3);
    white-space: pre;
    z-index: 1;
    animation: code-fade 6s infinite steps(5);
    pointer-events: none;
}

@keyframes code-fade {
    0% {
        opacity: 0;
        content: "{ status: 'INIT', load: 0% }";
    }

    25% {
        opacity: 0.8;
    }

    50% {
        opacity: 0;
        content: "{ render: 'WebGL', fps: 60 }";
    }

    75% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
    }
}

.webdev-green {
    background: linear-gradient(90deg, #00FF55, #88FF00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-video-wrapper {
    max-width: 1000px;
    margin: 60px auto 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 85, 0.15);
    border: 1px solid rgba(0, 255, 85, 0.3);
}

.hero-image-board {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* Base structural overrides for the grid reused from about */
.diff-card {
    border: 1px solid rgba(0, 255, 85, 0.2);
}

.diff-card:hover {
    box-shadow: 0 10px 40px rgba(0, 255, 85, 0.1);
    border-color: #00FF55;
}

.data-vis-section {
    padding: 80px 20px;
}

.webdev-kpis {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.webdev-kpis .stat {
    background: rgba(0, 255, 85, 0.05);
    border: 1px solid rgba(0, 255, 85, 0.2);
    padding: 30px;
    border-radius: 16px;
    min-width: 200px;
    backdrop-filter: blur(5px);
}

.webdev-kpis .counter {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #00FF55;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 85, 0.4);
}

.cross-link-banner {
    padding: 40px 20px 80px;
}

.mt-5 {
    margin-top: 50px;
}