:root {
    --nc-coral: #b8935a;
    --nc-teal: #4a6b5a;
    --nc-blend: #7c2d42;
    --nc-ink: #2a2024;
    --nc-ink-soft: #6b5c62;
    --nc-bg: #f8f5f4;
    --nc-panel: #fdfbfa;
    --nc-border: #e8dfd9;
    --nc-radius: 16px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--nc-ink);
    background: var(--nc-bg);
    line-height: 1.6;
}

h1, h2, h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 0; }
h3 { font-size: 19px; margin-top: 26px; }
p { color: var(--nc-ink-soft); margin: 0 0 14px; }
a { color: var(--nc-blend); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.nc-header { border-bottom: 1px solid var(--nc-border); }
.nc-header-inner { max-width: 1280px; margin: 0 auto; padding: 16px 24px; }
.nc-logo { display: flex; align-items: center; gap: 8px; font-family: 'Newsreader', serif; font-weight: 600; font-size: 19px; color: var(--nc-ink); }
.nc-logo i { color: var(--nc-blend); font-size: 22px; }

/* ---------- Hero ---------- */
.nc-hero { padding: 48px 24px 24px; text-align: center; }
.nc-hero h1 { max-width: 680px; margin: 0 auto 12px; }
.nc-subhead { max-width: 520px; margin: 0 auto 32px; font-size: 16px; }

.nc-workspace {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px minmax(0, 640px) 300px;
    gap: 20px;
    justify-content: center;
    align-items: start;
    text-align: left;
}

.nc-ad-wrap { contain: layout; min-height: 250px; display: none; }
.nc-ad-right { min-height: 600px; }
.nc-ad-label { display: block; font-size: 11px; color: #6b5d57; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 1280px) {
    .nc-ad-wrap:not(.nc-ad-inline) { display: block; }
}
.nc-ad-inline { display: block; max-width: 640px; margin: 0 auto 8px; padding: 0 24px; min-height: 100px; }

/* ---------- Tool card ---------- */
.nc-tool {
    background: var(--nc-panel);
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius);
    padding: 28px 24px;
}

/* Signature element: overlapping circles that blend in the middle */
.nc-venn {
    position: relative;
    height: 160px;
    max-width: 380px;
    margin: 0 auto 28px;
}
.nc-circle {
    position: absolute;
    top: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Newsreader', serif;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    mix-blend-mode: multiply;
    transition: transform .3s ease;
}
.nc-circle-a { left: 20px; background: var(--nc-coral); }
.nc-circle-b { right: 20px; background: var(--nc-teal); }
.nc-blend {
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 76px;
    border-radius: 50%;
    background: var(--nc-blend);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Newsreader', serif;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    padding: 4px 8px;
    opacity: .95;
    pointer-events: none;
}

.nc-inputs { display: flex; align-items: end; gap: 14px; margin-bottom: 24px; }
.nc-input-group { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.nc-input-group label { font-size: 13px; font-weight: 600; color: var(--nc-ink); }
.nc-input-group input {
    padding: 12px 14px; border: 1px solid var(--nc-border); border-radius: 10px;
    font-family: inherit; font-size: 16px; background: #fff;
}
.nc-input-group input:focus { outline: 2px solid var(--nc-blend); outline-offset: 1px; }
.nc-plus { padding-bottom: 12px; color: #c9a49c; font-size: 18px; }

.nc-empty { text-align: center; padding: 20px 10px; color: var(--nc-ink-soft); }
.nc-empty i { font-size: 26px; color: var(--nc-blend); }

.nc-results-title { font-size: 18px; margin-bottom: 12px; }
.nc-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.nc-chip {
    background: #fff; border: 1px solid var(--nc-border); border-radius: 999px;
    padding: 10px 18px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--nc-ink);
}
.nc-chip:hover { border-color: var(--nc-blend); color: var(--nc-blend); }
.nc-hint { font-size: 13px; color: #6b5d57; margin-top: 14px; display: flex; align-items: center; gap: 6px; }

.nc-toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--nc-ink); color: #fff; padding: 10px 18px; border-radius: 999px;
    font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s ease;
}
.nc-toast.nc-toast-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Affiliate strip ---------- */
.nc-affiliate-strip {
    max-width: 1280px; margin: 24px auto 0; padding: 12px 24px;
    display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b5d57;
}

/* ---------- Content sections ---------- */
.nc-section { max-width: 680px; margin: 0 auto; padding: 40px 24px; }
.nc-faq-item { padding: 16px 0; border-bottom: 1px solid var(--nc-border); }
.nc-faq-item:last-child { border-bottom: none; }
.nc-faq-item h3 { margin-top: 0; margin-bottom: 6px; font-size: 17px; }
.nc-faq-item p { margin: 0; }

/* ---------- Footer ---------- */
.nc-footer { border-top: 1px solid var(--nc-border); margin-top: 20px; }
.nc-footer-inner {
    max-width: 1280px; margin: 0 auto; padding: 20px 24px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    font-size: 13px; color: #6b5d57;
}
.nc-footer-links { display: flex; gap: 16px; }
.nc-footer-links a { color: #6b5d57; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .nc-workspace { grid-template-columns: 1fr; }
    .nc-inputs { flex-direction: column; align-items: stretch; }
    .nc-plus { text-align: center; padding-bottom: 0; }
}

/* =========================================================
   Extended tool styles (Love Percentage, Zodiac, Anniversary,
   Long Distance, Love Language Quiz, Timeline, Collage, Letter)
   Namespaced with ct- historically; mapped onto the nc- palette
   and Newsreader/Public Sans type system so it matches the rest of the site.
   ========================================================= */
:root {
    --ct-rose: var(--nc-blend);
    --ct-rose-dark: #5e2233;
    --ct-gold: var(--nc-coral);
    --ct-blush: #f3ece6;
    --ct-panel: var(--nc-panel);
    --ct-ink: var(--nc-ink);
    --ct-ink-soft: var(--nc-ink-soft);
    --ct-border: var(--nc-border);
    --ct-radius: var(--nc-radius);
}

.nc-nav a { font-size: 14px; font-weight: 600; color: var(--nc-ink-soft); }
.nc-header-inner { display: flex; justify-content: space-between; align-items: center; }

/* ---------- Hub page ---------- */
.nc-hub-hero { text-align: center; padding: 56px 24px 30px; }
.nc-hub-hero h1 { max-width: 760px; margin: 0 auto 14px; }
.nc-hub-grid { max-width: 1100px; margin: 0 auto; padding: 0 24px 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nc-card { display: block; background: var(--nc-panel); border: 1px solid var(--nc-border); border-radius: var(--nc-radius); padding: 22px; color: var(--nc-ink); }
.nc-card:hover { border-color: var(--nc-blend); text-decoration: none; }
.nc-card i { font-size: 26px; color: var(--nc-blend); margin-bottom: 10px; display: block; }
.nc-card h2 { font-size: 20px; margin-bottom: 6px; }
.nc-card p { font-size: 14px; margin: 0; }

.nc-footer-tools { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--nc-border); }
.nc-footer-tools strong { color: var(--nc-ink); width: 100%; margin-bottom: 4px; font-family: 'Newsreader', serif; font-size: 16px; }
.nc-footer-tools a { color: var(--nc-ink-soft); }
.nc-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #6b5d57; }

/* ---------- Generic tool page shell (used by the 8 new tools) ---------- */
.ct-hero { padding: 44px 24px 24px; text-align: center; }
.ct-hero h1 { max-width: 700px; margin: 0 auto 12px; }
.ct-subhead { max-width: 560px; margin: 0 auto 32px; font-size: 16px; }
.ct-workspace { max-width: 1280px; margin: 0 auto; padding: 30px 24px 0; display: grid; grid-template-columns: 300px minmax(0, 680px) 300px; gap: 20px; justify-content: center; align-items: start; text-align: left; }
.ct-page-content { min-width: 0; }
.ct-page-content > .ct-hero-inner { text-align: center; margin-bottom: 24px; padding-top: 14px; }
.ct-ad-wrap { contain: layout; min-height: 250px; display: none; }
.ct-ad-right { min-height: 600px; }
.ct-ad-label { display: block; font-size: 11px; color: #6b5d57; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 1280px) { .ct-ad-wrap:not(.ct-ad-inline) { display: block; } }
.ct-ad-inline { display: block; max-width: 680px; margin: 0 auto 8px; padding: 0 24px; min-height: 100px; }
.ct-tool { background: var(--ct-panel); border: 1px solid var(--ct-border); border-radius: var(--ct-radius); padding: 28px 24px; }

.ct-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.ct-field label { font-size: 13px; font-weight: 600; color: var(--ct-ink); }
.ct-field input, .ct-field select, .ct-field textarea { padding: 12px 14px; border: 1px solid var(--ct-border); border-radius: 10px; font-family: inherit; font-size: 15px; background: #fff; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: 2px solid var(--ct-rose); outline-offset: 1px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--ct-border); font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; background: #fff; color: var(--ct-ink); }
.ct-btn-primary { background: var(--ct-rose); border-color: var(--ct-rose); color: #fff; }
.ct-btn-primary:hover { background: var(--ct-rose-dark); }
.ct-btn-gold { background: var(--ct-gold); border-color: var(--ct-gold); color: #fff; }
.ct-btn-toggle.ct-active { background: var(--ct-rose); border-color: var(--ct-rose); color: #fff; }

.ct-result { margin-top: 20px; padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--ct-border); text-align: center; }
.ct-result-big { font-family: 'Newsreader', serif; font-weight: 600; font-size: 44px; color: var(--ct-rose); margin: 0; }
.ct-result-label { font-size: 13px; color: var(--ct-ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }

.ct-meter { height: 14px; border-radius: 999px; background: var(--ct-border); overflow: hidden; margin: 14px 0; }
.ct-meter-fill { height: 100%; background: linear-gradient(90deg, var(--ct-gold), var(--ct-rose)); border-radius: 999px; transition: width .6s ease; }

.ct-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ct-chip { background: #fff; border: 1px solid var(--ct-border); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--ct-ink); }
.ct-chip.ct-active { background: var(--ct-rose); border-color: var(--ct-rose); color: #fff; }

/* Recommendation-engine result cards */
.rc-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.rc-card { background: #fff; border: 1px solid var(--ct-border); border-radius: 12px; padding: 16px; }
.rc-card h3 { font-size: 16px; margin: 0 0 6px; }
.rc-card p { font-size: 14px; margin: 0; }
.rc-count { font-size: 13px; color: var(--ct-ink-soft); margin: 12px 0 4px; }
@media (max-width: 640px) { .rc-results-grid { grid-template-columns: 1fr; } }
.ct-chip:hover { border-color: var(--ct-rose); color: var(--ct-rose); }

.ct-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ct-ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 50; }
.ct-toast.ct-toast-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

.ct-hint { font-size: 13px; color: #6b5d57; margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.ct-empty { text-align: center; padding: 16px 10px; color: var(--ct-ink-soft); }
.ct-empty i { font-size: 24px; color: var(--ct-rose); }

.ct-affiliate-strip { max-width: 1280px; margin: 24px auto 0; padding: 12px 24px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b5d57; }

.ct-section { max-width: 680px; margin: 0 auto; padding: 36px 24px; }
.ct-faq-item { padding: 14px 0; border-bottom: 1px solid var(--ct-border); }
.ct-faq-item:last-child { border-bottom: none; }
.ct-faq-item h3 { margin: 0 0 6px; font-size: 17px; }
.ct-faq-item p { margin: 0; }

.ct-related { max-width: 680px; margin: 0 auto; padding: 0 24px 40px; }
.ct-related h2 { font-size: 20px; }
.ct-related-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-related-grid a { background: var(--ct-blush); border: 1px solid var(--ct-border); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ct-ink); }
.ct-related-grid a:hover { border-color: var(--ct-rose); text-decoration: none; color: var(--ct-rose); }

/* ---------- Timeline / collage / clocks / quiz ---------- */
.ct-timeline { position: relative; padding-left: 28px; margin-top: 20px; }
.ct-timeline::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--ct-border); }
.ct-timeline-item { position: relative; margin-bottom: 18px; background: #fff; border: 1px solid var(--ct-border); border-radius: 10px; padding: 12px 14px; }
.ct-timeline-item::before { content: ""; position: absolute; left: -24px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--ct-rose); }
.ct-timeline-date { font-size: 12px; color: var(--ct-gold); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.ct-timeline-title { font-weight: 700; margin: 2px 0; }
.ct-timeline-note { font-size: 14px; margin: 0; }
.ct-timeline-remove { position: absolute; right: 10px; top: 10px; background: none; border: none; color: #6b5d57; cursor: pointer; font-size: 16px; }

.ct-collage-canvas-stage { background: repeating-conic-gradient(#f4e4e0 0% 25%, #ffffff 0% 50%) 50% / 20px 20px; border-radius: 10px; min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ct-collage-canvas-stage canvas { max-width: 100%; height: auto; display: none; }
.ct-upload-prompt { text-align: center; padding: 36px 20px; color: var(--ct-ink-soft); }
.ct-upload-prompt i { font-size: 36px; color: var(--ct-rose); }
.ct-photo-slot { aspect-ratio: 1 / 1; border: 2px dashed var(--ct-border); border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; position: relative; color: var(--ct-ink-soft); font-size: 13px; text-align: center; }
.ct-photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.ct-photo-slot i { font-size: 22px; color: var(--ct-rose); display: block; margin-bottom: 4px; }

.ct-clock-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.ct-clock-card { background: #fff; border: 1px solid var(--ct-border); border-radius: 12px; padding: 18px; text-align: center; }
.ct-clock-time { font-family: 'Newsreader', serif; font-size: 34px; font-weight: 600; color: var(--ct-rose); }
.ct-clock-label { font-size: 13px; color: var(--ct-ink-soft); margin-top: 4px; }

.ct-countdown { display: flex; justify-content: center; gap: 14px; margin: 20px 0; }
.ct-countdown-unit { background: #fff; border: 1px solid var(--ct-border); border-radius: 12px; padding: 14px 10px; text-align: center; min-width: 66px; }
.ct-countdown-num { font-family: 'Newsreader', serif; font-size: 28px; font-weight: 600; color: var(--ct-rose); }
.ct-countdown-unit-label { font-size: 11px; color: var(--ct-ink-soft); text-transform: uppercase; }

.ct-quiz-progress { height: 6px; border-radius: 999px; background: var(--ct-border); margin-bottom: 20px; overflow: hidden; }
.ct-quiz-progress-fill { height: 100%; background: var(--ct-rose); border-radius: 999px; transition: width .3s ease; }
.ct-quiz-question { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.ct-quiz-options { display: flex; flex-direction: column; gap: 10px; }
.ct-quiz-option { text-align: left; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--ct-border); background: #fff; cursor: pointer; font-family: inherit; font-size: 15px; }
.ct-quiz-option:hover { border-color: var(--ct-rose); }
.ct-quiz-option.ct-active { border-color: var(--ct-rose); background: var(--ct-blush); font-weight: 700; }

/* Paired habit-compatibility layout */
.hq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.hq-column-label { font-size: 13px; font-weight: 700; color: var(--ct-rose); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.hq-option { font-size: 13px; padding: 10px 12px; margin-bottom: 8px; }
@media (max-width: 640px) { .hq-columns { grid-template-columns: 1fr; } }
.ct-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ct-bar-label { width: 140px; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.ct-bar-track { flex: 1; height: 12px; background: var(--ct-border); border-radius: 999px; overflow: hidden; }
.ct-bar-fill { height: 100%; background: linear-gradient(90deg, var(--ct-gold), var(--ct-rose)); border-radius: 999px; }
.ct-bar-pct { width: 40px; text-align: right; font-size: 13px; font-weight: 700; }

@media (max-width: 900px) {
    .ct-workspace { grid-template-columns: 1fr; }
    .ct-row { grid-template-columns: 1fr; }
    .nc-hub-grid { grid-template-columns: 1fr 1fr; }
    .ct-clock-pair { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .nc-hub-grid { grid-template-columns: 1fr; }
}

/* Hub page inline ad units */
.nc-ad-inline-wrap { contain: layout; text-align: center; }
.nc-ad-label-center { display: block; font-size: 11px; color: #6b5d57; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }

/* ============================================================
   NEW TOOLS CSS - Compatible with existing theme
   Uses existing :root variables (--nc-coral, --nc-teal, --nc-blend, etc.)
   ============================================================ */

/* ============================================================
   1. COUPLE TRAVEL BUDGET PLANNER (.ctbp-*)
   ============================================================ */

.ctbp-hero {
    text-align: center;
    padding: 30px 20px 10px;
}

    .ctbp-hero h1 {
        font-size: clamp(28px, 4vw, 38px);
        color: var(--nc-ink);
        margin-bottom: 10px;
        font-family: 'Newsreader', Georgia, serif;
    }

.ctbp-subhead {
    font-size: 17px;
    color: var(--nc-ink-soft);
    max-width: 600px;
    margin: 0 auto 20px;
}

.ctbp-tool {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
}

.ctbp-inputs {
    background: var(--nc-panel);
    padding: 28px 24px;
    border-radius: var(--nc-radius);
    border: 1px solid var(--nc-border);
}

.ctbp-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ctbp-group {
    flex: 1;
    min-width: 140px;
}

    .ctbp-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 6px;
        color: var(--nc-ink);
        font-size: 13px;
    }

    .ctbp-group input,
    .ctbp-group select {
        width: 100%;
        padding: 10px 14px;
        border: 1px solid var(--nc-border);
        border-radius: 10px;
        font-size: 15px;
        background: #fff;
        font-family: inherit;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .ctbp-group input:focus,
        .ctbp-group select:focus {
            border-color: var(--nc-blend);
            outline: none;
            box-shadow: 0 0 0 3px rgba(124, 45, 66, 0.08);
        }

.ctbp-btn {
    background: var(--nc-blend);
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 18px;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
}

    .ctbp-btn:hover {
        background: #5e2233;
    }

    .ctbp-btn:active {
        transform: scale(0.97);
    }

.ctbp-results {
    margin-top: 28px;
    animation: ncFadeUp 0.4s ease;
}

    .ctbp-results h2 {
        font-size: 22px;
        color: var(--nc-ink);
        margin-bottom: 16px;
        font-family: 'Newsreader', Georgia, serif;
    }

.ctbp-summary {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ctbp-stat {
    flex: 1;
    min-width: 130px;
    background: #f5f0ed;
    padding: 18px 20px;
    border-radius: 12px;
    text-align: center;
}

.ctbp-label {
    display: block;
    color: var(--nc-ink-soft);
    font-size: 13px;
}

.ctbp-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--nc-blend);
    font-family: 'Newsreader', Georgia, serif;
}

.ctbp-chart {
    background: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid var(--nc-border);
    margin-top: 18px;
}

.ctbp-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 10px 0;
}

    .ctbp-bar span:first-child {
        width: 130px;
        font-weight: 500;
        color: var(--nc-ink);
        font-size: 14px;
        flex-shrink: 0;
    }

.ctbp-track {
    flex: 1;
    height: 16px;
    background: var(--nc-border);
    border-radius: 999px;
    overflow: hidden;
}

.ctbp-fill {
    height: 100%;
    background: var(--nc-blend);
    border-radius: 999px;
    transition: width 0.8s ease;
}

.ctbp-amount {
    width: 80px;
    text-align: right;
    font-weight: 600;
    color: var(--nc-ink);
    font-size: 14px;
    flex-shrink: 0;
}

.ctbp-tip {
    margin-top: 18px;
    padding: 14px 20px;
    background: #f0ebe8;
    border-radius: 10px;
    color: var(--nc-ink);
    border-left: 4px solid var(--nc-coral);
    font-size: 14px;
}


/* ============================================================
   2. AI LOVE LETTER GENERATOR (.llg-*)
   ============================================================ */

.llg-hero {
    text-align: center;
    padding: 30px 20px 10px;
}

    .llg-hero h1 {
        font-size: clamp(28px, 4vw, 38px);
        color: var(--nc-blend);
        margin-bottom: 10px;
        font-family: 'Newsreader', Georgia, serif;
    }

.llg-subhead {
    font-size: 17px;
    color: var(--nc-ink-soft);
    max-width: 600px;
    margin: 0 auto 20px;
}

.llg-tool {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
}

.llg-inputs {
    background: #fcf6f4;
    padding: 28px 24px;
    border-radius: var(--nc-radius);
    border: 1px solid #e8ddd9;
}

.llg-group {
    margin-bottom: 14px;
}

    .llg-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 5px;
        color: var(--nc-blend);
        font-size: 13px;
    }

    .llg-group input,
    .llg-group select {
        width: 100%;
        padding: 10px 14px;
        border: 1px solid var(--nc-border);
        border-radius: 10px;
        font-size: 15px;
        background: #fff;
        font-family: inherit;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .llg-group input:focus,
        .llg-group select:focus {
            border-color: var(--nc-blend);
            outline: none;
            box-shadow: 0 0 0 3px rgba(124, 45, 66, 0.08);
        }

.llg-btn {
    background: var(--nc-blend);
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 6px;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
}

    .llg-btn:hover {
        background: #5e2233;
    }

    .llg-btn:active {
        transform: scale(0.97);
    }

.llg-key-info {
    margin-top: 14px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--nc-border);
}

    .llg-key-info p {
        margin: 0 0 8px 0;
        font-size: 13px;
        color: var(--nc-ink-soft);
    }

    .llg-key-info a {
        color: var(--nc-blend);
        text-decoration: underline;
    }

    .llg-key-info input {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid var(--nc-border);
        border-radius: 8px;
        font-size: 13px;
        font-family: inherit;
    }

.llg-result {
    margin-top: 28px;
    animation: ncFadeUp 0.5s ease;
}

    .llg-result h2 {
        font-size: 22px;
        color: var(--nc-blend);
        margin-bottom: 14px;
        font-family: 'Newsreader', Georgia, serif;
    }

.llg-letter {
    background: #fff;
    padding: 28px 32px;
    border-radius: 12px;
    border: 1px solid var(--nc-border);
    border-left: 4px solid var(--nc-blend);
    box-shadow: 0 2px 12px rgba(124, 45, 66, 0.06);
}

    .llg-letter p {
        line-height: 1.9;
        font-family: 'Newsreader', Georgia, serif;
        font-size: 17px;
        color: var(--nc-ink);
        white-space: pre-wrap;
        margin: 0;
    }

.llg-signature {
    margin-top: 28px;
    text-align: right;
    font-family: 'Newsreader', Georgia, serif;
}

    .llg-signature p {
        margin: 4px 0;
        font-size: 16px;
    }

    .llg-signature strong {
        font-size: 20px;
        color: var(--nc-blend);
    }

.llg-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.llg-btn-secondary {
    padding: 10px 22px;
    border: 2px solid var(--nc-blend);
    background: transparent;
    color: var(--nc-blend);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
}

    .llg-btn-secondary:hover {
        background: var(--nc-blend);
        color: #fff;
    }

    .llg-btn-secondary:active {
        transform: scale(0.95);
    }

.llg-loading {
    text-align: center;
    padding: 36px 20px;
}

.llg-spinner {
    border: 4px solid var(--nc-border);
    border-top: 4px solid var(--nc-blend);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: ncSpin 0.8s linear infinite;
    margin: 0 auto 16px;
}


/* ============================================================
   3. RELATIONSHIP COMPATIBILITY (.rc-*)
   ============================================================ */

.rc-hero {
    text-align: center;
    padding: 30px 20px 10px;
}

    .rc-hero h1 {
        font-size: clamp(28px, 4vw, 38px);
        color: var(--nc-ink);
        margin-bottom: 10px;
        font-family: 'Newsreader', Georgia, serif;
    }

.rc-subhead {
    font-size: 17px;
    color: var(--nc-ink-soft);
    max-width: 600px;
    margin: 0 auto 20px;
}

.rc-tool {
    max-width: 820px;
    margin: 0 auto;
    padding: 20px;
}

.rc-inputs {
    background: #f5f0f5;
    padding: 28px 24px;
    border-radius: var(--nc-radius);
    border: 1px solid #e8dde8;
}

    .rc-inputs h3 {
        font-size: 15px;
        color: var(--nc-blend);
        margin: 0 0 10px 0;
        font-family: 'Public Sans', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

        .rc-inputs h3:not(:first-child) {
            margin-top: 20px;
        }

.rc-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}

@media (max-width: 768px) {
    .rc-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .rc-row {
        grid-template-columns: 1fr;
    }
}

.rc-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--nc-ink-soft);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rc-group input,
.rc-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--nc-border);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .rc-group input:focus,
    .rc-group select:focus {
        border-color: var(--nc-blend);
        outline: none;
        box-shadow: 0 0 0 3px rgba(124, 45, 66, 0.08);
    }

.rc-btn {
    background: var(--nc-blend);
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 18px;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
}

    .rc-btn:hover {
        background: #5e2233;
    }

    .rc-btn:active {
        transform: scale(0.97);
    }

.rc-result {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
    animation: ncFadeUp 0.5s ease;
}

.rc-score-ring {
    flex-shrink: 0;
    text-align: center;
}

    .rc-score-ring svg {
        transform: rotate(-90deg);
        max-width: 140px;
    }

    .rc-score-ring text {
        fill: var(--nc-ink);
        font-weight: 700;
        font-family: 'Newsreader', Georgia, serif;
    }

.rc-breakdown {
    flex: 1;
    min-width: 180px;
}

.rc-category {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--nc-border);
}

    .rc-category span:first-child {
        color: var(--nc-ink-soft);
        font-weight: 500;
        font-size: 14px;
    }

    .rc-category span:last-child {
        font-weight: 700;
        color: var(--nc-blend);
        font-size: 16px;
    }

.rc-report {
    width: 100%;
    margin-top: 8px;
    padding: 18px 22px;
    background: #f5f0f5;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--nc-ink);
    border-left: 4px solid var(--nc-blend);
}


/* ============================================================
   4. PROPOSAL PLANNER (.pp-*)
   ============================================================ */

.pp-hero {
    text-align: center;
    padding: 30px 20px 10px;
}

    .pp-hero h1 {
        font-size: clamp(28px, 4vw, 38px);
        color: var(--nc-ink);
        margin-bottom: 10px;
        font-family: 'Newsreader', Georgia, serif;
    }

.pp-subhead {
    font-size: 17px;
    color: var(--nc-ink-soft);
    max-width: 600px;
    margin: 0 auto 20px;
}

.pp-tool {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
}

.pp-inputs {
    background: #f5f0f5;
    padding: 28px 24px;
    border-radius: var(--nc-radius);
    border: 2px solid #e8dde8;
}

.pp-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.pp-group {
    flex: 1;
    min-width: 130px;
}

    .pp-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 5px;
        color: var(--nc-blend);
        font-size: 13px;
    }

    .pp-group input {
        width: 100%;
        padding: 10px 14px;
        border: 1px solid var(--nc-border);
        border-radius: 10px;
        font-size: 15px;
        background: #fff;
        font-family: inherit;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .pp-group input:focus {
            border-color: var(--nc-blend);
            outline: none;
            box-shadow: 0 0 0 3px rgba(124, 45, 66, 0.08);
        }

.pp-btn {
    background: var(--nc-blend);
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 14px;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
}

    .pp-btn:hover {
        background: #5e2233;
    }

    .pp-btn:active {
        transform: scale(0.97);
    }

.pp-result {
    margin-top: 28px;
    animation: ncFadeUp 0.4s ease;
}

    .pp-result h2 {
        font-size: 22px;
        color: var(--nc-ink);
        margin-bottom: 16px;
        font-family: 'Newsreader', Georgia, serif;
    }

.pp-summary {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.pp-stat {
    flex: 1;
    min-width: 160px;
    background: #f5f0ed;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 15px;
}

    .pp-stat span:last-child {
        color: var(--nc-blend);
    }

.pp-checklist {
    background: #fff;
    padding: 18px 22px;
    border-radius: 12px;
    border: 1px solid var(--nc-border);
    margin: 18px 0;
}

    .pp-checklist h3 {
        font-size: 16px;
        color: var(--nc-ink);
        margin: 0 0 10px 0;
        font-family: 'Newsreader', Georgia, serif;
    }

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

    .pp-checklist li {
        padding: 8px 0;
        border-bottom: 1px solid var(--nc-border);
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: var(--nc-ink);
    }

        .pp-checklist li:last-child {
            border-bottom: none;
        }

        .pp-checklist li::before {
            content: '✅';
            font-size: 14px;
        }

.pp-tip {
    background: #f5f0ed;
    padding: 14px 20px;
    border-radius: 10px;
    color: var(--nc-ink);
    border-left: 4px solid var(--nc-coral);
    font-size: 14px;
}


/* ============================================================
   INDEX PAGE - NEW TOOLS HIGHLIGHT
   ============================================================ */

.nc-card-new {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

    .nc-card-new:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 32px rgba(124, 45, 66, 0.10);
    }

    .nc-card-new::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 70px;
        height: 70px;
        background: radial-gradient(circle at 100% 0, rgba(124, 45, 66, 0.05), transparent 70%);
        pointer-events: none;
    }

    /* NEW badge pulse animation */
    .nc-card-new .nc-badge-new {
        animation: ncPulseBadge 2s ease-in-out infinite;
    }

@keyframes ncPulseBadge {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.92);
    }
}


/* ============================================================
   COMMON ANIMATIONS
   ============================================================ */

@keyframes ncFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ncSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* ============================================================
   RESPONSIVE FIXES FOR ALL NEW TOOLS
   ============================================================ */

@media (max-width: 768px) {
    .ctbp-hero h1,
    .llg-hero h1,
    .rc-hero h1,
    .pp-hero h1 {
        font-size: 26px;
    }

    .ctbp-subhead,
    .llg-subhead,
    .rc-subhead,
    .pp-subhead {
        font-size: 15px;
    }

    .ctbp-inputs,
    .llg-inputs,
    .rc-inputs,
    .pp-inputs {
        padding: 20px 16px;
    }

    .ctbp-row,
    .pp-row {
        flex-direction: column;
        gap: 10px;
    }

    .ctbp-stat {
        min-width: 100px;
        padding: 12px 16px;
    }

    .ctbp-value {
        font-size: 22px;
    }

    .ctbp-bar {
        flex-wrap: wrap;
        gap: 4px;
    }

        .ctbp-bar span:first-child {
            width: 100%;
            font-size: 13px;
        }

    .ctbp-amount {
        width: auto;
        font-size: 13px;
    }

    .llg-letter {
        padding: 18px 20px;
    }

        .llg-letter p {
            font-size: 15px;
        }

    .llg-actions {
        flex-direction: column;
    }

    .llg-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .rc-result {
        flex-direction: column;
        align-items: center;
    }

    .rc-breakdown {
        width: 100%;
    }

    .pp-summary {
        flex-direction: column;
    }

    .pp-stat {
        min-width: auto;
    }

    /* Index page new section - 2 columns */
    .nc-hub-grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 480px) {
    .ctbp-hero h1,
    .llg-hero h1,
    .rc-hero h1,
    .pp-hero h1 {
        font-size: 22px;
    }

    .ctbp-inputs,
    .llg-inputs,
    .rc-inputs,
    .pp-inputs {
        padding: 14px 12px;
    }

    .ctbp-btn,
    .llg-btn,
    .rc-btn,
    .pp-btn {
        font-size: 15px;
        padding: 12px 20px;
    }

    .llg-key-info input {
        font-size: 12px;
        padding: 6px 10px;
    }

    .rc-score-ring svg {
        max-width: 110px;
    }

    .nc-hub-grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}
