/**
 * Hub Page V2 - Stunning Modern Design
 * Violet/Teal theme with animations and AI-generated imagery
 */

/* === Hero Section V2 === */
.cc-hub-hero-v2 {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7C4DFF 0%, #08B2A5 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.cc-hub-hero-v2__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.92) 0%, rgba(8, 178, 165, 0.88) 100%);
    backdrop-filter: blur(2px);
}

.cc-hub-hero-v2__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
}

.cc-hub-hero-v2__badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cc-hub-hero-v2__badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cc-hub-hero-v2__badge-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.cc-hub-hero-v2__badge-count {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.cc-hub-hero-v2__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: white;
    margin: 0 0 25px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.03em;
}

.cc-hub-hero-v2__title-highlight {
    display: block;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cc-hub-hero-v2__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 50px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cc-hub-hero-v2__stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.cc-hub-hero-v2__stat {
    text-align: center;
}

.cc-hub-hero-v2__stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.cc-hub-hero-v2__stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.cc-hub-hero-v2__scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.cc-hub-hero-v2__scroll:hover {
    color: white;
    transform: translateY(4px);
}

.cc-hub-hero-v2__scroll svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

/* === Trust Section V2 === */
.cc-hub-trust-v2 {
    padding: 80px 30px;
    background: #F8F9FE;
}

.cc-hub-trust-v2__container {
    max-width: 1200px;
    margin: 0 auto;
}

.cc-hub-trust-v2__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.cc-hub-trust-v2__feature {
    text-align: center;
}

.cc-hub-trust-v2__feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(124, 77, 255, 0.2);
    transition: all 0.3s ease;
}

.cc-hub-trust-v2__feature-icon svg {
    color: white;
}

.cc-hub-trust-v2__feature:hover .cc-hub-trust-v2__feature-icon {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 12px 40px rgba(124, 77, 255, 0.3);
}

.cc-hub-trust-v2__feature h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1A1A2E;
    margin: 0 0 12px 0;
}

.cc-hub-trust-v2__feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: #5A5A7A;
    margin: 0;
}

/* === Section V2 === */
.cc-hub-section-v2 {
    padding: 100px 30px;
}

.cc-hub-section-v2--universal {
    background: white;
}

.cc-hub-section-v2--gender {
    background: linear-gradient(180deg, #F8F9FE 0%, #FFFFFF 100%);
}

.cc-hub-section-v2__container {
    max-width: 1400px;
    margin: 0 auto;
}

.cc-hub-section-v2__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.cc-hub-section-v2__tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.1) 0%, rgba(8, 178, 165, 0.1) 100%);
    color: #7C4DFF;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 20px;
}

.cc-hub-section-v2__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cc-hub-section-v2__description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #5A5A7A;
    margin: 0;
}

/* === Cards V2 === */
.cc-hub-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

.cc-hub-grid-v2--two-col {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.cc-hub-card-v2 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cc-hub-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(124, 77, 255, 0.15);
}

.cc-hub-card-v2__image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.cc-hub-card-v2__image--placeholder {
    background: linear-gradient(135deg, #E0E7FF 0%, #E0F2F1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-hub-card-v2__image--placeholder::after {
    content: '👔';
    font-size: 4rem;
    opacity: 0.3;
}

.cc-hub-card-v2:hover .cc-hub-card-v2__image {
    transform: scale(1.05);
}

.cc-hub-card-v2__content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cc-hub-card-v2__badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.1) 0%, rgba(8, 178, 165, 0.1) 100%);
    color: #7C4DFF;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.cc-hub-card-v2__badge--female {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(255, 141, 179, 0.1) 100%);
    color: #FF6B9D;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cc-hub-card-v2__badge--male {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(92, 152, 255, 0.1) 100%);
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cc-hub-card-v2__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1A1A2E;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.cc-hub-card-v2__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cc-hub-card-v2__title a:hover {
    color: #7C4DFF;
}

.cc-hub-card-v2__excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #5A5A7A;
    margin: 0 0 20px 0;
    flex: 1;
}

.cc-hub-card-v2__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #E5E5EF;
    margin-top: auto;
}

.cc-hub-card-v2__reading-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8A8AA0;
}

.cc-hub-card-v2__reading-time svg {
    color: #B0B0C0;
}

.cc-hub-card-v2__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7C4DFF;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cc-hub-card-v2__link:hover {
    gap: 12px;
    color: #08B2A5;
}

.cc-hub-card-v2__link svg {
    transition: transform 0.3s ease;
}

.cc-hub-card-v2__link:hover svg {
    transform: translateX(4px);
}

/* === Resources V2 === */
.cc-hub-resources-v2 {
    padding: 100px 30px;
    background: linear-gradient(135deg, #7C4DFF 0%, #08B2A5 100%);
    position: relative;
}

.cc-hub-resources-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.cc-hub-resources-v2__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cc-hub-resources-v2 .cc-hub-section-v2__tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.cc-hub-resources-v2 .cc-hub-section-v2__title {
    color: white;
}

.cc-hub-resources-v2 .cc-hub-section-v2__description {
    color: rgba(255, 255, 255, 0.9);
}

.cc-hub-resources-v2__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.cc-hub-resource-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cc-hub-resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B9D 0%, #7C4DFF 50%, #08B2A5 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cc-hub-resource-card:hover::before {
    transform: scaleX(1);
}

.cc-hub-resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
    background: white;
}

.cc-hub-resource-card__icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.cc-hub-resource-card:hover .cc-hub-resource-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.cc-hub-resource-card__icon svg {
    color: white;
}

.cc-hub-resource-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1A1A2E;
    margin: 0;
}

.cc-hub-resource-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #5A5A7A;
    margin: 0;
    flex: 1;
}

.cc-hub-resource-card__arrow {
    font-size: 1.5rem;
    color: #7C4DFF;
    transition: transform 0.3s ease;
}

.cc-hub-resource-card:hover .cc-hub-resource-card__arrow {
    transform: translateX(8px);
}

/* === CTA V2 === */
.cc-hub-cta-v2 {
    padding: 80px 30px;
    background: #F8F9FE;
}

.cc-hub-cta-v2__container {
    max-width: 800px;
    margin: 0 auto;
}

.cc-hub-cta-v2__content {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.cc-hub-cta-v2__content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 15px 0;
}

.cc-hub-cta-v2__content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5A5A7A;
    margin: 0 0 35px 0;
}

.cc-hub-cta-v2__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cc-hub-cta-v2__button {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cc-hub-cta-v2__button--primary {
    background: linear-gradient(135deg, #7C4DFF 0%, #08B2A5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.3);
}

.cc-hub-cta-v2__button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.4);
}

.cc-hub-cta-v2__button--secondary {
    background: white;
    color: #7C4DFF;
    border: 2px solid #E5E5EF;
}

.cc-hub-cta-v2__button--secondary:hover {
    border-color: #7C4DFF;
    transform: translateY(-2px);
}

/* === Diagnostic Box === */
.cc-hub-diagnostic {
    grid-column: 1 / -1;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.05) 0%, rgba(8, 178, 165, 0.05) 100%);
    border: 2px dashed rgba(124, 77, 255, 0.3);
    border-radius: 20px;
    text-align: center;
}

.cc-hub-diagnostic__icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.cc-hub-diagnostic h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1A1A2E;
    margin: 0 0 15px 0;
}

.cc-hub-diagnostic p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5A5A7A;
    margin: 0 0 10px 0;
}

.cc-hub-diagnostic__action {
    margin-top: 30px;
}

.cc-hub-diagnostic .button {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 50px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .cc-hub-hero-v2 {
        min-height: 100vh;
    }
    
    .cc-hub-hero-v2__stats {
        gap: 30px;
    }
    
    .cc-hub-grid-v2,
    .cc-hub-grid-v2--two-col {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cc-hub-trust-v2__grid,
    .cc-hub-resources-v2__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cc-hub-cta-v2__content {
        padding: 40px 25px;
    }
    
    .cc-hub-cta-v2__buttons {
        flex-direction: column;
    }
    
    .cc-hub-cta-v2__button {
        width: 100%;
        justify-content: center;
    }
}
