/* Core Layout & Typography */
main.container {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    color: #1e293b !important;
    background-color: #f8fafc;
    padding: 40px 15px !important;
    border-radius: 16px;
}

.utm-hero {
    text-align: center;
    margin-bottom: 30px;
}
.utm-title-main {
    font-size: 2.2rem !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    letter-spacing: -1px !important;
    margin-bottom: 10px !important;
}
.utm-subtitle-main {
    font-size: 16px !important;
    color: #64748b !important;
    font-weight: 500;
}

.utm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .utm-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.utm-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
}

.small-action-btn {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #4f46e5;
    border-radius: 6px;
    cursor: pointer;
}

/* Form Styling Blocks */
.input-form-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-label {
    font-size: 13px;
    font-weight: 750;
    color: #334155;
}
.required-star { color: #ef4444; }
.optional-tag { font-size: 11px; color: #94a3b8; font-weight: 500; }

.pro-input {
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    background: #f8fafc;
    transition: border-color 0.2s;
}
.pro-input:focus {
    border-color: #4f46e5;
    background: #fff;
}

.form-row-twin {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 480px) {
    .form-row-twin { grid-template-columns: 1fr 1fr; }
}

/* Output Layout Components */
.output-wrapper {
    position: relative;
    width: 100%;
}
.textarea-output {
    width: 100%;
    height: 110px;
    border: 2px solid #22c55e;
    background: #f0fdf4;
    color: #166534;
    border-radius: 10px;
    padding: 14px;
    font-family: monospace;
    font-size: 13.5px;
    font-weight: 700;
    resize: none;
    outline: none;
    box-sizing: border-box;
    line-height: 1.5;
}

/* Realtime Object Display Console */
.live-preview-box {
    margin-top: 20px;
    background: #0f172a;
    border-radius: 10px;
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.preview-title {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.breakdown-render-zone {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #38bdf8;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-y: auto;
}
.json-key { color: #f43f5e; }
.json-val { color: #34d399; }

/* SEO Step-Guide Styles */
.seo-guide-section { max-width: 1200px; margin: 50px auto 0 auto; }
.step-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 25px; }
@media (min-width: 768px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: #fff; border: 1px solid #e2e8f0; padding: 22px; border-radius: 12px; position: relative; }
.step-num { position: absolute; top: -12px; left: 20px; background: #4f46e5; color: #fff; font-weight: 800; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 13px; }
.step-card h4 { margin: 8px 0 8px 0; font-size: 16px; font-weight: 750; color: #0f172a; }
.step-card p { margin: 0; font-size: 13.5px; color: #475569; line-height: 1.5; }

/* FAQ Styles */
.faq-section { max-width: 850px; margin: 50px auto 20px auto; }
.faq-main-title { font-size: 24px !important; font-weight: 850 !important; color: #0f172a; text-align: center; margin-bottom: 25px; }
.faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-bottom: 15px; }
.faq-question { font-size: 16px !important; font-weight: 750 !important; color: #0f172a; margin-top: 0; margin-bottom: 8px; }
.faq-answer { font-size: 14px; color: #475569; line-height: 1.6; margin: 0; }