/* GUIDE & FAQ STYLES */

/* -------------------------------------------
   ARTICLE LAYOUT
------------------------------------------- */
.article-section {
    padding: 120px 0 80px 0;
    min-height: 80vh;
}

.article-container {
    width: 95%;
    max-width: 800px;
    /* Reading optimzed width */
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
}

.article-title {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 30px;
    color: var(--text);
}

.breadcrumb a {
    color: var(--text);
    text-decoration: none;
    transition: 0.2s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.article-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.article-content h2 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.8rem;
    margin: 50px 0 20px 0;
    color: #fff;
}

.article-content h2:first-of-type {
    margin-top: 0;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
    color: var(--text);
}

.article-content ol,
.article-content ul {
    margin-bottom: 25px;
    padding-left: 25px;
}

.article-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 10px;
    opacity: 0.9;
    color: var(--text);
}

.article-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.article-content a:hover {
    text-decoration: underline;
}


/* -------------------------------------------
   PREMIUM GUIDE COMPONENTS
------------------------------------------- */

/* Guide Hero */
.guide-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-hero-text {
    flex: 1;
}

.guide-hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    position: relative;
}

.guide-hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: 0.5s ease;
}

.guide-hero-image:hover img {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}


/* Step Cards */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: 0.3s;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    border-color: var(--primary);
}

.step-number {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Russo One';
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(177, 18, 122, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #fff;
    font-family: 'Russo One', sans-serif;
}

.step-content p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}


/* Terminal Window (Code Block) */
.terminal-window {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    overflow: hidden;
    margin: 30px 0;
}

.terminal-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-window pre {
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 20px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.95rem;
    color: #d4d4d4;
    overflow-x: auto;
}

code {
    font-family: 'Consolas', 'Monaco', monospace;
}

.inline-code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}


/* Alert Box */
.alert-box {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.alert-icon {
    color: #ffc107;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content strong {
    display: block;
    color: #ffc107;
    margin-bottom: 5px;
    font-family: 'Russo One';
}

.alert-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}


/* -------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------- */
@media (max-width: 900px) {
    .guide-hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .guide-hero-image img {
        transform: none;
        max-width: 90%;
    }

    .breadcrumb {
        justify-content: center;
        flex-wrap: wrap;
    }

    .article-content {
        padding: 25px;
    }

    .article-title {
        font-size: 2rem;
    }
}


/* -------------------------------------------
   LIGHT MODE ADAPTATIONS
------------------------------------------- */
body.light .article-content {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light .article-title,
body.light .article-content h2,
body.light .step-content h3 {
    color: #111;
}

body.light .article-content p,
body.light .article-content li,
body.light .step-content p,
body.light .breadcrumb,
body.light .breadcrumb a {
    color: #333;
}

body.light .step-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

body.light .step-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

body.light .terminal-window {
    background: #f5f5f5;
    border-color: #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light .terminal-header {
    background: #e0e0e0;
    border-bottom-color: #d0d0d0;
}

body.light .terminal-window pre,
body.light code {
    color: #333;
}