/**
 * Delta BOM Management System - Block Patterns Styles
 * Styles for the delta landing page block patterns
 */

:root {
    --delta-primary: #00d4ff;
    --delta-secondary: #6496ff;
    --delta-dark: #0f0f1e;
    --delta-light: #e0e0e0;
    --delta-text: #b0b0d0;
    --delta-bg: rgba(20, 30, 50, 0.8);
    --delta-red: #ff3232;
    --delta-orange: #ff9632;
    --delta-yellow: #ffc832;
    --delta-blue: #3296ff;
    --delta-green: #32c864;
}

/* Delta Container */
.delta-container {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    color: var(--delta-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Delta Sections */
.delta-section {
    border: 2px solid var(--delta-primary);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

.delta-section h2 {
    border-bottom: 2px solid var(--delta-primary);
}

.delta-section p {
    line-height: 1.6;
}

/* Flow Diagram */
.delta-flow-diagram {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.delta-flow-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(160, 160, 255, 0.1) 100%);
    border: 2px solid var(--delta-primary);
    border-radius: 10px;
    animation: slideIn 0.6s ease-out;
}

.delta-flow-box h3 {
    color: var(--delta-primary);
    margin-bottom: 10px;
    font-size: 1.3em;
}

.delta-flow-box p {
    color: #c0c0c0;
    margin: 0;
}

.delta-arrow-down {
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Signal Boxes */
.delta-signal-box {
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.15) 0%, rgba(50, 100, 200, 0.15) 100%);
    border: 2px solid #6496ff;
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-out;
}

.delta-signal-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(100, 150, 255, 0.3);
    border-color: var(--delta-primary);
}

.delta-signal-box h3 {
    color: #6496ff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.delta-signal-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #6496ff 0%, var(--delta-primary) 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    font-weight: bold;
}

.delta-signal-box p {
    color: #b0b0d0;
    font-size: 0.95em;
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Zone System */
.delta-zone {
    border: 3px solid;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.delta-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.delta-zone:hover::before {
    opacity: 1;
}

.delta-zone:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.delta-zone-red {
    background: linear-gradient(135deg, rgba(255, 50, 50, 0.2) 0%, rgba(200, 30, 30, 0.2) 100%);
    border-color: #ff3232;
    color: #ff6464;
}

.delta-zone-orange {
    background: linear-gradient(135deg, rgba(255, 150, 50, 0.2) 0%, rgba(200, 100, 30, 0.2) 100%);
    border-color: #ff9632;
    color: #ffb366;
}

.delta-zone-yellow {
    background: linear-gradient(135deg, rgba(255, 200, 50, 0.2) 0%, rgba(200, 150, 30, 0.2) 100%);
    border-color: #ffc832;
    color: #ffe066;
}

.delta-zone-blue {
    background: linear-gradient(135deg, rgba(50, 150, 255, 0.2) 0%, rgba(30, 100, 200, 0.2) 100%);
    border-color: #3296ff;
    color: #64b0ff;
}

.delta-zone-green {
    background: linear-gradient(135deg, rgba(50, 200, 100, 0.2) 0%, rgba(30, 150, 80, 0.2) 100%);
    border-color: #32c864;
    color: #64ff96;
}

.delta-zone-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.delta-zone h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.delta-zone p {
    font-size: 0.9em;
    line-height: 1.5;
}

/* Benefits Grid */
.delta-benefit-card {
    transition: all 0.3s ease;
}

.delta-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.delta-benefit-card h3 {
    margin-bottom: 10px;
}

.delta-benefit-card p {
    font-size: 0.95em;
}

/* Implementation Box */
.delta-implementation-box {
    border-radius: 12px;
}

.delta-implementation-box h3 {
    margin-bottom: 20px;
}

.delta-phase {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 4px solid var(--delta-primary);
}

.delta-phase h4 {
    margin-bottom: 10px;
}

.delta-phase p {
    font-size: 0.9em;
    margin: 0;
}

/* CTA Section */
.delta-cta-section {
    text-align: center;
}

.delta-cta-section h2 {
    border-bottom: none;
}

.delta-cta-section p {
    font-size: 1.1em;
    margin: 20px 0;
}

.delta-cta-button {
    background: linear-gradient(135deg, var(--delta-primary) 0%, var(--delta-secondary) 100%);
    color: var(--delta-dark);
    border: 2px solid var(--delta-primary);
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
}

.delta-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

/* Header Title */
.delta-header-title {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .delta-section h2 {
        font-size: 1.5em;
    }

    .delta-flow-box {
        padding: 15px;
    }

    .delta-flow-box h3 {
        font-size: 1.1em;
    }
}
