/* ============================================
   Cyréna - Extensions Page Styles
   ============================================ */

/* ============================================
   Extensions Hero
   ============================================ */
.extensions-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d6efd 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.extensions-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.extensions-hero h1 {
    position: relative;
    z-index: 1;
}

.extensions-hero .lead {
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 1;
}

.extensions-hero .hero-badge {
    position: relative;
    z-index: 1;
}

/* ============================================
   Extensions Grid
   ============================================ */
.extensions-grid {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ============================================
   Extension Cards
   ============================================ */
.extension-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border-radius: 0.75rem;
}

.extension-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

.extension-card:hover .icon-wrapper {
    transform: scale(1.05);
}

.extension-card .icon-wrapper {
    transition: transform 0.2s ease;
}

.extension-card .card-title {
    color: #212529;
    transition: color 0.2s ease;
}

.extension-card:hover .card-title {
    color: #0d6efd;
}

/* ============================================
   Build Your Own Section
   ============================================ */
.build-own-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ============================================
   Extension Detail Page Styles
   ============================================ */
.extension-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    padding: 2rem;
}

.extension-icon-wrapper {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.extension-icon-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.extension-icon-wrapper img {
    object-fit: contain;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline !important;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #adb5bd;
}

/* ============================================
   Setup Steps
   ============================================ */
.setup-steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.setup-steps li {
    position: relative;
}

.setup-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 40px;
    bottom: -16px;
    width: 2px;
    background: linear-gradient(180deg, #0d6efd 0%, rgba(13, 110, 253, 0.1) 100%);
}

.step-number {
    font-size: 0.875rem;
    font-weight: 700;
}

/* ============================================
   Table Styling
   ============================================ */
.table thead th {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-bottom-width: 2px;
}

.table tbody td {
    vertical-align: middle;
    font-size: 0.9375rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 767.98px) {
    .extensions-hero {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .extensions-grid {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .build-own-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .extension-hero {
        padding: 1.5rem !important;
    }

    .extension-icon-wrapper {
        width: 72px !important;
        height: 72px !important;
    }

    .extension-icon-wrapper img {
        max-width: 56px !important;
        max-height: 56px !important;
    }
}
