/* Modern AI Developer Theme Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Outfit:wght@300;500;700&family=Space+Grotesk:wght@300;500;700&display=swap');

body {
    background-color: #030305;
    color: #e2e8f0;
    overflow-x: hidden;
}

    /* Philosophy Section Styling */
        .philosophy-section {
            border-bottom: 1px solid #f1f5f9;
        }

        /* Card Expansion Logic */
        .app-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            border: 1px solid #e2e8f0;
        }

        .app-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        }

        .app-details {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-out, opacity 0.3s ease;
        }

        .app-card.expanded {
            border-color: #3b82f6;
            background-color: #f8fafc;
        }

        .app-card.expanded .app-details {
            max-height: 1000px; /* Large enough for content */
            opacity: 1;
            margin-top: 1.5rem;
        }

        .app-card.expanded .expand-icon {
            transform: rotate(180deg);
        }

        .expand-icon {
            transition: transform 0.3s ease;
        }

        /* SVG Placeholder Styling */
        .img-placeholder {
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.5rem;
            color: #94a3b8;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out 3s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    }
}

.hover-glow:hover {
    animation: pulse-glow 2s infinite;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Background Mesh Gradient */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(at 0% 0%, rgba(76, 29, 149, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(76, 29, 149, 0.15) 0px, transparent 50%);
    filter: blur(40px);
}

/* Text Gradients */
.text-gradient-primary {
    background: linear-gradient(to right, #22d3ee, #a855f7, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(to right, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Typing Cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: #f472b6;
    /* Pink to match gradient */
    margin-left: 5px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}