
/* =======================
   STYLES FOR INTRODUCTORY PAGES
   (index.html, history.html, blockchain.html)
========================== */

/* ===== INDEX.HTML SPECIFIC ===== */

/* Analogy Section */
.analogy-section {
    margin-bottom: 3rem;
}

.analogy-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.analogy-item {
    background: var(--color-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.arrow {
    font-size: 2rem;
    color: var(--blue);
    font-weight: bold;
}

@media (max-width: 768px) {
    .analogy-box {
        flex-direction: column;
        gap: 20px;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
}

/* Property Cards */
.property {
    background: var(--color-card);
    padding: 24px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s ease;
}

.property:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Usage Items Content */
.usage-item div h4 {
    margin-bottom: 8px;
    color: var(--blue);
}

.usage-item div p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-gray);
}

.usage-item div p strong {
    color: var(--text-white);
}

/* ===== HASH DEMONSTRATION ===== */

/* Hash Demo Flow */
.hash-demo {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.input-side {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-label {
    font-size: 0.9rem;
    color: var(--text-light-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-box {
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    text-align: center;
    width: 100%;
    max-width: 750px; /* Aumentado como pediste */
}

.input-demo {
    background: rgba(108, 117, 125, 0.1);
    border: 2px dashed var(--border);
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 500;
}

.output-demo {
    background: rgba(25, 135, 84, 0.1);
    border: 2px solid var(--green);
    color: var(--green);
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-all;
}

.arrow-down {
    font-size: 1.2rem;
    color: var(--purple);
    font-weight: bold;
    margin: 0.5rem 0;
}

.algorithm-box {
    padding: 0.6rem 1.2rem;
    background: rgba(111, 66, 193, 0.1);
    border: 1px solid var(--purple);
    border-radius: 8px;
    color: var(--purple);
    font-style: italic;
    font-size: 0.9rem;
}

/* Avalanche Effect Comparison */
.avalanche-demo {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.comparison-card {
    background: var(--color-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
}

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

.comparison-card:first-child {
    border-color: var(--blue);
}

.comparison-card:last-child {
    border-color: var(--orange);
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.comparison-label {
    font-weight: 600;
    color: var(--text-gray);
}

.comparison-input {
    font-family: 'Courier New', monospace;
    color: var(--blue);
    font-weight: 500;
    font-size: 1.1rem;
}

.comparison-hash {
    font-family: 'Courier New', monospace;
    color: var(--green);
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-all;
    padding: 1rem;
    background: rgba(25, 135, 84, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(25, 135, 84, 0.2);
}

/* Avalanche Insight Box */
.avalanche-insight {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(253, 126, 20, 0.1);
    border-radius: 12px;
    border-left: 5px solid var(--orange);
}

.insight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.insight-text {
    color: var(--text-gray);
    line-height: 1.5;
}

.insight-text strong {
    color: var(--orange);
}