/* =========================================================
   SECURE LINE TECH
   GLOBAL COMPONENTS
   ========================================================= */


/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 80px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0, 200, 83, 0.12),
            transparent 32%
        ),
        var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.page-hero h1 {
    margin-bottom: 18px;
}

.page-hero p {
    margin-bottom: 0;
    max-width: 700px;
    color: var(--text-secondary);
    font-size: var(--fs-lg);
}

.page-hero--dark {
    color: var(--sl-white);
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(57, 255, 136, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #111111 0%,
            #181C1F 60%,
            #006B3C 140%
        );
}

.page-hero--dark p {
    color: #B8C0C5;
}


/* =========================================================
   BREADCRUMBS
   ========================================================= */

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs a:hover {
    color: var(--sl-dark-green);
}

.breadcrumb-separator {
    color: var(--sl-silver);
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.section-header {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-header h2 {
    margin-bottom: 14px;
}

.section-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--fs-lg);
}

.section-header--left {
    margin-left: 0;
    text-align: left;
}


/* =========================================================
   ICON BOX
   ========================================================= */

.icon-box {
    width: 52px;
    height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: var(--radius-md);
    background: rgba(0, 200, 83, 0.10);
    color: var(--sl-dark-green);

    font-size: 20px;
    font-weight: 700;
}

.icon-box-lg {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    font-size: 24px;
}


/* =========================================================
   FEATURE CARD
   ========================================================= */

.feature-card {
    padding: 28px;
}

.feature-card .icon-box {
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: var(--fs-xl);
}

.feature-card p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.7;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {
    position: relative;
    padding: 28px;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;

    width: 120px;
    height: 120px;

    border-radius: 50%;
    background: rgba(0, 200, 83, 0.06);

    pointer-events: none;
}

.service-card h3 {
    margin: 20px 0 10px;
    font-size: var(--fs-xl);
}

.service-card p {
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--sl-dark-green);
    font-size: var(--fs-sm);
    font-weight: 700;
}

.service-card-link:hover {
    color: var(--sl-green);
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.product-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-secondary);
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-media img {
    transform: scale(1.04);
}

.product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.product-card-category {
    margin-bottom: 8px;
    color: var(--sl-dark-green);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: var(--fs-xl);
}

.product-card-description {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.product-price {
    color: var(--text-primary);
    font-size: var(--fs-xl);
    font-weight: 800;
}


/* =========================================================
   CTA SECTION
   ========================================================= */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    color: var(--sl-white);
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(57, 255, 136, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #006B3C,
            #00A651
        );
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.cta-content h2 {
    margin-bottom: 14px;
}

.cta-content p {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {
    padding: 60px 24px;
    text-align: center;
    border: 1px dashed var(--border-medium);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
}

.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    margin-bottom: 0;
    color: var(--text-secondary);
}


/* =========================================================
   LOADING STATE
   ========================================================= */

.loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-spinner {
    width: 20px;
    height: 20px;

    border: 2px solid var(--border-light);
    border-top-color: var(--sl-green);
    border-radius: 50%;

    animation: sl-spin 0.8s linear infinite;
}

@keyframes sl-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 10px;

    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);

    color: var(--text-secondary);
    background: var(--sl-white);

    font-size: var(--fs-sm);
    font-weight: 600;
}

.pagination a:hover,
.pagination .active {
    color: var(--sl-white);
    background: var(--sl-green);
    border-color: var(--sl-green);
}


/* =========================================================
   DIVIDER
   ========================================================= */

.divider {
    width: 100%;
    height: 1px;
    background: var(--border-light);
    margin: var(--space-8) 0;
}


/* =========================================================
   TRUST / STATS
   ========================================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    display: block;
    margin-bottom: 6px;
    color: var(--sl-dark-green);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .page-hero {
        padding: 64px 0 56px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding: 52px 0 48px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .feature-card,
    .service-card {
        padding: 22px;
    }

    .product-card-body {
        padding: 20px;
    }

    .cta-section {
        padding: 56px 0;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 18px 10px;
    }
}