/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* ── Nav ── */
.nav {
    background: rgba(254, 253, 251, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(254, 253, 251, 0.95);
    border-bottom-color: rgba(123, 45, 59, 0.08);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.06);
}

/* ── Hero Blobs ── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}
.blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(244, 151, 168, 0.4), transparent 70%);
    top: -10%; right: -5%;
    animation-delay: 0s;
}
.blob-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(237, 159, 126, 0.3), transparent 70%);
    bottom: 5%; left: 10%;
    animation-delay: -3s;
}
.blob-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(123, 45, 59, 0.15), transparent 70%);
    top: 30%; left: 40%;
    animation-delay: -5s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* ── Condition Cards ── */
.condition-card {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}
.condition-card:hover {
    transform: translateY(-6px);
}

/* ── FAQ ── */
.faq-btn { transition: background 0.2s; }
.faq-btn:hover { background: rgba(123, 45, 59, 0.02); }
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s ease;
}
.faq-content.open {
    max-height: 200px;
}

/* ── Scroll Reveal (below-fold only, progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ── Mobile Menu ── */
.mobile-link { transition: opacity 0.2s; }

/* ── Back to Top ── */
#backToTop.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#backToTop {
    transform: translateY(10px);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero-blob { opacity: 0.3; }
    .blob-1 { width: 300px; height: 300px; }
    .blob-2 { width: 200px; height: 200px; }
    .blob-3 { display: none; }
}
</style>
