/* ==========================================================================
   Collaboration Styles (Built on global.css foundations)
   Theme: Synergy Matrix & Module Docking Layouts
   ========================================================================== */

/* --- SECTION 1: HERO --- */
.collab-hero {
    position: relative;
    padding: 12rem 0 6rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.collab-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.collab-hero-text h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 1.5rem 0;
    font-family: var(--font-heading);
}

.collab-hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Synergy Matrix Node Animation Graphic */
.collab-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.matrix-graphic-container {
    position: relative;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.matrix-node {
    position: absolute;
    width: 14px; height: 14px;
    background: #fff;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    transition: var(--transition-smooth);
}

.node-tl { top: 45px; left: 45px; }
.node-tr { top: 45px; right: 45px; }
.node-bl { bottom: 45px; left: 45px; }
.node-br { bottom: 45px; right: 45px; }

.matrix-center-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 94, 0, 0.1);
}

.matrix-svg-lines {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

@media (max-width: 992px) {
    .collab-hero-grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .matrix-graphic-container { margin: 0 auto; }
}

/* --- SECTION 2: ASYMMETRIC WHY SECTION --- */
.asymmetric-split-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
}

.why-sticky-title {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.why-sticky-title h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.why-sticky-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.why-cards-scroll {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.why-metric-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    transition: var(--transition-smooth);
}

.why-metric-card:hover {
    border-color: var(--border-premium-hover);
    transform: translateX(10px);
}

.card-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.why-metric-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #fff;
}

.why-metric-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .asymmetric-split-layout { grid-template-columns: 1fr; gap: 4rem; }
    .why-sticky-title { position: relative; top: 0; }
    .why-metric-card:hover { transform: translateY(-5px); }
}

/* --- SECTION 3: FRAMEWORKS MATRIX GRID --- */
.collab-matrix-section .section-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
}

.collab-matrix-section h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
.collab-matrix-section p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }

.matrix-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.matrix-module-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3.5rem 3rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.module-border-glow {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid transparent;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.matrix-module-card:hover {
    border-color: rgba(255, 94, 0, 0.2);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.matrix-module-card:hover .module-border-glow {
    border-color: var(--border-premium-hover);
    box-shadow: inset 0 0 15px rgba(255, 94, 0, 0.03);
}

.module-header {
    margin-bottom: 1.5rem;
}

.module-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.matrix-module-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
}

.matrix-module-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .matrix-modules-grid { grid-template-columns: 1fr; }
    .matrix-module-card { padding: 2.5rem 2rem; }
}

/* --- SECTION 4: BENTO OBJECTIVES --- */
.objectives-box {
    max-width: 1100px;
    margin: 0 auto;
}

.objectives-box h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.section-lead-text { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 4rem; max-width: 700px; line-height: 1.6; }

.objectives-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.objective-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.objective-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.objective-item h4 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.objective-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

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

/* --- SECTION 5: GATEWAY PANEL --- */
.gateway-panel {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 6rem 4rem;
    overflow: hidden;
    text-align: center;
}

.gateway-panel-glow {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    top: -100px; left: -100px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.gateway-panel-content { position: relative; z-index: 2; }
.gateway-panel h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin: 1.5rem 0 2rem 0; }
.gateway-panel p { color: var(--text-muted); font-size: 1.15rem; max-width: 750px; margin: 0 auto 4rem auto; line-height: 1.7; }

.gateway-button-matrix {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .gateway-panel { padding: 4rem 2rem; }
    .gateway-button-matrix { flex-direction: column; align-items: stretch; }
    .gateway-button-matrix .btn-premium-filled,
    .gateway-button-matrix .btn-premium-outline { text-align: center; justify-content: center; width: 100%; }
}