/* OEMS Page Specific Styles */

/* Hero Section */
.oems-hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.05) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.oems-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #00ff88;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #00ff88;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:first-child {
    border-top: none;
}

.feature-list li::before {
    content: "→";
    color: #00ff88;
    margin-right: 0.75rem;
}

/* Technical Specifications */
.tech-specs {
    padding: 80px 0;
    background: #000000;
}

.specs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.specs-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.specs-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.spec-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.spec-value {
    color: #00ff88;
    font-weight: 600;
    font-size: 1.1rem;
}

.tech-stack {
    margin-top: 2rem;
}

.stack-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stack-badge {
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #00ff88;
}

/* Performance Chart */
.performance-chart {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.chart-header {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 250px;
    padding-top: 20px;
}

.bar {
    width: 60px;
    background: linear-gradient(180deg, #00ff88, rgba(0, 255, 136, 0.3));
    border-radius: 4px 4px 0 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: all 0.3s ease;
}

.bar:hover {
    transform: scaleY(1.05);
}

.bar span {
    position: absolute;
    top: -25px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

/* Integration Section */
.integration {
    padding: 80px 0;
    background: #0a0a0a;
}

.integration-header {
    text-align: center;
    margin-bottom: 3rem;
}

.integration-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.integration-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

/* Code Examples */
.code-examples {
    max-width: 900px;
    margin: 0 auto;
}

.code-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.code-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.code-tab.active {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.code-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.code-content {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.code-block {
    display: none;
    padding: 2rem;
}

.code-block.active {
    display: block;
}

.code-block pre {
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-content {
        grid-template-columns: 1fr;
    }
    
    .specs-visual {
        display: none;
    }
    
    .code-tabs {
        flex-wrap: wrap;
    }
    
    .code-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}