/* Site95 Text Tools — Self-hosted responsive styles (no Tailwind CDN) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.hidden { display: none !important; }

/* ── Layout ── */

.container {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.container-sm {
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.page-main { padding: 2.5rem 0 3rem; }

.section { padding: 4rem 0; }
.section-white { background: #fff; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-label {
    color: #7c3aed;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin: 0.5rem 0 1rem;
    color: #0f172a;
}
.section-desc {
    color: #64748b;
    max-width: 36rem;
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .site-nav { display: flex !important; }
    .menu-toggle { display: none !important; }
}

/* ── Header ── */

.site-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
}

.site-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
}

.site-nav {
    display: none;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.site-nav a { color: #475569; transition: color 0.2s; }
.site-nav a:hover { color: #7c3aed; }

.menu-toggle {
    color: #64748b;
    font-size: 1.25rem;
    padding: 0.25rem;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.9rem;
    background: #fff;
}

.mobile-menu.is-open { display: flex; }
.mobile-menu a { color: #475569; padding: 0.25rem 0; }
.mobile-menu a:hover { color: #7c3aed; }

/* ── Footer ── */

.site-footer {
    background: #1e293b;
    color: #94a3b8;
    margin-top: 4rem;
    padding: 2.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-grid h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.footer-grid ul li { margin-bottom: 0.5rem; }
.footer-grid a { font-size: 0.875rem; transition: color 0.2s; }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.85rem 2rem;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn-red { background: #dc2626; color: #fff; }
.btn-red:hover { background: #b91c1c; }

.btn-blue { background: #2563eb; color: #fff; }
.btn-blue:hover { background: #1d4ed8; }

.btn-green { background: #16a34a; color: #fff; }
.btn-green:hover { background: #15803d; }

.btn-white { background: #fff; color: #b91c1c; box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.btn-white:hover { background: #fef2f2; }

.btn-outline {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { background: rgba(255,255,255,0.22); }

.btn-outline-green {
    background: rgba(74, 222, 128, 0.15);
    color: #fff;
    border: 2px solid rgba(74, 222, 128, 0.45);
}
.btn-outline-green:hover { background: rgba(74, 222, 128, 0.28); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; font-weight: 700; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

.btn-neutral {
    background: #fff;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.btn-neutral:hover { background: #f8fafc; border-color: #cbd5e1; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn-link {
    color: #64748b;
    font-size: 0.875rem;
    text-decoration: underline;
    background: none;
    padding: 0.5rem;
}
.btn-link:hover { color: #334155; }

.text-center { text-align: center; }

/* ── Hero (Homepage) ── */

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #7f1d1d 45%, #1e1b4b 100%);
    color: #fff;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-1 { width: 400px; height: 400px; background: rgba(239,68,68,0.25); top: -100px; right: -50px; }
.hero-glow-2 { width: 300px; height: 300px; background: rgba(99,102,241,0.2); bottom: 0; left: -80px; }

.hero-inner {
    position: relative;
    padding: 4rem 1.25rem 6rem;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-inner { padding: 5.5rem 1.25rem 7rem; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fecaca;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-badge i { color: #4ade80; }

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-gradient-text {
    background: linear-gradient(90deg, #fca5a5, #fef08a, #fca5a5);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(254, 226, 226, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-actions .btn { width: 100%; max-width: 280px; }

@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-actions .btn { width: auto; min-width: 200px; }
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.875rem;
    color: rgba(254, 202, 202, 0.85);
}

.hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust i { color: #4ade80; }

.hero-wave { line-height: 0; margin-bottom: -1px; }
.hero-wave svg { width: 100%; height: 3rem; display: block; }

@media (min-width: 768px) {
    .hero-wave svg { height: 5rem; }
}

/* ── Tool Cards ── */

.tool-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    text-decoration: none;
}

.tool-card-red:hover  { border-color: #fecaca; }
.tool-card-blue:hover { border-color: #bfdbfe; }
.tool-card-green:hover { border-color: #bbf7d0; }

.tool-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: transform 0.25s;
}

.tool-card:hover .tool-card-icon { transform: scale(1.08); }

.tool-card-red .tool-card-icon  { background: #fef2f2; color: #dc2626; }
.tool-card-blue .tool-card-icon { background: #eff6ff; color: #2563eb; }
.tool-card-green .tool-card-icon { background: #f0fdf4; color: #16a34a; }

.tool-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: #0f172a; }
.tool-card-red:hover h3  { color: #dc2626; }
.tool-card-blue:hover h3 { color: #2563eb; }
.tool-card-green:hover h3 { color: #16a34a; }

.tool-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; }

.tool-card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

.tool-card-red:hover .tool-card-link  { color: #dc2626; }
.tool-card-blue:hover .tool-card-link { color: #2563eb; }
.tool-card-green:hover .tool-card-link { color: #16a34a; }

/* ── How It Works ── */

.how-step { text-align: center; }

.how-step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    font-weight: 800;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 14px rgba(220,38,38,0.35);
}

.how-step h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.how-step p { color: #64748b; font-size: 0.9rem; }

/* ── Feature Cards ── */

.feature-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: box-shadow 0.25s;
}

.feature-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); }

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.feature-icon-green  { background: #f0fdf4; color: #16a34a; }
.feature-icon-yellow { background: #fefce8; color: #ca8a04; }
.feature-icon-blue   { background: #eff6ff; color: #2563eb; }

.feature-card h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; }

/* ── CTA Banner ── */

.cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
}

@media (min-width: 768px) {
    .cta-banner { padding: 3.5rem 4rem; }
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%);
}

.cta-banner-content { position: relative; }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 1.85rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-banner p { color: #fecaca; margin-bottom: 2rem; max-width: 32rem; margin-left: auto; margin-right: auto; }

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ── Tool Pages ── */

.tool-page-title {
    font-size: clamp(1.75rem, 4vw, 2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.tool-page-desc {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}

.drop-zone {
    border: 3px dashed;
    border-radius: 1.25rem;
    padding: 3rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 1.5rem;
}

.drop-zone-red  { border-color: #fca5a5; }
.drop-zone-red:hover, .drop-zone-red.drop-zone-active  { border-color: #dc2626; background: #fef2f2; }

.drop-zone-blue { border-color: #93c5fd; }
.drop-zone-blue:hover, .drop-zone-blue.drop-zone-active { border-color: #2563eb; background: #eff6ff; }

.drop-zone-green { border-color: #86efac; }
.drop-zone-green:hover, .drop-zone-green.drop-zone-active { border-color: #16a34a; background: #f0fdf4; }

.drop-zone-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.drop-zone-red .drop-zone-icon  { color: #f87171; }
.drop-zone-blue .drop-zone-icon { color: #60a5fa; }
.drop-zone-green .drop-zone-icon { color: #4ade80; }

.drop-zone h2 { font-size: 1.15rem; font-weight: 600; color: #334155; margin-bottom: 0.25rem; }
.drop-zone .or-text { color: #94a3b8; margin: 0.5rem 0; }
.drop-zone .privacy-note { font-size: 0.85rem; color: #94a3b8; margin-top: 1rem; }
.drop-zone .privacy-note i { margin-right: 0.25rem; }

.file-input-hidden { display: none; }

.file-info-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.file-info-bar i.file-icon-red  { color: #dc2626; font-size: 1.5rem; }
.file-info-bar i.file-icon-blue { color: #2563eb; font-size: 1.5rem; }
.file-info-bar i.file-icon-green { color: #16a34a; font-size: 1.5rem; }

.file-info-bar .file-meta { flex: 1; min-width: 0; }
.file-info-bar .file-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-info-bar .file-size { font-size: 0.85rem; color: #94a3b8; }

.file-list { margin-bottom: 1.5rem; }
.file-list h3 { font-weight: 600; color: #475569; margin-bottom: 0.75rem; }
.file-list ul { display: flex; flex-direction: column; gap: 0.5rem; }

.file-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.file-item.is-dragging { opacity: 0.5; }
.file-item .grip { color: #cbd5e1; cursor: grab; }
.file-item .name { flex: 1; font-size: 0.9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item .size { font-size: 0.8rem; color: #94a3b8; }
.remove-btn { color: #94a3b8; padding: 0.25rem; cursor: pointer; }
.remove-btn:hover { color: #dc2626; }

.options-panel {
    background: #fff;
    border-radius: 0.85rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.options-panel h3 { font-weight: 600; color: #475569; margin-bottom: 1rem; }

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.radio-option input { margin-top: 0.2rem; }
.radio-option .label-title { font-weight: 500; display: block; }
.radio-option .label-desc { font-size: 0.85rem; color: #64748b; }

.text-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    margin-top: 0.5rem;
}

.text-input:focus { outline: none; border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.15); }

.text-input-sm { width: 8rem; }

.progress-wrap { margin-bottom: 1.5rem; }
.progress-track { background: #e2e8f0; border-radius: 9999px; height: 0.65rem; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 9999px; transition: width 0.3s; }
.progress-fill-red   { background: #dc2626; }
.progress-fill-blue  { background: #2563eb; }
.progress-fill-green { background: #16a34a; }
.progress-text { text-align: center; color: #64748b; font-size: 0.9rem; margin-top: 0.5rem; }

.result-panel {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.result-panel i.result-icon { font-size: 3rem; color: #22c55e; margin-bottom: 1rem; display: block; }
.result-panel h3 { font-size: 1.2rem; font-weight: 700; color: #15803d; margin-bottom: 0.5rem; }
.result-panel p { color: #475569; margin-bottom: 1.25rem; }

.info-card {
    background: #fff;
    border-radius: 0.85rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    text-align: center;
}

.info-card .step-num {
    width: 2.5rem;
    height: 2.5rem;
    background: #dc2626;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}

.info-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.info-card p { color: #64748b; font-size: 0.9rem; }

.info-card-blue .step-num { background: #2563eb; }
.info-card-green .step-num { background: #16a34a; }

/* ── FAQ ── */

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

details.faq-item {
    background: #fff;
    border-radius: 0.85rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    cursor: pointer;
}

details.faq-item summary {
    font-weight: 600;
    list-style: none;
    color: #1e293b;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    color: #94a3b8;
    transition: transform 0.2s;
}

details.faq-item[open] summary::after { transform: rotate(180deg); }
details.faq-item p { color: #64748b; font-size: 0.9rem; margin-top: 0.75rem; line-height: 1.6; }

/* ── Content Pages ── */

.content-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    line-height: 1.75;
    color: #475569;
}

.content-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.5rem 0 0.75rem;
}

.content-card h2:first-child { margin-top: 0; }

.content-card p { margin-bottom: 1rem; }
.content-card ul { list-style: disc; padding-left: 1.5rem; margin: 0.5rem 0 1rem; }
.content-card ul li { margin-bottom: 0.35rem; }
.content-card a { color: #dc2626; }
.content-card a:hover { text-decoration: underline; }

.form-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; color: #475569; margin-bottom: 0.35rem; }

.form-input, .form-textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

.form-textarea { resize: vertical; min-height: 8rem; }

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.85rem;
    padding: 1rem;
    color: #b91c1c;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.page-subtitle { text-align: center; color: #64748b; margin-bottom: 2rem; }

.tool-section { margin-top: 3.5rem; }
.tool-section h2 { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 2rem; }

.border-section { border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }

.ads-slot { margin: 1.25rem 0; text-align: center; }

/* ── SEO: Breadcrumbs ── */

.breadcrumbs {
    padding: 1rem 1.25rem 0;
    max-width: 48rem;
    margin: 0 auto;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    font-size: 0.85rem;
    color: #64748b;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.35rem;
    color: #cbd5e1;
}

.breadcrumbs a { color: #64748b; }
.breadcrumbs a:hover { color: #7c3aed; }
.breadcrumbs [aria-current="page"] { color: #334155; font-weight: 500; }

/* ── SEO: Content blocks ── */

.seo-intro {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

.seo-content {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.seo-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.seo-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.25rem 0 0.5rem;
}

.seo-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.seo-content a { color: #7c3aed; }
.seo-content a:hover { text-decoration: underline; }

.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }

/* ── Text Tools: purple theme ── */

.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #4c1d95 40%, #312e81 100%);
}

.hero-gradient-text {
    background: linear-gradient(135deg, #c4b5fd, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-purple { background: #7c3aed; color: #fff; }
.btn-purple:hover { background: #6d28d9; }

.tool-card-purple .tool-card-icon { background: #f5f3ff; color: #7c3aed; }
.tool-card-purple:hover h3 { color: #7c3aed; }
.tool-card-purple:hover .tool-card-link { color: #7c3aed; }

.info-card-purple .step-num { background: #7c3aed; }

.cta-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 50%, #4c1d95 100%);
}

.cta-banner p { color: #ddd6fe; }

/* ── Word Counter ── */

.counter-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.counter-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.counter-textarea {
    width: 100%;
    min-height: 14rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.7;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.counter-textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

.counter-textarea::placeholder { color: #94a3b8; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    border-color: #c4b5fd;
    box-shadow: 0 4px 12px rgba(124,58,237,0.08);
}

.stat-card-featured {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-color: #c4b5fd;
}

.stat-value {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: #5b21b6;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.privacy-note-inline {
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 0.5rem;
}

.privacy-note-inline i { margin-right: 0.35rem; color: #a78bfa; }