/* Premium 3D Printing Brand Dark Theme Stylesheet */

/* Fonts & Base overrides */
.aj-home-section {
    padding: 100px 0;
    color: #f7fafc;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    overflow: hidden;
}

.aj-home-section.bg-dark-1 {
    background-color: #03070a;
}

.aj-home-section.bg-dark-2 {
    background-color: #080d12;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.aj-home-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

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

/* Glowing Radial Accents */
.aj-glow-spot-left {
    position: absolute;
    top: 10%;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(3, 7, 10, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.aj-glow-spot-right {
    position: absolute;
    bottom: 10%;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, rgba(3, 7, 10, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Text Gradients & Typography */
.text-gradient-gold {
    background: linear-gradient(135deg, #ffe082 0%, #d4af37 60%, #b38f1d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-tagline {
    color: #d4af37;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 14px;
    display: block;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-desc {
    font-size: 18px;
    color: #a0aec0;
    max-width: 720px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
}

/* Feature Cards (High-Tech Glassmorphism) */
.aj-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.aj-feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 45px 30px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.aj-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.aj-feature-card:hover::before {
    opacity: 1;
}

.aj-feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.aj-feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.aj-feature-icon {
    width: 28px;
    height: 28px;
    color: #d4af37;
    transition: color 0.4s ease, transform 0.4s ease;
}

.aj-feature-card:hover .aj-feature-icon-wrapper {
    background: #d4af37;
    border-color: #d4af37;
    transform: translateY(-2px) rotate(3deg);
}

.aj-feature-card:hover .aj-feature-icon {
    color: #03070a;
    transform: scale(1.05);
}

.aj-feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.aj-feature-desc {
    font-size: 14.5px;
    color: #a0aec0;
    line-height: 1.6;
}

/* Category Cards with Parallax Zoom */
.aj-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.aj-cat-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1.15;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.aj-cat-image-wrapper {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.aj-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aj-cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(3, 7, 10, 0.95) 0%, rgba(3, 7, 10, 0.4) 60%, rgba(3, 7, 10, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    z-index: 2;
    transition: background 0.4s;
}

.aj-cat-card:hover .aj-cat-image-wrapper {
    transform: scale(1.08) rotate(1deg);
}

.aj-cat-card:hover .aj-cat-overlay {
    background: linear-gradient(to top, rgba(3, 7, 10, 0.98) 0%, rgba(3, 7, 10, 0.5) 60%, rgba(3, 7, 10, 0.1) 100%);
}

.aj-cat-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.aj-cat-card:hover .aj-cat-title {
    color: #d4af37;
}

.aj-cat-count {
    font-size: 13px;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Premium Product Cards with Hover Actions */
.aj-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.aj-prod-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aj-prod-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.aj-prod-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #03070a;
}

.aj-prod-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.aj-prod-card:hover .aj-prod-img-wrapper img {
    transform: scale(1.06);
}

.aj-prod-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(3, 7, 10, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #d4af37;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 2;
}

.aj-prod-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.aj-prod-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.4;
    transition: color 0.3s;
}

.aj-prod-card:hover .aj-prod-title {
    color: #d4af37;
}

.aj-prod-price {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.aj-prod-price del {
    font-size: 15px;
    color: #718096;
    margin-right: 8px;
    font-weight: 400;
}

.aj-prod-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: #d4af37 !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
    margin-top: auto;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.aj-prod-card:hover .aj-prod-btn {
    background: #d4af37 !important;
    color: #03070a !important;
    border-color: #d4af37 !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3) !important;
    transform: translateY(-2px);
}

.aj-prod-btn:active {
    transform: translateY(0);
}

/* Stats Counter Row */
.aj-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.aj-stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
}

.aj-stat-number {
    font-size: 40px;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 6px;
    display: block;
}

.aj-stat-label {
    font-size: 14px;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Manufacturing Process Timeline */
.aj-process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    margin-top: 20px;
}

.aj-process-step {
    text-align: center;
    position: relative;
}

.aj-process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(50% + 50px);
    width: calc(100% - 100px);
    height: 1px;
    border-top: 1px dashed rgba(212, 175, 55, 0.2);
    z-index: 1;
}

.aj-process-step:last-child::after {
    display: none;
}

.aj-process-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.03);
    border: 2px solid rgba(212, 175, 55, 0.2);
    color: #d4af37;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.aj-process-step:hover .aj-process-number {
    transform: scale(1.1) rotate(5deg);
    background: #d4af37;
    color: #03070a;
    border-color: #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.aj-process-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.aj-process-desc {
    font-size: 14.5px;
    color: #a0aec0;
    line-height: 1.6;
}

/* Call to Action Box (Glow effect & Pulsing button) */
.aj-cta-box {
    background: linear-gradient(135deg, #070d12 0%, #03070a 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    padding: 70px 50px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    position: relative;
}

.aj-cta-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 24px;
    background: linear-gradient(to right, #d4af37, #ffe082, transparent, #b38f1d);
    z-index: -1;
    opacity: 0.15;
}

.aj-cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #fff;
}

.aj-cta-desc {
    font-size: 18px;
    color: #a0aec0;
    max-width: 640px;
    margin: 0 auto 35px auto;
    line-height: 1.7;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.aj-cta-btn {
    display: inline-block;
    background: #d4af37;
    color: #03070a;
    padding: 18px 45px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-gold 2.5s infinite;
}

.aj-cta-btn:hover {
    transform: translateY(-4px);
    background: #ffffff;
    color: #03070a;
    animation: none;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}

/* Responsive Overrides */
@media (max-width: 1100px) {
    .aj-features-grid, .aj-cats-grid, .aj-products-grid, .aj-process-timeline, .aj-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .aj-process-step::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .aj-features-grid, .aj-cats-grid, .aj-products-grid, .aj-process-timeline, .aj-stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .aj-home-section {
        padding: 70px 0;
    }
    .section-title {
        font-size: 32px;
    }
    .aj-cta-box {
        padding: 50px 24px;
    }
    .aj-cta-title {
        font-size: 26px;
    }
    .aj-cta-btn {
        padding: 16px 32px;
        font-size: 15px;
    }
}
