/* PC Tools Hub - scoped under .pcth to avoid theme conflicts */

.pcth {
    --pcth-bg: #f6f8fb;
    --pcth-surface: #ffffff;
    --pcth-surface-soft: #eef6f8;
    --pcth-ink: #142033;
    --pcth-ink-dim: #637083;
    --pcth-muted: #8a95a5;
    --pcth-line: #dde5ee;
    --pcth-line-soft: #edf1f6;
    --pcth-primary: #176b87;
    --pcth-primary-dark: #0f5168;
    --pcth-primary-soft: #e5f5f7;
    --pcth-green: #2f9d7e;
    --pcth-blue: #3b82f6;
    --pcth-amber: #d68b00;
    --pcth-shadow: 0 18px 45px rgba(28, 48, 74, .08);

    background: transparent;
    color: var(--pcth-ink);
    font-family: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

.pcth *,
.pcth *::before,
.pcth *::after {
    box-sizing: border-box;
}

.pcth-wrap {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 18px 64px;
}

/* HERO */
.pcth-hero {
    padding: 22px 0 18px;
    position: relative;
}

.pcth-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid #cce6ea;
    background: var(--pcth-primary-soft);
    border-radius: 999px;
    color: var(--pcth-primary-dark);
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 22px;
}

.pcth-dot {
    width: 6px;
    height: 6px;
    background: var(--pcth-green);
    border-radius: 50%;
    display: inline-block;
}

.pcth-h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(38px, 5.2vw, 58px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.045em;
    max-width: 16ch;
    margin: 0 0 20px;
    color: var(--pcth-ink);
}

.pcth-stroke {
    color: var(--pcth-primary);
    font-style: normal;
}

.pcth-hero-sub {
    position: relative;
    z-index: 1;
    font-size: 17px;
    color: var(--pcth-ink-dim);
    max-width: 58ch;
    line-height: 1.7;
    margin: 0 0 26px;
}

.pcth-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.pcth-btn-primary {
    background: var(--pcth-primary);
    color: #fff !important;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--pcth-primary);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.pcth-btn-primary:hover {
    transform: translateY(-2px);
    background: var(--pcth-primary-dark);
    box-shadow: 0 10px 24px rgba(23, 107, 135, .22);
}

.pcth-hero-pills {
    display: flex;
    gap: 18px;
    color: var(--pcth-muted);
    font-size: 13.5px;
    flex-wrap: wrap;
}

.pcth-hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pcth-hero-pills b {
    color: var(--pcth-primary-dark);
    font-weight: 600;
}

/* SECTION HEAD */
.pcth-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 46px 0 18px;
}

.pcth-sec-eyebrow {
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: var(--pcth-primary);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
}

.pcth-sec-title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-top: 8px;
    color: var(--pcth-ink);
}

.pcth-sec-title em {
    font-style: normal;
    color: var(--pcth-primary);
}

/* TOOL CARDS */
.pcth-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pcth-card {
    background: var(--pcth-surface);
    border: 1px solid var(--pcth-line-soft);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 10px 28px rgba(28, 48, 74, .04);
}

.pcth-card:hover {
    transform: translateY(-3px);
    border-color: #c9d8e5;
    box-shadow: var(--pcth-shadow);
}

.pcth-card.pcth-feature {
    grid-column: span 1;
    padding: 24px;
}

.pcth-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.pcth-card.pcth-psu .pcth-card-icon {
    background: #fff6df;
    color: var(--pcth-amber);
}

.pcth-card.pcth-ram .pcth-card-icon {
    background: #e8f7f0;
    color: var(--pcth-green);
}

.pcth-card.pcth-cool .pcth-card-icon {
    background: #eaf3ff;
    color: var(--pcth-blue);
}

.pcth-card.pcth-gpu .pcth-card-icon {
    background: #f2efff;
    color: #7058c8;
}

.pcth-card.pcth-mobo .pcth-card-icon {
    background: #fff0e7;
    color: #c96f25;
}

.pcth-card.pcth-build .pcth-card-icon {
    background: #eef2ff;
    color: #4f46e5;
}

.pcth-card.pcth-soon {
    background: #fbfcfd;
    opacity: .78;
    cursor: default;
}

.pcth-card.pcth-soon:hover {
    transform: none;
}

.pcth-card.pcth-soon::before {
    content: 'COMING SOON';
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px;
    padding: 4px 8px;
    background: #f2f5f8;
    border: 1px solid var(--pcth-line-soft);
    border-radius: 6px;
    letter-spacing: .15em;
    color: var(--pcth-muted);
}

.pcth-card h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: var(--pcth-ink);
}

.pcth-card.pcth-feature h3 {
    font-size: 20px;
}

.pcth-card p {
    color: var(--pcth-ink-dim);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0 0 18px;
}

.pcth-card.pcth-feature p {
    font-size: 14.5px;
    max-width: none;
}

.pcth-card-stats {
    display: flex;
    gap: 16px;
    color: var(--pcth-muted);
    font-size: 12.5px;
    margin-bottom: 18px;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    flex-wrap: wrap;
}

.pcth-card-stats b {
    color: var(--pcth-primary-dark);
}

.pcth-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pcth-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
}

.pcth-cta-dim {
    color: var(--pcth-muted) !important;
}

.pcth-cta-accent {
    color: var(--pcth-primary) !important;
}

.pcth-arr {
    transition: transform .2s ease;
    display: inline-block;
}

.pcth-card:hover .pcth-arr {
    transform: translateX(4px);
}

.pcth-card-build {
    background: linear-gradient(135deg, #ffffff 0%, #eef6f8 100%);
    border-color: #d8e9ed;
}

.pcth-card-icon-build {
    background: var(--pcth-primary-soft);
    color: var(--pcth-primary);
}

/* HOW */
.pcth-how {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pcth-step {
    padding: 28px 26px;
    border: 1px solid var(--pcth-line-soft);
    border-radius: 16px;
    background: var(--pcth-surface);
    box-shadow: 0 10px 28px rgba(28, 48, 74, .04);
}

.pcth-step-num {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--pcth-primary);
    margin-bottom: 14px;
    font-weight: 600;
}

.pcth-step h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--pcth-ink);
}

.pcth-step p {
    color: var(--pcth-ink-dim);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
}

/* GUIDES */
.pcth-guides {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pcth-guide {
    border: 1px solid var(--pcth-line-soft);
    background: var(--pcth-surface);
    border-radius: 14px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 164px;
    transition: all .2s ease;
    box-shadow: 0 10px 28px rgba(28, 48, 74, .035);
}

.pcth-guide:hover {
    border-color: #c9d8e5;
    box-shadow: var(--pcth-shadow);
}

.pcth-guide-tag {
    align-self: flex-start;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .1em;
}

.pcth-guide-tag.pcth-psu {
    background: #fff6df;
    color: var(--pcth-amber);
}

.pcth-guide-tag.pcth-ram {
    background: #e8f7f0;
    color: var(--pcth-green);
}

.pcth-guide-tag.pcth-cool {
    background: #eaf3ff;
    color: var(--pcth-blue);
}

.pcth-guide-tag.pcth-gpu {
    background: #f2efff;
    color: #7058c8;
}

.pcth-guide-tag.pcth-mobo {
    background: #fff0e7;
    color: #c96f25;
}

.pcth-guide-tag.pcth-build {
    background: #eef2ff;
    color: #4f46e5;
}

.pcth-guide h5 {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    flex: 1;
    margin: 0;
    color: var(--pcth-ink);
}

.pcth-guide-meta {
    color: var(--pcth-ink-dim);
    font-size: 12.5px;
}

/* WHY */
.pcth-why {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.pcth-why-item {
    padding: 22px;
    border: 1px solid var(--pcth-line-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, .65);
}

.pcth-ic {
    font-size: 22px;
    margin-bottom: 10px;
}

.pcth-why-item h6 {
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--pcth-ink);
}

.pcth-why-item p {
    font-size: 13px;
    color: var(--pcth-ink-dim);
    line-height: 1.5;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .pcth-tools-grid {
        grid-template-columns: 1fr;
    }
    .pcth-card,
    .pcth-card.pcth-feature {
        grid-column: span 1;
    }
    .pcth-how,
    .pcth-guides {
        grid-template-columns: 1fr;
    }
    .pcth-why {
        grid-template-columns: 1fr 1fr;
    }
    .pcth-sec-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 520px) {
    .pcth-wrap {
        padding: 18px 10px 56px;
    }
    .pcth-hero {
        padding: 12px 0 16px;
    }
    .pcth-h1 {
        max-width: none;
        font-size: 38px;
    }
    .pcth-hero-sub {
        font-size: 16px;
        line-height: 1.65;
    }
    .pcth-hero-pills {
        gap: 10px;
    }
    .pcth-btn-primary {
        width: 100%;
        justify-content: center;
    }
    .pcth-sec-title {
        font-size: 28px;
    }
    .pcth-why {
        grid-template-columns: 1fr;
    }
}

/* Final clean-theme overrides: keep the hub aligned with the site's light WP theme. */
.pcth {
    background: transparent !important;
}

.pcth .pcth-wrap {
    padding-top: 28px !important;
}

.pcth .pcth-hero {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.pcth .pcth-hero::after {
    display: none !important;
}
