/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    min-height: 100vh;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ── Animations ── */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.08); }
    66% { transform: translate(25px, -15px) scale(0.92); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 40px) scale(1.06); }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    will-change: transform;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #2fd4a7, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #5288ff, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: float2 18s ease-in-out infinite;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #a5bfff, transparent 70%);
    top: 40%;
    left: 20%;
    animation: float3 22s ease-in-out infinite;
}

.testimonial-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.testimonial-blob.blob-1 {
    width: 500px;
    height: 500px;
    background: #2fd4a7;
    top: -150px;
    left: -100px;
    animation: float1 25s ease-in-out infinite;
}

.testimonial-blob.blob-2 {
    width: 400px;
    height: 400px;
    background: #5288ff;
    bottom: -100px;
    right: -100px;
    animation: float2 20s ease-in-out infinite;
}

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Navbar scroll state ── */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(12, 47, 143, 0.08);
}

/* ── Mobile menu transition ── */
#mobile-menu {
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Utility ── */
.no-underline a {
    text-decoration: none;
}

/* ── Focus styles ── */
:focus-visible {
    outline: 2px solid #2fd4a7;
    outline-offset: 2px;
}

/* ── Selection ── */
::selection {
    background: rgba(47, 212, 167, 0.2);
    color: #0c2f8f;
}
