/* ============================================
   SPSL Components CSS
   Systematic styles replacing all inline CSS
   ============================================ */

/* --- Feature Check List Items --- */
.feature-check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}
.feature-check-item:last-child {
    border-bottom: none;
}
.feature-check-item i {
    color: #22C55E;
    margin-top: 3px;
    flex-shrink: 0;
}
.feature-check-item strong {
    color: var(--color-text);
}

/* --- Compact Check List (Cummins style) --- */
.check-list-compact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}
.check-list-compact:last-child {
    border-bottom: none;
}
.check-list-compact i {
    color: #22C55E;
    margin-top: 2px;
    flex-shrink: 0;
}

/* --- Solar Spec List --- */
.spec-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}
.spec-list-item i {
    color: #22C55E;
    flex-shrink: 0;
}

/* --- Solar Spec List with Border --- */
.spec-list-bordered {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
.spec-list-bordered li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
}
.spec-list-bordered li:last-child {
    border-bottom: none;
}
.spec-list-bordered li i {
    color: #22C55E;
    flex-shrink: 0;
}

/* --- Rental List --- */
.rental-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rental-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rental-list li:last-child {
    border-bottom: none;
}
.rental-list a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* --- Section Backgrounds --- */
.section-bg-alt {
    background: #f8fafc;
}
.section-bg-white {
    background: #fff;
}
.section-bg-dark {
    background: linear-gradient(135deg, #0B1E3E 0%, #1B3A8C 100%);
}

/* --- Section Spacing --- */
.section-mt-20 {
    margin-top: 20px;
}

/* --- Grid Layouts --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.grid-2-wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.grid-2-asym {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.grid-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

/* --- Card Styles --- */
.card-white {
    padding: 24px 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.card-bordered {
    padding: 32px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}
.card-bordered-overflow {
    padding: 32px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}
.card-center {
    text-align: center;
    padding: 30px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* --- Badge / Label Styles --- */
.badge-gold {
    display: inline-block;
    background: rgba(245, 208, 0, 0.15);
    color: #F5D000;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.badge-position {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #F5D000, #E5C000);
    color: #1B3A8C;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

/* --- Icon Circles --- */
.icon-circle-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B3A8C, #2D5BD0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}
.icon-circle-md {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1B3A8C, #2D5BD0);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}
.icon-square-blue {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1B3A8C, #2d5fcc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}
.icon-square-gold {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #F5D000, #E5C000);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1B3A8C;
    flex-shrink: 0;
}

/* --- Profile Image --- */
.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1B3A8C, #2D5BD0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(27, 58, 140, 0.25);
}

/* --- Divider --- */
.divider-gold {
    width: 40px;
    height: 3px;
    background: #F5D000;
    border-radius: 2px;
}

/* --- Text Styles --- */
.text-blue { color: #1B3A8C; }
.text-gold { color: #F5D000; }
.text-white { color: #fff; }
.text-muted { color: #64748B; }
.text-light { color: rgba(255, 255, 255, 0.5); }
.text-lighter { color: rgba(255, 255, 255, 0.7); }
.text-green { color: #22C55E; }
.text-body { color: var(--color-text); }

.text-xs { font-size: 11px; }
.text-sm { font-size: 13px; }
.text-base { font-size: 14px; }
.text-md { font-size: 15px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 18px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 28px; }
.text-4xl { font-size: 32px; }
.text-hero { font-size: 80px; margin-bottom: 0; }
.text-icon { font-size: 100px; color: rgba(255, 255, 255, 0.3); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-italic { font-style: italic; }
.uppercase { text-transform: uppercase; letter-spacing: 1.5px; }
.uppercase-wide { text-transform: uppercase; letter-spacing: 2px; }

/* --- Text Spacing --- */
.mt-2 { margin-top: 2px; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-15 { margin-top: 15px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.p-0 { padding: 0; }
.p-10 { padding: 10px 0; }

/* --- Layout Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.block { display: block; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }
.flex-between { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.flex-gap-8 { display: flex; align-items: center; gap: 8px; }
.flex-gap-10 { display: flex; align-items: center; gap: 10px; }
.flex-gap-12 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.flex-gap-15 { display: flex; gap: 15px; padding: 16px 0; }
.flex-gap-16 { display: flex; align-items: center; gap: 16px; }

/* --- Form Inputs --- */
.input-full {
    width: 100%;
    margin-top: 30px;
    height: 55px;
}

/* --- Dark Section Text --- */
.dark-section-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 30px;
}
.dark-section-label {
    color: #1B3A8C;
    font-weight: 600;
    display: block;
    margin-top: 10px;
}
.dark-section-label-lg {
    color: #1B3A8C;
    font-weight: 600;
    display: block;
    margin-top: 12px;
}
.dark-section-title {
    color: #1B3A8C;
    font-size: 1.3rem;
    font-weight: 700;
}
.dark-section-subtitle {
    color: #1B3A8C;
    margin-bottom: 15px;
}

/* --- About Page Specific --- */
.about-quote {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #475569;
    font-style: italic;
}
.about-quote-2 {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #475569;
    font-style: italic;
    margin-top: 12px;
}
.about-stat-label {
    font-size: 13px;
    color: #64748B;
    margin-top: 4px;
}
.about-stat-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1B3A8C;
}
.about-features-label {
    font-size: 13px;
    font-weight: 700;
    color: #F5D000;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.about-intro {
    font-size: 2rem;
    color: #fff;
    margin-top: 12px;
}

/* --- Screen Reader Only (Hidden) --- */
.sr-only {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* --- Feature Check Row (no border) --- */
.feature-check-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
}
.feature-check-row i {
    color: #22C55E;
    margin-top: 3px;
    flex-shrink: 0;
}

/* --- Subtitle Text --- */
.subtitle-text {
    font-size: 11px;
    color: #64748B;
    text-align: center;
    margin-top: 10px;
}

/* --- Min Width Utilities --- */
.min-w-200 { min-width: 200px; }
.min-w-220 { min-width: 220px; }

/* --- Services AMC Specific --- */
.amc-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.amc-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.amc-stat {
    text-align: center;
    padding: 32px 20px;
}
.amc-feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1B3A8C, #2d5fcc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}
.amc-feature-icon-gold {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #F5D000, #E5C000);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1B3A8C;
    flex-shrink: 0;
}
.amc-plan-title {
    font-size: 15px;
    margin-bottom: 8px;
}
.amc-plan-text {
    font-size: 12px;
    color: #64748B;
    line-height: 1.6;
}
.amc-feature-title {
    font-size: 18px;
}
.amc-pricing-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.amc-pricing-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1B3A8C, #2D5BD0);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}
.amc-pricing-price {
    font-size: 28px;
    color: #F5D000;
    margin-bottom: 16px;
    display: block;
}
.amc-pricing-desc {
    font-size: 14px;
}
.amc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.amc-list-item {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
}
.amc-list-item:last-child {
    border-bottom: none;
}
.amc-list-item-noborder {
    padding: 8px 0;
    font-size: 13px;
    color: #475569;
}
.amc-feature-row {
    display: flex;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.amc-feature-row:last-child {
    border-bottom: none;
}
.amc-check {
    color: #22c55e;
    margin-right: 10px;
}
.amc-service-title {
    font-size: 14px;
    margin: 0;
}

/* --- 404/500 Page --- */
.error-icon {
    font-size: 80px;
    margin-bottom: 0;
}
.error-title {
    color: #fff;
    font-size: 28px;
    margin: 8px 0 10px;
}

/* --- Career Page --- */
.career-row {
    display: flex;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.career-row:last-child {
    border-bottom: none;
}
.career-label {
    font-size: 11px;
    color: #94A3B8;
    margin-top: 4px;
}

/* --- Contact Page --- */
.contact-info-box {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-flex-between {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-flex-between:last-child {
    border-bottom: none;
}

/* --- Index Page --- */
.index-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.index-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* --- Services Page --- */
.services-highlight {
    background: rgba(245, 208, 0, 0.2);
    color: #F5D000;
    border-color: rgba(245, 208, 0, 0.3);
}

/* --- Products Page --- */
.products-label {
    color: #F5D000;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .grid-2, .grid-2-wide, .grid-2-asym, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .grid-profile {
        grid-template-columns: 1fr;
    }
    .amc-grid-3, .amc-grid-2 {
        grid-template-columns: 1fr;
    }
    .text-hero, .text-icon {
        font-size: 48px;
    }
    .profile-image {
        width: 200px;
        height: 200px;
    }
}
