.ig-page-section {
    padding: 60px 20px 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    min-height: calc(100vh - 200px);
}

.ig-container {
    max-width: 760px;
    margin: 0 auto;
}

.ig-hero {
    text-align: center;
    padding-bottom: 40px;
}

.ig-hero-title {
    font-weight: 900;
    font-size: clamp(28px, 4vw, 42px);
    color: #0f172a;
    margin-bottom: 10px;
}

.ig-hero-subtitle {
    color: #475569;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.ig-platform-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ig-platform-nav-link {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 9999px;
    border: 1.5px solid #e2e8f0;
    font-weight: 600;
    font-size: 14px;
    color: #334155;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ig-platform-nav-link:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #eff6ff;
}

.ig-section {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e8ecf0;
    padding: 32px 28px;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    scroll-margin-top: 80px;
}

.ig-section-header {
    margin-bottom: 24px;
}

.ig-badge {
    display: inline-block;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #dbeafe;
    color: #1d4ed8;
}

.ig-section-title {
    font-weight: 800;
    font-size: 22px;
    color: #0f172a;
    margin: 0;
}

.ig-section-intro {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px;
}

.ig-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ig-step {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.ig-step:last-child {
    margin-bottom: 0;
}

.ig-step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    margin-top: 2px;
}

.ig-step-content {
    flex: 1;
}

.ig-step-content h3 {
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
    margin: 0 0 6px;
}

.ig-step-content p {
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 8px;
}

.ig-step-content p:last-child {
    margin-bottom: 0;
}

.ig-step-note {
    font-size: 13px !important;
    color: #94a3b8 !important;
    line-height: 1.55;
}

.ig-finished-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.ig-finished-title {
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
    margin: 0 0 12px;
}

.ig-closing-notes {
    margin-top: 0;
}

.ig-closing-notes p {
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 10px;
}

.ig-closing-notes p:last-child {
    margin-bottom: 0;
}

.ig-closing-notes a {
    color: #2563eb;
    text-decoration: underline;
}

.ig-closing-notes a:hover {
    color: #1d4ed8;
}

.ig-callout {
    background: #fef9c3;
    border-left: 4px solid #facc15;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 10px;
    font-size: 14px;
    color: #713f12;
    line-height: 1.6;
}

.ig-callout p {
    color: #713f12 !important;
    margin: 0 0 8px !important;
}

.ig-callout ol {
    padding-left: 20px;
    margin: 0;
}

.ig-callout ol li {
    margin-bottom: 4px;
}

.ig-back-link {
    text-align: center;
    margin-top: 16px;
}

.ig-back-link a {
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
}

.ig-back-link a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.ig-defender-screenshots {
    display: flex;
    gap: 16px;
    margin: 14px 0 0;
}

.ig-defender-screenshot-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ig-defender-screenshot-img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.ig-defender-screenshot-caption {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #334155;
}

.ig-defender-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #1d4ed8;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.ig-defender-docs-note {
    margin: 14px 0 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

.ig-defender-docs-note a {
    color: #2563eb;
    text-decoration: underline;
}

.ig-defender-docs-note a:hover {
    color: #1d4ed8;
}

@media (max-width: 600px) {
    .ig-section {
        padding: 22px 18px;
    }

    .ig-defender-screenshots {
        flex-direction: column;
    }
}

/* Tap-path chips (matches the install guide modal) */
.install-guide-path {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 10px 12px;
}

.install-guide-path:last-child {
    margin-bottom: 0;
}

.install-guide-kbd {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.04);
}

.install-guide-path-arrow {
    color: #94a3b8;
    font-size: 12px;
}
