/* ==========================================================================
   Resources Page Stylesheet
   Version: 1.0
   
   TABLE OF CONTENTS:
   1. Resources Hero Section
   2. Hero Background Effects
   3. Hero Content
   4. Hero Search
   5. Hero Stats
   6. Animations
   7. Responsive Design
   ========================================================================== */

/* ==========================================================================
   1. Resources Hero Section
   ========================================================================== */

.resources-hero {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(135deg, #898fa0 0%, #706d9c 50%, #926ecc 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 8rem;
}

/* ==========================================================================
   2. Hero Background Effects
   ========================================================================== */

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(146, 110, 204, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(137, 143, 160, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(112, 109, 156, 0.3) 0%, transparent 50%);
    filter: blur(40px);
    animation: meshShift 20s ease-in-out infinite;
}

@keyframes meshShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -20px) scale(1.05); }
    66% { transform: translate(20px, -10px) scale(0.98); }
}

/* Knowledge Network Background */
.knowledge-network {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.network-svg {
    width: 100%;
    height: 100%;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.2;
    animation: floatAnimation 15s ease-in-out infinite;
}

.float-element svg {
    width: 100%;
    height: 100%;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 1.5;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.element-3 {
    bottom: 30%;
    left: 70%;
    animation-delay: -10s;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -40px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 30px) rotate(180deg);
    }
    75% {
        transform: translate(40px, 20px) rotate(270deg);
    }
}

/* ==========================================================================
   3. Hero Content
   ========================================================================== */

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 90rem;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-pill);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease forwards;
}

.badge-icon {
    font-size: 2rem;
}

.badge-text {
    font-size: 1.4rem;
    font-weight: var(--weight-semibold);
    color: white;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: var(--weight-bold);
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.title-highlight {
    background: linear-gradient(45deg, #ffd6e6, #e6d6ff, #d6e6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #ffd6e6, #e6d6ff);
    border-radius: var(--border-radius-pill);
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 75rem;
    margin: 0 auto 4rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* ==========================================================================
   4. Hero Search
   ========================================================================== */

.hero-search {
    max-width: 65rem;
    margin: 0 auto 5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.search-wrapper {
    position: relative;
    background: white;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.search-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.hero-search-input {
    width: 100%;
    padding: 2.5rem 7rem 2.5rem 3rem;
    font-size: 1.8rem;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-secondary);
}

.hero-search-input::placeholder {
    color: var(--color-text-light);
}

.search-submit {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 5rem;
    height: 5rem;
    background: var(--main-gradient);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.search-submit:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(146, 110, 204, 0.4);
}

.search-submit svg {
    stroke: white;
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium), padding var(--transition-medium);
    z-index: 100;
}

.search-suggestions.active {
    max-height: 300px;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border-light);
}

.suggestions-header {
    padding: 0.5rem 2rem;
    font-size: 1.3rem;
    color: var(--color-text-light);
    font-weight: var(--weight-semibold);
}

.suggestions-list {
    padding: 0.5rem 0;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--color-text);
    font-size: 1.5rem;
    transition: all var(--transition-fast);
}

.suggestion-item:hover {
    background: var(--color-background);
    padding-left: 2.5rem;
}

.suggestion-item svg {
    stroke: var(--color-secondary);
    opacity: 0.6;
}

/* ==========================================================================
   5. Hero Stats
   ========================================================================== */

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-medium);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    stroke: white;
    fill: white;
}

.stat-content {
    text-align: left;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: var(--weight-bold);
    color: white;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* ==========================================================================
   6. Animations
   ========================================================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Number Counter Animation */
.stat-number[data-count] {
    position: relative;
}

/* ==========================================================================
   7. Responsive Design
   ========================================================================== */

/* Tablet (up to 992px) */
@media (max-width: 992px) {
    .resources-hero {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-item {
        padding: 1.2rem 1.5rem;
    }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
    .resources-hero {
        min-height: auto;
        padding: 10rem 0 4rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }
    
    .hero-search-input {
        padding: 2rem 6rem 2rem 2rem;
        font-size: 1.6rem;
    }
    
    .search-submit {
        width: 4rem;
        height: 4rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
        max-width: 30rem;
    }
}

/* Small mobile (up to 576px) */
@media (max-width: 576px) {
    .hero-badge {
        font-size: 1.2rem;
        padding: 0.6rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Header active state for resources */
.main-nav a.active {
    color: var(--color-secondary);
    font-weight: var(--weight-semibold);
}


/* ==========================================================================
   Content Library Section
   ========================================================================== */

.content-library {
    padding: 8rem 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.content-library::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 40rem;
    height: 40rem;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Library Header */
.library-header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.section-title {
    font-size: 4rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-decorator {
    font-size: 3.5rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-description {
    font-size: 1.8rem;
    color: var(--color-text);
    max-width: 60rem;
    margin: 0 auto;
}

/* Filter Controls */
.filter-controls {
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Condition Tabs */
.condition-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.4rem;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--border-radius-pill);
    font-size: 1.6rem;
    font-weight: var(--weight-semibold);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-medium);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-secondary-light);
}

.tab-button.active {
    background: var(--main-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(146, 110, 204, 0.3);
}

.tab-icon {
    font-size: 2rem;
}

/* Content Type Filters */
.content-type-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.6rem;
    background: white;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-label:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-label input {
    display: none;
}

.filter-label input:checked + .filter-icon + .filter-text {
    color: var(--color-secondary);
    font-weight: var(--weight-semibold);
}

.filter-label input:checked ~ .filter-icon {
    transform: scale(1.2);
}

.filter-icon {
    font-size: 1.8rem;
    transition: transform var(--transition-fast);
}

.filter-text {
    font-size: 1.4rem;
    transition: color var(--transition-fast);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
    gap: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Content Card */
.content-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-medium);
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: cardFadeIn 0.6s ease forwards;
}

.content-card:nth-child(1) { animation-delay: 0.1s; }
.content-card:nth-child(2) { animation-delay: 0.2s; }
.content-card:nth-child(3) { animation-delay: 0.3s; }
.content-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Featured Card */
.content-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, white 0%, #f8f6ff 100%);
}

.content-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--main-gradient);
}

/* Card Image */
.card-image {
    position: relative;
    height: 22rem;
    overflow: hidden;
}

.content-card.featured .card-image {
    height: 28rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.content-card:hover .card-image img {
    transform: scale(1.05);
}

/* Content Badge */
.content-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.6rem 1.4rem;
    background: var(--main-gradient);
    color: white;
    font-size: 1.3rem;
    font-weight: var(--weight-bold);
    border-radius: var(--border-radius-pill);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.reading-time {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1.3rem;
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
}

/* Video Card Specific */
.video-card .video-duration {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 1.3rem;
    border-radius: var(--border-radius-md);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Card Content */
.card-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Card Meta */
.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    color: var(--color-text);
    font-weight: var(--weight-semibold);
}

.author img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.specialty {
    font-size: 1.3rem;
    color: var(--color-text-light);
    padding: 0.3rem 1rem;
    background: var(--color-background);
    border-radius: var(--border-radius-pill);
}

/* Card Title & Excerpt */
.card-title {
    font-size: 2rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-excerpt {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: auto;
    flex: 1;
}

/* Card Stats */
.card-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border-light);
}

.card-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: var(--color-text-light);
}

.card-stats svg {
    opacity: 0.6;
}

/* Card Link */
.card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-indent: -9999px;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 5rem;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-pill);
    font-size: 1.6rem;
    font-weight: var(--weight-semibold);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.load-more-btn:hover {
    background: var(--main-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(146, 110, 204, 0.3);
}

.btn-loader {
    display: none;
}

.load-more-btn.loading .btn-text {
    display: none;
}

.load-more-btn.loading .btn-loader {
    display: block;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hidden cards for filtering */
.content-card.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .content-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .content-library {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .condition-tabs {
        justify-content: flex-start;
        padding: 1rem 0;
    }
    
    .tab-button {
        padding: 1rem 1.8rem;
        font-size: 1.4rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .filter-controls {
        padding: 0 1rem;
    }
    
    .content-type-filters {
        gap: 1rem;
    }
    
    .filter-label {
        padding: 0.6rem 1.2rem;
    }
}

/* ==========================================================================
   Interactive Tools & Downloads Section
   ========================================================================== */

.tools-downloads {
    padding: 8rem 0;
    background: white;
    position: relative;
}

/* Section Header */
.tools-downloads .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tools-downloads .section-title {
    font-size: 4rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.title-icon {
    font-size: 3.5rem;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--color-text);
    max-width: 60rem;
    margin: 0 auto;
}

/* Tools Navigation */
.tools-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tool-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.4rem;
    background: var(--color-background);
    border: 2px solid transparent;
    border-radius: var(--border-radius-pill);
    font-size: 1.6rem;
    font-weight: var(--weight-semibold);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.tool-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-secondary-light);
}

.tool-nav-btn.active {
    background: var(--main-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(146, 110, 204, 0.3);
}

.tool-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Tool Categories */
.tool-category {
    display: none;
}

.tool-category.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Primary Tool (Featured Assessment) */
.primary-tool {
    margin-bottom: 4rem;
}

.featured-tool {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: 4rem;
    background: linear-gradient(135deg, #f8f6ff 0%, white 100%);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 40px rgba(146, 110, 204, 0.1);
    overflow: hidden;
    position: relative;
}

.featured-tool::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--main-gradient);
}

/* Interactive Demo */
.tool-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.interactive-demo {
    position: relative;
    width: 100%;
    max-width: 30rem;
}

.demo-screen {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.demo-header {
    background: #f0f0f0;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.demo-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #ddd;
}

.demo-dot:nth-child(1) { background: #ff6b6b; }
.demo-dot:nth-child(2) { background: #ffd43b; }
.demo-dot:nth-child(3) { background: #51cf66; }

.demo-content {
    padding: 3rem;
}

.demo-question {
    font-size: 1.6rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.demo-progress {
    height: 8px;
    background: var(--color-background);
    border-radius: var(--border-radius-pill);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--main-gradient);
    transition: width 2s ease;
    animation: progressGrow 3s ease-in-out infinite alternate;
}

@keyframes progressGrow {
    from { width: 33%; }
    to { width: 66%; }
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    font-size: 2.5rem;
    animation: floatIcon 10s ease-in-out infinite;
}

.float-icon:nth-child(1) {
    top: 10%;
    left: 80%;
    animation-delay: 0s;
}

.float-icon:nth-child(2) {
    top: 60%;
    left: 10%;
    animation-delay: -3s;
}

.float-icon:nth-child(3) {
    bottom: 20%;
    right: 15%;
    animation-delay: -6s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -30px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translate(30px, 10px) rotate(270deg);
        opacity: 1;
    }
}

/* Tool Info */
.tool-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tool-title {
    font-size: 3rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

.tool-description {
    font-size: 1.8rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.tool-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--color-text);
}

.feature svg {
    fill: var(--color-secondary);
}

.tool-stats {
    margin-bottom: 3rem;
}

.stat-badge {
    display: inline-flex;
    flex-direction: column;
    padding: 1.5rem 2rem;
    background: rgba(146, 110, 204, 0.1);
    border-radius: var(--border-radius-lg);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: var(--weight-bold);
    color: var(--color-secondary);
}

.stat-label {
    font-size: 1.4rem;
    color: var(--color-text);
}

.start-assessment {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.start-assessment svg {
    transition: transform var(--transition-fast);
}

.start-assessment:hover svg {
    transform: translateX(5px);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 2.5rem;
}

.tool-card {
    padding: 3rem;
    background: var(--color-background);
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
    transition: all var(--transition-medium);
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tool-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--main-gradient);
    transition: height var(--transition-medium);
}

.tool-card:hover::before {
    height: 5px;
}

.tool-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tool-icon svg {
    fill: var(--color-secondary);
}

.tool-name {
    font-size: 2rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.tool-desc {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-time {
    font-size: 1.4rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.tool-link {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: var(--weight-semibold);
    text-decoration: none;
    position: relative;
}

.tool-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left var(--transition-fast);
}

.tool-link:hover::after {
    margin-left: 1rem;
}

/* Tracker Cards */
.tracker-card .tracker-preview {
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.mini-calendar {
    text-align: center;
}

.cal-header {
    font-size: 1.4rem;
    font-weight: var(--weight-bold);
    margin-bottom: 1rem;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.cal-day {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--border-radius-md);
    font-size: 1.2rem;
}

.cal-day.filled {
    background: var(--color-secondary);
    color: white;
}

.mini-chart {
    width: 100%;
    height: 100%;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.progress-rings {
    position: relative;
    width: 10rem;
    height: 10rem;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid;
    animation: ringPulse 3s ease-in-out infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(146, 110, 204, 0.3);
}

.ring-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-color: rgba(146, 110, 204, 0.5);
    animation-delay: -1s;
}

.ring-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-color: rgba(146, 110, 204, 0.7);
    animation-delay: -2s;
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* Downloads Section */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.download-card {
    padding: 3rem;
    background: white;
    border: 2px solid var(--color-border-light);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-medium);
}

.download-card:hover {
    border-color: var(--color-secondary-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.featured-download {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem;
    background: linear-gradient(135deg, white 0%, #f8f6ff 100%);
}

/* PDF Mockup */
.download-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform var(--transition-medium);
}

.featured-download:hover .pdf-mockup {
    transform: perspective(1000px) rotateY(0deg);
}

.pdf-cover {
    width: 20rem;
    height: 28rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pdf-cover h5 {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.pdf-cover p {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.page-count {
    font-size: 1.2rem;
    color: var(--color-text-light);
    padding: 0.5rem 1rem;
    background: var(--color-background);
    border-radius: var(--border-radius-pill);
}

.pdf-pages {
    position: absolute;
    top: 5px;
    left: 5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
}

.page:nth-child(1) {
    transform: translateZ(-10px);
}

.page:nth-child(2) {
    transform: translateZ(-20px);
}

.page:nth-child(3) {
    transform: translateZ(-30px);
}

/* Download Info */
.download-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download-title {
    font-size: 2.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.download-desc {
    font-size: 1.6rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.download-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.feature-tag {
    padding: 0.5rem 1.2rem;
    background: var(--color-background);
    border-radius: var(--border-radius-pill);
    font-size: 1.4rem;
}

.download-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Download Form */
.download-form {
    display: flex;
    gap: 1rem;
    max-width: 40rem;
}

.download-form input {
    flex: 1;
    padding: 1.2rem 2rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-pill);
    font-size: 1.5rem;
}

.download-form input:focus {
    border-color: var(--color-secondary);
    outline: none;
}

/* PDF Thumbnails */
.pdf-thumbnail {
    position: relative;
    height: 15rem;
    background: var(--color-background);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.pdf-icon {
    font-size: 4rem;
}

.pdf-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    background: var(--main-gradient);
    color: white;
    font-size: 1.2rem;
    border-radius: var(--border-radius-md);
}

.download-name {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
}

.download-excerpt {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.download-count {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* Newsletter Section */
.tools-newsletter {
    margin-top: 6rem;
    padding-top: 6rem;
    border-top: 1px solid var(--color-border-light);
}

.newsletter-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 4rem;
    background: linear-gradient(135deg, #f8f6ff 0%, #fff6f8 100%);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

.newsletter-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.envelope-animation {
    position: relative;
    width: 100%;
    max-width: 20rem;
}

.envelope {
    width: 100%;
    animation: envelopeFloat 6s ease-in-out infinite;
}

@keyframes envelopeFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.sparkle {
    position: absolute;
    font-size: 2rem;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle-1 {
    top: -20%;
    left: 0;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 50%;
    right: -10%;
    animation-delay: -1s;
}

.sparkle-3 {
    bottom: -10%;
    left: 20%;
    animation-delay: -2s;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(10px, -10px) scale(1.2);
        opacity: 1;
    }
}

.newsletter-content h3 {
    font-size: 2.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.6rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 50rem;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-pill);
    font-size: 1.6rem;
}

.bonus-text {
    font-size: 1.5rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .featured-tool,
    .featured-download {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .newsletter-card {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tools-downloads {
        padding: 5rem 0;
    }
    
    .tools-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding: 0 1rem;
    }
    
    .tool-nav-btn {
        white-space: nowrap;
    }
    
    .featured-download {
        grid-column: span 1;
    }
    
    .download-form,
    .newsletter-form {
        flex-direction: column;
    }
}

/* ==========================================================================
   Latest Research & Expert Authority Section
   ========================================================================== */

.research-authority {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.research-authority::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.research-authority::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 40rem;
    height: 40rem;
    background: radial-gradient(circle, rgba(112, 109, 156, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Section Header */
.research-authority .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.research-authority .section-title {
    font-size: 4rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

/* Featured Research */
.featured-research {
    margin-bottom: 6rem;
    position: relative;
}

.research-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.6rem;
    background: var(--main-gradient);
    color: white;
    border-radius: var(--border-radius-pill);
    font-size: 1.4rem;
    font-weight: var(--weight-bold);
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(146, 110, 204, 0.3);
}

.research-badge svg {
    fill: white;
}

.research-card.featured {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding: 4rem;
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.research-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--main-gradient);
}

/* Data Visualization */
.research-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.data-visualization {
    position: relative;
    width: 100%;
    max-width: 35rem;
}

.chart-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.research-chart {
    width: 100%;
    height: auto;
}

.chart-bars .bar {
    opacity: 0;
    animation: growBar 1.5s ease forwards;
}

.bar-1 { animation-delay: 0.2s; }
.bar-2 { animation-delay: 0.4s; }
.bar-3 { animation-delay: 0.6s; }
.bar-4 { animation-delay: 0.8s; }

@keyframes growBar {
    from {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.trend-line {
    stroke-dashoffset: 300;
    animation: drawLine 2s ease 1s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.data-points {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.data-point {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--weight-bold);
    color: var(--color-secondary);
    line-height: 1.2;
}

.data-point:last-child {
    font-size: 1.4rem;
    color: var(--color-text);
    font-weight: var(--weight-normal);
}

/* Research Content */
.research-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.research-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.research-meta span {
    font-size: 1.4rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.research-title {
    font-size: 3rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.key-finding {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.05) 0%, rgba(230, 214, 255, 0.05) 100%);
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    font-size: 1.6rem;
    line-height: 1.6;
}

.key-finding svg {
    flex-shrink: 0;
    fill: var(--color-secondary);
}

/* Expert Analysis */
.expert-analysis {
    padding: 2.5rem;
    background: var(--color-background);
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
}

.expert-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.expert-header img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

.expert-info h4 {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.3rem;
}

.expert-info p {
    font-size: 1.4rem;
    color: var(--color-text-light);
}

.analysis-text {
    font-size: 1.6rem;
    color: var(--color-text);
    line-height: 1.6;
    font-style: italic;
}

.read-analysis-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: var(--main-gradient);
    color: white;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    font-weight: var(--weight-semibold);
    transition: all var(--transition-medium);
}

.read-analysis-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(146, 110, 204, 0.3);
}

.read-analysis-btn svg {
    transition: transform var(--transition-fast);
}

.read-analysis-btn:hover svg {
    transform: translateX(5px);
}

/* Recent Studies */
.recent-studies {
    margin-bottom: 6rem;
}

.studies-heading {
    font-size: 2.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
}

.study-card {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(146, 110, 204, 0.05) 0%, transparent 100%);
    transition: width var(--transition-medium);
}

.study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.study-card:hover::before {
    width: 100%;
}

.study-icon {
    flex-shrink: 0;
    width: 6rem;
    height: 6rem;
    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;
}

.study-icon svg {
    fill: var(--color-secondary);
}

.study-content {
    flex: 1;
}

.study-date {
    display: inline-block;
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
}

.study-title {
    font-size: 1.8rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.study-summary {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.study-impact {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.impact-label {
    font-weight: var(--weight-semibold);
    color: var(--color-secondary);
}

.study-link {
    color: var(--color-secondary);
    font-weight: var(--weight-semibold);
    text-decoration: none;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.study-link:hover {
    gap: 1rem;
}

/* Medical Editorial Board */
.editorial-board {
    background: white;
    padding: 5rem;
    border-radius: var(--border-radius-xl);
    margin-bottom: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.board-title {
    font-size: 3.2rem;
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.board-subtitle {
    font-size: 1.8rem;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 4rem;
}

.board-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 4rem;
}

.board-member {
    display: flex;
    gap: 2.5rem;
}

.member-photo {
    position: relative;
    flex-shrink: 0;
}

.member-photo img {
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.credentials-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--main-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 2rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.member-title {
    font-size: 1.6rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.member-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credential {
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    background: var(--color-background);
    border-radius: var(--border-radius-pill);
    color: var(--color-text);
}

.member-focus {
    font-size: 1.4rem;
    color: var(--color-text);
    line-height: 1.5;
}

/* Quality Standards */
.quality-standards {
    margin-bottom: 4rem;
}

.standards-title {
    font-size: 3rem;
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
}

.standard-item {
    text-align: center;
    padding: 2rem;
}

.standard-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 1.5rem;
    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 var(--transition-medium);
}

.standard-item:hover .standard-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.2) 0%, rgba(112, 109, 156, 0.2) 100%);
}

.standard-icon svg {
    fill: var(--color-secondary);
}

.standard-item h4 {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
}

.standard-item p {
    font-size: 1.5rem;
    color: var(--color-text);
}

/* Recognition Section */
.recognition-section {
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.05) 0%, rgba(112, 109, 156, 0.05) 100%);
    padding: 4rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
}

.recognition-content h3 {
    font-size: 2.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 3rem;
}

.recognition-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.recognition-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
}

.recognition-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.recognition-icon {
    font-size: 2.5rem;
}

.recognition-text {
    font-size: 1.5rem;
    color: var(--color-text);
    text-align: left;
}

/* Responsive */
@media (max-width: 992px) {
    .research-card.featured {
        grid-template-columns: 1fr;
    }
    
    .board-members {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .research-authority {
        padding: 5rem 0;
    }
    
    .research-authority .section-title {
        font-size: 3rem;
    }
    
    .research-title {
        font-size: 2.4rem;
    }
    
    .studies-grid {
        grid-template-columns: 1fr;
    }
    
    .board-member {
        flex-direction: column;
        text-align: center;
    }
    
    .recognition-items {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Get Personal Help & Support Section
   ========================================================================== */

.personal-help {
    padding: 10rem 0;
    background: linear-gradient(135deg, #f8f6ff 0%, #f6f8ff 50%, #fff6f8 100%);
    position: relative;
    overflow: hidden;
}

/* Background Effects */
.help-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gradient-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(146, 110, 204, 0.2) 0%, transparent 70%);
    animation: waveMove 20s linear infinite;
}

.wave-1 {
    top: -50%;
    left: -50%;
}

.wave-2 {
    top: -30%;
    right: -50%;
    animation-delay: -7s;
}

.wave-3 {
    bottom: -50%;
    left: -30%;
    animation-delay: -14s;
}

@keyframes waveMove {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(50%) rotate(360deg); }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; right: 15%; animation-delay: -3s; }
.particle:nth-child(3) { bottom: 20%; left: 40%; animation-delay: -6s; }
.particle:nth-child(4) { top: 60%; right: 30%; animation-delay: -9s; }
.particle:nth-child(5) { bottom: 40%; right: 20%; animation-delay: -12s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(50px, -100px) scale(1.5);
        opacity: 1;
    }
    50% {
        transform: translate(-50px, 50px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(100px, 100px) scale(1.2);
        opacity: 0.8;
    }
}

/* Section Header */
.help-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    z-index: 10;
}

.personal-help .section-title {
    font-size: 4.5rem;
    font-weight: var(--weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--main-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.personal-help .section-subtitle {
    font-size: 2rem;
    color: var(--color-text);
    max-width: 70rem;
    margin: 0 auto;
}

/* Consultation Options */
.consultation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 10;
}

.consultation-card {
    position: relative;
    padding: 4rem;
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
    overflow: hidden;
}

.consultation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.8rem 1.6rem;
    background: var(--main-gradient);
    color: white;
    font-size: 1.3rem;
    font-weight: var(--weight-bold);
    border-radius: var(--border-radius-pill);
    box-shadow: 0 4px 15px rgba(146, 110, 204, 0.3);
}

.card-badge.premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.1) 0%, transparent 50%);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Card Icon */
.card-icon {
    width: 10rem;
    height: 10rem;
    margin: 0 auto 3rem;
    position: relative;
}

.icon-svg {
    width: 100%;
    height: 100%;
    animation: iconFloat 6s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Card Content */
.card-title {
    font-size: 2.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.consultation-details {
    margin-bottom: 3rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: var(--color-text);
}

.detail-item svg {
    fill: var(--color-secondary);
}

.detail-item.featured {
    font-weight: var(--weight-semibold);
    color: var(--color-secondary-dark);
}

/* Value Badge */
.value-badge {
    text-align: center;
    margin-bottom: 2rem;
}

.value-amount {
    display: block;
    font-size: 3.2rem;
    font-weight: var(--weight-bold);
    color: var(--color-secondary);
}

.value-text {
    font-size: 1.4rem;
    color: var(--color-text-light);
}

/* Availability */
.availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #4CAF50;
}

/* Price Comparison */
.price-comparison {
    text-align: center;
    margin-bottom: 3rem;
}

.original-price {
    font-size: 1.6rem;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-right: 1rem;
}

.package-price {
    font-size: 3.6rem;
    font-weight: var(--weight-bold);
    color: var(--color-secondary);
}

/* Schedule Button */
.schedule-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.schedule-btn svg {
    transition: transform var(--transition-fast);
}

.schedule-btn:hover svg {
    transform: translateX(5px);
}

/* Support Section */
.support-section {
    background: white;
    padding: 5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
}

.support-title {
    font-size: 3rem;
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: 4rem;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.support-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-background);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-medium);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.support-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 2rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.support-icon svg {
    fill: var(--color-secondary);
}

.support-card h4 {
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.support-card p {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.support-availability,
.support-phone,
.support-email {
    display: block;
    font-size: 1.6rem;
    font-weight: var(--weight-semibold);
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.support-hours,
.support-response {
    font-size: 1.3rem;
    color: var(--color-text-light);
}

.support-btn {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: var(--main-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-pill);
    font-size: 1.5rem;
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.support-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(146, 110, 204, 0.3);
}

/* Community Section */
.community-section {
    margin-bottom: 4rem;
}

.community-header {
    text-align: center;
    margin-bottom: 4rem;
}

.community-header h3 {
    font-size: 3.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.community-header p {
    font-size: 1.8rem;
    color: var(--color-text);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.community-card {
    padding: 3rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all var(--transition-medium);
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.community-visual {
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Member Avatars */
.member-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -1rem;
}

.avatar:first-child {
    margin-left: 0;
}

.member-count {
    margin-left: 1rem;
    padding: 0.5rem 1.2rem;
    background: var(--main-gradient);
    color: white;
    border-radius: var(--border-radius-pill);
    font-weight: var(--weight-bold);
}

/* YouTube Preview */
.youtube-preview {
    position: relative;
}

.subscriber-count {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    padding: 0.5rem 1rem;
    background: #FF0000;
    color: white;
    border-radius: var(--border-radius-md);
    font-size: 1.3rem;
    font-weight: var(--weight-bold);
}

/* App Preview */
.phone-mockup {
    width: 6rem;
    height: 10rem;
    background: #333;
    border-radius: 0.8rem;
    padding: 0.5rem;
    position: relative;
}

.screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 0.4rem;
    overflow: hidden;
}

.app-header {
    height: 20%;
    background: var(--main-gradient);
}

.app-content {
    padding: 0.5rem;
}

.app-chart {
    height: 3rem;
    background: linear-gradient(90deg, #f0f0f0 30%, #e0e0e0 50%, #f0f0f0 70%);
    margin-bottom: 0.5rem;
    border-radius: 0.2rem;
}

.app-list {
    height: 2rem;
    background: #f5f5f5;
    border-radius: 0.2rem;
}

.community-card h4 {
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.community-card p {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.community-link {
    color: var(--color-secondary);
    font-weight: var(--weight-semibold);
    text-decoration: none;
    font-size: 1.6rem;
}

.community-link:hover {
    text-decoration: underline;
}

.coming-soon {
    padding: 0.5rem 1.5rem;
    background: var(--color-background);
    border-radius: var(--border-radius-pill);
    color: var(--color-text-light);
    font-size: 1.4rem;
}

/* Provider Section */
.provider-section {
    margin-bottom: 4rem;
}

.provider-card {
    padding: 4rem;
    background: white;
    border: 2px solid var(--color-secondary-light);
    border-radius: var(--border-radius-xl);
    position: relative;
    overflow: hidden;
}

.provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--main-gradient);
}

.provider-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.provider-icon {
    fill: var(--color-secondary);
}

.provider-header h3 {
    font-size: 2.8rem;
    color: var(--color-primary-dark);
}

.provider-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.provider-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-background);
    border-radius: var(--border-radius-lg);
}

.provider-feature svg {
    fill: var(--color-secondary);
}

.provider-feature span {
    font-size: 1.6rem;
    font-weight: var(--weight-semibold);
    color: var(--color-text);
}

/* Request Section */
.request-section {
    text-align: center;
    padding: 5rem;
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.05) 0%, rgba(112, 109, 156, 0.05) 100%);
    border-radius: var(--border-radius-xl);
}

.request-content h3 {
    font-size: 3rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.request-content p {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 3rem;
}

.request-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.request-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    font-size: 1.6rem;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.request-btn:hover {
    border-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.request-btn svg {
    fill: var(--color-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .personal-help {
        padding: 6rem 0;
    }
    
    .personal-help .section-title {
        font-size: 3.2rem;
    }
    
    .consultation-options {
        grid-template-columns: 1fr;
    }
    
    .support-options,
    .community-grid,
    .provider-features {
        grid-template-columns: 1fr;
    }
    
    .request-options {
        flex-direction: column;
        align-items: center;
    }
    
    .request-btn {
        width: 100%;
        max-width: 30rem;
    }
}