/* --- Home Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.6; /* Dims the image slightly so text is readable */
}

/* The Gradient Fade */
.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    background: none; /* Changed from linear-gradient */
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 10%;
}

/* Hero Typography */
.hero-kicker {
    font-family: var(--font-primary, 'Poppins', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    color: var(--brand-purple);
}

.hero-kicker::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--brand-purple);
}

.hero-title {
    font-family: var(--font-heading, serif);
    font-size: 5rem;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title .title-accent {
    color: var(--brand-purple);
}

.hero-title .sub-heading {
    display: block;
    color: #ffffff;
    font-size: 4rem;
    font-weight: 400;
}

.hero-title .title-dash {
    display: inline-block;
    width: 80px;
    height: 4px;
    background-color: var(--brand-purple);
    margin-bottom: 1rem;
    margin-right: 20px;
    vertical-align: middle;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* --- Hero Section Pill Button --- */
.hero-container .btn-hero {
    display: inline-block;
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
    padding: 16px 45px;
    border-radius: 50px; /* Perfect pill shape */
    font-family: var(--font-primary, 'Poppins', sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.hero-container .btn-hero:hover {
    background-color: var(--brand-purple); /* Purple on hover */
    color: #ffffff; /* White text on hover */
}

@media (max-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    .hero-title .sub-heading { font-size: 2.8rem; }
    .hero-title .title-dash { width: 50px; }
    
    .hero-container { 
        padding: 0 2rem; 
        text-align: center; /* Centers the text and the inline-block button */
    }

    /* Centers the small purple line above the kicker text */
    .hero-kicker::before {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Ensures the subtitle remains centered within its max-width */
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}