.guide-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.guide-hero {
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(circle at top, rgba(13, 148, 136, 0.12), transparent 70%);
    border-radius: 24px;
    margin-bottom: 40px;
    border: 1px solid var(--border2);
}

.guide-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.25;
    background: linear-gradient(135deg, var(--teal, #0d9488), #2c7be5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.guide-hero p {
    font-size: 1.1rem;
    color: var(--txt-mid);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.guide-section {
    margin-bottom: 50px;
}

.guide-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--txt);
}

.guide-section h2::before {
    content: '§';
    color: var(--teal, #0d9488);
    font-weight: 700;
}

.section-intro {
    font-size: 1rem;
    color: var(--txt-mid);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Formula Card */
.formula-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--sh-sm);
    margin-bottom: 30px;
}

.formula-display {
    text-align: center;
    padding: 20px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--teal, #0d9488);
    margin-bottom: 25px;
}

.formula-variables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 640px) {
    .formula-variables {
        grid-template-columns: 1fr;
    }
}

.var-item {
    background: var(--surface2);
    border: 1px solid var(--border2);
    padding: 16px;
    border-radius: 12px;
}

.var-name {
    font-weight: 700;
    color: var(--txt);
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.var-name::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--teal, #0d9488);
    border-radius: 50%;
}

.var-desc {
    font-size: 0.84rem;
    color: var(--txt-low);
    line-height: 1.5;
}

/* Scenario Cards */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .scenario-grid {
        grid-template-columns: 1fr;
    }
}

.scenario-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--sh-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.scenario-card:hover {
    border-color: var(--teal, #0d9488);
    box-shadow: var(--sh-md);
}

.sc-header {
    margin-bottom: 15px;
}

.sc-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--txt);
    margin-bottom: 4px;
}

.sc-desc {
    font-size: 0.8rem;
    color: var(--txt-low);
}

.sc-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal, #0d9488);
    margin: 15px 0 5px;
    line-height: 1;
}

.sc-power {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--txt-mid);
    background: var(--surface2);
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 20px;
}

.sc-details {
    font-size: 0.85rem;
    color: var(--txt-low);
    line-height: 1.6;
    margin-top: auto;
}

/* Rules list */
.rules-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.rule-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: var(--sh-sm);
}

.rule-icon {
    font-size: 1.5rem;
    color: var(--teal, #0d9488);
    background: var(--surface2);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rule-content h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--txt);
    margin-bottom: 4px;
}

.rule-content p {
    font-size: 0.88rem;
    color: var(--txt-low);
    line-height: 1.55;
}

/* CTA */
.guide-cta {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(44, 123, 229, 0.12));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--sh-md);
}

.guide-cta h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--txt);
    margin-bottom: 12px;
}

.guide-cta p {
    font-size: 1rem;
    color: var(--txt-mid);
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.btn-teal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--teal, #0d9488);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
    transition: all 0.25s ease;
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
    background: #0f766e;
}
