/* ========================================
   AB the Solution - NDA Page Styles
   ======================================== */

.nda-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar */
.nda-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 1.25rem;
}

.nda-info-card {
    padding: 1.5rem;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nda-info-card:hover {
    border-color: var(--primary);
    transform: translateX(-4px);
    box-shadow: 0 8px 32px rgba(46, 204, 113, 0.08);
}

.nda-info-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    color: var(--primary);
    margin-bottom: 1rem;
}

.nda-info-card h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.nda-info-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.nda-cta {
    padding-top: 0.5rem;
}

/* Document */
.nda-document {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.nda-doc-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(46, 204, 113, 0.02) 100%);
    border-bottom: 2px solid var(--primary);
}

.nda-doc-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.nda-doc-header h2 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.nda-doc-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: var(--font-primary);
}

/* Parties */
.nda-parties {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.nda-party {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.nda-party h4 {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.nda-field {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.nda-field span {
    font-weight: 600;
    color: var(--text);
}

.nda-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

/* Tamheed */
.nda-tamheed {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.nda-tamheed h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.nda-tamheed p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 2;
    text-align: justify;
}

/* Articles */
.nda-articles {
    padding: 2rem;
}

.nda-article {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nda-article:hover {
    border-color: rgba(46, 204, 113, 0.3);
    background: rgba(46, 204, 113, 0.03);
}

.nda-article-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 50%;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.nda-article-content h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.nda-article-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.9;
    text-align: justify;
}

.nda-article-content ul,
.nda-article-content ol {
    margin: 0.75rem 0;
    padding-right: 1.5rem;
}

.nda-article-content li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 2;
    padding-right: 0.5rem;
}

.nda-article-content ul li {
    list-style: none;
    position: relative;
    padding-right: 1.2rem;
}

.nda-article-content ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* Signatures */
.nda-signatures {
    padding: 2rem;
    border-top: 2px solid var(--border);
}

.nda-signatures h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.nda-sig-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nda-sig-party {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.nda-sig-party h5 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.nda-sig-company {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.nda-sig-field {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-align: right;
}

.nda-stamp {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: inline-block;
}

/* Actions */
.nda-actions {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    justify-content: center;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
    .nda-layout {
        grid-template-columns: 1fr;
    }

    .nda-sidebar {
        position: static;
        grid-template-columns: repeat(3, 1fr);
    }

    .nda-cta {
        grid-column: 1 / -1;
        text-align: center;
    }
}

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

    .nda-doc-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .nda-field-row {
        grid-template-columns: 1fr;
    }

    .nda-article {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .nda-article-num {
        align-self: flex-start;
    }

    .nda-sig-grid {
        grid-template-columns: 1fr;
    }

    .nda-actions {
        flex-direction: column;
        align-items: center;
    }
}
