/* QuoteWise — Custom Styles */
:root {
    --ink: #1e1e2e;
    --ink-soft: #4a4a6a;
    --muted: #7a7a9a;
    --accent: #6c5ce7;
    --accent-lt: #a29bfe;
    --gold: #fdcb6e;
    --surface: #f9f8ff;
    --card-bg: #ffffff;
    --border: #ebebf5;
    --cat-motiv: #eef2ff;
    --cat-life: #f0fdf4;
    --cat-success: #fffbeb;
    --cat-happy: #fdf2f8;
    --cat-rel: #f0f9ff;
}

/* ── Base ── */
body {
    font-family: 'Lora', serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    color: var(--ink);
}

a {
    color: var(--accent);
}

    a:hover {
        color: #4834d4;
    }

/* ── Navbar ── */
.navbar {
    background: #fff !important;
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1.45rem;
    color: var(--accent) !important;
    letter-spacing: -0.3px;
}

.navbar .nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--ink-soft) !important;
}

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: var(--accent) !important;
    }

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 50%, #f0f9ff 100%);
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '\201C';
        font-family: 'DM Serif Display', serif;
        font-size: 28rem;
        color: rgba(108,92,231,0.04);
        position: absolute;
        top: -80px;
        left: -40px;
        line-height: 1;
        pointer-events: none;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    .hero .lead {
        font-family: 'Inter', sans-serif;
        font-size: 1.05rem;
        color: var(--ink-soft);
        max-width: 560px;
    }

/* ── Buttons ── */
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 11px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

    .btn-accent:hover {
        background: #4834d4;
        color: #fff;
    }

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    padding: 9px 26px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

    .btn-outline-accent:hover {
        background: var(--accent);
        color: #fff;
    }

/* ── Section Headings ── */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.section-sub {
    font-family: 'Inter', sans-serif;
    color: var(--muted);
    font-size: 0.97rem;
    margin-bottom: 40px;
}

/* ── Quote Cards ── */
.quote-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 26px 22px;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

    .quote-card:hover {
        box-shadow: 0 8px 32px rgba(108,92,231,0.10);
        transform: translateY(-3px);
    }

.quote-mark {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent-lt);
    margin-bottom: -10px;
    display: block;
}

.quote-text {
    font-size: 1.07rem;
    font-style: italic;
    color: var(--ink);
    margin-bottom: 14px;
    line-height: 1.65;
}

.quote-explanation {
    font-family: 'Inter', sans-serif;
    font-size: 0.87rem;
    color: var(--ink-soft);
    line-height: 1.65;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 4px;
}

.quote-cat-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 14px;
}

.cat-motivation {
    background: var(--cat-motiv);
    color: #4338ca;
}

.cat-life {
    background: var(--cat-life);
    color: #15803d;
}

.cat-success {
    background: var(--cat-success);
    color: #b45309;
}

.cat-happiness {
    background: var(--cat-happy);
    color: #9d174d;
}

.cat-relationships {
    background: var(--cat-rel);
    color: #0369a1;
}

/* ── Category Cards (categories.php) ── */
.cat-card {
    border-radius: 18px;
    padding: 34px 28px;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .cat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0,0,0,0.07);
    }

.cat-icon {
    font-size: 2.6rem;
    margin-bottom: 14px;
    display: block;
}

.cat-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.cat-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: 0;
}

/* ── Filter Bar ── */
.filter-bar .btn-f {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
    display: inline-block;
}

    .filter-bar .btn-f:hover,
    .filter-bar .btn-f.active {
        background: var(--accent);
        border-color: var(--accent);
        color: #fff;
    }

/* ── Why Words Matter section ── */
.words-matter {
    background: var(--surface);
    border-radius: 20px;
    padding: 52px 48px;
}

.wm-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.wm-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── About ── */
.about-banner {
    background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
    border-radius: 20px;
    padding: 44px;
}

.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 22px;
    height: 100%;
}

    .value-card .vi {
        font-size: 2rem;
        margin-bottom: 12px;
        display: block;
    }

/* ── Contact ── */
.contact-box {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    background: var(--surface);
}

.ci {
    color: var(--accent);
    font-size: 1.35rem;
    margin-right: 12px;
}

/* ── Privacy ── */
.privacy-body h2 {
    font-size: 1.3rem;
    margin-top: 38px;
    margin-bottom: 10px;
}

.privacy-body p,
.privacy-body li {
    font-family: 'Inter', sans-serif;
    font-size: 0.94rem;
    color: var(--ink-soft);
    line-height: 1.75;
}

/* ── AdSense slots ── */
.ad-slot {
    background: #f8f8fc;
    border: 1px dashed #d0ccee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    color: #bbb;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    margin: 28px 0;
}

/* ── Footer ── */
footer {
    background: var(--ink);
    color: #9898b8;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
}

.footer-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: #fff;
}

footer a {
    color: #b0a8e8;
    text-decoration: none;
}

    footer a:hover {
        color: #fff;
    }

footer h6 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .words-matter {
        padding: 32px 22px;
    }

    .about-banner {
        padding: 28px 22px;
    }
}
