/* Help Article Shared Styles */

.help-page {
    min-height: 100vh;
}

.help-header {
    padding: 120px 40px 40px;
    border-bottom: 1px solid var(--ln-border);
}

.help-header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.help-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ln-fg-muted);
    margin-bottom: 24px;
}

.help-breadcrumb a {
    color: var(--ln-fg-muted);
    text-decoration: none;
    transition: color 0.15s;
}

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

.help-breadcrumb svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.carrier-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--ln-surface);
    border: 1px solid var(--ln-border);
    border-radius: var(--ln-radius-full);
    margin-bottom: 24px;
}

.carrier-badge-logo {
    width: 32px;
    height: 32px;
    background: var(--ln-bg-elevated);
    border-radius: var(--ln-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}

.carrier-badge-logo.carrier-verizon { color: #cd040b; font-size: 16px; }
.carrier-badge-logo.carrier-att { color: #00a8e0; }
.carrier-badge-logo.carrier-tmobile { color: #e20074; font-size: 16px; }

.carrier-badge-name {
    font-weight: 600;
    color: var(--ln-fg);
}

.help-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--ln-fg);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.help-subtitle {
    font-size: 1.125rem;
    color: var(--ln-fg-muted);
    line-height: 1.6;
}

/* Article Content */
.article-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
}

.article-content {
    max-width: 100%;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ln-fg);
    margin-top: 48px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--ln-border);
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content p {
    font-size: 16px;
    color: var(--ln-fg-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.article-content strong {
    color: var(--ln-fg);
    font-weight: 600;
}

/* Step List */
.step-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    counter-reset: step;
}

.step-list li {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--ln-border);
    counter-increment: step;
}

.step-list li:last-child {
    border-bottom: none;
}

.step-list li::before {
    content: counter(step);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--ln-accent-subtle);
    border: 1px solid var(--ln-border-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--ln-accent-bright);
}

.step-content {
    flex: 1;
}

.step-content strong {
    display: block;
    color: var(--ln-fg);
    margin-bottom: 4px;
}

.step-content span {
    color: var(--ln-fg-muted);
    font-size: 15px;
}

/* Code Block */
.code-block {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ln-surface);
    border: 1px solid var(--ln-border);
    border-radius: var(--ln-radius-lg);
    padding: 16px 20px;
    margin: 16px 0;
    font-family: var(--ln-font-mono);
    font-size: 18px;
    color: var(--ln-accent-bright);
}

.code-block code {
    font-family: inherit;
}

.code-copy {
    padding: 6px 12px;
    background: var(--ln-accent-subtle);
    border: 1px solid var(--ln-border-accent);
    border-radius: var(--ln-radius-md);
    font-size: 12px;
    font-weight: 500;
    color: var(--ln-accent);
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--ln-font-base);
}

.code-copy:hover {
    background: var(--ln-accent);
    color: white;
}

/* Example Box */
.example-box {
    background: var(--ln-surface);
    border: 1px solid var(--ln-border);
    border-radius: var(--ln-radius-lg);
    padding: 20px 24px;
    margin: 20px 0;
}

.example-box-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ln-fg-dim);
    margin-bottom: 8px;
}

.example-box p {
    margin-bottom: 0;
}

.example-box code {
    font-family: var(--ln-font-mono);
    font-size: 16px;
    color: var(--ln-accent-bright);
}

/* Tip Box */
.tip-box {
    display: flex;
    gap: 16px;
    background: var(--ln-accent-subtle);
    border: 1px solid var(--ln-border-accent);
    border-radius: var(--ln-radius-lg);
    padding: 20px 24px;
    margin: 24px 0;
}

.tip-box-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--ln-accent);
}

.tip-box-content {
    font-size: 15px;
    color: var(--ln-fg-muted);
    line-height: 1.6;
}

.tip-box-content strong {
    color: var(--ln-fg);
}

/* Table of Contents Sidebar */
.toc-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.toc-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ln-fg-dim);
    margin-bottom: 16px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: var(--ln-fg-muted);
    text-decoration: none;
    border-left: 2px solid var(--ln-border);
    padding-left: 16px;
    margin-left: -2px;
    transition: all 0.15s;
}

.toc-list a:hover,
.toc-list a.active {
    color: var(--ln-accent);
    border-left-color: var(--ln-accent);
}

/* FAQ Section */
.faq-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--ln-border);
}

.faq-section h2 {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.faq-item {
    border-bottom: 1px solid var(--ln-border);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 600;
    color: var(--ln-fg);
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 15px;
    color: var(--ln-fg-muted);
    line-height: 1.6;
}

/* CTA Section */
.article-cta {
    background: linear-gradient(135deg, var(--ln-accent-subtle), var(--ln-surface));
    border: 1px solid var(--ln-border-accent);
    border-radius: var(--ln-radius-xl);
    padding: 32px;
    margin-top: 48px;
    text-align: center;
}

.article-cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ln-fg);
    margin-bottom: 8px;
}

.article-cta-desc {
    font-size: 15px;
    color: var(--ln-fg-muted);
    margin-bottom: 20px;
}

/* Nav & Footer */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 6, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ln-border);
}

[data-theme="light"] .landing-nav,
:root.light .landing-nav {
    background: rgba(255, 255, 255, 0.8);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--ln-accent), var(--ln-accent-bright));
    border-radius: var(--ln-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ln-shadow-glow);
}

.nav-logo-mark svg {
    width: 22px;
    height: 22px;
    color: white;
}

.nav-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ln-fg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.landing-footer {
    padding: 48px 40px;
    border-top: 1px solid var(--ln-border);
    background: var(--ln-surface);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--ln-accent), var(--ln-accent-bright));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-mark svg {
    width: 18px;
    height: 18px;
    color: white;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ln-fg);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    font-size: 14px;
    color: var(--ln-fg-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-link:hover {
    color: var(--ln-fg);
}

.footer-copy {
    font-size: 14px;
    color: var(--ln-fg-dim);
}

/* Responsive */
@media (max-width: 900px) {
    .article-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    .toc-sidebar {
        display: none;
    }
    
    .help-header {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 16px 20px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
}
