/* Tantra.sg shared subpage stylesheet — Quicksand / violet brand system */
:root {
    --black: #1a1a1a;
    --violet: #8a6ab4;
    --lavender: #c4b0d8;
    --silver: #f5f5f5;
    --white: #ffffff;
    --grey: #888888;
    --light-grey: #e8e8e8;
    --tint: #f7f4fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--black);
    line-height: 1.8;
    font-weight: 300;
    background: var(--white);
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* ── HEADER / NAV ── */
header {
    background: var(--white);
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 30px rgba(0,0,0,0.06);
}
nav { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 0; }
.logo {
    font-size: 1.5rem; font-weight: 300; letter-spacing: 0.35em;
    color: var(--black); text-transform: uppercase; text-decoration: none;
}
.logo .dot {
    display: inline-block; width: 5px; height: 5px; background: var(--violet);
    border-radius: 50%; margin: 0 4px; vertical-align: middle;
}
.logo .sg { color: var(--violet); font-weight: 400; }
.nav-links { display: flex; list-style: none; gap: 2.2rem; }
.nav-links a {
    text-decoration: none; color: var(--grey); font-weight: 400; font-size: 0.75rem;
    letter-spacing: 0.2em; text-transform: uppercase; transition: color 0.3s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
    background: var(--violet); transition: width 0.3s;
}
.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after { width: 100%; }
.btn {
    display: inline-block; background: var(--black); color: var(--white);
    padding: 0.7rem 2rem; text-decoration: none; font-weight: 400; font-size: 0.7rem;
    letter-spacing: 0.25em; text-transform: uppercase; transition: all 0.3s;
    font-family: 'Quicksand', sans-serif; border: 1px solid var(--black); cursor: pointer;
}
.btn:hover { background: var(--lavender); border-color: var(--lavender); color: var(--black); }
.btn-outline { background: transparent; color: var(--black); border: 1px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 1px; background: var(--black); margin: 6px 0; transition: all 0.3s; }

/* ── ARTICLE LAYOUT ── */
.page-main { padding-top: 7.5rem; padding-bottom: 5rem; }
.pillar { max-width: 720px; margin: 0 auto; }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin-bottom: 2rem; }
.breadcrumb a { color: var(--violet); text-decoration: none; }
.page-label { font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--violet); margin-bottom: 1.2rem; font-weight: 400; }
.pillar h1 { font-size: 2.4rem; font-weight: 300; line-height: 1.3; letter-spacing: 0.02em; margin-bottom: 1.4rem; }
.pillar h1 em { font-style: normal; color: var(--violet); }
.pillar h2 { font-size: 1.45rem; font-weight: 400; line-height: 1.4; letter-spacing: 0.03em; margin: 3rem 0 1rem; }
.pillar h3 { font-size: 1.05rem; font-weight: 500; margin: 1.8rem 0 0.6rem; }
.pillar p { font-size: 0.95rem; color: #444444; margin-bottom: 1.2rem; }
.pillar ul, .pillar ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.pillar li { font-size: 0.95rem; color: #444444; margin-bottom: 0.5rem; }
.pillar a { color: var(--violet); }
.byline { font-size: 0.78rem; color: var(--grey); margin-bottom: 2rem; }

/* ── LLM components ── */
.direct-answer {
    background: var(--tint);
    border-left: 3px solid var(--violet);
    padding: 1.4rem 1.6rem;
    margin: 1.8rem 0 2.4rem;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--black);
}
.concept-figure { margin: 3rem 0; text-align: center; }
.concept-figure svg { width: 100%; max-width: 620px; height: auto; }
.concept-figure figcaption { font-size: 0.78rem; color: var(--grey); font-style: italic; margin-top: 0.7rem; line-height: 1.6; }
.table-wrap { overflow-x: auto; margin: 1.8rem 0; }
.comparison-table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 0.85rem; }
.comparison-table th { background: var(--violet); color: var(--white); padding: 10px 12px; text-align: left; font-weight: 500; }
.comparison-table th strong { color: inherit; }
.comparison-table td { border: 1px solid #e9e2f2; padding: 10px 12px; vertical-align: top; color: #444444; }
.comparison-table tr:nth-child(even) td { background: #faf8fd; }
.comparison-table .ours { background: var(--tint) !important; font-weight: 500; color: var(--black); }
.not-list li { margin-bottom: 0.7rem; }
.faq-item { margin-bottom: 1.8rem; }
.faq-item h3 { margin: 0 0 0.4rem; }

/* ── CTA / related / sources ── */
.cta-block {
    background: var(--black); color: var(--white);
    padding: 2.4rem 2rem; margin: 3rem 0; text-align: center;
}
.cta-block p { color: rgba(255,255,255,0.75); margin-bottom: 1.4rem; }
.cta-block .cta-lead { color: var(--white); font-size: 1.1rem; font-weight: 400; }
.cta-block .btn { background: var(--white); color: var(--black); border-color: var(--white); }
.cta-block .btn:hover { background: var(--lavender); border-color: var(--lavender); }
.related-concepts { border-top: 1px solid var(--light-grey); margin-top: 3rem; padding-top: 1.6rem; }
.related-concepts h3 { margin-top: 0; }
.related-concepts ul { list-style: none; padding: 0; }
.related-concepts li { margin-bottom: 0.6rem; }
.related-concepts a { text-decoration: none; }

/* ── ENQUIRY FORM ── */
.enquiry-form { background: var(--tint); padding: 2rem 1.8rem; margin: 2.5rem 0; }
.enquiry-form h3 { margin-top: 0; }
.enquiry-form label { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin: 1rem 0 0.3rem; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
    width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--light-grey);
    font-family: 'Quicksand', sans-serif; font-size: 0.9rem; background: var(--white); color: var(--black);
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: 1px solid var(--violet); }
.enquiry-form button { margin-top: 1.4rem; }
.enquiry-form .form-note { font-size: 0.78rem; color: var(--grey); margin-top: 0.8rem; }

/* ── FOOTER ── */
footer { background: var(--black); color: var(--white); padding: 4rem 0 2.5rem; margin-top: 4rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-size: 1.2rem; font-weight: 300; letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-logo .dot { display: inline-block; width: 4px; height: 4px; background: var(--violet); border-radius: 50%; margin: 0 3px; vertical-align: middle; }
.footer-logo .sg { color: var(--violet); }
.footer-info p { font-size: 0.85rem; color: var(--grey); max-width: 300px; line-height: 1.9; }
.footer-links h4 { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey); margin-bottom: 1.2rem; font-weight: 500; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { color: var(--lavender); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; font-weight: 300; }
.footer-links a:hover { color: var(--white); }
.copyright { text-align: center; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.7rem; color: var(--grey); letter-spacing: 0.15em; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 1000; width: 56px; height: 56px;
    background: var(--black); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: all 0.3s; text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
}
.whatsapp-float:hover { background: var(--lavender); transform: scale(1.08); box-shadow: 0 6px 25px rgba(196,176,216,0.4); }
.whatsapp-float:hover svg { fill: var(--black); }
.whatsapp-float svg { width: 26px; height: 26px; fill: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); padding: 2rem 5%; gap: 1.5rem; border-bottom: 1px solid var(--light-grey);
    }
    .mobile-toggle { display: block; }
    .pillar h1 { font-size: 1.8rem; }
    .pillar h2 { font-size: 1.25rem; }
    .page-main { padding-top: 6.5rem; }
}
