/* Whitepaper Section Styles - Dark Theme */
.whitepaper-section {
    padding: 6rem 2rem;
    background-color: #1e1e1e;
    color: white;
    border-radius: 9px;
    padding-bottom: 1%;
    padding-top: 2%;
}

.whitepaper-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #51AF95;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.section-title .glow {
    position: relative;
    z-index: 2;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 60%;
    background: rgba(81, 175, 149, 0.2);
    transform: translateY(-50%) perspective(500px) rotateX(10deg);
    border-radius: 10px;
    filter: blur(20px);
    z-index: 0;
    animation: glow-pulse 3s ease-in-out infinite alternate;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #51AF95, transparent);
    border-radius: 50%;
    opacity: 0.7;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
        height: 50%;
    }
    100% {
        opacity: 0.8;
        height: 70%;
    }
}

.section-divider {
    width: 80px;
    height: 2px;
    background: #51AF95;
    margin: 20px auto;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
}

.whitepaper-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.whitepaper-card {
    background: #252525;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #26A17B;
}

.whitepaper-card.toc-card {
    grid-column: span 2;
}

.whitepaper-card.download-card {
    grid-column: span 1;
}

.whitepaper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-header {
    background: #252525;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.card-header i {
    font-size: 1.8rem;
    margin-right: 15px;
    color: #26A17B;
}

.card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #51AF95;
}

.card-body {
    padding: 25px;
    color: #ddd;
}

.document-details {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.document-details li {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.document-details li:last-child {
    border-bottom: none;
}

.document-details li span:first-child {
    font-weight: 600;
    color: #51AF95;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
}

.toc-list li {
    padding: 10px 0;
    border-bottom: 1px solid #333;
    position: relative;
    padding-left: 25px;
    font-size: 0.85rem;
}

.toc-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 10px;
    height: 10px;
    background: #26A17B;
    border-radius: 50%;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #1e1e1e;
    border-radius: 8px;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #333;
    width: 100%;
    box-sizing: border-box;
}

.download-btn:hover {
    background: #26A17B;
    color: white;
    transform: translateX(5px);
    border-color: #26A17B;
}

.download-btn:hover i {
    color: white !important;
}

.download-btn i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #51AF95;
    transition: color 0.3s ease;
}

.download-btn span {
    flex-grow: 1;
    font-weight: 600;
}

.download-btn small {
    font-size: 0.8rem;
    opacity: 0.7;
}

.whitepaper-highlights {
    margin-top: 60px;
}

.whitepaper-highlights h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #51AF95;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-item {
    background: #252525;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 3px solid #26A17B;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: #1e1e1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #26A17B;
    font-size: 1.8rem;
    border: 2px solid #26A17B;
}

.highlight-item h4 {
    margin: 0 0 15px;
    color: #51AF95;
}

.highlight-item p {
    margin: 0;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .toc-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .whitepaper-content {
        grid-template-columns: 1fr;
    }
    
    .whitepaper-card.toc-card,
    .whitepaper-card.download-card {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
        padding: 0 20px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .toc-list li {
        font-size: 0.8rem;
        padding-left: 20px;
    }
    
    .toc-list li:before {
        width: 8px;
        height: 8px;
        top: 16px;
    }
}