/* ─── Base & Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, video { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

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

/* ─── Buttons ─── */
.btn-primary {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(147, 51, 234, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
    transform: translateY(-2px);
}
.btn-secondary {
    background: rgba(255,255,255,0.7);
    color: #7e22ce;
    border: 2px solid #e9d5ff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: #faf5ff;
    border-color: #c084fc;
}
.btn-cta {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}
.btn-cta:hover {
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
    transform: translateY(-2px);
}
.btn-secondary-cta {
    background: transparent;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.btn-secondary-cta:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* ─── Cards ─── */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
}

/* ─── Inputs ─── */
.input-field {
    border: 1.5px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1f2937;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}
.input-field:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
.input-field::placeholder { color: #9ca3af; }

/* ─── Hero Blobs ─── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #e9d5ff 0%, transparent 70%);
    top: -10%; left: -5%;
    animation-delay: 0s;
}
.blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #fde68a 0%, transparent 70%);
    bottom: 5%; right: -5%;
    animation-delay: -3s;
}
.blob-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #d8b4fe 0%, transparent 70%);
    top: 40%; right: 15%;
    animation-delay: -5s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ─── Navbar ─── */
#navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(233, 213, 255, 0.4);
}
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.08);
}

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Mobile Menu ─── */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    .hero-blob { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .card-hover:hover { transform: none; }
    .btn-primary:hover, .btn-cta:hover, .btn-secondary:hover, .btn-secondary-cta:hover { transform: none; }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf5ff; }
::-webkit-scrollbar-thumb { background: #d8b4fe; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c084fc; }
