/* Base & Utilities */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    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);
}

/* Navbar */
.nav-scrolled {
    background: rgba(250, 240, 251, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 142, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #F5A623;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

/* Mobile menu */
.mobile-nav-link {
    display: block;
}

#mobile-menu.open {
    display: block;
    animation: slideDown 0.3s ease;
}

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

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #4f1d5b 0%, #7B2D8E 30%, #9b3db8 55%, #c052c0 80%, #e8900a 100%);
}

.hero-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-blob {
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: #F5A623;
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: #c052c0;
    bottom: -10%;
    left: -5%;
    animation-delay: -3s;
}

.hero-blob-3 {
    width: 250px;
    height: 250px;
    background: #ffe08a;
    top: 40%;
    left: 20%;
    animation-delay: -5s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero Animations */
.hero-badge {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-stats {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #F5A623;
    color: #4f1d5b;
    font-weight: 800;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary:hover {
    background: #ffb84d;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 800;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* CTA Buttons */
.btn-cta {
    display: inline-flex;
    align-items: center;
    background: #F5A623;
    color: #4f1d5b;
    font-weight: 800;
    padding: 1rem 2.25rem;
    border-radius: 9999px;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-cta:hover {
    background: #ffb84d;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-weight: 800;
    padding: 1rem 2.25rem;
    border-radius: 9999px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Badges */
.badge-plum {
    color: #7B2D8E;
    background: #f3d8f5;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    letter-spacing: 0.08em;
}

/* Service Cards */
.service-card {
    perspective: 1000px;
}

.service-card-inner {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(123, 45, 142, 0.06);
    border: 1px solid rgba(123, 45, 142, 0.06);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(123, 45, 142, 0.12);
    border-color: rgba(123, 45, 142, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f3d8f5 0%, #e6b3ea 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #7B2D8E 0%, #c052c0 100%);
    transform: scale(1.1) rotate(-5deg);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: #7B2D8E;
    transition: color 0.4s ease;
}

.service-card:hover .service-icon svg {
    color: #fff;
}

.service-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: #4f1d5b;
    margin-bottom: 0.5rem;
}

.service-desc {
    color: #7B2D8E;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Testimonial Cards */
.testimonial-card {
    perspective: 1000px;
}

.testimonial-card-inner {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(123, 45, 142, 0.06);
    border: 1px solid rgba(123, 45, 142, 0.06);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.testimonial-card-inner::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: #f3d8f5;
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover .testimonial-card-inner {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(123, 45, 142, 0.1);
}

/* CTA Pattern */
.cta-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Input Fields */
.input-field {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #f3d8f5;
    border-radius: 0.75rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: #4f1d5b;
    background: #faf0fb;
    transition: all 0.3s ease;
    outline: none;
}

.input-field::placeholder {
    color: #c052c0;
    opacity: 0.5;
}

.input-field:focus {
    border-color: #7B2D8E;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(123, 45, 142, 0.1);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf0fb;
}

::-webkit-scrollbar-thumb {
    background: #e6b3ea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7B2D8E;
}

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

    .hero-stats {
        gap: 6px !important;
    }

    .hero-stat .text-3xl {
        font-size: 1.75rem !important;
    }

    .service-card-inner {
        padding: 1.5rem;
    }
}
