/* collaboration.css */
:root {
    --collab-primary: #6C5DD3;
    --collab-secondary: #00D2D3;
    --collab-accent: #FF6B6B;
    --collab-surface: rgba(255, 255, 255, 0.7);
    --collab-glass: rgba(255, 255, 255, 0.2);
    --collab-glass-border: rgba(255, 255, 255, 0.3);
    --collab-text: #1B1B1F;
    --collab-text-secondary: #5f6368;
}

body {
    background-color: #F7F9FC;
    color: var(--collab-text);
    overflow-x: hidden;
}

/* --- Hero Section --- */
.collab-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatOrb 15s infinite ease-in-out;
}

.orb-1 {
    width: 40vw;
    height: 40vw;
    background: #E0DAFF;
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 35vw;
    height: 35vw;
    background: #C4F5F5;
    bottom: 10%;
    right: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 25vw;
    height: 25vw;
    background: #FFD6D6;
    top: 40%;
    left: 40%;
    animation-delay: -8s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -50px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--collab-primary), #2a2a72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--collab-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* --- Glass Buttons --- */
.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: rgba(108, 93, 211, 1);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 10px 20px rgba(108, 93, 211, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(108, 93, 211, 0.4);
}

.btn-glass-secondary {
    background: white;
    color: var(--collab-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- Real-Time Demo Container --- */
.demo-container {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    height: 500px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
}

.demo-container:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.demo-header {
    height: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 12px;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    w: 12px;
    h: 12px;
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

.dot-r {
    background: #FF5F56;
}

.dot-y {
    background: #FFBD2E;
}

.dot-g {
    background: #27C93F;
}

.demo-avatars {
    margin-left: auto;
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    background-size: cover;
}

.demo-canvas {
    padding: 40px;
    position: relative;
    height: calc(100% - 60px);
}

/* --- Features Section --- */
.collab-features {
    padding: 100px 0;
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 93, 211, 0.1);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: #F0EDFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--collab-primary);
    font-size: 32px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.feature-card p {
    color: var(--collab-text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Feature Visuals (Mini UIs inside cards) */
.mini-ui {
    background: #F7F9FC;
    border-radius: 16px;
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Specific Feature Styling */
.cursor-float {
    position: absolute;
    padding: 4px 12px;
    background: var(--collab-primary);
    color: white;
    border-radius: 20px 20px 20px 0;
    font-size: 12px;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.2s;
}

/* --- Deep Dive Section (Dark Mode Style) --- */
.deep-dive {
    background: #111;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.deep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.glow-text {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.dark-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .deep-grid {
        grid-template-columns: 1fr;
    }

    .demo-container {
        height: 350px;
    }
}

/* --- Interactive Productivity Hub --- */
.productivity-hub {
    padding: 100px 0;
    background: #fff;
}

.hub-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .hub-grid {
        grid-template-columns: 1fr;
    }
}

.hub-card {
    background: #FAFBFC;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

/* Kanban Styles */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    height: 400px;
}

.kanban-column {
    background: #F4F5F7;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.column-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #5E6C84;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.column-header .count {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0 8px;
    font-size: 0.75rem;
}

.kanban-items {
    flex-grow: 1;
    min-height: 50px;
    /* Drop target area */
}

.kanban-item {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
}

.kanban-item:active {
    cursor: grabbing;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.kanban-item.dragging {
    opacity: 0.5;
}

.kanban-column.drag-over {
    background: #E2E4E9;
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tag-design {
    background: #EAE6FF;
    color: #403294;
}

.tag-dev {
    background: #E3FCEF;
    color: #006644;
}

.tag-marketing {
    background: #FFEBE6;
    color: #BF2600;
}

.kanban-item p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.avatars-sm {
    display: flex;
}

.avatar-sm {
    width: 24px;
    height: 24px;
    background: #ccc;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -8px;
}

/* Chart Styles */
.chart-wrapper {
    height: 300px;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.chart-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-item .label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
}

.stat-item .value {
    font-size: 1.2rem;
    font-weight: 700;
}

.stat-item .success {
    color: #27C93F;
}

.chart-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    cursor: pointer;
}

.chart-btn.active {
    background: var(--collab-primary);
    color: white;
    border-color: var(--collab-primary);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #27C93F;
    font-size: 0.8rem;
    font-weight: 600;
}

.blink {
    width: 8px;
    height: 8px;
    background: #27C93F;
    border-radius: 50%;
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* --- Partners Section --- */
.partners-section {
    padding: 80px 0;
    background: #F7F9FC;
    text-align: center;
    overflow: hidden;
}

.partners-label {
    font-size: 1rem;
    color: var(--collab-text-secondary);
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #F7F9FC, transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #F7F9FC, transparent);
}

.marquee-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #9CA3AF;
    transition: color 0.3s;
    user-select: none;
}

.partner-logo:hover {
    color: var(--collab-primary);
}

.partner-logo .material-icons {
    font-size: 2rem;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Move half way because list is duplicated */
}