body {
    background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* Prevent scrollbars from animated blobs */
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative; /* Ensure hero content is above the blobs */
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

/* Remove old fadeIn animation and replace with character animation */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
}

.hero-tagline {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-button {
    display: inline-block;
    background-color: #6D28D9; /* purple-700 */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem; /* 12px */
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 10px 25px -5px rgba(109, 40, 217, 0.4), 0 8px 10px -6px rgba(109, 40, 217, 0.5);
}

.hero-button:hover {
    background-color: #5B21B6; /* purple-800 */
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 30px -5px rgba(109, 40, 217, 0.5), 0 10px 15px -6px rgba(109, 40, 217, 0.6);
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-tagline {
        font-size: 1.1rem;
    }
    .hero-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* --- Animated Blobs --- */
.shape-blob {
    background: linear-gradient(180deg, rgba(109, 40, 217, 0.8) 0%, rgba(168, 85, 247, 0.6) 100%);
    height: 250px;
    width: 250px;
    border-radius: 50% 60% 40% 70% / 60% 50% 70% 40%;
    position: absolute;
    z-index: 0;
    opacity: 0.4;
    filter: blur(100px);
    animation: blob-move 20s ease-in-out infinite alternate;
    top: -50px;
    left: -50px;
}

.shape-blob.one {
    height: 350px;
    width: 500px;
    border-radius: 70% 40% 60% 50% / 50% 70% 40% 60%;
    bottom: -100px;
    right: -150px;
    top: auto;
    left: auto;
    animation-duration: 25s;
    animation-direction: alternate-reverse;
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.8) 0%, rgba(219, 39, 119, 0.6) 100%);
}

.shape-blob.two {
    height: 200px;
    width: 200px;
    border-radius: 40% 70% 50% 60% / 70% 60% 40% 50%;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    animation-duration: 15s;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.8) 0%, rgba(37, 99, 235, 0.6) 100%);
}

@keyframes blob-move {
    0% {
        transform: translate(0, 0) scale(1);
        border-radius: 50% 60% 40% 70% / 60% 50% 70% 40%;
    }
    50% {
         transform: translate(100px, -50px) scale(1.2);
    }
    100% {
        transform: translate(-100px, 100px) scale(0.9);
        border-radius: 70% 40% 60% 50% / 50% 70% 40% 60%;
    }
}

/* --- Enhanced Text Animation --- */
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: char-appear 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(var(--char-index) * 0.08s);
}

@keyframes char-appear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-tagline {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up 1s ease-out forwards;
    animation-delay: 0.8s; /* Start after title animation */
}

.hero-button {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up 1s ease-out forwards;
    animation-delay: 1s; /* Start after tagline animation */
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
