
/* Data Room Dashboard Specific Styles */

.dataroom-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1c294d 0%, #121a46 100%);
}

/* Hero Image Section */
.hero-image-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 10px 30px rgba(157, 109, 85, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* AI Assistant CTA Section */
.ai-cta-section {
    margin-bottom: 60px;
    text-align: center;
}

.ai-cta-card {
    background: rgba(18, 26, 70, 0.8);
    border: 2px solid rgba(157, 109, 85, 0.3);
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ai-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(157, 109, 85, 0.5);
}

.ai-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9d6d55, #b17d63, #9d6d55);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ai-cta-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ai-cta-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.ai-cta-description {
    color: #aaabb6;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ai-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #9d6d55;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(157, 109, 85, 0.3);
}

.ai-cta-button:hover {
    background: #b17d63;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 109, 85, 0.4);
}

/* Deck CTA Section */
.deck-cta-section {
    margin-bottom: 60px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #aaabb6;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.deck-cta-card {
    background: rgba(18, 26, 70, 0.8);
    border: 2px solid rgba(157, 109, 85, 0.3);
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.deck-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9d6d55, #b17d63, #9d6d55);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.deck-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(157, 109, 85, 0.5);
}

.deck-cta-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.deck-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.deck-cta-description {
    color: #aaabb6;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.deck-cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: #9d6d55;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(157, 109, 85, 0.4);
}

.deck-cta-button:hover {
    background: #b17d63;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(157, 109, 85, 0.5);
}

/* AI Assistant Section */
.ai-assistant-section {
    margin-bottom: 60px;
}

.ai-assistant-container {
    background: rgba(18, 26, 70, 0.8);
    border: 2px solid rgba(157, 109, 85, 0.3);
    border-radius: 16px;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    min-height: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.ai-assistant-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9d6d55, #b17d63, #9d6d55);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

#did-agent-embed {
    width: 100%;
    min-height: 550px;
    border-radius: 12px;
}

/* Key Documents Section */
.key-documents-section {
    margin-bottom: 60px;
}

.documents-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.doc-showcase-card {
    background: rgba(18, 26, 70, 0.8);
    border: 2px solid rgba(157, 109, 85, 0.2);
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.doc-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9d6d55, #b17d63);
}

.doc-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(157, 109, 85, 0.4);
}

.doc-showcase-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.doc-showcase-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.doc-showcase-description {
    color: #aaabb6;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    min-height: 60px;
}

.doc-showcase-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.doc-showcase-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.doc-showcase-btn.primary {
    background: #9d6d55;
    color: #fff;
}

.doc-showcase-btn.primary:hover {
    background: #b17d63;
    transform: translateY(-2px);
}

.doc-showcase-btn.secondary {
    background: transparent;
    color: #9d6d55;
    border: 1px solid #9d6d55;
}

.doc-showcase-btn.secondary:hover {
    background: rgba(157, 109, 85, 0.1);
    border-color: #b17d63;
    color: #b17d63;
}

/* Company Overview Section */
.company-overview {
    margin-bottom: 40px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.overview-card {
    background: rgba(18, 26, 70, 0.8);
    border: 1px solid rgba(157, 109, 85, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(157, 109, 85, 0.4);
}

.overview-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.overview-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 20px 20px 10px;
}

.overview-card p {
    color: #aaabb6;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 20px 20px;
}

.dataroom-header {
    background: rgba(18, 26, 70, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(157, 109, 85, 0.2);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dataroom-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9d6d55;
}

.dataroom-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    color: #aaabb6;
    font-weight: 500;
}

.logout-btn {
    padding: 8px 16px;
    background: transparent;
    color: #9d6d55;
    border: 1px solid #9d6d55;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.logout-btn:hover {
    background: #9d6d55;
    color: #fff;
}

.welcome-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: #aaabb6;
    opacity: 0.9;
    line-height: 1.6;
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

/* Video Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.video-card {
    background: rgba(18, 26, 70, 0.8);
    border: 1px solid rgba(157, 109, 85, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-player {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    background: #000;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.video-description {
    color: #aaabb6;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Document Categories */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.category-card {
    background: rgba(18, 26, 70, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 109, 85, 0.2);
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(157, 109, 85, 0.4);
}

.category-icon {
    font-size: 2.5rem;
    color: #9d6d55;
    margin-bottom: 20px;
    text-align: center;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

.category-description {
    color: #aaabb6;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
}

.document-count {
    background: rgba(157, 109, 85, 0.2);
    color: #9d6d55;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

/* Document List Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(18, 26, 70, 0.95);
    border: 1px solid rgba(157, 109, 85, 0.3);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.close-modal {
    background: none;
    border: none;
    color: #aaabb6;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #9d6d55;
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(28, 41, 77, 0.4);
    border: 1px solid rgba(170, 171, 182, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.document-item:hover {
    background: rgba(28, 41, 77, 0.6);
    border-color: rgba(157, 109, 85, 0.3);
}

.document-info {
    flex-grow: 1;
}

.document-name {
    font-weight: 500;
    color: #fff;
    margin-bottom: 5px;
}

.document-meta {
    font-size: 0.8rem;
    color: #aaabb6;
    opacity: 0.8;
}

.document-actions {
    display: flex;
    gap: 10px;
}

.doc-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.doc-btn-view {
    background: #9d6d55;
    color: #fff;
}

.doc-btn-view:hover {
    background: #b17d63;
}

.doc-btn-download {
    background: transparent;
    color: #9d6d55;
    border: 1px solid #9d6d55;
}

.doc-btn-download:hover {
    background: #9d6d55;
    color: #fff;
}

/* Responsive Design for Data Room */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .deck-cta-card {
        padding: 40px 30px;
    }

    .deck-cta-title {
        font-size: 1.6rem;
    }

    .deck-cta-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .ai-assistant-container {
        padding: 15px;
        min-height: 500px;
    }

    #did-agent-embed {
        min-height: 450px;
    }

    .documents-showcase {
        grid-template-columns: 1fr;
    }

    .doc-showcase-description {
        min-height: auto;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .document-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        height: 200px;
    }

    .category-card {
        padding: 25px 20px;
    }

    .welcome-section {
        padding: 40px 20px;
    }
}
