/* ========================================================
   SIZEFIX TOOLS — UNIFIED AD-SENSE COMPLIANT INFO SYSTEM
   v1.0 (2026 Release)
   ======================================================== */

.sizefix-info-section {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 30px auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-body, #334155);
}

/* Feature Highlights Grid */
.sf-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.sf-feature-card {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.sf-feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.sf-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.sf-feature-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-heading, #0f172a);
    margin-bottom: 5px;
}

.sf-feature-desc {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    line-height: 1.55;
    margin: 0;
}

/* Main Editorial Guide Card */
.sf-guide-card {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 24px;
    padding: 34px 32px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .sf-guide-card {
        padding: 22px 18px;
    }
}

.sf-guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.sf-guide-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-heading, #0f172a);
    margin: 0 0 14px 0;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.35;
}

.sf-guide-title i {
    color: #d97706;
}

.sf-guide-lead {
    font-size: 14.5px;
    color: var(--text-body, #334155);
    line-height: 1.7;
    margin-bottom: 26px;
}

/* Steps Row */
.sf-sub-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-heading, #0f172a);
    margin: 26px 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sf-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.sf-step-card {
    background: var(--bg-card-subtle, #f8fafc);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 14px;
    padding: 18px;
    box-sizing: border-box;
}

.sf-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #fef3c7;
    color: #b45309;
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 10px;
}

.sf-step-name {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-heading, #0f172a);
    margin-bottom: 6px;
}

.sf-step-info {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    line-height: 1.5;
    margin: 0;
}

/* Specifications Table */
.sf-table-box {
    margin: 14px 0 28px 0;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 14px;
    overflow-x: auto;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.02);
}

.sf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
    min-width: 560px;
}

.sf-table th {
    background: var(--bg-card-subtle, #f8fafc);
    padding: 12px 16px;
    font-weight: 800;
    color: var(--text-heading, #0f172a);
    border-bottom: 1.5px solid var(--border-light, #e2e8f0);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sf-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light, #e2e8f0);
    color: var(--text-body, #334155);
}

.sf-table tr:last-child td {
    border-bottom: none;
}

.sf-table tr:hover td {
    background: var(--bg-card-subtle, #f8fafc);
}

/* FAQ Accordion */
.sf-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.sf-faq-node {
    background: var(--bg-card-subtle, #f8fafc);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.sf-faq-node.active {
    border-color: rgba(245, 158, 11, 0.4);
    background: var(--bg-card, #ffffff);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.sf-faq-head {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    gap: 12px;
}

.sf-faq-q {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading, #0f172a);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sf-faq-q i {
    color: #d97706;
    font-size: 12px;
}

.sf-faq-arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-light, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-muted, #64748b);
    transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.sf-faq-node.active .sf-faq-arrow {
    transform: rotate(180deg);
    background: #d97706;
    color: #ffffff;
    border-color: transparent;
}

.sf-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out, padding 0.2s ease;
    padding: 0 18px;
    font-size: 13.5px;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
}

.sf-faq-node.active .sf-faq-answer {
    max-height: 380px;
    padding: 0 18px 16px 18px;
}

/* Security Trust Banner */
.sf-trust-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.04) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.25);
    border-radius: 18px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.sf-trust-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sf-trust-shield {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.sf-trust-text h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-heading, #0f172a);
    margin: 0 0 2px 0;
}

.sf-trust-text p {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    margin: 0;
}

.sf-trust-badge {
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Dark Theme Adaptations */
body.dark-theme, body.dark-mode, body.dk {
    --bg-card: #13131e;
    --bg-card-subtle: #1a1a2b;
    --border-light: rgba(255, 255, 255, 0.08);
    --text-heading: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
}

body.dark-theme .sf-guide-badge,
body.dark-mode .sf-guide-badge,
body.dk .sf-guide-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}

body.dark-theme .sf-step-number,
body.dark-mode .sf-step-number,
body.dk .sf-step-number {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

body.dark-theme .sf-trust-badge,
body.dark-mode .sf-trust-badge,
body.dk .sf-trust-badge {
    background: #172a22;
    color: #34d399;
}
