/* Guide Pages Shared Styles */
/* Inherits brand styles from ../styles.css */

/* ===== Reset & Base ===== */
.guide-page {
    background: #0A0A0F;
    color: #E0E0E8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.8;
    min-height: 100vh;
}

.guide-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Guide Navigation ===== */
.guide-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
}

.guide-nav-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guide-nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.guide-nav-logo .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00F5D4, #00D4AA);
    border-radius: 8px;
    color: #0A0A0F;
    font-weight: 800;
    font-size: 0.9rem;
}

.guide-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #00F5D4, #00D4AA);
    color: #0A0A0F;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.guide-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 245, 212, 0.3);
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    padding: 24px 0 8px;
    font-size: 0.85rem;
    color: #888;
}

.breadcrumbs a {
    color: #00F5D4;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 8px;
    opacity: 0.5;
}

/* ===== Article Header ===== */
.guide-header {
    padding: 32px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 40px;
}

.guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 245, 212, 0.08);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #00F5D4;
    font-weight: 500;
    margin-bottom: 20px;
}

.guide-badge-dot {
    width: 6px;
    height: 6px;
    background: #00F5D4;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.guide-header h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.guide-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #888;
    flex-wrap: wrap;
}

.guide-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.guide-meta svg {
    width: 14px;
    height: 14px;
    stroke: #00F5D4;
}

/* ===== Table of Contents ===== */
.toc {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 40px;
}

.toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toc ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
}

.toc li {
    padding: 6px 0;
    font-size: 0.9rem;
}

.toc a {
    color: #B0B0C0;
    text-decoration: none;
    transition: color 0.2s;
}

.toc a:hover {
    color: #00F5D4;
}

/* ===== Article Body ===== */
.guide-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 48px 0 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: -0.01em;
}

.guide-body h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.guide-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #E8E8F0;
    margin: 32px 0 12px;
}

.guide-body p {
    margin: 0 0 20px;
    font-size: 1.05rem;
    color: #C0C0D0;
    line-height: 1.85;
}

.guide-body ul,
.guide-body ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.guide-body li {
    margin-bottom: 8px;
    font-size: 1.02rem;
    color: #C0C0D0;
    line-height: 1.7;
}

.guide-body strong {
    color: #fff;
    font-weight: 600;
}

.guide-body em {
    color: #00F5D4;
    font-style: normal;
    font-weight: 500;
}

/* ===== Key Takeaway / Callout ===== */
.callout {
    background: rgba(0, 245, 212, 0.04);
    border-left: 3px solid #00F5D4;
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin: 28px 0;
}

.callout-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #00F5D4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.callout p {
    margin: 0;
    font-size: 1rem;
    color: #D0D0E0;
}

/* ===== Step-by-Step ===== */
.steps {
    counter-reset: step-counter;
    margin: 24px 0 32px;
}

.step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.step-num {
    counter-increment: step-counter;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.15), rgba(0, 245, 212, 0.05));
    border-radius: 10px;
    color: #00F5D4;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-content h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 6px;
}

.step-content p {
    font-size: 0.95rem;
    color: #A0A0B0;
    margin: 0;
    line-height: 1.7;
}

/* ===== Evidence Card in Guide ===== */
.guide-evidence {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
}

.guide-evidence-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 212, 0.1);
    border-radius: 10px;
}

.guide-evidence-icon svg {
    width: 20px;
    height: 20px;
    stroke: #00F5D4;
    fill: none;
    stroke-width: 2;
}

.guide-evidence-text {
    font-size: 0.95rem;
    color: #B0B0C0;
    line-height: 1.7;
}

.guide-evidence-text strong {
    color: #00F5D4;
}

.guide-evidence-source {
    font-size: 0.8rem;
    color: #666;
    margin-top: 6px;
}

/* ===== App CTA Section ===== */
.guide-cta {
    margin: 56px 0 40px;
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.06), rgba(0, 245, 212, 0.02));
    border: 1px solid rgba(0, 245, 212, 0.15);
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guide-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 212, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.guide-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    position: relative;
}

.guide-cta>p {
    font-size: 1.05rem;
    color: #A0A0B0;
    margin: 0 0 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    line-height: 1.7;
}

.guide-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
}

.guide-cta .store-badge {
    transition: transform 0.2s;
}

.guide-cta .store-badge:hover {
    transform: translateY(-2px);
}

.guide-cta .store-badge img {
    height: 44px;
    width: auto;
}

.guide-cta-note {
    margin-top: 16px;
    font-size: 0.82rem;
    color: #666;
    position: relative;
}

/* ===== Related Guides ===== */
.related-guides {
    margin: 48px 0;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.related-guides h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px;
}

.related-guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.related-guide-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.related-guide-card:hover {
    border-color: rgba(0, 245, 212, 0.3);
    background: rgba(0, 245, 212, 0.03);
}

.related-guide-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 212, 0.08);
    border-radius: 10px;
    font-size: 1.2rem;
}

.related-guide-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}

.related-guide-info p {
    font-size: 0.82rem;
    color: #888;
    margin: 0;
}

/* ===== Footer ===== */
.guide-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 0;
    text-align: center;
}

.guide-footer-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.guide-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.guide-footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.guide-footer-links a:hover {
    color: #00F5D4;
}

.guide-footer-copyright {
    font-size: 0.8rem;
    color: #555;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .guide-container {
        padding: 0 16px;
    }

    .guide-header h1 {
        font-size: 1.75rem;
    }

    .guide-body h2 {
        font-size: 1.35rem;
    }

    .guide-cta {
        padding: 28px 20px;
    }

    .guide-cta h3 {
        font-size: 1.25rem;
    }

    .step {
        flex-direction: column;
        gap: 10px;
    }

    .toc {
        padding: 18px 20px;
    }
}