.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: none;
}

.hero-desc {
    color: white;
    font-size: 1.3rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    font-weight: 600;
    text-shadow: none;
}


.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--c-primary);
    margin-bottom: 0.5rem;
    margin-top: 3rem;
}

.section-subtitle {
    text-align: center;
    color: var(--c-text-sub);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.documents-content {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .documents-content {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }
}

.documents-content .section-title {
    margin-top: 3rem;
}

.documents-content .section-title:first-child {
    margin-top: 0;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.documents-grid:last-child {
    margin-bottom: 0;
}

.doc-card {
    background: white;
    border-radius: var(--radius-card);
    padding: 2rem;
    border: 3px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.doc-icon-wrapper {
    background: var(--c-bg);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.doc-icon-wrapper .icon {
    font-size: 32px;
    color: var(--c-primary);
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--c-text-main);
    margin-bottom: 0.5rem;
}

.doc-desc {
    color: var(--c-text-sub);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1rem;
}

.doc-meta {
    font-size: 0.85rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: inline-block;
}

.doc-actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.doc-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    gap: 0.75rem;
    font-family: var(--font-display);
}

.btn-view {
    background: var(--c-primary);
    color: white;
    box-shadow: 0 4px 0 var(--c-primary-dark);
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--c-primary-dark);
}

.btn-view:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--c-primary-dark);
}


.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 4rem 1rem;
    font-size: 0.95rem;
    margin-top: 6rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer a {
    color: #fff;
    opacity: 0.8;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}


.footer-legal {
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
    text-align: left;
    border-top: 1px solid #334155;
    padding-top: 2rem;
}

.footer-legal p {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.footer-legal strong {
    color: #e2e8f0;
}


@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .doc-actions {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
    }
}