/* article.css — guide/article page styles */

body.article .hero { padding: 40px 0 50px; text-align: center; }
body.article .content-section { padding: 70px 0; }
body.article .content-section:nth-child(even) { background: rgba(255, 255, 255, 0.015); }

body.article .section-header { text-align: center; margin-bottom: 45px; }

body.article .section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

body.article .section-header p {
    color: var(--text-muted);
    max-width: 650px; margin: 0 auto;
}

/* Steps */
.steps-container { max-width: 800px; margin: 0 auto; }

.step {
    display: flex; gap: 25px;
    margin-bottom: 40px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 27px; top: 60px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, var(--orange-border), transparent);
}

.step-number {
    width: 55px; height: 55px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--orange-border);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 600;
    flex-shrink: 0;
    color: var(--orange-light);
    box-shadow: inset 0 1px 0 rgba(212, 132, 58, 0.08);
}

.step-content {
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.step-content h3 {
    font-size: 1.15rem; font-weight: 600;
    margin-bottom: 12px; color: var(--text);
    font-family: 'Inter', sans-serif;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem; margin-bottom: 12px;
}

.step-content p:last-child { margin-bottom: 0; }

.step-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--orange-light); text-decoration: none;
    font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s;
}

.step-link:hover { color: var(--orange); }

/* Trouble cards */
.trouble-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 900px; margin: 0 auto;
}

.trouble-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.25s;
}

.trouble-card:hover { border-color: var(--glass-border-orange); }

.trouble-card h3 {
    font-size: 1rem; font-weight: 600;
    margin-bottom: 12px; color: var(--text);
    font-family: 'Inter', sans-serif;
}

.trouble-card p {
    color: var(--text-muted);
    font-size: 0.9rem; line-height: 1.7;
}

.trouble-card a { color: var(--orange-light); text-decoration: none; }
.trouble-card a:hover { text-decoration: underline; }

.security-warning {
    max-width: 720px; margin: 40px auto 0;
    background: var(--orange-subtle);
    border: 1px solid var(--orange-border);
    border-radius: 12px;
    padding: 25px 30px;
}

.security-warning h3 {
    font-size: 1rem; font-weight: 600;
    margin-bottom: 10px; color: var(--orange-light);
    font-family: 'Inter', sans-serif;
}

.security-warning p {
    color: rgba(228, 230, 235, 0.75);
    font-size: 0.95rem;
}

.security-warning a { color: var(--orange-light); text-decoration: none; }
.security-warning a:hover { text-decoration: underline; }

.sources-list {
    max-width: 720px; margin: 0 auto;
    list-style: none; padding: 0;
}

.sources-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.92rem; line-height: 1.6;
}

.sources-list li:last-child { border-bottom: none; }

.sources-list a {
    color: var(--orange-light);
    text-decoration: none; font-weight: 500;
}

.sources-list a:hover { text-decoration: underline; }

/* Compare table */
.compare-table-wrap {
    max-width: 900px; margin: 0 auto;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table th {
    background: var(--orange-subtle);
    color: var(--text);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.compare-table td {
    background: rgba(255, 255, 255, 0.015);
    color: var(--text-muted);
}

.compare-table td:first-child {
    font-weight: 500;
    color: rgba(228, 230, 235, 0.85);
}

.compare-table .better { color: var(--success); }

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 900px; margin: 0 auto;
}

.compare-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.compare-card.good { border-color: rgba(92, 184, 122, 0.35); }
.compare-card.bad { border-color: rgba(199, 92, 92, 0.35); }

.compare-card h3 {
    font-size: 1.05rem; font-weight: 600;
    margin-bottom: 12px; color: var(--text);
    font-family: 'Inter', sans-serif;
}

.compare-card p {
    color: var(--text-muted);
    font-size: 0.92rem; line-height: 1.7;
}

.compare-label {
    display: block;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.compare-card.good .compare-label { color: var(--success); }
.compare-card.bad .compare-label { color: #c75c5c; }

.good { color: var(--success); }
.bad { color: #c75c5c; }

/* Coin / bridge / wallet grids */
.coin-grid,
.bridge-grid,
.wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 900px; margin: 0 auto;
}

.coin-card,
.bridge-card,
.wallet-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    transition: border-color 0.25s;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.coin-card:hover,
.bridge-card:hover { border-color: var(--glass-border-orange); }

.coin-card h3,
.bridge-card h3,
.wallet-card h3 {
    font-size: 1.1rem; font-weight: 600;
    margin-bottom: 12px; color: var(--text);
    font-family: 'Inter', sans-serif;
}

.coin-card p,
.bridge-card p,
.wallet-card p {
    color: var(--text-muted);
    font-size: 0.92rem; line-height: 1.7;
    margin-bottom: 10px;
}

.coin-card p:last-child,
.wallet-card p:last-child { margin-bottom: 0; }

/* Level cards */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 960px; margin: 0 auto;
}

.level-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 28px;
    transition: border-color 0.25s;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.level-card:hover { border-color: var(--glass-border-orange); }

.level-card.recommended {
    border-color: rgba(92, 184, 122, 0.35);
    background: rgba(92, 184, 122, 0.06);
}

.level-badge {
    display: inline-block;
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 4px;
    margin-bottom: 14px;
}

.level-badge.standard {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.level-badge.safer {
    background: var(--orange-subtle);
    color: var(--orange-light);
}

.level-badge.safest {
    background: rgba(92, 184, 122, 0.12);
    color: var(--success);
}

.level-card h3 {
    font-size: 1.15rem; font-weight: 600;
    margin-bottom: 14px; color: var(--text);
    font-family: 'Inter', sans-serif;
}

.level-card ul { list-style: none; padding: 0; }

.level-card li {
    color: var(--text-muted);
    font-size: 0.92rem; margin-bottom: 8px;
    padding-left: 20px; position: relative;
}

.level-card li::before {
    content: '\2022';
    position: absolute; left: 0;
    color: var(--orange);
}

/* Checklist */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 900px; margin: 0 auto;
}

.checklist-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.checklist-card h3 {
    font-size: 1rem; font-weight: 600;
    margin-bottom: 16px; color: var(--text);
    font-family: 'Inter', sans-serif;
}

.checklist-card ul { list-style: none; }

.checklist-card li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
}

.checklist-card li:last-child { border-bottom: none; }

.checklist-card li::before {
    content: '\2713';
    position: absolute; left: 0;
    color: var(--orange);
    font-weight: 600;
}

.solution {
    background: var(--orange-subtle);
    border: 1px solid var(--orange-border);
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(228, 230, 235, 0.8);
}

/* Code block */
.code-block {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 20px 0;
    overflow-x: auto;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(228, 230, 235, 0.85);
    white-space: pre-wrap;
    word-break: break-all;
}

/* FAQ page */
.faq-section { padding: 60px 0 80px; }

.faq-category { margin-bottom: 48px; }

.faq-category-title {
    font-size: 1.25rem; font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
    font-family: 'Source Serif 4', serif;
}

.faq-category-title span { color: var(--orange); }

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.25s;
}

.faq-item.active { border-color: var(--glass-border-orange); }

.faq-question {
    width: 100%;
    padding: 18px 24px;
    font-size: 1rem; font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
    background: transparent;
    border: none;
    text-align: left;
}

.faq-question:hover { color: var(--orange-light); }

.faq-question::after {
    content: '+';
    font-size: 1.2rem; font-weight: 400;
    color: var(--text-muted);
    transition: transform 0.25s;
}

.faq-item.active .faq-question::after {
    content: '\2212';
    color: var(--orange-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 600px; }

.faq-answer-content {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.95rem; line-height: 1.7;
}

.faq-answer-content a { color: var(--orange-light); text-decoration: none; }
.faq-answer-content a:hover { text-decoration: underline; }

.faq-answer-content p { margin-bottom: 12px; }
.faq-answer-content p:last-child { margin-bottom: 0; }

.faq-answer-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer-content li {
    margin-bottom: 6px;
    color: var(--text-muted);
}

.faq-answer-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88em;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
}

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-list .faq-item h3 {
    font-size: 1.05rem; font-weight: 600;
    margin-bottom: 10px; color: var(--text);
    padding: 18px 24px 0;
    font-family: 'Inter', sans-serif;
}

.faq-list .faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem; line-height: 1.7;
    padding: 0 24px 18px;
}

/* Quick links (FAQ page) */
.quick-link {
    display: flex; align-items: center; gap: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: border-color 0.25s;
}

.quick-link:hover { border-color: var(--glass-border-orange); }

.quick-link-text {
    flex: 1;
    color: var(--text);
    font-size: 0.95rem; font-weight: 500;
}

.quick-link-btn {
    padding: 8px 16px;
    background: var(--orange-subtle);
    border: 1px solid var(--orange-border);
    border-radius: 8px;
    color: var(--orange-light);
    font-size: 12px; font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .step { flex-direction: column; gap: 15px; }
    .step:not(:last-child)::after { display: none; }
    .compare-table { font-size: 0.85rem; }
    .compare-table th, .compare-table td { padding: 12px 14px; }
}
