/* ===== Custom Software & AI Page Styles ===== */

:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --deep-bg: #030305;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.02);
}

body.software-page {
    background-color: var(--deep-bg);
    color: #e0e0e0;
}

/* --- Hero Section with Abstract Grid --- */
.software-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    /* Header offset */
}

.software-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px);
    }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(188, 19, 254, 0.15) 0%, rgba(0, 243, 255, 0.05) 40%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.software-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid var(--neon-blue);
    background: rgba(0, 243, 255, 0.05);
    color: var(--neon-blue);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 32px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.glitch-text {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #a5a5a5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.glitch-accent {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Feature Cards (Holographic Feel) --- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.tech-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 32px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.1);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.4));
}

.tech-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
    font-family: var(--font-heading);
}

.tech-card p {
    font-size: 15px;
    color: #8892b0;
    line-height: 1.6;
}

/* --- "Hidden" Pricing / Consultation --- */
.consult-section {
    padding: 120px 0;
    position: relative;
    text-align: center;
}

.consult-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #0a0c10, #050505);
    border: 1px solid rgba(188, 19, 254, 0.3);
    border-radius: 32px;
    padding: 80px 40px;
    position: relative;
    box-shadow: 0 0 60px rgba(188, 19, 254, 0.1);
}

.consult-label {
    color: var(--neon-purple);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
    font-weight: 700;
}

.consult-title {
    font-size: 48px;
    color: white;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.consult-desc {
    font-size: 18px;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.btn-neon {
    background: transparent;
    border: 1px solid var(--neon-purple);
    color: var(--neon-purple);
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
}

.btn-neon:hover {
    background: var(--neon-purple);
    color: white;
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.6);
}



/* --- Responsive --- */
@media (max-width: 992px) {
    .glitch-text {
        font-size: 48px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .consult-title {
        font-size: 32px;
    }

    .consult-card {
        padding: 40px 24px;
    }


}

/* --- Tech Stack Section (Holographic Redesign) --- */
.tech-stack-section {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.03) 0%, transparent 70%);
    overflow: hidden;
}

/* Decorative background line */
.tech-stack-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 60px auto 0;
    position: relative;
    z-index: 2;
}

/* Holographic Cards */
.stack-category {
    background: rgba(10, 12, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Glowing border effect on hover */
.stack-category::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(0, 243, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.stack-category:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 243, 255, 0.2);
}

.stack-category:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
}

.stack-category h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
}

/* Header Accent */
.stack-category h3::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Tech Tags / Pills */
.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

/* Pill Glow Effect */
.tech-pill:hover {
    color: white;
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}

/* AI Specific Styles */
.stack-category:nth-child(3) h3::before {
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
}

.tech-pill.pill-ai:hover {
    background: rgba(188, 19, 254, 0.1);
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
    text-shadow: 0 0 5px rgba(188, 19, 254, 0.5);
}

@media (max-width: 992px) {
    .stack-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}