/* Team Coordination Center Page Specific Stylesheet - Scoped Layout Theme */

/* --- Hero Section with Dotted Team Grid --- */
.tm-hero {
    padding-top: 180px;
    padding-bottom: 90px;
    position: relative;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(255, 85, 0, 0.07) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    overflow: hidden;
}

.tm-hero::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 70%, #ffffff 100%);
    pointer-events: none;
    z-index: 1;
}

.tm-hero .container {
    position: relative;
    z-index: 2;
}

.tm-hero-kicker {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(255, 85, 0, 0.08);
    border-radius: 30px;
    border: 1px solid rgba(255, 85, 0, 0.15);
}

.tm-hero h1 {
    font-size: clamp(2.5rem, 4vw, 4.25rem);
    line-height: 1.08;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.tm-hero .lead-p {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--text-grey);
    max-width: 780px;
    margin-inline: auto;
    line-height: 1.6;
}

.tm-hero-buttons,
.tm-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.tm-hero-image-wrap {
    margin-top: 56px;
    position: relative;
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(17, 20, 81, 0.12);
    border: 1px solid rgba(17, 20, 81, 0.08);
    background: #ffffff;
    padding: 10px;
    overflow: hidden;
}

.tm-hero-image-wrap img {
    border-radius: 16px;
    display: block;
    width: 100%;
}

/* --- Section Titles & Labels --- */
.tm-section-label {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tm-section-title {
    color: var(--secondary-color);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* --- Graphics Containers --- */
.tm-graphic-card {
    background: #ffffff;
    border: 1px solid rgba(17, 20, 81, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(17, 20, 81, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-graphic-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Why Team Matters Checklist --- */
.tm-matters-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-matters-checklist li {
    position: relative;
    padding-left: 32px;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.tm-matters-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 20px;
    width: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5500' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* --- Feature Grid Cards --- */
.tm-features-section {
    background: #ffffff;
}

.tm-feature-card {
    background: #ffffff;
    border: 1px solid rgba(17, 20, 81, 0.08);
    border-radius: 20px;
    padding: 36px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.tm-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 20px 0 0 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tm-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(17, 20, 81, 0.08);
    border-color: rgba(255, 85, 0, 0.15);
}

.tm-feature-card:hover::before {
    opacity: 1;
}

.tm-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 85, 0, 0.08);
    color: var(--primary-color);
    margin-bottom: 24px;
}

.tm-feature-icon svg {
    width: 24px;
    height: 24px;
}

.tm-feature-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.tm-feature-card p {
    font-size: 1rem;
    color: var(--text-grey);
    line-height: 1.55;
    margin: 0;
}

/* --- Badge / Role Section --- */
.tm-usecases-section {
    background: #fafbfe;
    border-top: 1px solid rgba(17, 20, 81, 0.05);
    border-bottom: 1px solid rgba(17, 20, 81, 0.05);
}

.tm-usecase-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    border: 1px solid rgba(17, 20, 81, 0.08);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    box-shadow: 0 6px 15px rgba(17, 20, 81, 0.02);
    transition: all 0.25s ease;
}

.tm-usecase-badge-pill svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.tm-usecase-badge-pill:hover {
    transform: scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 10px 24px rgba(255, 85, 0, 0.08);
}

/* --- Step-by-Step Capacity Distribution --- */
.tm-collab-graphic {
    background: #ffffff;
    border: 1px solid rgba(17, 20, 81, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(17, 20, 81, 0.06);
    overflow: hidden;
}

.tm-collab-graphic img {
    display: block;
    width: 100%;
}

.tm-collab-bullet {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.tm-collab-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #d94600);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(255, 85, 0, 0.25);
}

.tm-collab-text h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.tm-collab-text p {
    font-size: 1rem;
    color: var(--text-grey);
    line-height: 1.5;
    margin: 0;
}

/* --- AI-Powered Team Section (Cyber-Neon Dark) --- */
.tm-ai-section {
    background: #080711;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.tm-ai-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.tm-ai-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
}

.tm-ai-card:hover {
    border-color: rgba(255, 85, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.tm-ai-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 85, 0, 0.15);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.2);
}

.tm-ai-icon svg {
    width: 22px;
    height: 22px;
}

.tm-ai-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.tm-ai-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* --- Outcome Performance Rows --- */
.tm-benefits-section {
    background: #ffffff;
}

.tm-benefit-row {
    border-bottom: 1px solid rgba(17, 20, 81, 0.08);
    padding-block: 28px;
}

.tm-benefit-row:last-child {
    border-bottom: none;
}

.tm-benefit-metric {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.tm-benefit-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.tm-benefit-desc {
    font-size: 1rem;
    color: var(--text-grey);
    margin: 0;
}

/* --- FAQ Accordions --- */
.tm-faq-section {
    background: #fafbfe;
}

.tm-faq-item {
    background: #ffffff;
    border: 1px solid rgba(17, 20, 81, 0.08);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.tm-faq-item.is-open {
    border-color: rgba(255, 85, 0, 0.3);
    box-shadow: 0 15px 35px rgba(17, 20, 81, 0.05);
}

.tm-faq-header {
    width: 100%;
    padding: 24px;
    border: none;
    background: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-align: left;
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.15rem;
    cursor: pointer;
}

.tm-faq-header svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--text-grey);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.22s ease;
}

.tm-faq-item.is-open .tm-faq-header svg {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.tm-faq-body {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-faq-content {
    padding: 0 24px 24px;
    font-size: 1rem;
    color: var(--text-grey);
    line-height: 1.6;
}

/* --- CTA Banner --- */
.tm-cta-section {
    background: #ffffff;
}

.tm-cta-panel {
    border-radius: 28px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 85, 0, 0.24), transparent 45%),
        linear-gradient(135deg, #090812 0%, #16132b 100%);
    color: #ffffff;
    padding: clamp(36px, 6vw, 80px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.tm-cta-panel h2 {
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.tm-cta-panel p {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* --- Responsive Adaptations --- */
@media (max-width: 991.98px) {
    .tm-hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .tm-hero-image-wrap {
        margin-top: 40px;
    }

    .tm-feature-card {
        padding: 28px;
    }

    .tm-collab-bullet {
        margin-bottom: 24px;
    }
}

@media (max-width: 767.98px) {
    .tm-hero-buttons,
    .tm-cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }

    .tm-hero-buttons .button,
    .tm-cta-buttons .button {
        width: 100%;
    }

    .tm-faq-header {
        padding: 18px 20px;
    }

    .tm-faq-content {
        padding: 0 20px 18px;
    }
}
