/* ==========================================
   3D PRINTING SERVICES - COMPREHENSIVE STYLES
   Modern, Professional, Interactive Design
   ========================================== */

/* ==========================================
   GLOBAL ANIMATIONS & UTILITIES
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    25% {
        transform: translateY(-10px) rotateY(90deg);
    }
    50% {
        transform: translateY(-5px) rotateY(180deg);
    }
    75% {
        transform: translateY(-15px) rotateY(270deg);
    }
}

@keyframes gradientGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(108, 85, 249, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(108, 85, 249, 0.6), 0 0 60px rgba(168, 85, 247, 0.4);
    }
}

@keyframes printerNozzleMove {
    0% { transform: translateX(-50px) translateY(0); }
    25% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(0) translateY(5px); }
    75% { transform: translateX(50px) translateY(5px); }
    100% { transform: translateX(50px) translateY(0); }
}

@keyframes layerPrint {
    0% { height: 0%; opacity: 0; }
    100% { height: 100%; opacity: 1; }
}

@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================
   BREADCRUMB NAVIGATION
   ========================================== */

.breadcrumb-nav {
    background: rgba(248, 249, 250, 0.95);
    border-bottom: 1px solid rgba(108, 85, 249, 0.1);
    padding: 1rem 0;
    margin-top: 80px;
    backdrop-filter: blur(10px);
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 0.75rem;
    color: var(--secondary-color);
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .active {
    color: var(--primary-color);
    font-weight: 500;
}

/* ==========================================
   HERO SECTION WITH 3D ANIMATION
   ========================================== */

.hero-3d {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(108, 85, 249, 0.05) 0%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(168, 85, 247, 0.05) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(108, 85, 249, 0.1) 0%, 
        transparent 50%, 
        rgba(168, 85, 247, 0.1) 100%);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 3D Printer Animation */
.printer-animation {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    opacity: 0.8;
}

.printer-frame {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    background: linear-gradient(135deg, 
        rgba(108, 85, 249, 0.1), 
        rgba(255, 255, 255, 0.9));
    box-shadow: 0 20px 40px rgba(108, 85, 249, 0.2);
}

.printer-nozzle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, var(--primary-color), #8B7CF6);
    border-radius: 50%;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: printerNozzleMove 6s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(108, 85, 249, 0.6);
}

.print-bed {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 8px;
    background: linear-gradient(135deg, var(--secondary-color), #A8A5B8);
    border-radius: 4px;
}

.print-layers {
    position: absolute;
    bottom: 28px;
    left: 70px;
    right: 70px;
    height: 60px;
    background: linear-gradient(to top,
        var(--primary-color) 0%,
        #8B7CF6 50%,
        #A855F7 100%);
    border-radius: 3px;
    animation: layerPrint 8s ease-in-out infinite;
    transform-origin: bottom;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

.hero-text {
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-color), #8B7CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* ==========================================
   MODERN BUTTONS WITH GLOW EFFECTS
   ========================================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), #8B7CF6);
    color: white;
    box-shadow: 0 8px 32px rgba(108, 85, 249, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(108, 85, 249, 0.15);
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    animation: gradientGlow 2s ease-in-out infinite;
}

.cta-button.primary:hover {
    box-shadow: 0 15px 45px rgba(108, 85, 249, 0.4);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 15px 45px rgba(108, 85, 249, 0.3);
}

/* ==========================================
   SUBCATEGORIES GRID WITH INTERACTIVE CARDS
   ========================================== */

.subcategories-section {
    padding: 8rem 0;
    background: var(--section-bg);
    position: relative;
}

.subcategories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(108, 85, 249, 0.1), rgba(168, 85, 247, 0.05));
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(108, 85, 249, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* ==========================================
   CATEGORY CARDS WITH 3D EFFECTS
   ========================================== */

.category-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(108, 85, 249, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(108, 85, 249, 0.05), 
        rgba(168, 85, 247, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg) scale(1.02);
    border-color: rgba(108, 85, 249, 0.3);
    box-shadow: 
        0 25px 60px rgba(108, 85, 249, 0.2),
        0 0 80px rgba(168, 85, 247, 0.1);
}

.featured {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(108, 85, 249, 0.15);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), #8B7CF6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: gradientGlow 3s ease-in-out infinite;
    z-index: 3;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.card-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), #8B7CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 2;
}

.card-icon i {
    font-size: 2rem;
    color: white;
    transition: transform 0.4s ease;
}

.card-icon .icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), #8B7CF6);
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.4s ease;
}

.category-card:hover .card-icon {
    transform: scale(1.1) rotateY(180deg);
    animation: float3D 2s ease-in-out infinite;
}

.category-card:hover .card-icon .icon-glow {
    opacity: 0.3;
    transform: scale(1.5);
}

.category-card:hover .card-icon i {
    transform: rotateY(180deg);
}

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

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    list-style: none;
    margin-bottom: 2rem;
}

.card-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.category-card:hover .card-features li {
    opacity: 1;
    transform: translateX(0);
}

.category-card:hover .card-features li:nth-child(1) { transition-delay: 0.1s; }
.category-card:hover .card-features li:nth-child(2) { transition-delay: 0.2s; }
.category-card:hover .card-features li:nth-child(3) { transition-delay: 0.3s; }
.category-card:hover .card-features li:nth-child(4) { transition-delay: 0.4s; }

.card-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.card-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(108, 85, 249, 0.1) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.category-card:hover .card-hover-effect {
    opacity: 1;
}

.card-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: scale(0);
    transition: all 0.4s ease;
    z-index: 3;
}

.category-card:hover .card-arrow {
    transform: scale(1);
}

/* ==========================================
   CARD SPECIFIC ANIMATIONS
   ========================================== */

.filaments-card:hover .card-icon {
    background: linear-gradient(135deg, #6C55F9, #8B7CF6, #A855F7);
    background-size: 200% 200%;
    animation: gradientShift 2s ease infinite, float3D 3s ease-in-out infinite;
}

.parts-card:hover .card-icon {
    animation: precisionRotate 2s linear infinite, float3D 3s ease-in-out infinite;
}

.resins-card:hover .card-icon {
    animation: liquidFlow 3s ease-in-out infinite, float3D 3s ease-in-out infinite;
}

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

@keyframes precisionRotate {
    0% { transform: scale(1.1) rotateY(180deg) rotateZ(0deg); }
    100% { transform: scale(1.1) rotateY(180deg) rotateZ(360deg); }
}

@keyframes liquidFlow {
    0%, 100% { 
        background: linear-gradient(135deg, #6C55F9, #8B7CF6);
        box-shadow: 0 0 20px rgba(108, 85, 249, 0.4);
    }
    50% { 
        background: linear-gradient(135deg, #A855F7, #C084FC);
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
    }
}

/* ==========================================
   FEATURES SECTION WITH GEOMETRIC BACKGROUND
   ========================================== */

.features-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(108, 85, 249, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.features-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    animation: geometricMove 20s linear infinite;
    z-index: 1;
}

@keyframes geometricMove {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.features-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.features-section .section-title {
    color: white;
}

.features-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotateY(180deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ==========================================
   CTA & CONTACT SECTIONS
   ========================================== */

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        rgba(108, 85, 249, 0.05) 0%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(168, 85, 247, 0.05) 100%);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem;
}

.cta-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(108, 85, 249, 0.1), rgba(168, 85, 247, 0.05));
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(108, 85, 249, 0.2);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Section with Dark Theme */
.contact-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(108, 85, 249, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(108, 85, 249, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(108, 85, 249, 0.02) 87.5%, rgba(108, 85, 249, 0.02)),
        linear-gradient(150deg, rgba(108, 85, 249, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(108, 85, 249, 0.02) 87.5%, rgba(108, 85, 249, 0.02)),
        linear-gradient(30deg, rgba(168, 85, 247, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(168, 85, 247, 0.02) 87.5%, rgba(168, 85, 247, 0.02)),
        linear-gradient(150deg, rgba(168, 85, 247, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(168, 85, 247, 0.02) 87.5%, rgba(168, 85, 247, 0.02));
    background-size: 80px 80px;
    animation: patternMove 30s linear infinite;
    z-index: 1;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(108, 85, 249, 0.2);
    color: #8B7CF6;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(108, 85, 249, 0.3);
    backdrop-filter: blur(10px);
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.contact-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(108, 85, 249, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B7CF6;
    font-size: 1.4rem;
    border: 1px solid rgba(108, 85, 249, 0.3);
    backdrop-filter: blur(10px);
}

.contact-text h4 {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.7);
}

/* Modern Contact Form */
.modern-contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-wrapper,
.select-wrapper,
.textarea-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-wrapper input,
.select-wrapper select,
.textarea-wrapper textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.input-wrapper input::placeholder,
.textarea-wrapper textarea::placeholder {
    color: transparent;
}

.input-wrapper input:focus,
.select-wrapper select:focus,
.textarea-wrapper textarea:focus {
    outline: none;
    border-color: #8B7CF6;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(139, 124, 246, 0.2);
}

.input-wrapper input:focus + label,
.input-wrapper input:not(:placeholder-shown) + label,
.select-wrapper select:focus + label,
.select-wrapper select:valid + label,
.textarea-wrapper textarea:focus + label,
.textarea-wrapper textarea:not(:placeholder-shown) + label {
    top: -0.7rem;
    left: 0.75rem;
    font-size: 0.8rem;
    color: #8B7CF6;
    background: linear-gradient(to right, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9));
    padding: 0 0.5rem;
    font-weight: 500;
}

.input-wrapper label,
.select-wrapper label,
.textarea-wrapper label {
    position: absolute;
    left: 3rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8B7CF6, #A855F7);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.input-wrapper input:focus ~ .input-border,
.select-wrapper select:focus ~ .input-border,
.textarea-wrapper textarea:focus ~ .input-border {
    width: 100%;
}

.project-details-section {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.section-title i {
    color: #8B7CF6;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.consent-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.consent-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #8B7CF6;
    cursor: pointer;
}

.consent-wrapper label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.consent-wrapper .link {
    color: #8B7CF6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.consent-wrapper .link:hover {
    color: #A855F7;
}

.modern-submit-button {
    position: relative;
    background: linear-gradient(135deg, #8B7CF6, #A855F7);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    overflow: hidden;
    min-height: 55px;
}

.modern-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

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

.modern-submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 124, 246, 0.4);
    background: linear-gradient(135deg, #A855F7, #8B7CF6);
}

.modern-submit-button:active {
    transform: translateY(-1px);
}

.button-text,
.button-icon,
.button-loading {
    transition: all 0.3s ease;
}

.button-loading {
    display: none;
}

.modern-submit-button.loading .button-text,
.modern-submit-button.loading .button-icon {
    display: none;
}

.modern-submit-button.loading .button-loading {
    display: block;
}

.modern-submit-button.success {
    background: linear-gradient(135deg, #10B981, #059669);
}

.modern-submit-button.success:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

/* ==========================================
   RESPONSIVE DESIGN FOR MODERN FORM
   ========================================== */

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .subcategories-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .printer-animation {
        right: 5%;
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .breadcrumb-container,
    .subcategories-container,
    .features-container,
    .cta-container,
    .contact-container {
        padding: 0 1.5rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.4rem;
    }
    
    .subcategories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 2rem;
    }
    
    .category-card:hover {
        transform: translateY(-10px) scale(1.01);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modern-contact-form-container {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .features-section .section-title {
        font-size: 2rem;
    }
    
    .printer-animation {
        display: none;
    }
    
    .floating-elements::before {
        content: '';
        position: absolute;
        top: 20%;
        right: 10%;
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, rgba(108, 85, 249, 0.1), rgba(168, 85, 247, 0.05));
        border-radius: 50%;
        animation: float3D 6s ease-in-out infinite;
    }
    
    .floating-elements::after {
        content: '';
        position: absolute;
        bottom: 20%;
        left: 10%;
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(108, 85, 249, 0.05));
        border-radius: 50%;
        animation: float3D 8s ease-in-out infinite reverse;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .section-title,
    .features-section .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title,
    .contact-title {
        font-size: 1.8rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .card-stats {
        gap: 1rem;
    }
    
    .modern-contact-form-container {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .input-wrapper input,
    .select-wrapper select,
    .textarea-wrapper textarea {
        padding: 0.9rem 0.9rem 0.9rem 2.5rem;
    }
    
    .input-icon {
        left: 0.75rem;
        font-size: 0.9rem;
    }
    
    .input-wrapper label,
    .select-wrapper label,
    .textarea-wrapper label {
        left: 2.5rem;
        font-size: 0.9rem;
    }
    
    .modern-submit-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
    
    .cta-title {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .card-stats {
        gap: 1rem;
    }
}

/* ==========================================
   PERFORMANCE OPTIMIZATIONS
   ========================================== */

.category-card,
.feature-item,
.printer-animation {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================== */

.category-card:focus,
.cta-button:focus,
.feature-item:focus {
    outline: 3px solid rgba(108, 85, 249, 0.5);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================
   FILAMENT PAGE SPECIFIC STYLES
   ========================================== */

.filaments-hero {
    padding: 12rem 0 6rem;
    background: linear-gradient(135deg, 
        rgba(108, 85, 249, 0.05) 0%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(168, 85, 247, 0.05) 100%);
    text-align: center;
}

.filament-types-section {
    padding: 6rem 0;
    background: var(--section-bg);
}

.filament-types-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.filament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* ==========================================
   FILAMENT CARDS
   ========================================== */

.filament-card {
    background: white;
    border: 2px solid rgba(108, 85, 249, 0.1);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(108, 85, 249, 0.08);
    position: relative;
}

.filament-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(108, 85, 249, 0.3);
    box-shadow: 0 20px 60px rgba(108, 85, 249, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), #8B7CF6);
    padding: 2rem;
    color: white;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.filament-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.filament-card:hover .filament-icon {
    transform: scale(1.1) rotateY(180deg);
    background: rgba(255, 255, 255, 0.3);
}

.filament-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filament-badge.eco {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.filament-badge.durable {
    background: rgba(255, 165, 2, 0.2);
    color: #ffa502;
    border: 1px solid rgba(255, 165, 2, 0.3);
}

.filament-badge.versatile {
    background: rgba(55, 66, 250, 0.2);
    color: #3742fa;
    border: 1px solid rgba(55, 66, 250, 0.3);
}

.filament-badge.flexible {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.filament-badge.premium {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.card-content {
    padding: 2rem;
}

.filament-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.filament-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ==========================================
   FILAMENT SPECIFICATIONS
   ========================================== */

.filament-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(108, 85, 249, 0.1);
}

.spec-item {
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.spec-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.difficulty-easy {
    color: #2ed573 !important;
}

.difficulty-medium {
    color: #ffa502 !important;
}

.difficulty-hard {
    color: #ff4757 !important;
}

/* ==========================================
   FILAMENT FEATURES & APPLICATIONS
   ========================================== */

.filament-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filament-applications {
    margin-bottom: 2rem;
}

.filament-applications h4,
.filament-colors h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.application-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(108, 85, 249, 0.1), rgba(168, 85, 247, 0.05));
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(108, 85, 249, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================
   COLOR SWATCHES
   ========================================== */

.filament-colors {
    margin-bottom: 2rem;
}

.color-swatches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.color-more {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: 0.5rem;
}

/* ==========================================
   SPECIALTY FILAMENTS
   ========================================== */

.specialty-types {
    margin-bottom: 2rem;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.specialty-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(108, 85, 249, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.specialty-item:hover {
    background: rgba(108, 85, 249, 0.05);
    border-color: rgba(108, 85, 249, 0.3);
    transform: translateY(-3px);
}

.specialty-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.specialty-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ==========================================
   CARD ACTIONS
   ========================================== */

.card-actions {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    border-top: 1px solid rgba(108, 85, 249, 0.1);
    background: rgba(248, 249, 250, 0.3);
}

.action-btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), #8B7CF6);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 85, 249, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 85, 249, 0.4);
}

.action-btn.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(108, 85, 249, 0.1);
}

.action-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE DESIGN FOR FILAMENT PAGES
   ========================================== */

@media (max-width: 1024px) {
    .filament-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .filament-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specialty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .filament-types-container {
        padding: 0 1.5rem;
    }
    
    .filament-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-header {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .filament-specs {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .filament-features {
        grid-template-columns: 1fr;
    }
    
    .card-actions {
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .specialty-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ANIMATIONS FOR FILAMENT CARDS
   ========================================== */

@keyframes filamentGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(108, 85, 249, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(108, 85, 249, 0.4), 0 0 60px rgba(168, 85, 247, 0.3);
    }
}

.filament-card.featured {
    animation: filamentGlow 3s ease-in-out infinite;
}

/* ==========================================
   LOADING STATES
   ========================================== */

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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