/* Guide Article Styles */
.guide-article {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    line-height: 1.7;
}

.guide-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 2px solid var(--border-color);
}

.guide-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.guide-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.guide-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-light);
}

.guide-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Alert Boxes */
.danger-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.danger-alert h3 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.danger-alert ul {
    margin-bottom: 1rem;
}

.danger-alert li {
    margin-bottom: 0.5rem;
}

/* Table of Contents */
.table-of-contents {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.table-of-contents h3 {
    margin-bottom: 1rem;
}

.table-of-contents ol {
    list-style: none;
    counter-reset: toc-counter;
}

.table-of-contents li {
    counter-increment: toc-counter;
    margin-bottom: 0.5rem;
}

.table-of-contents li::before {
    content: counter(toc-counter) ". ";
    font-weight: 600;
    color: var(--primary-color);
}

.table-of-contents a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.table-of-contents a:hover {
    color: var(--primary-color);
}

/* Guide Sections */
.guide-section {
    margin: 3rem 0;
}

.guide-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.guide-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

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

.risk-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.risk-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Stat Highlight */
.stat-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.stat-highlight h3 {
    margin-bottom: 1rem;
    color: white;
}

.stat-highlight ul {
    list-style: none;
}

.stat-highlight li {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.stat-highlight strong {
    font-size: 1.5rem;
    display: inline-block;
    margin-right: 0.5rem;
}

/* Attack Types */
.attack-type {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 2rem 0;
    overflow: hidden;
}

.attack-type h3 {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
}

.attack-info {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.attack-description p {
    margin-bottom: 0.75rem;
}

.attack-protection {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.attack-protection h4 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.attack-protection ul {
    margin: 0;
}

/* Free Methods */
.free-methods {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.method-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.method-card h3 {
    background: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    margin: 0;
}

.method-steps {
    padding: 1.5rem;
}

.method-steps ol {
    margin: 1rem 0;
}

.pros-cons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.pros {
    color: var(--success-color);
    font-weight: 600;
}

.cons {
    color: #ef4444;
    font-weight: 600;
}

/* Checklist */
.checklist-container {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.checklist-container h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.checklist-container h3:first-child {
    margin-top: 0;
}

.checklist {
    margin-bottom: 2rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.checklist-item:hover {
    color: var(--primary-color);
}

.checklist-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-top: 2px;
}

.checklist-item input[type="checkbox"]:checked + .checkmark {
    background: var(--success-color);
    border-color: var(--success-color);
}

.checklist-item input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
}

/* VPN Comparison Mini */
.vpn-comparison-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.vpn-option {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.vpn-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.vpn-option h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.vpn-option ul {
    text-align: left;
    margin: 1.5rem 0;
}

.vpn-option li {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1rem 0;
}

.vpn-setup-guide {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.vpn-setup-guide h3 {
    margin-bottom: 1rem;
}

.vpn-setup-guide ol {
    margin: 0;
}

.vpn-setup-guide li {
    margin-bottom: 0.75rem;
}

/* Emergency Scenarios */
.emergency-scenarios {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.scenario {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.scenario h3 {
    padding: 1rem 1.5rem;
    margin: 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.scenario ol {
    padding: 1.5rem;
    margin: 0;
}

.scenario li {
    margin-bottom: 0.75rem;
}

/* Action Box */
.action-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
}

.action-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.action-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.action-step {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: white;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.step-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.action-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    transition: background 0.3s;
}

.action-link:hover {
    background: rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .guide-article {
        padding: 0 1rem;
    }
    
    .guide-header h1 {
        font-size: 2rem;
    }
    
    .guide-meta {
        gap: 1rem;
    }
    
    .attack-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vpn-comparison-mini {
        grid-template-columns: 1fr;
    }
    
    .action-steps {
        grid-template-columns: 1fr;
    }
    
    .action-step {
        flex-direction: column;
        text-align: center;
    }
}