/* Plagiarism Checker — SnapWordz SEO */
.pc-tool {
    --pc-orange: #f97316;
    --pc-purple: #7c3aed;
    --pc-ink: #121212;
    --pc-muted: #6c6c6c;
    --pc-border: #e8e4ef;
    --pc-card: #ffffff;
    --pc-radius: 14px;
    --pc-shadow: 0 8px 30px rgba(18, 18, 18, 0.06);
}

.pc-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.pc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--pc-border);
    color: var(--pc-muted);
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.pc-form-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--pc-card);
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    box-shadow: var(--pc-shadow);
    padding: 28px 28px 24px;
}

.pc-field {
    margin-bottom: 18px;
}

.pc-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--pc-ink);
    margin-bottom: 8px;
}

.pc-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--pc-muted);
    margin-bottom: 10px;
}

#pc_words {
    width: 100%;
    min-height: 260px;
    border: 1.5px solid #ddd8ea;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--pc-ink);
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#pc_words:focus {
    outline: none;
    border-color: var(--pc-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.pc-captcha {
    display: flex;
    justify-content: center;
    margin: 18px 0;
}

.pc-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.pc-btn {
    min-width: 140px;
    padding: 12px 22px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.pc-btn:hover {
    transform: translateY(-1px);
}

.pc-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.pc-btn-clear {
    background: #f3f0f8;
    color: var(--pc-ink);
}

.pc-btn-submit {
    background: linear-gradient(135deg, var(--pc-orange), #fb923c);
    color: #fff;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.pc-loader {
    display: none;
    text-align: center;
    margin-top: 18px;
}

.pc-loader.is-visible {
    display: block;
}

.pc-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border: 3px solid #efe9f8;
    border-top-color: var(--pc-purple);
    border-radius: 50%;
    animation: pc-spin 0.8s linear infinite;
}

@keyframes pc-spin {
    to { transform: rotate(360deg); }
}

.pc-results-wrap {
    max-width: 900px;
    margin: 28px auto 0;
}

.pc-alert {
    padding: 16px 18px;
    border-radius: 10px;
    background: #fff5f8;
    border: 1px solid #ffd6e5;
    text-align: center;
}

.pc-results {
    text-align: left;
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    box-shadow: var(--pc-shadow);
    padding: 20px 22px;
}

.pc-score {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--pc-ink);
}

.pc-score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.pc-score-card {
    background: #f8f7fb;
    border: 1px solid var(--pc-border);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
}

.pc-score-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--pc-ink);
}

.pc-score-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--pc-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pc-score-unique .pc-score-value {
    color: #059669;
}

.pc-score-plagiarism .pc-score-value {
    color: #dc2626;
}

.pc-sentences {
    margin-bottom: 16px;
}

.pc-sentences h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.pc-sentences ul {
    margin: 0;
    padding-left: 18px;
}

.pc-sentences li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.pc-match-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #dc2626;
    margin-right: 6px;
}

.pc-source-snippet {
    margin-top: 6px;
    font-size: 13px;
    color: var(--pc-muted);
    line-height: 1.45;
}

.pc-powered-by {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 12px;
    color: var(--pc-muted);
}

.pc-powered-by a {
    color: var(--pc-purple);
    font-weight: 600;
}

.pc-report-link {
    margin-bottom: 12px;
}

.pc-report-link a {
    color: var(--pc-purple);
    font-weight: 600;
}

.pc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.pc-table th,
.pc-table td {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    vertical-align: top;
}

.pc-table th {
    background: #f5f5f5;
}

.pc-raw {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-size: 12px;
}

.pc-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.pc-info-card {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 12px;
    padding: 18px;
}

.pc-info-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.pc-info-card p {
    font-size: 14px;
    color: var(--pc-muted);
    margin: 0;
}

/* ── SEO content section ── */
.pc-content {
    padding: 48px 0 64px;
    background: #faf9fc;
    border-top: 1px solid var(--pc-border);
}

.pc-content-block {
    margin-bottom: 44px;
}

.pc-content-block:last-child {
    margin-bottom: 0;
}

.pc-content-block h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--pc-ink);
    margin-bottom: 16px;
    line-height: 1.3;
}

.pc-content-block h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--pc-ink);
    margin: 0 0 8px;
}

.pc-content-block p {
    font-size: 15px;
    line-height: 1.75;
    color: #3a3a3a;
    margin-bottom: 14px;
}

.pc-content-block p:last-child {
    margin-bottom: 0;
}

.pc-content-block a {
    color: var(--pc-purple);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pc-content-block a:hover {
    color: #5b21b6;
}

.pc-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-checklist li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 15px;
    line-height: 1.65;
    color: #3a3a3a;
    border-bottom: 1px solid #f3f0f8;
}

.pc-checklist li:last-child {
    border-bottom: 0;
}

.pc-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.12);
    color: var(--pc-purple);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-steps {
    margin: 0 0 16px;
    padding-left: 22px;
}

.pc-steps li {
    font-size: 15px;
    line-height: 1.7;
    color: #3a3a3a;
    margin-bottom: 10px;
}

.pc-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.pc-audience-card {
    padding: 20px;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    background: #fff;
    transition: box-shadow 0.2s;
}

.pc-audience-card:hover {
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
}

.pc-audience-icon {
    font-size: 26px;
    display: block;
    margin-bottom: 10px;
}

.pc-audience-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pc-muted);
    margin: 0;
}

.pc-compare-wrap {
    overflow-x: auto;
    margin: 18px 0;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    background: #fff;
}

.pc-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pc-compare-table th,
.pc-compare-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f1edf8;
}

.pc-compare-table th {
    background: #faf9fc;
    font-weight: 600;
    color: var(--pc-ink);
    font-size: 13px;
}

.pc-compare-table td {
    color: #3a3a3a;
    vertical-align: top;
}

.pc-compare-table tr:last-child td {
    border-bottom: 0;
}

.pc-faq-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--pc-border);
}

.pc-faq-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pc-faq-item p {
    margin: 0;
}

@media (max-width: 768px) {
    .pc-form-card {
        padding: 20px 16px;
    }

    .pc-audience-grid {
        grid-template-columns: 1fr;
    }

    .pc-content-block h2 {
        font-size: 21px;
    }
}
