/* =========================================
   3D Product Modeling Page - Premium Styles
   ========================================= */

/* ---- Shared Utilities ---- */


h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important;
}

.pm-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #f59e0b;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.pm-badge-light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.pm-section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.pm-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important;
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    margin-bottom: 16px;
}

.pm-title-light {
    color: #ffffff;
}

.pm-section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

.pm-subtitle-light {
    color: rgba(255, 255, 255, 0.7);
}

/* ---- Intro Section ---- */
.pm-intro-section {
    padding: 80px 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.pm-intro-container {
    text-align: center;
}

.pm-intro-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important;
    font-weight: 800;
    color: #111827;
    margin-bottom: 40px;
    line-height: 1.2;
}

.pm-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.pm-intro-grid p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 30px;
    background: #f9fafb;
    border-radius: 16px;
    border-left: 4px solid #f59e0b;
}

@media (max-width: 768px) {
    .pm-intro-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Features Section ---- */
.pm-features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.pm-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pm-feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.pm-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pm-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

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

.pm-feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #f59e0b;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.pm-feature-card:hover .pm-feature-icon {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
}

.pm-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.pm-feature-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .pm-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .pm-features-grid { grid-template-columns: 1fr; }
}

/* ---- What We Model Section ---- */
.pm-what-section {
    padding: 100px 0;
    background: #ffffff;
}

.pm-what-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pm-what-card {
    background: #f9fafb;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.pm-what-card:hover {
    background: #fff;
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.pm-what-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(245, 158, 11, 0.12);
    line-height: 1;
    margin-bottom: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.pm-what-icon {
    font-size: 1.5rem;
    color: #f59e0b;
    margin-bottom: 14px;
}

.pm-what-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.pm-what-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .pm-what-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .pm-what-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .pm-what-grid { grid-template-columns: 1fr; }
}

/* ---- Industries Section ---- */
.pm-industries-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0d 0%, #1a1008 100%);
    position: relative;
    overflow: hidden;
}

.pm-industries-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.pm-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pm-industry-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.35s ease;
    color: white;
}

.pm-industry-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pm-industry-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 20px;
}

.pm-industry-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.pm-industry-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .pm-industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .pm-industries-grid { grid-template-columns: 1fr; }
}

/* ---- Why Pixlnexs Section ---- */
.pm-why-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.pm-why-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.pm-why-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pm-why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.pm-why-item:hover {
    transform: translateX(8px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pm-why-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.pm-why-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.pm-why-item p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .pm-why-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ---- FAQ Section ---- */
.pm-faq-section {
    padding: 100px 0;
    background: #ffffff;
}

.pm-faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pm-faq-item {
    background: #f9fafb;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    overflow: hidden;
    transition: border-color 0.3s ease !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
}

.pm-faq-item:hover {
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}

.pm-faq-item.active {
    border-color: rgba(245, 158, 11, 0.3) !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

.pm-faq-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 22px 28px !important;
    cursor: pointer !important;
    user-select: none;
    background: transparent !important;
}

.pm-faq-header .faq-question {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 0 !important;
}

.pm-faq-item.active .faq-question {
    color: #f59e0b !important;
}

/* Override services-style.css icon rotation for PM FAQ */
.pm-faq-item .pm-faq-icon {
    color: #f59e0b !important;
    font-size: 1rem !important;
    flex-shrink: 0;
    transition: transform 0.3s ease !important;
    transform: rotate(0deg) !important;
}

.pm-faq-item.active .pm-faq-icon {
    transform: rotate(45deg) !important;
}

/* Critical: override services-style !important max-height on faq-content */
.pm-faq-item .faq-content {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease !important;
}

.pm-faq-item.active .faq-content {
    max-height: 500px !important;
}

.pm-faq-item .faq-body {
    padding: 0 28px 24px !important;
    color: #4b5563 !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    background: transparent !important;
}

/* ---- CTA Section ---- */
.pm-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a0d 0%, #1a1008 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pm-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.pm-cta-orb-1 {
    width: 400px;
    height: 400px;
    background: #f59e0b;
    opacity: 0.12;
    top: -100px;
    left: -100px;
}

.pm-cta-orb-2 {
    width: 350px;
    height: 350px;
    background: #ef4444;
    opacity: 0.1;
    bottom: -80px;
    right: -80px;
}

.pm-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.pm-cta-inner h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important;
    font-weight: 800;
    color: white;
    margin: 16px 0 20px;
    line-height: 1.15;
}

.pm-cta-inner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 48px;
    line-height: 1.6;
}

.pm-cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .pm-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .pm-cta-actions .btn-premium {
        width: 100%;
        max-width: 300px;
    }
}

/* Responsive Section Padding */
@media (max-width: 1024px) {
    .pm-intro-section,
    .pm-features-section,
    .pm-what-section,
    .pm-industries-section,
    .pm-why-section,
    .pm-faq-section { padding: 70px 0; }
    .pm-cta-section { padding: 80px 0; }
}

@media (max-width: 640px) {
    .pm-intro-section,
    .pm-features-section,
    .pm-what-section,
    .pm-industries-section,
    .pm-why-section,
    .pm-faq-section { padding: 50px 0; }
    .pm-cta-section { padding: 60px 0; }
    .pm-section-header { margin-bottom: 40px; }
}
