/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    border: 2px solid #e5e7eb;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-hero {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    justify-content: center;
}

.btn-hero i {
    font-size: 14px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin: 32px 0;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-hero {
        width: 100%;
        max-width: 280px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.nav-brand i {
    color: #2563eb;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.github-link:hover {
    background: #333;
    color: white !important;
    border-color: #333;
}

.github-link i {
    font-size: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.hero-badge.open-source {
    background: rgba(34, 34, 34, 0.1);
    color: #333;
    border: 1px solid rgba(34, 34, 34, 0.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

/* Hero Demo */
.hero-demo {
    position: relative;
}

.demo-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.demo-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.demo-arrow {
    width: 48px;
    height: 48px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.demo-arrow:hover {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.demo-arrow i {
    font-size: 16px;
}

.demo-arrow-left {
    order: -1;
}

.demo-arrow-right {
    order: 1;
}

.demo-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none;
}

.demo-window.active {
    display: block;
    animation: fadeInDemo 0.5s ease;
}

.demo-header {
    background: #f8f9fa;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e9ecef;
}

.demo-dots {
    display: flex;
    gap: 6px;
}

.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
}

.demo-dots span:nth-child(1) { background: #ff5f56; }
.demo-dots span:nth-child(2) { background: #ffbd2e; }
.demo-dots span:nth-child(3) { background: #27ca3f; }

.demo-title {
    font-weight: 600;
    color: #495057;
}

.demo-content {
    padding: 24px;
    min-height: 200px;
}

.demo-message {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
}

.demo-message.user {
    background: #2563eb;
    color: white;
    margin-left: auto;
}

.demo-message.ai {
    background: #f8f9fa;
    color: #333;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Demo Indicators */
.demo-indicators {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.demo-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.demo-indicator:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.demo-indicator.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.demo-indicator i {
    font-size: 14px;
}

.demo-indicator span {
    font-size: 14px;
}

@media (max-width: 768px) {
    .demo-carousel {
        flex-direction: column;
        gap: 16px;
    }

    .demo-arrow {
        display: none;
    }

    .demo-indicators {
        gap: 8px;
    }

    .demo-indicator span {
        display: none;
    }

    .demo-indicator {
        padding: 12px;
        min-width: 48px;
        justify-content: center;
    }
}

/* Demo Window States */
.demo-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none;
}

.demo-window.active {
    display: block;
    animation: fadeInDemo 0.5s ease;
}

@keyframes fadeInDemo {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-header p {
    font-size: 20px;
    color: #666;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.problem-card {
    text-align: center;
    padding: 32px;
    border-radius: 12px;
    background: #f8f9fa;
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.problem-icon i {
    font-size: 32px;
    color: white;
}

.problem-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.problem-card p {
    color: #666;
    line-height: 1.6;
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.solution h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.solution-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.solution-features {
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-item i {
    color: #4caf50;
    font-size: 18px;
}

/* Integration Flow */
.integration-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.flow-step {
    text-align: center;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}

.flow-step.highlight .flow-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.flow-icon i {
    font-size: 28px;
    color: white;
}

.flow-label {
    font-size: 14px;
    font-weight: 600;
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
}

/* Use Cases Section */
.use-cases {
    padding: 80px 0;
    background: #f8f9fa;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.use-case-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.use-case-icon i {
    font-size: 24px;
    color: white;
}

.use-case-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.use-case-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.use-case-example {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.example-title {
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.example-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.use-case-result {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-weight: 600;
    font-size: 14px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Social Proof Section */
.social-proof {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonial {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-content {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
}

.author-title {
    font-size: 14px;
    color: #666;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand i {
    color: #2563eb;
    font-size: 28px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2563eb;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-copyright {
    color: #ccc;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .github-link span {
        display: none;
    }

    .github-link {
        padding: 8px;
        min-width: 40px;
        justify-content: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-badges {
        justify-content: center;
    }

    .solution-content {
        grid-template-columns: 1fr;
    }

    .integration-flow {
        flex-direction: column;
        gap: 16px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animation.animate {
    opacity: 1;
    transform: translateY(0);
}

/* LLM Compatibility Section */
.llm-compatibility {
    padding: 80px 0;
    background: #f8f9fa;
}

.llm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.llm-category h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
    text-align: center;
}

.llm-list {
    display: grid;
    gap: 16px;
}

.llm-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.llm-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.llm-item i {
    font-size: 20px;
    color: #3b82f6;
    width: 24px;
    text-align: center;
}

.llm-item span {
    font-weight: 500;
    color: #333;
}

.llm-note {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}

.llm-note i {
    font-size: 20px;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .llm-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .llm-item {
        padding: 12px 16px;
    }

    .llm-note {
        padding: 20px;
        font-size: 15px;
    }
}

/* Value Comparison Section */
.value-comparison {
    margin: 30px 0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.comparison-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-button.active {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.tab-button:hover:not(.active) {
    border-color: #3b82f6;
    background: #f1f5f9;
}

.tab-content {
    display: none;
}

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

.code-snippet {
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.code-header {
    background: #334155;
    padding: 12px 16px;
    font-weight: 600;
    color: #f1f5f9;
    font-size: 14px;
}

.code-snippet pre {
    padding: 20px;
    margin: 0;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    overflow-x: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #ecfdf5;
    border-radius: 8px;
    color: #065f46;
    font-weight: 500;
}

.benefit i {
    color: #10b981;
}

/* Why Choose Platform Section */
.why-choose-platform {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.architecture-diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.diy-approach, .platform-approach {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.diy-approach h3 {
    color: #dc2626;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-approach h3 {
    color: #059669;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.architecture-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.layer {
    padding: 12px 16px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

.layer.user-code {
    background: #dbeafe;
    color: #1e40af;
    border: 2px solid #3b82f6;
}

.layer.platform {
    background: #10b981;
    color: white;
    font-weight: 600;
}

.layer.integration, .layer.auth, .layer.monitoring, .layer.infrastructure {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.layer.servers {
    background: #e5e7eb;
    color: #374151;
    border: 1px solid #9ca3af;
}

.complexity-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.text-danger { color: #dc2626; }
.text-warning { color: #f59e0b; }
.text-success { color: #10b981; }

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-prop {
    text-align: center;
    padding: 20px;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
}

.value-prop h4 {
    margin-bottom: 10px;
    color: #1f2937;
}

.value-prop p {
    color: #6b7280;
    line-height: 1.6;
}

.value-prop code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #1f2937;
}

/* Quick FAQ Section */
.quick-faq {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.faq-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.faq-question i {
    color: #3b82f6;
    font-size: 20px;
    margin-top: 2px;
}

.faq-question h4 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.faq-answer {
    margin-left: 32px;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.faq-answer code {
    background: #e5e7eb;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #1f2937;
}

.faq-answer em {
    font-style: italic;
    color: #6b7280;
}

.faq-cta {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 1px solid #bae6fd;
}

.faq-cta p {
    margin: 0;
    color: #0c4a6e;
    font-size: 16px;
}

.faq-cta a {
    color: #0369a1;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.faq-cta a:hover {
    border-bottom-color: #0369a1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .architecture-diagram {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-tabs {
        flex-direction: column;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .value-props {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-answer {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Open Source Components Section */
.open-source-components {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.open-source-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.component-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.platform-card {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
}

.component-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.component-icon i {
    color: white;
    font-size: 24px;
}

.platform-card .component-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, #4f46e5 100%);
}

.component-card h3 {
    margin: 0 0 15px 0;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
}

.component-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.component-card h3 a:hover {
    color: var(--accent-color);
}

.component-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.component-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: #e2e8f0;
    color: #475569;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-tag.pro {
    background: linear-gradient(135deg, var(--accent-color) 0%, #4f46e5 100%);
    color: white;
}

.open-source-cta {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.open-source-cta h3 {
    margin: 0 0 15px 0;
    color: var(--text-dark);
    font-size: 1.6rem;
    font-weight: 600;
}

.open-source-cta p {
    color: var(--text-muted);
    margin: 0 0 30px 0;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .open-source-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }

    .component-card {
        padding: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Platform vs Open Source Comparison Section */
.comparison-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.comparison-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.comparison-platform-card {
    border-color: #3b82f6;
    position: relative;
}

.comparison-platform-card::before {
    content: "RECOMMENDED";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.comparison-opensource-card {
    border-color: #6b7280;
}

.card-header {
    text-align: center;
    margin-bottom: 32px;
}

.card-header i {
    font-size: 48px;
    margin-bottom: 16px;
}

.comparison-platform-card .card-header i {
    color: #3b82f6;
}

.comparison-opensource-card .card-header i {
    color: #6b7280;
}

.card-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #1f2937;
}

.card-subtitle {
    color: #6b7280;
    font-size: 16px;
}

.card-features {
    margin-bottom: 32px;
}

.card-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.card-features .feature-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.text-muted {
    color: #9ca3af;
}

.card-cta {
    text-align: center;
}

.card-cta .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.btn-outline {
    background: transparent;
    color: #6b7280;
    border: 2px solid #d1d5db;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #6b7280;
    color: #374151;
}

.pricing-note {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .comparison-card {
        padding: 30px 20px;
    }

    .card-header h3 {
        font-size: 24px;
    }
}
