/* Collaborate Conference System - Professional Styles */

:root {
    --primary: #0e72ed;
    --primary-dark: #0a5fcc;
    --secondary: #1e7f6e;
    --dark: #0b2f3c;
    --gray-bg: #f9fafc;
    --border: #e9edf2;
    --text: #1f3346;
    --text-light: #4a627a;
    --shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 32px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: var(--text);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    cursor: pointer;
}

.logo i {
    background: none;
    color: var(--primary);
    margin-right: 8px;
}

/* Buttons */
.btn-primary, .btn-outline {
    padding: 10px 26px;
    border-radius: 40px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid var(--primary);
    background: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    padding: 80px 0 56px;
    text-align: center;
}

.hero h1 {
    font-size: 3.7rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(145deg, var(--dark), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 32px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.modal-content h3 {
    margin: 16px 0;
    font-size: 1.8rem;
}

.modal-content input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.1rem;
    border: 2px solid var(--border);
    border-radius: 60px;
    margin: 20px 0;
    font-family: monospace;
    text-align: center;
    letter-spacing: 2px;
}

.code-display {
    background: #f0f5fe;
    padding: 16px;
    border-radius: 60px;
    font-family: monospace;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 6px;
    margin: 20px 0;
    color: var(--primary);
}

/* Video Call Interface */
.video-call-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    z-index: 2000;
    display: none;
    flex-direction: column;
}

.video-grid {
    flex: 1;
    position: relative;
    background: #0f0f1a;
}

.self-video {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 280px;
    height: 210px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #2d2d3a;
    z-index: 10;
}

.self-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remote-video {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 360px;
    height: 270px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #2d2d3a;
    z-index: 10;
}

.remote-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.call-controls {
    background: #0f0f1a;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid #333;
}

.call-controls button {
    background: #2d2d3a;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.end-call {
    background: #e74c3c !important;
}

.status-msg {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.9rem;
    z-index: 20;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 36px;
    background: white;
    border: 1px solid var(--border);
    transition: all 0.25s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    background: #eef3fe;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--primary);
}

/* Partner Section */
.partner-section {
    background: var(--gray-bg);
    border-radius: 48px;
    padding: 56px 40px;
    text-align: center;
    margin: 40px 0;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.partner-item {
    background: white;
    border-radius: 80px;
    padding: 14px 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .self-video {
        width: 160px;
        height: 120px;
    }
    
    .remote-video {
        width: 220px;
        height: 165px;
        bottom: 80px;
    }
    
    .navbar {
        flex-direction: column;
    }
    
    .nav-links {
        gap: 20px;
    }
}