/* Base Styles */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --accent-color: #ff006e;
    --text-color: #333;
    --light-text: #f8f9fa;
    --dark-bg: #1a1a2e;
    --card-bg: #ffffff;
    --gradient-start: #3a86ff;
    --gradient-end: #8338ec;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Platform colors */
    --livekit-color: #3a86ff;
    --zoom-color: #2D8CFF;
    --webex-color: #00bceb;
    --teams-color: #6264A7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f7fa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

/* Header & Navigation */
.header {
    height: 100vh;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.9), rgba(131, 56, 236, 0.9)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    color: var(--light-text);
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-text);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

.cta-button:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Parallax Sections */
.section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    transform: translateZ(-1px) scale(1.5);
}

.overview-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2074&q=80');
}

.features-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.comparison-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.deployment-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2034&q=80');
}

.conclusion-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1573164713988-8665fc963095?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 1;
    color: var(--light-text);
}

/* Cards */
.card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    color: var(--text-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Overview Section */
.key-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}

.point {
    flex: 1;
    min-width: 250px;
    margin: 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.point:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.point i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Comparison Section */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #ddd;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    margin: 0 0.5rem;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Enhanced Comparison Styles */
.comparison-visual {
    margin-bottom: 2rem;
}

.radar-chart-container, 
.bar-chart-container, 
.chart-container {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.chart-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chart-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    text-align: center;
}

.comparison-highlights {
    margin-bottom: 2rem;
}

.highlight-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.highlight-card.livekit {
    border-left-color: var(--livekit-color);
}

.highlight-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.highlight-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 0.8rem;
}

.highlight-card ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.highlight-card li {
    margin-bottom: 0.5rem;
}

.highlight {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.highlight.positive {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.comparison-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
}

tr:hover {
    background-color: #f5f5f5;
}

.note {
    font-size: 0.85rem;
    color: #666;
    text-align: left;
    padding: 0.5rem 1rem;
}

.fa-check {
    color: #28a745;
}

.fa-times {
    color: #dc3545;
}

/* Feature Grid Styles */
.feature-grid {
    margin-top: 2rem;
}

.feature-category {
    margin-bottom: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
}

.feature-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
}

.feature-name {
    font-weight: 600;
    flex: 1;
}

.platform-support {
    display: flex;
    gap: 1rem;
}

.platform {
    min-width: 100px;
    text-align: center;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.platform.livekit {
    background-color: rgba(58, 134, 255, 0.1);
}

.platform.zoom {
    background-color: rgba(45, 140, 255, 0.1);
}

.platform.webex {
    background-color: rgba(0, 188, 235, 0.1);
}

.platform.teams {
    background-color: rgba(98, 100, 167, 0.1);
}

/* Pricing Styles */
.pricing-models {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-model {
    flex: 1;
    min-width: 300px;
}

.pricing-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.pricing-tier {
    flex: 1;
    min-width: 250px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.pricing-tier ul {
    padding-left: 1.5rem;
    list-style-type: disc;
    margin: 1rem 0;
}

.pricing-comparison {
    flex: 2;
    min-width: 300px;
}

/* Scalability Styles */
.scalability-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.scalability-card {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
}

.scalability-card ul {
    padding-left: 1.5rem;
    list-style-type: disc;
    margin: 1rem 0;
}

/* Integration Styles */
.integration-options {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.integration-card {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
}

/* Deployment Section */
.deployment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.deployment-option {
    flex: 1;
    min-width: 250px;
    margin: 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.deployment-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.deployment-option i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.deployment-option ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.deployment-option li {
    margin-bottom: 0.5rem;
}

.deployment-steps {
    margin-top: 3rem;
}

.step {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

pre {
    background-color: #f1f1f1;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1rem 0;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

/* Conclusion Section */
.conclusion-points {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.conclusion-point {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.conclusion-point:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.conclusion-point i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 1.5px;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ddd;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .platform-support {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .platform {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-around;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .key-points, .deployment-options {
        flex-direction: column;
    }
    
    .point, .deployment-option {
        margin: 1rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .platform-support {
        margin-top: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .content-container {
        padding: 0 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
    }
    
    .nav-links li {
        margin: 0.5rem;
    }
    
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        margin: 0.3rem 0;
        width: 100%;
        text-align: center;
    }
}