/* Electros Page Styles */
@import url('./style.css');

/* Download Section Styles */
.download-buttons {
    margin-top: var(--space-lg);
}

.download-option {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-option h4 {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.arch-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.arch-buttons .btn {
    flex: 1;
    text-align: center;
    font-weight: 600;
}

.download-info {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: var(--space-xs);
}

/* Alternative Downloads - now at same level */
.alt-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Checksums Section */
.checksums-section {
    margin-top: var(--space-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.checksums-section summary {
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-secondary);
    cursor: pointer;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.checksums-section summary:hover {
    background: var(--bg-primary);
}

.checksums-grid {
    padding: var(--space-md);
    display: grid;
    gap: var(--space-md);
}

.checksum-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.checksum-group strong {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.checksum {
    font-family: monospace;
    background: var(--bg-secondary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.75rem;
    word-break: break-all;
}

/* Button States */
.download-btn.download-ready {
    background: var(--green);
    border-color: var(--green);
}

.download-btn.download-error {
    background: var(--red);
    border-color: var(--red);
    opacity: 0.7;
}

.checksum.checksum-ready {
    color: var(--text-primary);
    background: var(--bg-primary);
}

/* Protocols Grid Styles */
.protocols-grid-container {
    margin-top: var(--space-lg);
}

.protocols-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.protocol-card {
    background: var(--glassmorphism-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glassmorphism-border);
    border-radius: var(--card-border-radius);
    padding: var(--space-xl);
    box-shadow: var(--glassmorphism-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.protocol-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glassmorphism-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.protocol-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: var(--glassmorphism-border);
}

.protocol-card:hover::before {
    opacity: 1;
}

.protocol-card > * {
    position: relative;
    z-index: 1;
}

.protocol-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.protocol-card:hover .protocol-icon {
    transform: scale(1.05);
}

.protocol-card h5 {
    margin-bottom: var(--space-md);
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.protocol-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .arch-buttons {
        flex-direction: column;
    }
    
    .alt-buttons {
        flex-direction: column;
    }
    
    .protocols-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .protocol-card {
        padding: var(--space-lg);
    }
    
    .protocol-icon {
        font-size: 2rem;
        height: 3rem;
        margin-bottom: var(--space-md);
    }
    
    .protocol-card h5 {
        font-size: 1.1rem;
    }
    
    .protocol-card p {
        font-size: 0.9rem;
    }
}

/* Future Enhancements Styles */
.future-enhancements {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.future-enhancements:hover {
    opacity: 1;
}

.future-icon {
    text-align: center;
    margin-bottom: var(--space-md);
}

.future-icon i {
    font-size: 1.5rem;
}

.future-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.future-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
}

.future-indicator {
    color: var(--text-secondary);
    opacity: 0.5;
    font-size: 1.2rem;
    font-weight: 300;
} 

.floating-box-icon {
    color: var(--accent-color);
}

/* Customer testimonial — uses theme tokens only (no undefined --bg-secondary) */
.electros-customer-voice .container {
    display: flex;
    justify-content: center;
}

.electros-statement-figure {
    max-width: 44rem;
    margin: 0;
    width: 100%;
}

.electros-statement-balloon {
    position: relative;
    isolation: isolate;
    border: 1px solid color-mix(in srgb, var(--text-secondary) 22%, var(--card-bg-color));
    border-radius: 12px;
    padding: var(--space-xl) var(--space-2xl);
    background: color-mix(in srgb, var(--card-bg-color) 94%, var(--background-color));
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--primary-color) 12%, transparent),
        0 24px 48px rgba(0, 0, 0, 0.12);
}

.theme-dark .electros-statement-balloon,
.theme-high-contrast .electros-statement-balloon {
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--primary-color) 18%, transparent),
        0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Top-left accent bar (letterhead), not full width */
.electros-statement-balloon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: min(5.5rem, 28%);
    height: 3px;
    border-radius: 12px 0 2px 0;
    background: var(--primary-color);
}

/* No ::after tail — border triangles + drop-shadow cause square artifacts in several engines */

.electros-statement-balloon blockquote {
    margin: 0;
    padding-top: var(--space-xs);
    border: none;
    position: relative;
}

.electros-statement-balloon blockquote::before {
    content: '\201C';
    display: block;
    font-family: 'Argent Pixel Italic', 'Red Hat Display', sans-serif;
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    opacity: 0.95;
}

.electros-statement-balloon blockquote::after {
    content: '\201D';
    display: block;
    font-family: 'Argent Pixel Italic', 'Red Hat Display', sans-serif;
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    line-height: 1;
    color: var(--primary-color);
    margin-top: var(--space-md);
    text-align: right;
    opacity: 0.95;
}

.electros-statement-balloon blockquote p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-color);
    letter-spacing: 0.01em;
}

.electros-statement-balloon blockquote p + p {
    margin-top: var(--space-md);
}

@media (max-width: 768px) {
    .electros-statement-balloon {
        padding: var(--space-lg) var(--space-lg);
        border-radius: 10px;
    }

    .electros-statement-balloon::before {
        border-radius: 10px 0 2px 0;
    }
}