

/* ==========================================================================
   7. How It Works Section (Amazon Pharmacy Style)
   ========================================================================== */

.how-it-works-section {
    background-color: white;
    padding: 8rem 0;
}

.video-intro {
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
}

.video-play-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: var(--weight-medium);
    cursor: pointer;
    transition: color var(--transition-medium);
}

.video-play-btn svg {
    width: 3.2rem;
    height: 3.2rem;
    stroke: var(--color-primary);
    transition: transform var(--transition-medium);
}

.video-play-btn:hover {
    color: var(--color-secondary);
}

.video-play-btn:hover svg {
    stroke: var(--color-secondary);
    transform: scale(1.1);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin: 5rem 0;
}

.step-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-image {
    width: 16rem;
    height: 16rem;
    margin-bottom: 2.5rem;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.step-number {
    font-weight: var(--weight-bold);
    color: var(--color-primary);
}

.step-description {
    font-size: 1.6rem;
    color: var(--color-text);
    max-width: 90%;
    margin: 0 auto;
}

.learn-more-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.learn-more-btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    color: white;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-md);
    font-weight: var(--weight-semibold);
    font-size: 1.8rem;
    transition: all var(--transition-medium);
    text-align: center;
}

.learn-more-btn:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Enhanced Trust Badge Styles */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-secondary-dark);
    font-size: 1.3rem;
    font-weight: var(--weight-bold);
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius-pill);
    margin-top: var(--space-md);
    box-shadow: 
        0 4px 12px rgba(146, 110, 204, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(146, 110, 204, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    z-index: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.trust-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.05) 0%, rgba(112, 109, 156, 0.05) 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.trust-badge::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
    transition: left 0.8s ease;
}

.trust-badge::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1.177-7.86l-2.765-2.767L7 12.431l3.823 3.827L18 10.084l-1.057-1.057-6.12 6.112z' fill='%23706d9c'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.detail-item:hover .trust-badge {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 20px rgba(146, 110, 204, 0.25),
        0 2px 5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    color: var(--color-secondary);
}

.detail-item:hover .trust-badge::after {
    left: 100%;
}

/* Specific styles for different trust badges */
.trust-badge.certified {
    border-left: 3px solid var(--color-secondary);
}

.trust-badge.compliant {
    border-left: 3px solid var(--color-primary);
}

.trust-badge.verified {
    border-left: 3px solid var(--color-accent);
}

/* ==========================================================================
   8. Enhanced Featured Conditions Section Styles
   ========================================================================== */
.featured-conditions {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eff1 100%);
}

/* Background decorative elements */
.featured-conditions::before,
.featured-conditions::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.featured-conditions::before {
    width: 50rem;
    height: 50rem;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
    top: -25rem;
    right: -15rem;
}

.featured-conditions::after {
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    bottom: -10rem;
    left: -10rem;
}

.featured-conditions .container {
    position: relative;
    z-index: 1;
}

.featured-conditions h2 {
    text-align: center;
    font-size: 3.8rem;
    margin-bottom: 5rem;
    color: var(--color-primary-dark);
    position: relative;
    padding-bottom: 1.5rem;
}

.featured-conditions h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 4px;
    background: var(--main-gradient);
    border-radius: var(--border-radius-pill);
}

/* Updated card layout */
.condition-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

/* Modern card design */
.condition-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    will-change: transform, box-shadow;
}

.condition-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(114, 109, 156, 0.18);
}

/* Card Indicator Tag */
.condition-card::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 0;
    background: var(--main-gradient);
    height: 3rem;
    width: 0.8rem;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.4s ease;
    z-index: 3;
}

.condition-card:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Improved image treatment */
.condition-card-image {
    position: relative;
    height: 22rem;
    overflow: hidden;
}

.condition-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
    will-change: transform;
}

.condition-card:hover img {
    transform: scale(1.08);
}

/* Image overlay */
.condition-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 60%, 
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Card content */
.condition-card-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.condition-card h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
    position: relative;
    padding-bottom: 1rem;
}

.condition-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 3px;
    background: var(--main-gradient);
    border-radius: var(--border-radius-pill);
    transition: width 0.4s ease;
}

.condition-card:hover h3::after {
    width: 6rem;
}

.condition-card p {
    color: var(--color-text);
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Card icons */
.condition-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.icon-circle {
    width: 4.2rem;
    height: 4.2rem;
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.1) 0%, rgba(112, 109, 156, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.condition-card:hover .icon-circle {
    background: var(--main-gradient);
}

.condition-icon svg {
    width: 2.2rem;
    height: 2.2rem;
    fill: var(--color-primary);
    transition: fill 0.3s ease;
}

.condition-card:hover .condition-icon svg {
    fill: white;
}

/* Improved button styling */
.condition-card .btn {
    margin-top: auto;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.condition-card .btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 1.2rem 2.4rem;
    font-weight: var(--weight-semibold);
    border-radius: var(--border-radius-md);
    transition: all 0.4s ease;
}

.condition-card .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--main-gradient);
    transition: all 0.4s ease;
    z-index: -1;
}

.condition-card .btn-outline:hover {
    color: white;
    border-color: transparent;
}

.condition-card .btn-outline:hover::before {
    left: 0;
}

/* Symptom tags */
.symptom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.symptom-tag {
    font-size: 1.2rem;
    padding: 0.5rem 1.2rem;
    background-color: rgba(146, 110, 204, 0.1);
    color: var(--color-secondary-dark);
    border-radius: var(--border-radius-pill);
    font-weight: var(--weight-medium);
    transition: all 0.3s ease;
}

.condition-card:hover .symptom-tag {
    background-color: rgba(146, 110, 204, 0.2);
}

/* Animated learn more text */
.learn-more-text {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: var(--weight-semibold);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.learn-more-text svg {
    width: 1.8rem;
    height: 1.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.condition-card:hover .learn-more-text {
    color: var(--color-secondary);
}

.condition-card:hover .learn-more-text svg {
    transform: translateX(5px);
}

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

@media (max-width: 768px) {
    .condition-cards {
        grid-template-columns: 1fr;
        max-width: 48rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .condition-card-image {
        height: 20rem;
    }
}

/* Animation for cards when they enter viewport */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.condition-card.animated {
    animation: fadeInUp 0.8s ease forwards;
}

.condition-card:nth-child(1) { animation-delay: 0.1s; }
.condition-card:nth-child(2) { animation-delay: 0.3s; }
.condition-card:nth-child(3) { animation-delay: 0.5s; }


/* ==========================================================================
   8. Enhanced Trust Signals Section Styles
   ========================================================================== */

.trust-signals {
    padding: 8rem 0;
    position: relative;
    background-color: #fff;
    overflow: hidden;
}

/* Background accent elements */
.trust-signals::before {
    content: '';
    position: absolute;
    height: 40rem;
    width: 40rem;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.05) 0%, rgba(146, 110, 204, 0) 70%);
    top: -20rem;
    right: -15rem;
    border-radius: 50%;
    z-index: 0;
}

.trust-signals::after {
    content: '';
    position: absolute;
    height: 30rem;
    width: 30rem;
    background: radial-gradient(circle, rgba(112, 109, 156, 0.05) 0%, rgba(112, 109, 156, 0) 70%);
    bottom: -15rem;
    left: -10rem;
    border-radius: 50%;
    z-index: 0;
}

.trust-signals .container {
    position: relative;
    z-index: 2;
}

.trust-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.trust-heading h2 {
    font-size: 3.6rem;
    margin-bottom: 1.2rem;
    color: var(--color-primary-dark);
}

.trust-heading p {
    font-size: 1.8rem;
    color: var(--color-text-light);
    max-width: 70rem;
    margin: 0 auto;
}

/* Trust signals grid */
.trust-signals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
}

/* Pattern line connector */
.trust-pattern-line {
    position: absolute;
    top: 8rem;
    left: 5%;
    width: 90%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(146, 110, 204, 0.1) 10%, 
        rgba(146, 110, 204, 0.1) 90%, 
        transparent 100%);
    z-index: 1;
}

.trust-pattern-line::before,
.trust-pattern-line::after,
.trust-pattern-line .dot {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--main-gradient);
    transform: translate(-50%, -50%);
}

.trust-pattern-line::before {
    left: 10%;
}

.trust-pattern-line::after {
    left: 90%;
}

.trust-pattern-line .dot-1 {
    left: 35%;
}

.trust-pattern-line .dot-2 {
    left: 65%;
}

/* Trust signal card */
.trust-signal {
    position: relative;
    z-index: 5;
    padding: 4rem 2rem;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-signal:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(114, 109, 156, 0.12);
}

/* Card accent line */
.trust-signal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--main-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-signal:hover::before {
    opacity: 1;
}

/* Icon container */
.trust-icon-container {
    margin-bottom: 2.5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(137, 143, 160, 0.08), rgba(146, 110, 204, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.trust-signal:hover .trust-icon-container {
    background: var(--main-gradient);
}

/* Pulse animation for icon container */
.trust-icon-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(146, 110, 204, 0.15);
    z-index: -1;
    opacity: 0;
    transform: scale(0.7);
    animation: pulsate 2s ease-out infinite;
    animation-play-state: paused;
}

.trust-signal:hover .trust-icon-container::after {
    animation-play-state: running;
}

@keyframes pulsate {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

/* Custom SVG icons */
.trust-icon {
    width: 4.5rem;
    height: 4.5rem;
    fill: var(--color-primary);
    transition: all 0.4s ease;
}

.trust-signal:hover .trust-icon {
    fill: white;
}

/* Trust content */
.trust-title {
    font-size: 2rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1.2rem;
    transition: color 0.3s ease;
}

.trust-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 2px;
    background: var(--main-gradient);
    transition: width 0.3s ease;
}

.trust-signal:hover .trust-title {
    color: var(--color-secondary-dark);
}

.trust-signal:hover .trust-title::after {
    width: 6rem;
}

.trust-description {
    font-size: 1.5rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Trust stats */
.trust-stat {
    font-size: 2.8rem;
    font-weight: var(--weight-bold);
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.trust-signal:hover .trust-stat {
    opacity: 1;
    transform: translateY(0);
}

.trust-stat-label {
    font-size: 1.3rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: var(--weight-medium);
}

/* Certificate badge */
.trust-certificate {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 1px solid rgba(146, 110, 204, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.trust-signal:hover .trust-certificate {
    opacity: 1;
    transform: scale(1);
}

.trust-certificate svg {
    width: 2rem;
    height: 2rem;
    fill: var(--color-secondary);
}

/* Bottom CTA */
.trust-cta {
    text-align: center;
    margin-top: 5rem;
}

.trust-cta-text {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.trust-cta .btn {
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
    font-weight: var(--weight-semibold);
    box-shadow: 0 5px 15px rgba(114, 109, 156, 0.15);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .trust-signals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-pattern-line {
        display: none;
    }
    
    .trust-signal {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .trust-signals-grid {
        grid-template-columns: 1fr;
        max-width: 40rem;
        margin: 0 auto;
    }
    
    .trust-icon-container {
        width: 8rem;
        height: 8rem;
    }
    
    .trust-icon {
        width: 3.8rem;
        height: 3.8rem;
    }
}

/* ==========================================================================
   Enhanced Reviews Section Styles
   ========================================================================== */

.reviews-section {
    padding: 10rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--color-background) 0%, var(--color-background-alt) 100%);
    overflow: hidden;
}

/* Background decorations */
.reviews-section::before,
.reviews-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.reviews-section::before {
    width: 50rem;
    height: 50rem;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.05) 0%, rgba(146, 110, 204, 0) 70%);
    top: -20rem;
    right: -15rem;
}

.reviews-section::after {
    width: 40rem;
    height: 40rem;
    background: radial-gradient(circle, rgba(112, 109, 156, 0.05) 0%, rgba(112, 109, 156, 0) 70%);
    bottom: -15rem;
    left: -10rem;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background: var(--main-gradient);
    border-radius: var(--border-radius-pill);
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--color-text-light);
    max-width: 70rem;
    margin: 0 auto 3rem;
}

/* Trust Platform Badges */
.trust-platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.platform-link {
    text-decoration: none;
    color: inherit;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2.5rem;
    border-radius: var(--border-radius-lg);
    background-color: white;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
}

.platform-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-logo {
    width: 12rem;
    display: flex;
    align-items: center;
}

.platform-logo svg {
    width: 100%;
    height: auto;
}

.platform-rating {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platform-rating .stars {
    display: flex;
    gap: 0.2rem;
}

.platform-rating .rating-text {
    font-size: 1.4rem;
    color: var(--color-text-light);
}

/* Tab Navigation */
.review-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.review-tab {
    padding: 1.2rem 2.5rem;
    font-family: var(--font-primary);
    font-weight: var(--weight-medium);
    font-size: 1.6rem;
    border: none;
    background-color: transparent;
    color: var(--color-text);
    cursor: pointer;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-medium);
    position: relative;
}

.review-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--main-gradient);
    transition: width var(--transition-medium);
}

.review-tab:hover {
    color: var(--color-primary);
}

.review-tab.active {
    color: var(--color-secondary);
    background-color: rgba(146, 110, 204, 0.05);
    font-weight: var(--weight-semibold);
}

.review-tab.active::after {
    width: 50%;
}

/* Tab Content */
.review-content {
    display: none;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.review-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Featured Reviews Carousel */
.featured-reviews-carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 2rem 0 5rem;
}

.review-slides {
    display: flex;
    gap: 3rem;
    width: 100%;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc(50% - 1.5rem);
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--main-gradient);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.review-card:hover::before {
    opacity: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.reviewer-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(146, 110, 204, 0.2);
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 1.8rem;
    font-weight: var(--weight-semibold);
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.reviewer-treatment {
    font-size: 1.4rem;
    color: var(--color-text-light);
}

.review-source {
    width: 10rem;
}

.review-source img {
    max-width: 100%;
    height: auto;
}

.review-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
}

.star {
    width: 1.8rem;
    height: 1.8rem;
    position: relative;
}

.star::before {
    content: '★';
    color: #e0e0e0;
    font-size: 1.8rem;
    position: absolute;
}

.star.filled::before {
    content: '★';
    color: #FFD700;
}

.star.half-filled::before {
    content: '★';
    background: linear-gradient(to right, #FFD700 50%, #e0e0e0 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.review-date {
    font-size: 1.3rem;
    color: var(--color-text-light);
}

.review-text {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.review-text p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-text);
    font-style: italic;
}

.review-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-secondary);
    font-weight: var(--weight-semibold);
    font-size: 1.4rem;
    transition: color var(--transition-medium);
    text-decoration: none;
    margin-top: auto;
}

.review-link::after {
    content: '→';
    transition: transform var(--transition-medium);
}

.review-link:hover {
    color: var(--color-secondary-dark);
}

.review-link:hover::after {
    transform: translateX(5px);
}

/* Carousel Navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5rem;
    height: 5rem;
    background-color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    color: var(--color-primary);
}

.carousel-arrow:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.prev-arrow {
    left: 2rem;
}

.next-arrow {
    right: 2rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.indicator {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.indicator.active {
    background-color: var(--color-secondary);
    transform: scale(1.2);
}

/* Video Testimonials Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.video-testimonial {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
}

.video-testimonial:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-medium);
}

.video-testimonial:hover .video-placeholder {
    transform: scale(1.05);
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background var(--transition-medium);
}

.video-testimonial:hover .video-placeholder::before {
    background: rgba(0, 0, 0, 0.1);
}

.video-play-button {
    position: relative;
    z-index: 2;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    color: var(--color-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-play-button:hover {
    transform: scale(1.1);
    background-color: var(--color-secondary);
    color: white;
}

.video-info {
    padding: 2.5rem;
}

.video-headline {
    font-size: 2rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin: 1.5rem 0 1rem;
    line-height: 1.3;
}

.video-description {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* All Reviews Grid Styles */
.all-reviews-grid {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.review-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.review-grid-header h3 {
    font-size: 2.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 0;
}

.review-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-filter label {
    font-size: 1.4rem;
    color: var(--color-text-light);
}

.review-sort-select {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: 1.4rem;
    color: var(--color-text);
    background-color: white;
    cursor: pointer;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.grid-review {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    transition: all var(--transition-medium);
}

.grid-review:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.review-source-small {
    width: 8rem;
}

.review-text-short {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 6.6rem; /* 3 lines */
}

.review-link-small {
    font-size: 1.3rem;
    color: var(--color-secondary);
    text-decoration: none;
    display: inline-block;
    font-weight: var(--weight-medium);
    transition: color var(--transition-medium);
}

.review-link-small:hover {
    color: var(--color-secondary-dark);
}

/* Pagination Styles */
.reviews-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background-color: white;
    font-size: 1.4rem;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.pagination-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-btn.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.pagination-ellipsis {
    font-size: 1.6rem;
    color: var(--color-text-light);
    padding: 0 0.5rem;
}

.pagination-next {
    width: auto;
    padding: 0 1.5rem;
}

/* CTA Section */
.review-cta {
    margin-top: 6rem;
}

.cta-container {
    background: var(--main-gradient);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    display: flex;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCI+CjxyZWN0IHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgZmlsbD0iI2ZmZiIgZmlsbC1vcGFjaXR5PSIwLjAyIj48L3JlY3Q+CjxwYXRoIGQ9Ik0zMCAwTDYwIDMwTDMwIDYwTDAgMzAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLW9wYWNpdHk9IjAuMDUiPjwvcGF0aD4KPC9zdmc+');
    z-index: 0;
    opacity: 0.5;
}

.cta-content {
    flex: 1;
    position: relative;
    z-index: 1;
    color: white;
}

.cta-content h3 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.6rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 60rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.cta-buttons .btn {
    background-color: white;
    color: var(--color-primary-dark);
    font-weight: var(--weight-semibold);
}

.cta-buttons .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cta-decoration {
    position: relative;
    width: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-icon {
    width: 15rem;
    height: 15rem;
    fill: rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 992px) {
    .review-card {
        flex: 0 0 100%;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-container {
        flex-direction: column;
    }
    
    .cta-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .trust-platforms {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-badge {
        width: 100%;
        max-width: 40rem;
    }
    
    .review-tabs {
        flex-wrap: wrap;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-arrow {
        width: 4rem;
        height: 4rem;
    }
    
    .prev-arrow {
        left: 1rem;
    }
    
    .next-arrow {
        right: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .platform-badge {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .platform-logo {
        width: 10rem;
        margin-bottom: 1rem;
    }
    
    .review-card {
        padding: 2rem;
    }
    
    .reviewer-avatar {
        width: 4.5rem;
        height: 4.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .review-source {
        align-self: flex-start;
    }
    
    .review-grid-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .all-reviews-grid {
        padding: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }

.video-testimonial:nth-child(1) { animation-delay: 0.1s; }
.video-testimonial:nth-child(2) { animation-delay: 0.2s; }
.video-testimonial:nth-child(3) { animation-delay: 0.3s; }
.video-testimonial:nth-child(4) { animation-delay: 0.4s; }

.grid-review { animation: fadeIn 0.5s ease forwards; }
.grid-review:nth-child(1) { animation-delay: 0.1s; }
.grid-review:nth-child(2) { animation-delay: 0.15s; }
.grid-review:nth-child(3) { animation-delay: 0.2s; }
.grid-review:nth-child(4) { animation-delay: 0.25s; }
.grid-review:nth-child(5) { animation-delay: 0.3s; }
.grid-review:nth-child(6) { animation-delay: 0.35s; }


/* ==========================================================================
   Enhanced Hormone Health Resources Hub Styles
   ========================================================================== */

.resources-hub {
    padding: 10rem 0;
    position: relative;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-background-alt) 100%);
    overflow: hidden;
}

/* Background decorative elements */
.resources-hub::before,
.resources-hub::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.resources-hub::before {
    width: 60rem;
    height: 60rem;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.04) 0%, rgba(146, 110, 204, 0) 70%);
    top: -30rem;
    right: -20rem;
}

.resources-hub::after {
    width: 50rem;
    height: 50rem;
    background: radial-gradient(circle, rgba(112, 109, 156, 0.05) 0%, rgba(112, 109, 156, 0) 70%);
    bottom: -15rem;
    left: -10rem;
}

/* Header Section */
.resources-header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 5rem;
}

.resources-header h2 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
    position: relative;
    display: inline-block;
}

.resources-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background: var(--main-gradient);
    border-radius: var(--border-radius-pill);
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--color-text-light);
    max-width: 70rem;
    margin: 0 auto 4rem;
}

/* Search Bar */
.resource-search {
    max-width: 60rem;
    margin: 0 auto;
}

.search-container {
    display: flex;
    position: relative;
    border-radius: var(--border-radius-pill);
    box-shadow: var(--shadow-md);
    background-color: white;
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.search-container:focus-within {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.search-input {
    flex: 1;
    padding: 1.6rem 2rem;
    border: none;
    font-size: 1.6rem;
    color: var(--color-text);
    outline: none;
}

.search-button {
    background: var(--main-gradient);
    border: none;
    color: white;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.search-button:hover {
    opacity: 0.9;
}

/* Featured Resource */
.featured-resource {
    display: flex;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.featured-resource:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.featured-resource-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
}

.featured-badge {
    display: inline-block;
    background: var(--main-gradient);
    color: white;
    font-size: 1.4rem;
    font-weight: var(--weight-semibold);
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius-pill);
    margin-bottom: 2rem;
    align-self: flex-start;
}

.featured-resource-content h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
    line-height: 1.3;
}

.featured-resource-content p {
    font-size: 1.7rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.resource-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-light);
    font-size: 1.4rem;
}

.read-time,
.resource-type,
.resource-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-resource-content .btn {
    align-self: flex-start;
    margin-top: auto;
    padding: 1.2rem 2.5rem;
    font-size: 1.6rem;
}

.featured-resource-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.featured-resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.featured-resource:hover .featured-resource-image img {
    transform: scale(1.05);
}

/* Resource Categories */
.resource-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.category-button {
    padding: 1rem 2rem;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-pill);
    font-size: 1.5rem;
    font-weight: var(--weight-medium);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.category-button:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.category-button.active {
    background: var(--main-gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.resource-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.resource-card-image {
    position: relative;
    height: 22rem;
    overflow: hidden;
}

.resource-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.resource-card:hover .resource-card-image img {
    transform: scale(1.05);
}

.resource-type-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    font-weight: var(--weight-semibold);
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.video-duration {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.resource-card:hover .video-play-overlay {
    opacity: 1;
}

.video-play-overlay svg {
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.resource-card:hover .video-play-overlay svg {
    transform: scale(1);
}

.resource-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 22rem);
}

.resource-card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--color-primary-dark);
    transition: color var(--transition-medium);
}

.resource-card:hover .resource-card-content h3 {
    color: var(--color-secondary);
}

.resource-card-content p {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.resource-card .resource-meta {
    margin-bottom: 0;
    margin-top: auto;
    justify-content: space-between;
}

.bookmark-button {
    cursor: pointer;
    transition: transform var(--transition-medium);
}

.bookmark-button:hover {
    transform: translateY(-3px);
    color: var(--color-secondary);
}

.bookmark-button.active svg {
    fill: var(--color-secondary);
    stroke: var(--color-secondary);
}

.resource-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-indent: -9999px;
}

/* Topics Section */
.resource-topics {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.resource-topics h3 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
    color: var(--color-primary-dark);
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
}

.topic-tag {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    border-radius: var(--border-radius-pill);
    font-size: 1.4rem;
    color: var(--color-text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    border: 1px solid var(--color-border);
}

.topic-tag:hover {
    background: var(--main-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Newsletter Section */
.resource-newsletter {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.resource-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--main-gradient);
}

.newsletter-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.newsletter-icon {
    flex-shrink: 0;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.1) 0%, rgba(112, 109, 156, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.newsletter-text p {
    font-size: 1.6rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 0;
}

.newsletter-form {
    flex: 1;
    max-width: 50rem;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
}

.newsletter-email {
    flex: 1;
    padding: 1.2rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: 1.6rem;
    outline: none;
}

.newsletter-email:focus {
    border-color: var(--color-primary);
}

.newsletter-form .btn {
    flex-shrink: 0;
    padding: 1.2rem 2.5rem;
}

.form-disclaimer {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-top: 1rem;
    text-align: right;
}

/* View All Button */
.view-all-container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.view-all-container .btn {
    padding: 1.5rem 3rem;
    font-size: 1.7rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add animation to each resource card */
.resource-card {
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
}

.resource-card:nth-child(1) { animation-delay: 0.1s; }
.resource-card:nth-child(2) { animation-delay: 0.2s; }
.resource-card:nth-child(3) { animation-delay: 0.3s; }
.resource-card:nth-child(4) { animation-delay: 0.4s; }
.resource-card:nth-child(5) { animation-delay: 0.5s; }
.resource-card:nth-child(6) { animation-delay: 0.6s; }

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

@media (max-width: 992px) {
    .featured-resource {
        flex-direction: column;
    }
    
    .featured-resource-image {
        height: 30rem;
    }
    
    .resource-newsletter {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .newsletter-content {
        flex-direction: column;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .form-disclaimer {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .resources-hub {
        padding: 6rem 0;
    }
    
    .resources-header h2 {
        font-size: 3.2rem;
    }
    
    .featured-resource-content {
        padding: 3rem 2rem;
    }
    
    .featured-resource-content h3 {
        font-size: 2.4rem;
    }
    
    .resource-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .resource-categories {
        gap: 1rem;
    }
    
    .category-button {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }
    
    .resource-newsletter {
        padding: 3rem 2rem;
    }
}


/* ==========================================================================
   Enhanced Team Showcase Section Styles
   ========================================================================== */

.team-showcase {
    padding: 10rem 0;
    position: relative;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-background-alt) 100%);
    overflow: hidden;
}

/* Background decorative elements */
.team-showcase::before,
.team-showcase::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.team-showcase::before {
    width: 60rem;
    height: 60rem;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.05) 0%, rgba(146, 110, 204, 0) 70%);
    top: -20rem;
    right: -20rem;
}

.team-showcase::after {
    width: 50rem;
    height: 50rem;
    background: radial-gradient(circle, rgba(112, 109, 156, 0.04) 0%, rgba(112, 109, 156, 0) 70%);
    bottom: -15rem;
    left: -10rem;
}

/* Section Header */
.team-header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 5rem;
}

.team-header h2 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
    position: relative;
    display: inline-block;
}

.team-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background: var(--main-gradient);
    border-radius: var(--border-radius-pill);
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--color-text-light);
    max-width: 70rem;
    margin: 0 auto;
}

/* Team Intro Section */
.team-intro {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

.team-intro-content {
    flex: 1;
}

.team-intro-content h3 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: var(--color-primary-dark);
    line-height: 1.3;
}

.highlight {
    position: relative;
    color: var(--color-secondary);
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0.2rem;
    left: -0.4rem;
    right: -0.4rem;
    height: 0.8rem;
    background-color: rgba(146, 110, 204, 0.15);
    z-index: -1;
    border-radius: 0.4rem;
}

.team-intro-content p {
    font-size: 1.8rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Team Stats */
.team-stats {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 4.2rem;
    font-weight: var(--weight-bold);
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.stat-value::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 0.3rem;
    background: var(--main-gradient);
    border-radius: var(--border-radius-pill);
}

.stat-label {
    font-size: 1.6rem;
    color: var(--color-text-light);
    font-weight: var(--weight-medium);
}

/* Team Graphic */
.team-intro-graphic {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40rem;
    position: relative;
}

.team-graphic-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.graphic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

.team-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--main-gradient);
    opacity: 0.15;
    z-index: 0;
}

.circle-1 {
    width: 25rem;
    height: 25rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 6s infinite alternate;
}

.circle-2 {
    width: 18rem;
    height: 18rem;
    top: 30%;
    right: 15%;
    animation: pulse 8s infinite alternate 1s;
}

.circle-3 {
    width: 12rem;
    height: 12rem;
    bottom: 20%;
    left: 25%;
    animation: pulse 7s infinite alternate 2s;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(146, 110, 204, 0.3), rgba(112, 109, 156, 0.1));
    height: 2px;
    z-index: 0;
    transform-origin: left center;
}

.line-1 {
    width: 12rem;
    top: 35%;
    left: 40%;
    transform: rotate(30deg);
    animation: fadeInOut 8s infinite alternate 1s;
}

.line-2 {
    width: 10rem;
    bottom: 35%;
    left: 40%;
    transform: rotate(-20deg);
    animation: fadeInOut 8s infinite alternate 2s;
}

.team-graphic-icon {
    position: relative;
    z-index: 2;
    stroke: var(--color-primary);
    stroke-width: 1.5;
    fill: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.05); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.15; }
}

@keyframes fadeInOut {
    0% { opacity: 0.1; }
    50% { opacity: 0.3; }
    100% { opacity: 0.1; }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Team Categories */
.team-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.team-tab {
    padding: 1rem 2rem;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-pill);
    font-size: 1.5rem;
    font-weight: var(--weight-medium);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.team-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.team-tab.active {
    background: var(--main-gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

/* Team Member Card */
.team-member {
    perspective: 1000px;
    height: 50rem;
}

.member-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.team-member:hover .member-card {
    transform: translateY(-10px);
}

.member-front, .member-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.member-front {
    background-color: white;
}

.member-back {
    background-color: white;
    transform: rotateY(180deg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.member-card.flipped {
    transform: rotateY(180deg);
}

.member-card.flipped:hover {
    transform: rotateY(180deg) translateY(-10px);
}

.close-details {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: color var(--transition-medium);
}

.close-details:hover {
    color: var(--color-primary);
}

.close-details svg {
    width: 2rem;
    height: 2rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.member-photo {
    position: relative;
    height: 25rem;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-specialty {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--main-gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    font-weight: var(--weight-semibold);
    border-top-right-radius: var(--border-radius-md);
}

.member-info {
    padding: 2.5rem;
}

.member-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.member-title {
    font-size: 1.5rem;
    color: var(--color-secondary);
    font-weight: var(--weight-medium);
    margin-bottom: 1.5rem;
}

.member-preview {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.member-details-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: var(--weight-semibold);
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color var(--transition-medium);
}

.member-details-btn::after {
    content: '→';
    margin-left: 0.8rem;
    transition: transform var(--transition-medium);
}

.member-details-btn:hover {
    color: var(--color-secondary);
}

.member-details-btn:hover::after {
    transform: translateX(5px);
}

.member-certifications {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
}

.certification-badge {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certification-badge svg {
    width: 2.2rem;
    height: 2.2rem;
    stroke: var(--color-secondary);
    stroke-width: 1.5;
    fill: rgba(146, 110, 204, 0.2);
}

/* Member Back Details */
.member-details {
    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
}

.member-details p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.credentials-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.credentials-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--color-text);
}

.credentials-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.2rem;
    height: 1.2rem;
    background: var(--main-gradient);
    border-radius: 50%;
}

.member-education h4 {
    font-size: 1.6rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.member-education p {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

/* Custom scrollbar for member details */
.member-details::-webkit-scrollbar {
    width: 0.6rem;
}

.member-details::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-pill);
}

.member-details::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: var(--border-radius-pill);
}

.member-details::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Team CTA */
.team-cta {
    background: var(--main-gradient);
    border-radius: var(--border-radius-lg);
    padding: 5rem 4rem;
    display: flex;
    position: relative;
    overflow: hidden;
    margin-bottom: 6rem;
    z-index: 2;
}

.team-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCI+CjxyZWN0IHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgZmlsbD0iI2ZmZiIgZmlsbC1vcGFjaXR5PSIwLjAyIj48L3JlY3Q+CjxwYXRoIGQ9Ik0zMCAwTDYwIDMwTDMwIDYwTDAgMzAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLW9wYWNpdHk9IjAuMDUiPjwvcGF0aD4KPC9zdmc+');
    z-index: 0;
    opacity: 0.5;
}

.cta-content {
    flex: 2;
    position: relative;
    z-index: 1;
    color: white;
}

.cta-content h3 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.7rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 60rem;
}

.cta-content .btn {
    background-color: white;
    color: var(--color-primary-dark);
    font-weight: var(--weight-semibold);
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
    transform-origin: left center;
    transition: all var(--transition-medium);
}

.cta-content .btn:hover {
    background-color: white;
    color: var(--color-secondary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-decoration {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.decoration-circles {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.decoration-circle.circle-1 {
    width: 20rem;
    height: 20rem;
    top: 50%;
    right: -10rem;
    transform: translateY(-50%);
    animation: rotate 30s linear infinite;
}

.decoration-circle.circle-2 {
    width: 15rem;
    height: 15rem;
    top: 30%;
    right: 5rem;
    animation: rotate 20s linear infinite reverse;
}

.decoration-circle.circle-3 {
    width: 10rem;
    height: 10rem;
    bottom: 20%;
    right: 10rem;
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Team Philosophy */
.team-philosophy {
    display: flex;
    align-items: center;
    gap: 5rem;
    position: relative;
    z-index: 2;
}

.philosophy-image {
    flex: 1;
    position: relative;
    height: 40rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
}

.philosophy-content {
    flex: 1;
}

.philosophy-content h3 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: var(--color-primary-dark);
    line-height: 1.3;
}

.philosophy-content p {
    font-size: 1.7rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.philosophy-point {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.point-icon {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.1) 0%, rgba(112, 109, 156, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.point-icon svg {
    stroke: var(--color-secondary);
    stroke-width: 2;
    fill: none;
}

.point-text {
    flex: 1;
}

.point-text h4 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary-dark);
}

.point-text p {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-secondary);
    font-weight: var(--weight-semibold);
    font-size: 1.6rem;
    text-decoration: none;
    transition: color var(--transition-medium);
}

.learn-more-link::after {
    content: '→';
    margin-left: 0.8rem;
    transition: transform var(--transition-medium);
}

.learn-more-link:hover {
    color: var(--color-secondary-dark);
}

.learn-more-link:hover::after {
    transform: translateX(5px);
}

/* Animations for Team Members */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }
.team-member:nth-child(5) { animation-delay: 0.5s; }
.team-member:nth-child(6) { animation-delay: 0.6s; }

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

@media (max-width: 992px) {
    .team-intro {
        flex-direction: column;
        gap: 4rem;
    }
    
    .team-intro-graphic {
        width: 100%;
    }
    
    .team-philosophy {
        flex-direction: column;
    }
    
    .philosophy-image {
        width: 100%;
    }
    
    .team-member {
        height: 52rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 40rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .team-stats {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 20rem;
    }
    
    .team-cta {
        flex-direction: column;
        padding: 4rem 3rem;
    }
    
    .cta-decoration {
        display: none;
    }
}

@media (max-width: 576px) {
    .team-member {
        height: auto;
    }
    
    .member-card {
        height: auto;
    }
    
    .member-front, .member-back {
        position: relative;
        height: auto;
        transform: none;
    }
    
    .member-back {
        display: none;
    }
    
    .member-card.flipped .member-front {
        display: none;
    }
    
    .member-card.flipped .member-back {
        display: block;
        transform: none;
    }
    
    .member-photo {
        height: 20rem;
    }
    
    .team-categories {
        gap: 1rem;
    }
    
    .team-tab {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   Immersive Journey CTA Section Styles
   ========================================================================== */

.immersive-cta {
    position: relative;
    padding: 15rem 0 0;
    background: linear-gradient(180deg, #15172b 0%, #242852 100%);
    color: white;
    overflow: hidden;
    perspective: 1000px;
}

/* 3D Environment Elements */
.cta-environment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.horizon-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(146, 110, 204, 0.3) 50%, transparent 100%);
    top: 70%;
    transform: translateZ(-50px);
}

.perspective-grid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    transform-style: preserve-3d;
    transform: rotateX(60deg) translateZ(-50px);
    perspective-origin: center bottom;
}

.grid-line {
    width: 1px;
    height: 200%;
    background: linear-gradient(to top, rgba(146, 110, 204, 0.2) 0%, transparent 70%);
    transform-origin: bottom center;
}

.floating-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.15;
}

.orb-1 {
    background: radial-gradient(circle, rgba(146, 110, 204, 1) 0%, rgba(146, 110, 204, 0) 70%);
    width: 35rem;
    height: 35rem;
    top: 0%;
    right: -10%;
    animation: orbitSlow 25s infinite alternate linear;
}

.orb-2 {
    background: radial-gradient(circle, rgba(112, 109, 156, 1) 0%, rgba(112, 109, 156, 0) 70%);
    width: 25rem;
    height: 25rem;
    bottom: 20%;
    left: -5%;
    animation: orbitSlow 20s infinite alternate-reverse linear;
}

.orb-3 {
    background: radial-gradient(circle, rgba(137, 143, 160, 1) 0%, rgba(137, 143, 160, 0) 70%);
    width: 40rem;
    height: 40rem;
    bottom: -20%;
    right: 25%;
    animation: orbitSlow 30s infinite alternate linear;
}

@keyframes orbitSlow {
    0% { transform: translateY(0) scale(1); opacity: 0.15; }
    50% { transform: translateY(-5%) scale(1.1); opacity: 0.2; }
    100% { transform: translateY(5%) scale(0.95); opacity: 0.15; }
}

/* Main CTA Content */
.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 6rem;
}

.cta-headline-wrapper {
    margin-bottom: 5rem;
}

.cta-headline {
    font-size: 5rem;
    font-weight: var(--weight-bold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(146, 110, 204, 0.3);
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(to right, #9d9bbd, #b49ddf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    position: relative;
}

.gradient-text::after {
    content: 'Transformation';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #9d9bbd, #b49ddf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: blur(8px);
    opacity: 0.8;
    z-index: -1;
}

.cta-subheadline {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 70rem;
    margin: 0 auto;
}

/* Orbit Journey System */
.journey-orbits {
    margin: 8rem auto;
    max-width: 80rem;
    position: relative;
}

.orbit-container {
    position: relative;
    width: 100%;
    height: 40rem;
}

/* Central Hub */
.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12rem;
    height: 12rem;
    z-index: 20;
}

.hub-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(to right, rgba(146, 110, 204, 0.3), rgba(112, 109, 156, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 20px rgba(146, 110, 204, 0.5),
        0 0 40px rgba(146, 110, 204, 0.2);
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.hub-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hub-inner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateSlow 10s infinite linear;
}

.hub-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hub-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-icon svg {
    width: 3rem;
    height: 3rem;
    fill: rgba(255, 255, 255, 0.9);
}

.hub-content span {
    font-size: 1.4rem;
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.9);
}

/* Orbit Paths */
.orbit-path {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.path-1 {
    width: 24rem;
    height: 24rem;
    animation: rotateOrbit 40s infinite linear;
}

.path-2 {
    width: 40rem;
    height: 40rem;
    animation: rotateOrbit 60s infinite linear reverse;
}

.path-3 {
    width: 56rem;
    height: 56rem;
    animation: rotateOrbit 80s infinite linear;
}

@keyframes rotateOrbit {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Orbit Stations */
.orbit-station {
    position: absolute;
    width: 20rem;
    height: 20rem;
    z-index: 15;
}

.station-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.station-2 {
    bottom: 20%;
    left: 0;
}

.station-3 {
    bottom: 20%;
    right: 0;
}

.station-content {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 2;
}

.station-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.orbit-station:hover .station-content {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(146, 110, 204, 0.3);
}

.orbit-station:hover .station-content::before {
    opacity: 1;
}

.station-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(to right, rgba(146, 110, 204, 0.3), rgba(112, 109, 156, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.station-icon svg {
    width: 2.8rem;
    height: 2.8rem;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 1.5;
    fill: none;
}

.station-content h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.station-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.station-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(90deg, rgba(146, 110, 204, 0.7), rgba(112, 109, 156, 0.7));
    color: white;
    border-radius: 3rem;
    font-size: 1.4rem;
    font-weight: var(--weight-semibold);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.station-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(146, 110, 204, 1), rgba(112, 109, 156, 1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.station-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(146, 110, 204, 0.3);
}

.station-btn:hover::before {
    opacity: 1;
}

.station-connector {
    position: absolute;
    background: linear-gradient(90deg, rgba(146, 110, 204, 0.3), rgba(112, 109, 156, 0.3));
    width: 2px;
    z-index: 1;
}

.station-1 .station-connector {
    height: 10rem;
    left: 50%;
    top: 100%;
}

.station-2 .station-connector {
    height: 2px;
    width: 10rem;
    top: 50%;
    left: 100%;
    transform-origin: left center;
    transform: rotate(-30deg);
}

.station-3 .station-connector {
    height: 2px;
    width: 10rem;
    top: 50%;
    right: 100%;
    transform-origin: right center;
    transform: rotate(30deg);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 10;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.trust-icon {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.3), rgba(112, 109, 156, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.trust-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.2), rgba(112, 109, 156, 0.2));
    z-index: -1;
    filter: blur(5px);
}

.trust-icon svg {
    width: 3.5rem;
    height: 3.5rem;
    fill: rgba(146, 110, 204, 0.8);
}

.trust-metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 3.2rem;
    font-weight: var(--weight-bold);
    color: white;
    line-height: 1;
}

.metric-label {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* Final CTA Button */
.final-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 8rem;
    position: relative;
    z-index: 10;
}

.pulse-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.3) 0%, transparent 70%);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.3; }
}

.final-cta-button {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem 3.5rem;
    background: linear-gradient(90deg, rgba(146, 110, 204, 1), rgba(112, 109, 156, 1));
    color: white;
    border-radius: 4rem;
    font-size: 1.8rem;
    font-weight: var(--weight-bold);
    text-decoration: none;
    box-shadow: 
        0 10px 30px rgba(146, 110, 204, 0.3),
        0 0 0 5px rgba(146, 110, 204, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.final-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(146, 110, 204, 0.8), rgba(112, 109, 156, 0.8));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.final-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(146, 110, 204, 0.4),
        0 0 0 8px rgba(146, 110, 204, 0.15);
}

.final-cta-button:hover::before {
    opacity: 1;
}

.final-cta-button svg {
    width: 2.4rem;
    height: 2.4rem;
    stroke: white;
    stroke-width: 1.5;
    fill: none;
    transition: transform 0.3s ease;
}

.final-cta-button:hover svg {
    transform: translateX(5px);
}

/* Wave Separator */
.wave-separator {
    position: relative;
    width: 100%;
    z-index: 5;
    margin-top: -1px;
}

.wave-separator svg {
    display: block;
    width: 100%;
    height: 15rem;
    fill: #2a2a3a; /* Match footer background */
}

/* Animation Classes for JavaScript */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .orbit-container {
        transform: scale(0.9);
    }
    
    .path-3 {
        width: 50rem;
        height: 50rem;
    }
}

@media (max-width: 992px) {
    .cta-headline {
        font-size: 4rem;
    }
    
    .orbit-container {
        transform: scale(0.8);
        height: 35rem;
    }
    
    .path-2 {
        width: 36rem;
        height: 36rem;
    }
    
    .path-3 {
        width: 44rem;
        height: 44rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .immersive-cta {
        padding: 10rem 0 0;
    }
    
    .cta-headline {
        font-size: 3.2rem;
    }
    
    .cta-subheadline {
        font-size: 1.8rem;
    }
    
    .orbit-container {
        transform: scale(0.6);
        height: 30rem;
    }
    
    .final-cta-button {
        padding: 1.5rem 3rem;
        font-size: 1.6rem;
    }
    
    .wave-separator svg {
        height: 8rem;
    }
}

@media (max-width: 576px) {
    .orbit-container {
        display: none;
    }
    
    .journey-orbits {
        margin: 4rem auto;
    }
    
    /* Replace orbit system with mobile alternative */
    .journey-orbits::after {
        content: '';
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .journey-orbits::after .station-content {
        width: 100%;
        height: auto;
        border-radius: 1.5rem;
        padding: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .trust-item {
        width: 100%;
        justify-content: center;
    }
    
    .final-cta-button {
        width: 90%;
        justify-content: center;
    }
}


/* ==========================================================================
   8. Other Sections
   ========================================================================== */
