/* =========================================
   HERO SECTION STYLES (Performance Optimized)
   ========================================= */

#hero {
    position: relative;
    padding: 80px 0 60px 0;
    overflow: visible; 
}

/* --- LOGO STYLING --- */
.logo-container {
    position: relative;
    display: inline-block;
    padding: 0;
}
.main-logo {
    position: relative;
    z-index: 2;
    max-width: 350px;
    width: 100%;
    border-radius: 50%;
}

/* OPTIMIZED: Added hardware acceleration hints */
.logo-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%); /* Removed translateZ from here to avoid conflict */
    width: 120%; height: 120%;
    background: radial-gradient(circle, rgba(191,0,255,0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(50px);
    
    /* Performance Fix: Hints browser to keep this in GPU memory */
    will-change: transform, opacity;
    animation: pulseGlow 5s infinite ease-in-out;
}

/* --- THE 3D DASHBOARD CARD --- */
.perspective-wrapper {
    perspective: 1000px; 
    display: flex;
    justify-content: center;
    transform-style: preserve-3d;
}

.hero-dashboard-card {
    position: relative;
    background: rgba(20, 0, 35, 0.85);
    border: 1px solid rgba(191, 0, 255, 0.3);
    border-radius: 14px;
    padding: 0; 
    width: 100%;
    max-width: 460px; /* Small size as requested */
    margin-top:10%;
    /* 3D Transform */
    transform: rotateY(-20deg) rotateX(10deg) translateZ(0); /* translateZ(0) forces GPU mode */
    
    /* Optimized Shadow */
    box-shadow: 
        25px 25px 40px rgba(0,0,0,0.5), 
        -5px -5px 20px rgba(191,0,255,0.1) inset;
    
    /* Performance Fix: Tell browser this element moves */
    will-change: transform, box-shadow;
    
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
    
    /* Keep blur, but be careful (see mobile section below) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    
    /* Fix for jagged edges during 3D rotate */
    backface-visibility: hidden; 
}

/* Hover Effect */
.hero-dashboard-card:hover {
    transform: rotateY(-10deg) rotateX(5deg) translateY(-5px) scale(1.02);
    box-shadow: 
        35px 35px 60px rgba(0,0,0,0.6), 
        0 0 30px rgba(191,0,255,0.2) inset;
    border-color: rgba(191, 0, 255, 0.6);
}

/* Window Bar */
.card-header-bar {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
    border-radius: 14px 14px 0 0;
}
.window-dots { display: flex; gap: 8px; margin-right: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.window-title {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    font-family: monospace;
}
.card-body-content { padding: 25px; }

/* Optimized Background Glow */
.card-backdrop-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: #bf00ff;
    
    /* Reduced blur slightly for performance (90px -> 60px) */
    filter: blur(60px); 
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
    
    /* Performance Fix */
    will-change: opacity;
}

/* --- TYPOGRAPHY & BADGES --- */
.location-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(191, 0, 255, 0.1);
    border: 1px solid rgba(191, 0, 255, 0.4);
    color: #df8fff;
    padding: 6px 14px;
    border-radius: 4px; 
    font-size: 0.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.location-badge i { margin-right: 8px; }

.hero-title {
    font-weight: 800;
    color: white;
    font-size: 2.4rem;
    line-height: 1.1;
    margin-bottom: 12px;
}
.text-highlight {
    background: linear-gradient(90deg, #bf00ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* --- BUTTONS --- */
.btn-hero-primary {
    background: #bf00ff;
    color: white;
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #bf00ff;
    display: inline-block;
}
.btn-hero-primary:hover {
    background: transparent;
    color: #bf00ff;
    box-shadow: 0 0 20px rgba(191,0,255,0.4);
}
.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
    display: inline-block;
}
.btn-hero-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

/* --- SKILL PILLS --- */
.skills-visualizer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}
.skill-pill {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255, 253, 253, 0.733);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: 0.3s;
    cursor: default;
}
.skill-pill:hover {
    background: #bf00ff;
    color: white;
    border-color: #bf00ff;
    transform: translateY(-3px);
}

/* --- ANIMATIONS --- */
@keyframes pulseGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
}

/* --- MOBILE RESPONSIVENESS (Crucial for Performance) --- */
@media (max-width: 991px) {
    .perspective-wrapper {
        perspective: none; 
    }
    .hero-dashboard-card {
        transform: none !important; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
        max-width: 100%;
        text-align: center;
        
        /* PERFORMANCE: Disable expensive blur on phones */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(20, 0, 35, 0.95); /* Make it solid instead */
    }
    .card-header-bar { justify-content: center; }
    .window-dots { margin-right: 0; margin-bottom: 5px; }
    .card-header-bar { flex-direction: column; gap: 5px; }
    .hero-title { font-size: 2.2rem; }
    .d-flex.gap-3 { justify-content: center; }
    .main-logo {
        max-width: 240px;
        margin-bottom: 20px;
    }
}
 
/* --- NEW 3D SERVICES SECTION STYLES --- */

#services {
    background: #1a0129; /* Deep Veliy Background */
    position: relative;
    overflow: hidden;
    padding: 120px 0;

}

/* Animated Background Blobs */
.service-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
    animation: blobFloat 20s infinite alternate ease-in-out;
}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: #bf00ff; }
.blob-2 { bottom: -10%; right: -10%; width: 600px; height: 600px; background: #00e5ff; animation-delay: -5s; }
.blob-3 { top: 50%; left: 50%; width: 400px; height: 400px; background: #00ff9d; transform: translate(-50%, -50%); animation-delay: -10s; opacity: 0.2; }

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(100px, 50px) scale(1.1) rotate(20deg); }
}

/* The 3D Pillar Card */
.pillar-card-3d {
    position: relative;
    height: 100%;
    padding: 50px 35px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* IMPORTANT FOR 3D EFFECT */
    transform-style: preserve-3d;
    transform: perspective(1000px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s;
}

/* Glow on hover */
.pillar-card-3d:hover {
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px -15px var(--accent-glow);
}

/* 3D Elements - Z-Index determines depth */
.pillar-icon-3d {
    width: 80px; height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    /* Pops out the most */
    transform: translateZ(60px); 
    transition: 0.3s;
}
.pillar-card-3d:hover .pillar-icon-3d {
    background: var(--accent-color);
    color: #1a0129;
    box-shadow: 0 0 30px var(--accent-glow);
}

.pillar-title-3d {
    color: white; font-weight: 800; font-size: 1.8rem; margin-bottom: 15px;
    transform: translateZ(40px); /* Medium depth */
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.pillar-desc-3d {
    color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 35px; line-height: 1.6;
    transform: translateZ(30px); /* Shallow depth */
}

/* New Fixed Code */
.service-links-3d {
    margin-top: auto;
    list-style: none; padding: 0;
    /* FIX: Lower depth to 20px or 25px for better accuracy */
    transform: translateZ(25px); 
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    /* FIX: Ensure pointer events pass through correctly */
    pointer-events: auto;
}

.link-item-3d {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0;
    color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 600; font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
}
.link-item-3d:last-child { border-bottom: none; }

.link-item-3d:hover {
    color: var(--accent-color); padding-left: 5px;
}
.link-arrow {
    opacity: 0; transform: translateX(-10px); transition: 0.3s all ease; color: var(--accent-color);
}
.link-item-3d:hover .link-arrow {
    opacity: 1; transform: translateX(0);
}

/* Pillar Specific Colors */
.pillar-dev    { --accent-color: #00e5ff; --accent-glow: rgba(0, 229, 255, 0.5); }
.pillar-shop   { --accent-color: #00ff9d; --accent-glow: rgba(0, 255, 157, 0.5); }
.pillar-design { --accent-color: #bf00ff; --accent-glow: rgba(191, 0, 255, 0.5); }
.pillar-growth { --accent-color: #ffffff; --accent-glow: rgba(255, 255, 255, 0.5); }

/* Veliy "Pulse" Button Style */
.btn-veliy-pulse {
   display: inline-block;
   padding: 18px 50px;
   font-size: 1.1rem;
   font-weight: 800;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   color: #fff;
   background: linear-gradient(90deg, #bf00ff, #700099); /* Purple Gradient */
   border-radius: 50px;
   text-decoration: none;
   position: relative;
   transition: all 0.3s ease;
   box-shadow: 0 0 20px rgba(191, 0, 255, 0.4); /* Purple Glow */
   border: 1px solid rgba(255,255,255,0.1);
   z-index: 1;
}

/* Hover Effect: Lift & Brighter Glow */
.btn-veliy-pulse:hover {
   transform: translateY(-5px);
   box-shadow: 0 10px 40px rgba(191, 0, 255, 0.6);
   color: #fff;
   background: linear-gradient(90deg, #d633ff, #8a00bc); /* Brighter Purple */
}

/* Optional: Subtle Pulse Animation */
@keyframes veliyPulse {
   0% { box-shadow: 0 0 0 0 rgba(191, 0, 255, 0.7); }
   70% { box-shadow: 0 0 0 15px rgba(191, 0, 255, 0); }
   100% { box-shadow: 0 0 0 0 rgba(191, 0, 255, 0); }
}

.btn-veliy-pulse {
   animation: veliyPulse 2s infinite;
}

.process-wrapper {
    position: relative;
    z-index: 1;
}

/* Horizontal line connecting the circles */
.process-line {
    position: absolute;
    top: 135px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(191, 0, 255, 0.4), transparent);
    z-index: -1;
}

.process-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: 0.4s all ease;
    height: 100%;
}

.process-card:hover {
    background: rgba(191, 0, 255, 0.05);
    border-color: rgba(191, 0, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.process-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: #bf00ff;
    background: rgba(191, 0, 255, 0.1);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: #15002b;
    border: 2px solid rgba(191, 0, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
    transition: 0.4s;
    box-shadow: 0 0 20px rgba(191, 0, 255, 0.1);
}

.process-card:hover .process-icon {
    background: #bf00ff;
    color: white;
    box-shadow: 0 0 30px rgba(191, 0, 255, 0.5);
    border-color: #bf00ff;
}

.process-card p {
    line-height: 1.6;
}

/* 1. The Container */
.portfolio-scroller {
   display: flex;
   overflow-x: auto;
   gap: 30px;
   padding-bottom: 40px; /* Space for scrollbar */
   scroll-snap-type: x mandatory;
   -webkit-overflow-scrolling: touch;
   scrollbar-width: thin;
   scrollbar-color: #bf00ff #1a0129;
}

/* 2. Custom Scrollbar Styling (Chrome/Safari) */
.portfolio-scroller::-webkit-scrollbar {
   height: 8px;
}
.portfolio-scroller::-webkit-scrollbar-track {
   background: #1a0129;
   border-radius: 10px;
}
.portfolio-scroller::-webkit-scrollbar-thumb {
   background: #bf00ff;
   border-radius: 10px;
}

/* 3. The Card */
.portfolio-card {
   flex: 0 0 350px; /* Fixed Width for Cards */
   background: rgba(255,255,255,0.03);
   border: 1px solid rgba(255,255,255,0.1);
   border-radius: 16px;
   overflow: hidden;
   scroll-snap-align: center;
   transition: transform 0.3s, border-color 0.3s;
}

.portfolio-card:hover {
   transform: translateY(-10px);
   border-color: #bf00ff;
   box-shadow: 0 10px 30px rgba(191,0,255,0.2);
}

/* 4. Image Area */
.card-image {
   height: 220px;
   background-size: cover;
   background-position: center top;
   position: relative;
   border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* 5. Status Badges */
.status-badge {
   position: absolute;
   top: 15px;
   right: 15px;
   padding: 5px 12px;
   border-radius: 20px;
   font-size: 0.75rem;
   font-weight: bold;
   backdrop-filter: blur(5px);
}
.status-badge.live { background: rgba(0, 255, 157, 0.2); color: #00ff9d; border: 1px solid #00ff9d; }
.status-badge.concept { background: rgba(191, 0, 255, 0.2); color: #bf00ff; border: 1px solid #bf00ff; }
.status-badge.offline { background: rgb(255, 255, 255); color: #aaa; border: 1px solid #777; }

/* 6. Content Area */
.card-content {
   padding: 25px;
}

.link-btn {
   text-decoration: none;
   color: #bf00ff;
   font-weight: bold;
   font-size: 0.9rem;
   transition: 0.2s;
}
.link-btn:hover {
   color: white;
   padding-left: 5px;
}

/* Mobile Adjustment: Cards slightly smaller */
@media (max-width: 768px) {
   .portfolio-card { flex: 0 0 300px; }
}

/* --- DARK PURPLE GLASS CARD STYLES --- */
.veliy-promo-card {
    position: relative;
    background: linear-gradient(135deg, rgba(55, 4, 69, 0.6), rgba(26, 1, 41, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); 
    border: 1px solid rgba(191, 0, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* Badge Style */
.veliy-promo-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(45deg, #bf00ff, #00e5ff);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Icon Wrapper */
.veliy-promo-icon i {
    font-size: 3.5rem;
    background: linear-gradient(to right, #bf00ff, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
    line-height: 1;
    filter: drop-shadow(0 0 5px rgba(191, 0, 255, 0.3));
}

/* Background Glow (Hover Effect) */
.veliy-promo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(191,0,255,0.2) 0%, rgba(0,0,0,0) 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0; 
    pointer-events: none;
}

/* Content Wrapper */
.veliy-promo-content, .veliy-promo-icon {
    position: relative;
    z-index: 2;
}

/* --- HOVER EFFECTS --- */
.veliy-promo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(191, 0, 255, 0.6);
    box-shadow: 0 15px 40px -10px rgba(191, 0, 255, 0.3);
}

.veliy-promo-card:hover .veliy-promo-glow {
    opacity: 1;
}

.veliy-promo-card:hover .veliy-promo-icon i {
    transform: translateX(10px) scale(1.05);
    filter: drop-shadow(0 0 10px rgba(191, 0, 255, 0.8)) brightness(1.1);
}

.about-section {
    background: #0f001a;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* BACKGROUND ATMOSPHERE */
.about-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}
.a-orb-1 { width: 500px; height: 500px; background: #bf00ff; top: -20%; right: -10%; opacity: 0.2; }
.a-orb-2 { width: 400px; height: 400px; background: #2c0b4a; bottom: -10%; left: -10%; opacity: 0.4; }

/* RADAR DECORATION (Würzburg Location) */
.wuerzburg-radar {
    position: absolute;
    top: 50%; right: -200px;
    transform: translateY(-50%);
    width: 600px; height: 600px;
    border: 1px solid rgba(191, 0, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    background: repeating-radial-gradient(circle, rgba(191,0,255,0.02) 0, rgba(191,0,255,0.02) 1px, transparent 2px, transparent 100px);
}

/* GLASS CARD STYLING */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: 0.3s;
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* TYPOGRAPHY */
.about-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(191, 0, 255, 0.15);
    border: 1px solid #bf00ff;
    color: #bf00ff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1.1;
}

.about-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    margin-bottom: 40px;
    display: flex; align-items: center; gap: 8px;
}
.about-subtitle i { color: #ffe600; }

/* TIMELINE STYLES */
.timeline-wrap {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}
.timeline-node {
    position: relative;
    margin-bottom: 40px;
}
.timeline-node:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute; left: -37px; top: 0;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #0f001a;
    border: 2px solid #bf00ff;
    box-shadow: 0 0 10px #bf00ff;
}

.t-year {
    display: block;
    color: #bf00ff;
    font-family: monospace;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
}
.t-title { color: white; font-weight: 700; font-size: 1.2rem; margin-bottom: 5px; }
.t-desc { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; line-height: 1.5; }

/* AUDIENCE PILLS */
.audience-wrap { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.a-pill {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 50px;
    color: white; font-size: 0.9rem;
    display: flex; align-items: center; gap: 8px;
}
.a-pill i { color: #ffe600; }

@media (max-width: 991px) {
    .about-title { font-size: 2.5rem; }
    .glass-card { padding: 30px 20px; }
}

.features-section {
    background: #3f3347;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* LIGHT ACCENT ATMOSPHERE (Cyan/White Orbs) */
.feat-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
    animation: floatOrb 12s ease-in-out infinite alternate;
}
.f-orb-1 { width: 600px; height: 600px; background: #00f3ff; top: -20%; left: -10%; } /* Cyan */
.f-orb-2 { width: 500px; height: 500px; background: #ffffff; bottom: -10%; right: -10%; opacity: 0.15; } /* White */

/* HEADER STYLING */
.feat-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}
.feat-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}
.feat-header p {
    color: #00f3ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* PRISM GLASS CARD (Lighter & Cleaner than About Section) */
.prism-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Light Borders */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Bright Hover Effect */
.prism-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: #00f3ff; /* Cyan Border on Hover */
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.15); /* Cyan Glow */
}

/* The "Light Beam" inside the card */
.prism-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, #00f3ff, transparent);
    transform: scaleX(0); transition: 0.4s;
}
.prism-card:hover::before { transform: scaleX(1); }

/* ICONS */
.feat-icon-box {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: rgba(0, 243, 255, 0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    transition: 0.3s;
}
.feat-icon-box i {
    font-size: 1.8rem;
    color: #00f3ff;
    transition: 0.3s;
}

/* Icon Hover */
.prism-card:hover .feat-icon-box {
    background: #00f3ff;
    box-shadow: 0 0 20px #00f3ff;
}
.prism-card:hover .feat-icon-box i { color: #000; }

/* TEXT */
.feat-title {
    color: white; font-size: 1.4rem; font-weight: 700; margin-bottom: 15px;
}
.feat-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feat-header h2 { font-size: 2.5rem; }
}

/* =========================================
   MOBILE PERFORMANCE PATCH (Optimized v2)
   Add to the bottom of home_style.css
   ========================================= */

@media (max-width: 991px) {

    /* 1. KILL THE BLOBS & ORBS
        Hides heavy background blur effects that kill frame rates. */
    .service-blob, 
    .about-orb, 
    .feat-orb, 
    .wuerzburg-radar {
        display: none !important;
    }

    /* 2. GLOBAL GLASS REMOVAL
        Forces solid backgrounds for all glass elements. 
        Added .portfolio-card and .status-badge to the list. */
    .pillar-card-3d,
    .veliy-promo-card,
    .glass-card,
    .prism-card,
    .process-card,
    .portfolio-card,
    .status-badge {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(20, 0, 35, 0.98) !important; /* Solid Brand Color */
        box-shadow: none !important;
        border: 1px solid rgba(191, 0, 255, 0.3) !important;
        transform: none !important; /* Flatten 3D elements */
    }

    /* 3. DISABLE 3D PERSPECTIVE CALCULATIONS
        Prevents the browser from calculating 3D space for the container. */
    .perspective-wrapper, 
    #services {
        perspective: none !important;
        transform-style: flat !important;
    }

    /* 4. OPTIMIZE HERO LOGO & ANIMATIONS
        Stops the infinite loop and removes the glow blur. */
    .logo-glow {
        animation: none !important;
        filter: none !important;
        background: radial-gradient(circle, rgba(191,0,255,0.4) 0%, transparent 70%);
        opacity: 0.5;
    }

    /* 5. MEMORY RESET
        Tells the phone "stop keeping this layer in video memory." */
    .hero-dashboard-card, 
    .logo-glow {
        will-change: auto !important;
    }

    /* 6. SIMPLIFY TEXT GRADIENTS 
        Linear gradients on text trigger repaints. Fallback to solid color. */
    .text-highlight, 
    .feat-header p {
        background: none !important;
        -webkit-text-fill-color: #bf00ff !important;
        color: #bf00ff !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        transition: none !important;
    }
}

/* --- TEXT ROTATOR CONTAINER (Clean Fade - No Cursor) --- */
.typewriter-container {
    position: relative;
    overflow: hidden;
    /* Keeps layout stable - Fixed height to prevent jumps */
    min-height: 280px; 
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

/* --- TEXT FADE TRANSITIONS --- */
#typewriter-headline,
#typewriter-subtext {
    /* Smooth fade */
    transition: opacity 0.5s ease-in-out;
    will-change: opacity;
    opacity: 1; /* Start visible */
}

/* Mobile Adjustment */
@media (max-width: 991px) {
    .typewriter-container {
        /* Mobile text wraps more, so it needs more height */
        min-height: 320px; 
    }
}

/* --- Background Map Styles --- */
  .bg-map-container {
      position: absolute;
      top: -15%;
      right: -10%;
      width: 55vw; /* Scales with the screen */
      min-width: 600px;
      opacity: 0.15; /* Just enough to be visible */
      transform: rotate(5deg); /* Slight angle for a dynamic feel */
      z-index: 0;
      pointer-events: none;
  }
.faded-wuerzburg-map .map-outlines path {
    fill: rgba(0, 243, 255, 0.02); 
    stroke: #00f3ff; 
    stroke-width: 4;
    filter: drop-shadow(0 0 10px #00f3ff); 
}

  /* --- City Pill Link Styles --- */
  .city-pill-link {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: #e0e0e0;
      font-size: 0.95rem;
      font-weight: 500;
      transition: all 0.3s ease;
  }
  .city-pill-link:hover {
      background: rgba(191, 0, 255, 0.15);
      border-color: #bf00ff;
      color: #ffffff;
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(191, 0, 255, 0.2);
  }
  .city-pill-link-more {
      background: transparent;
      border: 1px dashed rgba(191, 0, 255, 0.5);
      color: #bf00ff;
      font-size: 0.95rem;
      font-weight: 500;
      transition: all 0.3s ease;
  }
  .city-pill-link-more:hover {
      background: #bf00ff;
      color: #ffffff;
      border-style: solid;
      transform: translateY(-3px);
  }

     .home-blog-section {
        background-color: #080310;
        padding: 100px 0;
        position: relative;
        border-top: 1px solid rgba(191,0,255,0.1);
    }
    .home-blog-card {
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        transition: all 0.4s ease;
        text-decoration: none;
        height: 100%;
        position: relative;
        overflow: hidden;
    }
    .featured-news-card {
        background: linear-gradient(145deg, rgba(30,10,60,0.8), rgba(10,5,20,0.8));
        border: 1px solid rgba(191,0,255,0.3);
        border-top: 3px solid #bf00ff;
        padding: 4rem 3rem;
        box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    }
    .small-news-card {
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.05);
        padding: 2.5rem;
    }
    .home-blog-card:hover {
        transform: translateY(-8px);
        border-color: #bf00ff;
        box-shadow: 0 20px 50px rgba(191,0,255,0.2);
    }
    .badge-cat {
        background: rgba(191,0,255,0.15);
        color: #e0b0ff;
        align-self: flex-start;
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 2rem;
        border: 1px solid rgba(191,0,255,0.3);
    }
    .home-blog-card .blog-title {
        color: #ffffff;
        font-weight: 700;
        margin-bottom: 1rem;
        transition: color 0.3s ease;
        line-height: 1.3;
    }
    .featured-news-card .blog-title { font-size: 2.5rem; }
    .small-news-card .blog-title { font-size: 1.5rem; }
    
    .home-blog-card:hover .blog-title { color: #00d2ff; }
    
    .home-blog-card .blog-excerpt {
        color: rgba(255,255,255,0.6);
        line-height: 1.6;
        margin-bottom: 3rem;
        font-size: 1.1rem;
    }
    .home-blog-card .blog-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 1.5rem;
        margin-top: auto;
    }
    .home-blog-card .blog-date {
        color: rgba(255,255,255,0.5);
        font-size: 0.9rem;
    }
    .home-blog-card .read-more {
        color: #bf00ff;
        font-weight: 700;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: color 0.3s ease;
    }
    .home-blog-card:hover .read-more { color: #00d2ff; }