/* --- CSS RESET & ROOT VARIABLES --- */
:root {
    --primary-color: #6a0dad; /* A deep purple inspired by Jasper's branding */
    --secondary-color: #52357B; /* A vibrant accent color like Jasper's flame */
    --background-color: #0f0b18; /* Dark, modern background */
    --text-color: #e0e0e0; /* Light text for readability */
    --text-color-muted: #a0a0a0; /* For secondary text */
    --surface-color: #1a142c; /* For cards and surfaces */
    --border-color: rgba(255, 255, 255, 0.1);

    --font-family: 'Inter', sans-serif;
    --font-size-base: 16px;
    --font-size-h1: clamp(2.5rem, 5vw + 1rem, 4.5rem); /* Responsive font size */
    --font-size-lg: 1.125rem;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Full viewport height */
    padding: 2rem 0;
    text-align: center;
    overflow: hidden; /* Keep SVG blur contained */
}

.hero-background-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* SVG Animation */
@keyframes morph-pulse {
    0% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 0.8; }
    100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
}
@keyframes morph-pulse-alt {
    0% { transform: scale(1.1) rotate(5deg); opacity: 0.7; }
    50% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    100% { transform: scale(1.1) rotate(5deg); opacity: 0.7; }
}

.hero-background-svg .shape1 {
    animation: morph-pulse 20s infinite ease-in-out;
    transform-origin: center;
}
.hero-background-svg .shape2 {
    animation: morph-pulse-alt 25s infinite ease-in-out;
    transform-origin: center;
}
.hero-background-svg .shape3 {
    animation: morph-pulse 18s infinite ease-in-out reverse;
    transform-origin: center;
}


.hero-container {
    position: relative; /* Ensure content is on top of the SVG */
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 750px;
    margin: 0 auto;
}

.hero-headline {
    font-size: var(--font-size-h1);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subheadline {
    font-size: var(--font-size-lg);
    color: var(--text-color-muted);
    max-width: 600px;
    text-wrap: balance; /* Improves text wrapping */
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.btn-primary:hover {
    color: #52357B;
    background-color: #ffffff; /* Slightly darker on hover */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--surface-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* --- ANIMATION STYLES --- */
.hero-content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 768px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}