/* Hero Section */
.hero-section {
    padding-bottom: 3rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.hero-container h2 {
    font-size: 3rem;
    margin-bottom: 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 1px 12px 25px rgba(0, 0, 0, 0.78);
    border: solid 1px rgba(255, 255, 255, 0.2);
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #c1d1e9;
    position: relative;
    padding: 40px;
    text-align: center;
}

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(31, 165, 253, 0.2), transparent);
    margin: 60px 0;
}

/* Card Settings */
.page-cards-settings {
    padding: 60px 0;
    max-width: 1440px;
    margin: 0 auto;
}

.cards-grid-settings {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.page-card-settings {
    grid-column: span 4;
    min-height: 400px;
    background: linear-gradient(145deg, rgba(9, 16, 26, 0.95) 0%, rgba(9, 16, 72, 0.95) 100%);
    border: 1px solid rgba(31, 165, 253, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    height: 100%;
}

.page-card-settings::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(31, 165, 253, 0.1), rgba(13, 202, 240, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.page-card-settings:hover {
    transform: translateY(-8px);
    border-color: rgba(31, 165, 253, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.page-card-settings:hover::after {
    opacity: 1;
}

.page-card-settings.wide {
    grid-column: span 8;
}

.page-card-settings.tall {
    min-height: 500px;
}

.page-card-settings.featured {
    grid-column: span 6;
    background: linear-gradient(145deg, rgba(31, 165, 253, 0.1) 0%, rgba(13, 202, 240, 0.1) 100%);
    border-color: rgba(31, 165, 253, 0.2);
}

.page-card-settings.horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: span 12;
    gap: 30px;
}

.page-card-settings.horizontal .card-image-settings {
    height: 100%;
    padding-top: 0;
}

.page-card-settings.horizontal .card-content-settings {
    padding: 40px;
}

.card-block-card {
    background: linear-gradient(145deg, rgba(9, 16, 26, 0.95) 0%, rgba(9, 16, 72, 0.95) 100%);
    border: 1px solid rgba(31, 165, 253, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-block-card:hover {
    transform: translateY(-8px);
    border-color: rgba(31, 165, 253, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-image-settings {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.card-image-settings img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-card-settings:hover .card-image-settings img,
.card-block-card:hover .card-image-settings img {
    transform: scale(1.1);
}

.card-overlay-settings {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9, 16, 26, 0) 0%, rgba(9, 16, 26, 0.9) 100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.card-content-settings {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title-settings {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(90deg, #fff 0%, #c1d1e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.3;
}

.card-description-settings {
    color: #8b9bb4;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Highlight Section */
.highlight-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-text {
    font-size: 1.25rem;
    line-height: 1.6;
    padding: 15px 25px;
    background: rgba(31, 165, 253, 0.05);
    border-radius: 12px;
    border-left: 3px solid rgba(31, 165, 253, 0.3);
    margin: 0;
}
.highlight-text.accent {
    background: linear-gradient(90deg, rgba(31, 165, 253, 0.15), rgba(13, 202, 240, 0.05));
    border-left-color: #1fa5fd;
    font-weight: 500;
}

.highlight-text.accent:hover {
    background: linear-gradient(90deg, rgba(31, 165, 253, 0.2), rgba(13, 202, 240, 0.1));
}

/* Aspect Section */
.aspect-showcase {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.aspect-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 40px 0;
}

.aspect-image {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.aspect-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
}

.aspect-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(31, 165, 253, 0.2) 0%, rgba(13, 202, 240, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aspect-item:hover .aspect-overlay {
    opacity: 1;
}

.aspect-item:hover .aspect-image img {
    transform: scale(1.05);
}

.aspect-content {
    flex: 1;
    padding: 40px;
    position: relative;
}

.aspect-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1fa5fd 0%, #0dcaf0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.aspect-icon i {
    font-size: 24px;
    color: #fff;
    transition: transform 0.3s ease;
}

.aspect-item:hover .aspect-icon i {
    transform: scale(1.2);
}

.aspect-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff 0%, #c1d1e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.aspect-content p {
    color: #c1d1e9;
    font-size: 1.1rem;
    line-height: 1.6;
}

.aspect-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(31, 165, 253, 0.2) 50%, transparent 100%);
    margin: 60px 0;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .cards-grid-settings {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-card-settings,
    .page-card-settings.featured {
        grid-column: span 6;
    }

    .page-card-settings.horizontal {
        grid-column: span 12;
    }
}

@media (max-width: 991px) {
    .aspect-item,
    .aspect-item.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .aspect-content {
        padding: 20px 0;
    }

    .aspect-content h3 {
        font-size: 1.5rem;
    }

    .aspect-content p {
        font-size: 1rem;
    }

    .aspect-divider {
        margin: 40px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 20px 0;
    }

    .hero-text {
        font-size: 1.1rem;
        padding: 25px;
    }

    .page-cards-settings {
        padding: 20px 0;
    }

    .cards-grid-settings {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .page-card-settings,
    .page-card-settings.featured,
    .page-card-settings.wide {
        grid-column: span 12;
    }

    .page-card-settings.horizontal {
        grid-template-columns: 1fr;
    }

    .page-card-settings.horizontal .card-image-settings {
        padding-top: 56.25%;
    }

    .card-content-settings {
        padding: 20px;
    }

    .card-title-settings {
        font-size: 1.25rem;
    }

    .highlight-text {
        font-size: 1.1rem;
        padding: 12px 20px;
    }

    .highlight-wrapper {
        gap: 15px;
    }

    .aspect-showcase {
        margin: 20px auto;
    }
}