/* ==========================================================================
   Plan4Event Wedding & Event Planning Tools Stylesheet
   ========================================================================== */

:root {
    --tool-primary: #e91e63;
    --tool-primary-dark: #c2185b;
    --tool-primary-light: #fce4ec;
    --tool-secondary: #6366f1;
    --tool-dark: #0f172a;
    --tool-slate: #1e293b;
    --tool-muted: #64748b;
    --tool-light: #f8fafc;
    --tool-border: #e2e8f0;
    --tool-shadow: 0 10px 30px rgba(0,0,0,0.06);
    --tool-radius: 16px;
}

/* Tool Hero Banner */
.tool-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #31103f 100%);
    color: #ffffff;
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}
.tool-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.25) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    pointer-events: none;
}
.tool-hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}
.tool-hero .badge-tool {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffd1dc;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
.tool-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}
.tool-hero h1 span.gradient-text {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tool-hero p.lead {
    color: #cbd5e1;
    font-size: 1.15rem;
    max-width: 750px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Breadcrumb in Hero */
.tool-breadcrumb {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 20px;
}
.tool-breadcrumb a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}
.tool-breadcrumb a:hover {
    color: #ff758c;
}
.tool-breadcrumb span {
    margin: 0 8px;
    color: #64748b;
}

/* Tool Main Container */
.tool-workspace {
    margin-top: -45px;
    position: relative;
    z-index: 10;
    padding-bottom: 70px;
}

/* Interactive Card Box */
.tool-card-box {
    background: #ffffff;
    border-radius: var(--tool-radius);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 35px 30px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .tool-hero h1 { font-size: 1.9rem; }
    .tool-card-box { padding: 22px 18px; }
}

/* Result Stat Cards */
.tool-stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}
.tool-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}
.tool-stat-card .stat-icon {
    width: 46px;
    height: 46px;
    line-height: 46px;
    border-radius: 12px;
    margin: 0 auto 12px;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tool-stat-card .stat-val {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--tool-dark);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}
.tool-stat-card .stat-lbl {
    font-size: 0.85rem;
    color: var(--tool-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom Sliders & Form Controls */
.tool-form-label {
    font-weight: 700;
    color: var(--tool-slate);
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tool-form-control {
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tool-form-control:focus {
    border-color: var(--tool-primary);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.12);
    outline: none;
}
.range-slider-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.tool-range {
    width: 100%;
    accent-color: var(--tool-primary);
    cursor: pointer;
    height: 6px;
}

/* Buttons */
.btn-tool-pink {
    background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.28);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-tool-pink:hover {
    background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(233, 30, 99, 0.35);
}
.btn-tool-outline {
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: var(--tool-slate);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-tool-outline:hover {
    border-color: var(--tool-slate);
    background: #f1f5f9;
    color: var(--tool-dark);
}

/* Tool Hub Grid & Cards */
.hub-tool-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}
.hub-tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.09);
    border-color: #fbcfe8;
}
.hub-tool-card .hub-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: transform 0.2s;
}
.hub-tool-card:hover .hub-icon-wrap {
    transform: scale(1.08);
}
.hub-tool-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tool-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}
.hub-tool-card p {
    font-size: 0.92rem;
    color: var(--tool-muted);
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 20px;
}
.hub-tool-card .hub-action-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--tool-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.hub-tool-card:hover .hub-action-link {
    gap: 10px;
    color: var(--tool-primary-dark);
}

/* Content & Guide Cards */
.tool-guide-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px 30px;
    margin-bottom: 35px;
}
.tool-step-item {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}
.tool-step-num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: #fce4ec;
    color: var(--tool-primary);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FAQ Accordion */
.tool-faq .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.tool-faq .accordion-button {
    font-weight: 700;
    color: var(--tool-dark);
    font-size: 1.05rem;
    padding: 18px 22px;
    background: #f8fafc;
}
.tool-faq .accordion-button:not(.collapsed) {
    background: #fdf2f8;
    color: var(--tool-primary-dark);
    box-shadow: none;
}
.tool-faq .accordion-body {
    padding: 20px 24px;
    color: #475569;
    font-size: 0.97rem;
    line-height: 1.65;
    background: #ffffff;
}

/* Lead CTA Banner */
.tool-lead-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #31103f 100%);
    border-radius: 20px;
    padding: 45px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}
.tool-lead-banner::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.3) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    pointer-events: none;
}
