/* K4 Specific Styles */

:root {
    --k4-primary: #6d28d9;
    --k4-primary-dark: #5b21b6;
    --k4-primary-light: #8b5cf6;
    --k4-secondary: #10b981;
    --k4-secondary-dark: #059669;
    --k4-secondary-light: #34d399;
    --k4-quantum: #8b5cf6;
    --k4-ai: #ec4899;
    --k4-distributed: #3b82f6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--k4-primary-dark), var(--k4-primary));
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-code {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    overflow: hidden;
}

.hero-code pre {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.hero-code code {
    font-family: 'JetBrains Mono', monospace;
    color: #f8f8f2;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f9fafb;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--k4-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--k4-primary);
}

.feature-card:nth-child(1) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
    color: var(--k4-quantum);
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
    color: var(--k4-ai);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
    color: var(--k4-distributed);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Quantum Section */
.quantum {
    padding: 80px 0;
    background-color: #f5f3ff;
}

.quantum h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--k4-quantum);
}

.quantum-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.quantum-text ul {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
}

.quantum-text li {
    margin-bottom: 0.5rem;
}

.quantum-code {
    background-color: #1e1e3f;
    border-radius: 8px;
    overflow: hidden;
}

.quantum-code pre {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.quantum-code code {
    font-family: 'JetBrains Mono', monospace;
    color: #f8f8f2;
}

/* AI Section */
.ai {
    padding: 80px 0;
    background-color: #fdf2f8;
}

.ai h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--k4-ai);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ai-text ul {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
}

.ai-text li {
    margin-bottom: 0.5rem;
}

.ai-code {
    background-color: #1e1e3f;
    border-radius: 8px;
    overflow: hidden;
}

.ai-code pre {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.ai-code code {
    font-family: 'JetBrains Mono', monospace;
    color: #f8f8f2;
}

/* Distributed Section */
.distributed {
    padding: 80px 0;
    background-color: #eff6ff;
}

.distributed h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--k4-distributed);
}

.distributed-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.distributed-text ul {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
}

.distributed-text li {
    margin-bottom: 0.5rem;
}

.distributed-code {
    background-color: #1e1e3f;
    border-radius: 8px;
    overflow: hidden;
}

.distributed-code pre {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.distributed-code code {
    font-family: 'JetBrains Mono', monospace;
    color: #f8f8f2;
}

/* Download Section */
.download {
    padding: 80px 0;
    text-align: center;
}

.download h2 {
    margin-bottom: 1.5rem;
    color: var(--k4-primary);
}

.download p {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.download-option {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--k4-primary);
}

.download-option h3 {
    margin-bottom: 0.5rem;
}

.download-option p {
    margin-bottom: 1.5rem;
}

.download-btn {
    background-color: var(--k4-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.download-btn:hover {
    background-color: var(--k4-primary-dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .quantum-content,
    .ai-content,
    .distributed-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .download-option {
        padding: 1.5rem;
    }
}