/* Deal Room Viewer — Shared Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --lime: #C8FF00;
    --lime-dark: #A8D900;
    --navy: #0A0E1A;
    --navy-light: #141B2D;
    --navy-lighter: #1E2940;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-400: #ADB5BD;
    --gray-600: #6C757D;
    --gray-800: #343A40;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sticky nav */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--navy-lighter);
    padding: 0 40px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
.sticky-nav.visible { transform: translateY(0); }
.sticky-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sticky-nav-left img { height: 22px; }
.sticky-nav-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-200);
}
.sticky-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.sticky-nav-link {
    font-size: 12px;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}
.sticky-nav-link:hover { color: var(--lime); }
.sticky-nav-cta {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    background: var(--lime);
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}
.sticky-nav-cta:hover { background: #d4ff33; }

/* Access banner */
.access-banner {
    background: rgba(200, 255, 0, 0.1);
    border-bottom: 1px solid rgba(200, 255, 0, 0.2);
    padding: 12px 40px;
    font-size: 13px;
    color: var(--gray-400);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.access-info { display: flex; gap: 24px; }
.access-item { display: flex; gap: 6px; }
.access-label { color: var(--gray-600); }
.access-value { color: var(--lime); font-weight: 500; }
.logout-btn {
    background: transparent;
    border: 1px solid var(--navy-lighter);
    color: var(--gray-400);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.logout-btn:hover { border-color: var(--lime); color: var(--lime); }

/* Header */
.room-header {
    padding: 60px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.room-header .confidential-badge {
    display: inline-block;
    background: rgba(200, 255, 0, 0.1);
    border: 1px solid rgba(200, 255, 0, 0.3);
    color: var(--lime);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.room-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
}
.room-title .customer-name { color: var(--lime); }
.room-subtitle {
    font-size: 16px;
    color: var(--gray-400);
    margin-bottom: 20px;
}
.room-meta {
    display: flex;
    gap: 30px;
    padding-top: 16px;
    border-top: 1px solid var(--navy-lighter);
    font-size: 13px;
}
.room-meta-label { color: var(--gray-600); margin-right: 6px; }
.room-meta-value { color: var(--gray-200); font-weight: 500; }

/* Main content */
.room-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

/* Section styling */
.room-section {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--navy-lighter);
}
.room-section:last-child { border-bottom: none; }
.section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--lime);
    margin-bottom: 12px;
}
.room-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.room-section p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-200);
    max-width: 800px;
}

/* Welcome card */
.welcome-card {
    display: flex;
    gap: 30px;
    background: var(--navy-light);
    border: 1px solid var(--navy-lighter);
    border-radius: 12px;
    padding: 30px;
}
.welcome-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}
.welcome-name { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.welcome-role { font-size: 13px; color: var(--gray-400); margin-bottom: 12px; }
.welcome-text { font-size: 15px; color: var(--gray-200); line-height: 1.7; }
.welcome-links {
    margin-top: 16px;
    display: flex;
    gap: 16px;
}
.welcome-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lime);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.2s;
}
.welcome-link:hover { opacity: 0.8; }

/* Challenge cards */
.challenges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.challenge-item {
    background: var(--navy-light);
    border: 1px solid var(--navy-lighter);
    border-left: 3px solid var(--lime);
    border-radius: 8px;
    padding: 20px 24px;
}
.challenge-item strong {
    color: var(--white);
    font-weight: 600;
}
.challenge-item p {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Solution mapping */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.solution-card {
    background: var(--navy-light);
    border: 1px solid var(--navy-lighter);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.solution-card:hover {
    border-color: rgba(200, 255, 0, 0.3);
}
.solution-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}
.solution-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}
.solution-card .card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--navy-lighter);
}

/* Expandable cards */
.expandable-card {
    cursor: pointer;
}
.expandable-card .card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.expandable-card.open .card-body {
    max-height: 200px;
    opacity: 1;
}
.expandable-card h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.expandable-card h3::after {
    content: '+';
    font-size: 18px;
    color: var(--gray-600);
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}
.expandable-card.open h3::after {
    content: '';
    transform: rotate(45deg);
}

/* Roadmap */
.roadmap {
    display: flex;
    gap: 0;
    align-items: stretch;
    overflow-x: auto;
    padding: 10px 0;
}
.roadmap-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 20px;
    position: relative;
}
.roadmap-step::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--navy-lighter);
}
.roadmap-step:last-child::after { display: none; }
.roadmap-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy-lighter);
    border: 2px solid var(--gray-600);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.roadmap-step.active .roadmap-dot {
    background: rgba(200, 255, 0, 0.15);
    border-color: var(--lime);
}
.roadmap-step-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}
.roadmap-step-desc {
    font-size: 12px;
    color: var(--gray-600);
}

/* Pricing table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}
.pricing-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--navy-lighter);
    color: var(--gray-200);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.pricing-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--navy-lighter);
    font-size: 14px;
    color: var(--gray-200);
}
.pricing-table td:first-child { font-weight: 500; color: var(--white); }

.pricing-details {
    list-style: none;
    padding: 0;
}
.pricing-details li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-200);
    border-bottom: 1px solid var(--navy-lighter);
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.pricing-details li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--lime);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

/* Resource links */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.resource-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--navy-light);
    border: 1px solid var(--navy-lighter);
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray-200);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.resource-link:hover {
    border-color: rgba(200, 255, 0, 0.3);
    color: var(--white);
}
.resource-icon { font-size: 20px; flex-shrink: 0; }
.resource-arrow { margin-left: auto; color: var(--gray-600); }

/* Reference cards */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}
.reference-card {
    background: var(--navy-light);
    border: 1px solid var(--navy-lighter);
    border-radius: 8px;
    padding: 24px;
}
.reference-quote {
    font-size: 14px;
    color: var(--gray-200);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}
.reference-person { font-size: 14px; font-weight: 600; color: var(--white); }
.reference-title { font-size: 13px; color: var(--gray-400); }

/* Next steps */
.next-steps-list {
    list-style: none;
    padding: 0;
}
.next-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--navy-lighter);
    align-items: flex-start;
}
.next-step:last-child { border-bottom: none; }
.step-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--navy-lighter);
    flex-shrink: 0;
    margin-top: 2px;
}
.step-content { flex: 1; }
.step-text { font-size: 15px; color: var(--gray-200); }
.step-owner { font-size: 12px; color: var(--gray-600); margin-top: 4px; }

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
    border: 1px solid var(--navy-lighter);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--lime) 50%, transparent 100%);
}
.cta-button {
    display: inline-block;
    background: var(--lime);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 16px;
}
.cta-button:hover { background: #d4ff33; transform: translateY(-2px); }

/* Video embed */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--navy-lighter);
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.room-footer {
    text-align: center;
    padding: 30px 40px;
    border-top: 1px solid var(--navy-lighter);
    font-size: 12px;
    color: var(--gray-600);
}

/* Responsive */
@media (max-width: 768px) {
    .room-header, .room-main { padding-left: 24px; padding-right: 24px; }
    .room-title { font-size: 28px; }
    .access-banner { padding: 12px 24px; flex-direction: column; gap: 10px; text-align: center; }
    .access-info { flex-direction: column; gap: 6px; }
    .welcome-card { flex-direction: column; }
    .solution-grid { grid-template-columns: 1fr; }
    .roadmap { flex-direction: column; }
    .roadmap-step::after { display: none; }
    .room-meta { flex-direction: column; gap: 8px; }
}
