/*
* Apple-Level Design Polish
* Clean, minimal, precise - Apple design standards
* Version: 1.0.0
*/

/* ==========================================================================
   Feature List - Apple Design Standards
   ========================================================================== */

/* For ul.feature-list li - Simple list style (mechanical, electronic, fabrication) */
ul.feature-list,
.feature-list ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

ul.feature-list li,
.feature-list li {
    position: relative;
    padding: 0.875rem 1.25rem 0.875rem 3rem;
    margin-bottom: 0.625rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    list-style: none;
    min-height: 44px;
}

/* Apple-style checkmark - Orange rounded square overlapping */
ul.feature-list li::before,
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    background: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    line-height: 1;
}

ul.feature-list li:hover,
.feature-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 0, 0.2);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

ul.feature-list li:hover::before,
.feature-list li:hover::before {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.45);
}

/* For div.feature-list .feature-item - Card style (digital, design, packaging) */
.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

/* Feature divider styling */
.feature-divider {
    display: none;
}

.feature-list .feature-item,
.feature-item,
span.feature-item {
    position: relative;
    padding: 1rem 1.25rem 1rem 3.25rem !important;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1 1 calc(50% - 0.4375rem);
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.625rem;
}

/* Apple-style checkmark for feature items - works for both div and span */
.feature-list .feature-item::before,
.feature-item::before,
span.feature-item::before {
    content: "✓" !important;
    position: absolute;
    left: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    background: var(--primary-color);
    border-radius: 6px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    line-height: 1;
}

.feature-list .feature-item:hover,
.feature-item:hover,
span.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-list .feature-item:hover::before,
.feature-item:hover::before,
span.feature-item:hover::before {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.45);
}

/* ==========================================================================
   Apple-Level Typography Refinement
   ========================================================================== */

.service-title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.service-description {
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.7;
}

/* ==========================================================================
   Perfect Spacing - Apple Standards
   ========================================================================== */

.service-section {
    padding: 6rem 0;
}

.service-content {
    gap: 4rem;
    align-items: center;
}

.service-details {
    padding: 0;
}

/* ==========================================================================
   Apple-Level Image Presentation
   ========================================================================== */

.service-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.service-image {
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image-container:hover .service-image {
    transform: scale(1.02);
}

/* ==========================================================================
   Industries Page Checkmarks - Apple Style
   ========================================================================== */

.solution-features li {
    position: relative;
    padding-left: 2.75rem;
    margin-bottom: 0.875rem;
}

.solution-features li i.fa-check-circle {
    position: absolute;
    left: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    background: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    padding: 0 !important;
    margin: 0 !important;
}

.solution-features li:hover i.fa-check-circle {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.45);
}

/* ==========================================================================
   Packaging Page Special Styling
   ========================================================================== */

.packaging .feature-list li {
    padding: 0.875rem 1.25rem 0.875rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.625rem;
    min-height: 44px;
}

.packaging .feature-list li::before {
    content: "✓" !important;
    position: absolute !important;
    left: -0.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 1.75rem !important;
    height: 1.75rem !important;
    background: var(--primary-color) !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.35) !important;
    z-index: 2 !important;
    line-height: 1 !important;
}

.packaging .feature-list li:hover::before {
    background: var(--secondary-color) !important;
    transform: translateY(-50%) scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.45) !important;
}

/* ==========================================================================
   Override Conflicting Styles - Strong Enforcement
   ========================================================================== */

/* Remove any conflicting padding that interferes with checkmark positioning */
.feature-list li,
.feature-item {
    padding-left: 2.5rem !important;
}

/* Ensure checkmarks always show properly */
.feature-list li::before,
.feature-item::before {
    display: flex !important;
    opacity: 1 !important;
}

/* ==========================================================================
   Responsive Refinement - Apple Standards
   ========================================================================== */

@media (max-width: 768px) {
    ul.feature-list li,
    .feature-list li,
    .feature-item {
        padding: 0.75rem 1rem 0.75rem 2.75rem;
        font-size: 0.95rem;
        min-height: 40px;
    }
    
    ul.feature-list li::before,
    .feature-list li::before,
    .feature-item::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.875rem;
        left: -0.375rem;
    }
    
    .feature-list {
        gap: 0.75rem;
    }
    
    .feature-item {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    ul.feature-list li,
    .feature-list li,
    .feature-item {
        padding: 0.625rem 0.875rem 0.625rem 2.5rem;
        font-size: 0.9rem;
    }
    
    ul.feature-list li::before,
    .feature-list li::before,
    .feature-item::before {
        width: 1.375rem;
        height: 1.375rem;
        font-size: 0.8rem;
    }
}

