/* Specifické styly pro proc-bitcoin.php */

/* Page header s ikonou */
.page-header {
    margin-bottom: 2rem;
}

.page-title-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.page-title-container h1 {
    margin-bottom: 0;
    flex: 1;
    z-index: 1;
}

.page-icon {
    position: absolute;
    right: -20px;
    top: -10px;
    flex-shrink: 0;
    opacity: 0.9;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(225, 29, 72, 0.15));
    z-index: 2;
}

.page-icon:hover {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(225, 29, 72, 0.25));
}

.page-icon svg {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(1deg); }
    50% { transform: translateY(-6px) rotate(0deg); }
    75% { transform: translateY(-3px) rotate(-1deg); }
}

.page-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Highlight boxy */
.highlight-box {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, rgba(225, 29, 72, 0.05) 100%);
    border-left: 4px solid #e11d48;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    font-weight: 500;
}

.highlight-text {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid #22c55e;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-weight: 500;
}

.warning-box {
    background: rgba(245, 101, 101, 0.1);
    border-left: 4px solid #f56565;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-weight: 500;
}

/* Osnova stránky */
.page-outline {
    background: rgba(225, 29, 72, 0.05);
    border-left: 4px solid #e11d48;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0 3rem 0;
}

.page-outline h3 {
    color: #e11d48;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.outline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.outline-list li {
    margin-bottom: 0.5rem;
}

.outline-list a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.outline-list a:hover {
    color: #e11d48;
    text-decoration: underline;
}

/* Content subsections */
.content-subsection {
    margin-top: 3rem;
    scroll-margin-top: 120px;
}

.content-subsection:first-child {
    margin-top: 2rem;
}

/* Funkce měny */
.currency-functions {
    margin: 2rem 0;
}

.function-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.function-number {
    background: #e11d48;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.function-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.function-content p {
    margin: 0;
    color: #666;
}

/* Porovnání měn */
.currency-comparison {
    margin: 3rem 0;
}

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

.comparison-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.fiat-card {
    border-color: rgba(239, 68, 68, 0.2);
}

.bitcoin-card {
    border-color: rgba(34, 197, 94, 0.2);
}

.comparison-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.currency-symbol-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bitcoin-card .bitcoin-symbol {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.grade-item {
    margin-bottom: 2rem;
}

.grade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.grade {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.grade-1 { background: #22c55e; }
.grade-2 { background: #84cc16; }
.grade-3 { background: #f59e0b; }
.grade-4 { background: #ef4444; }

.grade-item ul {
    margin-left: 1rem;
    color: #666;
}

.grade-item ul li {
    margin-bottom: 0.5rem;
}

.grade-item a {
    color: #3b82f6;
    text-decoration: none;
}

.grade-item a:hover {
    text-decoration: underline;
}

.conclusion-box {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #1a1a1a;
}

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(225, 29, 72, 0.15);
    border-color: #e11d48;
}

.benefit-card.highlight {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, rgba(225, 29, 72, 0.05) 100%);
    border-color: #e11d48;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.example-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.external-icon {
    display: inline;
    margin-left: 0.25rem;
    vertical-align: middle;
}

/* Reasons grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.reason-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.reason-card h3 {
    color: #e11d48;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.reason-card p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Business benefits */
.business-benefits {
    margin: 2rem 0;
}

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

.intro-text p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
}

.benefits-list {
    margin: 2rem 0 3rem 0;
}

.business-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.business-benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(225, 29, 72, 0.1);
    border-color: rgba(225, 29, 72, 0.2);
}

.benefit-number {
    background: linear-gradient(135deg, #e11d48 0%, #be185d 100%);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.benefit-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.cta-section {
    margin-top: 3rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        align-items: center;
    }
    
    .page-icon {
        position: static;
        transform: scale(0.8);
        right: auto;
        top: auto;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .function-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .business-benefit {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .grade-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .page-outline {
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .page-intro {
        font-size: 1rem;
    }
    
    .benefit-card h4 {
        font-size: 1.1rem;
    }
    
    .reason-card h3 {
        font-size: 1.2rem;
    }
    
    .comparison-card {
        padding: 1.5rem;
    }
    
    .business-benefit {
        padding: 1rem;
    }
}
