.guide-page {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease-out;
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.guide-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-header-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.guide-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ── Tabs ── */
.guide-tabs-container {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
}

.guide-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.guide-tab-btn:hover {
    background: var(--secondary);
    color: var(--text-main);
}

.guide-tab-btn.active {
    background: var(--secondary);
    color: var(--accent);
    border-color: var(--border-color);
}

.guide-tab-btn svg {
    width: 16px;
    height: 16px;
}

/* ── Panes ── */
.guide-panes-wrapper {
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--bg-card);
    overflow: hidden;
}

.guide-tab-pane {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.35s ease-out;
}

.guide-tab-pane.active {
    display: block;
}

.guide-pane-inner {
    max-width: 680px;
}

.guide-intro-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

/* ── Feature Grid ── */
.guide-feature-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.guide-feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s;
}

.guide-feature-item:hover {
    border-color: rgba(255,255,255,0.12);
}

.guide-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.guide-feature-text {
    flex: 1;
    min-width: 0;
}

.guide-feature-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-main);
}

.guide-feature-text p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ── CTA Row ── */
.guide-cta-row {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .guide-page {
        padding: 0;
    }
    .guide-header h2 {
        font-size: 1.2rem;
    }
    .guide-tabs-container {
        padding: 0.5rem;
        gap: 0.25rem;
    }
    .guide-tab-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
    .guide-tab-btn span {
        display: none;
    }
    .guide-tab-pane {
        padding: 1.25rem;
    }
    .guide-feature-item {
        padding: 1rem;
        flex-direction: column;
    }
    .guide-cta-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .guide-tab-btn svg {
        width: 18px;
        height: 18px;
    }
    .guide-intro-text {
        font-size: 0.9rem;
    }
}
