/* ── dashboard overrides, keep logic intact ── */
:root {
    --bg: #0A0F1E;
    --surface: #111827;
    --surface2: #1E2A3B;
    --border: #1F2D42;
    --blue: #3B82F6;
    --green: #10B981;
    --amber: #F59E0B;
    --red: #EF4444;
    --purple: #8B5CF6;
    --text: #F1F5F9;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --radius: 10px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 8px;
}

/* nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #1D4ED8, #7C3AED);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
}

.nav-title {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.3px;
}

.nav-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 10px;
    border-radius: 20px;
}

.watermark-layer {

    position: absolute;

    inset: 0;

    display: flex;

    flex-wrap: wrap;

    align-content: flex-start;

    justify-content: space-around;

    gap: 80px 60px;

    padding: 40px;

    pointer-events: none;

    z-index: 0;

    overflow: hidden;

}

.watermark-item {

    width: 220px;

    text-align: center;

    font-size: 18px;

    font-weight: 700;

    color: rgba(80, 80, 80, .05);

    transform: rotate(-30deg);

    user-select: none;

}

.report-content {

    position: relative;

    z-index: 2;

}

.report-limit-modal {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .45);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 9999;

}

.report-limit-modal.show {

    display: flex;

}

.report-limit-box {

    width: 420px;

    background: #fff;
    color: #0a0f1e;
    border-radius: 10px;

    padding: 25px;

    text-align: center;

}

.nav-back a {
    color: #788eac;
    font-size: 14px;
}

/* cards */
.card-dash {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.card-dash .section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.card-dash .section-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin: 0;
}

.card-dash .section-header p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.section-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media(max-width:600px) {
    .grid-2col {
        grid-template-columns: 1fr;
    }
}

.stat-box {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
}

.progress {
    height: 6px;
    background: var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease;
}

.badge-grade {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-grade.good {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-grade.medium {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-grade.low {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.score-ring {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.score-ring svg {
    transform: rotate(-90deg);
}

.score-ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.score-ring-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251;
    stroke-dashoffset: 251;
    transition: stroke-dashoffset 1.4s ease;
}

.score-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-label .num {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.score-label .sub {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.flex-center {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sub-scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.sub-score-item {
    background: var(--surface2);
    border-radius: var(--radius);
    padding: 12px;
}

.sub-score-item .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 0.3px;
}

.sub-score-item .value {
    font-size: 1.2rem;
    font-weight: 700;
}

.warning-card,
.opp-card {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.opp-card {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.15);
}

.warning-card .w-icon,
.opp-card .o-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-card h4,
.opp-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 2px;
}

.warning-card p,
.opp-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.roadmap-item {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    position: relative;
    margin-bottom: 12px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.roadmap-item.p1::before {
    background: linear-gradient(135deg, #1D4ED8, #7C3AED);
}

.roadmap-item.p2::before {
    background: linear-gradient(135deg, #059669, #10B981);
}

.roadmap-item.p3::before {
    background: linear-gradient(135deg, #D97706, #F59E0B);
}

.roadmap-badge {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 12px;
    border-radius: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.p1 .roadmap-badge {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue);
}

.p2 .roadmap-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.p3 .roadmap-badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.roadmap-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.roadmap-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 6px;
}

.roadmap-tag {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.roadmap-tag.impact {
    color: var(--green);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.mockup-browser {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.mockup-bar {
    background: #1A2540;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-url {
    background: var(--surface);
    border-radius: 6px;
    padding: 2px 12px;
    font-size: 0.65rem;
    color: var(--text-dim);
    flex: 1;
    max-width: 240px;
}

.mockup-content {
    min-height: 200px;
    background: linear-gradient(135deg, #1a1f35, #0f1629);
    padding: 20px;
}

.mockup-title-bar {
    height: 18px;
    background: var(--surface2);
    border-radius: 6px;
    width: 70%;
    margin-bottom: 8px;
}

.mockup-sub-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    width: 85%;
    margin-bottom: 4px;
}

.mockup-sub-bar.short {
    width: 60%;
}

.mockup-cta-bar {
    height: 32px;
    background: var(--surface);
    border-radius: 8px;
    width: 180px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-dim);
}

.mockup-cards {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.mockup-mini-card {
    flex: 1;
    height: 60px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--text-dim);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.benefit-item {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 6px;
    padding: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.benefit-item span {
    font-size: 1rem;
}

.audit-item {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.audit-label {
    font-size: 0.8rem;
    font-weight: 600;
}

.audit-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
}

.status-pass {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.status-fail {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red);
}

.status-warn {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.growth-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.growth-bar-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 140px;
}

.growth-bar-track {
    flex: 1;
    height: 14px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.growth-bar-fill {
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    transition: width 1s ease;
    width: 0%;
}

.win-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.win-num {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, #1D4ED8, #7C3AED);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

.win-card h4 {
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0 0 2px;
}

.win-card p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--surface), #1a1f35);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.cta-form {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media(max-width:500px) {
    .cta-form-row {
        grid-template-columns: 1fr;
    }
}

.cta-submit {
    padding: 10px 20px;
    background: linear-gradient(135deg, #1D4ED8, #7C3AED);
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 700;
    transition: opacity 0.2s;
}

.cta-submit:hover {
    opacity: 0.9;
}

.cta-success {
    display: none;
}

.expert-card {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.15), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.expert-quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
}

.recommendation-action {
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(59, 130, 246, 0.15);
    font-weight: 600;
}

/* loading */
#loading-screen {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.loading-ring {
    width: 70px;
    height: 70px;
    border: 4px solid var(--border);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-step {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.4s;
}

.loading-step.visible {
    opacity: 1;
}

.loading-step .check {
    color: var(--green);
}

.loading-step .dot-anim {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* form */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 720px;
    margin: 0 auto 60px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media(max-width:600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group.full {
    grid-column: 1/-1;
}

label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

input,
select,
textarea {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 8px 12px;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.radio-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
}

.radio-btn input {
    display: none;
}

.radio-btn.active {
    border-color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.radio-btn .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--text-dim);
    transition: all 0.2s;
}

.radio-btn.active .dot {
    border-color: var(--blue);
    background: var(--blue);
}

.presence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media(max-width:500px) {
    .presence-grid {
        grid-template-columns: 1fr;
    }
}

.presence-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}

.presence-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1D4ED8, #7C3AED);
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity 0.2s;
    margin-top: 20px;
}

.submit-btn:hover {
    opacity: 0.9;
}

.hero {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, #1D4ED8, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0 30px;
}

.trust-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

.divider {
    border-bottom: 1px solid var(--border);
    margin: 20px 0;
}

/* hide screens */
#report-screen {
    display: none;
    padding: 20px 0 60px;
}

#form-screen {
    display: block;
}

.report-header {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.report-biz-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1D4ED8, #7C3AED);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.report-biz-info h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
}

.report-biz-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.report-date {
    margin-left: auto;
    text-align: right;
    font-size: 0.7rem;
    color: var(--text-dim);
}

.report-date strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

@media(max-width:600px) {
    .grid-3col {
        grid-template-columns: 1fr 1fr;
    }
}

.mt-2 {
    margin-top: 12px;
}

.mb-2 {
    margin-bottom: 12px;
}

.text-muted {
    color: var(--text-muted);
}

.text-dim {
    color: var(--text-dim);
}

.fw-700 {
    font-weight: 700;
}

/* small header in dashboard */
.dash-small-header {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.value-large {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.report-download {
    background: var(--surface2);
    border-radius: 6px;
    padding: 6px 12px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
    font-size: 12px;
}

.report-footer p {
    margin: 0px !important;
    font-size: 13px;
}

/* ----- main card (dark glass) + image side ----- */
.seo-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;

    background: #111827;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 0 auto 20px;
}

.seo-content {
    flex: 2;
    min-width: 260px;
}

.seo-image {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.seo-image .floating-icons {
    position: relative;
    width: 100%;
    /* max-width: 200px; */
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* animated floating icons */
.float-icon {
    position: absolute;
    font-size: 2.4rem;
    color: #60a5fa;
    filter: drop-shadow(0 8px 24px rgba(37, 99, 235, 0.2));
    animation: float 6s ease-in-out infinite;
    opacity: 0.9;
}

.float-icon:nth-child(1) {
    top: 5%;
    left: 8%;
    animation-delay: 0s;
    font-size: 2.8rem;
    color: #34d399;
}

.float-icon:nth-child(2) {
    top: 12%;
    right: 5%;
    animation-delay: 1.2s;
    font-size: 2rem;
    color: #f472b6;
}

.float-icon:nth-child(3) {
    bottom: 25%;
    left: 0%;
    animation-delay: 2.4s;
    font-size: 2.5rem;
    color: #fbbf24;
}

.float-icon:nth-child(4) {
    bottom: 5%;
    right: 8%;
    animation-delay: 0.6s;
    font-size: 3rem;
    color: #60a5fa;
}

.float-icon:nth-child(5) {
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1.8s;
    font-size: 3.8rem;
    color: #a78bfa;
    opacity: 0.3;
}

.float-icon:nth-child(6) {
    top: 70%;
    left: 18%;
    animation-delay: 3.0s;
    font-size: 1.8rem;
    color: #f87171;
}

.float-icon:nth-child(7) {
    top: 8%;
    left: 45%;
    animation-delay: 0.3s;
    font-size: 1.6rem;
    color: #6ee7b7;
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }

    50% {
        transform: translateY(-16px) scale(1.05) rotate(3deg);
    }

    100% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }
}

/* ----- content typography ----- */
.seo-content h2 {
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #94a3b8;
    margin-bottom: 1.2rem;
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    line-height: 1.25;
}

.ai-faq h2{
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #dde7f4;
    margin-bottom: 1.8rem;
    margin-top: 1.8rem;
}

.ai-faq h3{ 
     font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: #94a3b8;
    margin-bottom: 1.2rem;
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    line-height: 1.25;

}
.tool-card h3{ 
     font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: #94a3b8;
    margin-bottom: 1.2rem;
    line-height: 1.25;

}
.ai-faq p{
 font-size: 0.75rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 1rem;

}

.seo-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 1rem;
    max-width: 72ch;
}

.seo-content p:last-of-type {
    margin-bottom: 0;
}

.seo-content strong {
    color: #93bbfc;
    font-weight: 600;
}

/* ----- read-more button ----- */
.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    padding: 0.4rem 0.2rem 0.2rem 0.2rem;
    font-weight: 500;
    color: #60a5fa;
    border-bottom: 2px solid rgba(59, 130, 246, 0.25);
    transition: all 0.2s;
    font-size: 0.9rem;
    margin-top: 0.8rem;
    border-radius: 0;
    cursor: pointer;
}

.btn-read:hover {
    color: #93bbfc;
    border-bottom-color: #3b82f6;
}

.btn-read i {
    font-size: 1rem;
    transition: transform 0.2s;
}

/* ----- feature chips ----- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.7rem;
    margin: 1.2rem 0 1rem 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.feature-item i {
    color: #60a5fa;
    font-size: 1rem;
}

/* ===== FULL-WIDTH MORE SECTION (separate from image) ===== */
.more-section {
    background: #111827;

    margin-top: 1.8rem;

    display: none;
    /* hidden by default, shown via JS */
    animation: fadeSlide 0.3s ease;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;

    margin: 0 auto 60px;
}

.more-section.show {
    display: block;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



.more-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.more-section p:last-child {
    margin-bottom: 0;
}

.more-section .highlight-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    margin: 1.2rem 0 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.more-section .highlight-box .badge-pill {
    display: inline-block;
    background: #2563eb20;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #93bbfc;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.more-section .highlight-box p {
    margin: 0.6rem 0 0 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

.more-section .icon-inline {
    color: #fbbf24;
    margin-right: 0.3rem;
}

/* ----- footer ----- */
.footer-modern {
    margin-top: 2.5rem;
    padding: 1.2rem 0 0.3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-modern a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    margin: 0 0.4rem;
}

.footer-modern a:hover {
    color: #e2e8f0;
}

.footer-social i {
    font-size: 1.2rem;
    margin: 0 0.25rem;
    color: #64748b;
    transition: color 0.2s;
}

.footer-social i:hover {
    color: #93bbfc;
}

/* ----- responsive ----- */
@media (max-width: 820px) {
    .seo-wrapper {
        flex-direction: column;
        padding: 1.8rem 1.5rem;
        border-radius: 24px;
    }

    .seo-image {
        order: -1;
        padding-bottom: 0.5rem;
    }

    .seo-image .floating-icons {
        max-width: 200px;
    }

    .float-icon {
        font-size: 1.8rem !important;
    }

    .float-icon:nth-child(5) {
        font-size: 2.8rem !important;
    }

    .nav-modern {
        flex-direction: column;
        align-items: stretch;
        border-radius: 28px;
        padding: 0.8rem 1.2rem;
        gap: 0.6rem;
    }

    .nav-brand {
        justify-content: center;
    }

    .nav-back {
        display: flex;
        justify-content: center;
    }

    .seo-content h2 {
        font-size: 1.5rem;
        padding-left: 0.8rem;
    }

    .footer-modern {
        flex-direction: column;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    }

    .more-section {
        padding: 1.5rem 1.2rem;
        border-radius: 24px;
    }
}

@media (max-width: 460px) {
    body {
        padding: 0.8rem 0.3rem;
    }

    .seo-wrapper {
        padding: 1.2rem 1rem;
        border-radius: 20px;
    }

    .seo-content p {
        font-size: 0.9rem;
    }

    .feature-item {
        font-size: 0.75rem;
        padding: 0.5rem 0.7rem;
    }

    .more-section {
        padding: 1.2rem 1rem;
    }

    .more-section p {
        font-size: 0.9rem;
    }
}