/* hero.css */
.cc-hero {
    background: linear-gradient(to bottom, #ffffff 0%, var(--lp-bg-background) 100%);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .cc-hero {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.cc-hero .container {
    max-width: 96rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
@media (min-width: 768px) {
    .cc-hero .container { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
    .cc-hero .container { padding-left: 3rem; padding-right: 3rem; }
}

.cc-hero-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .cc-hero-grid {
        grid-template-columns: 1fr 1.8fr;
    }
}

.cc-hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cc-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--lp-text-on-surface);
}

.cc-hero-title .text-primary {
    color: var(--lp-color-primary);
}

.cc-hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--lp-text-on-surface-variant);
    max-width: 36rem;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--lp-color-primary), var(--lp-color-primary-container));
    color: var(--lp-color-on-primary);
    padding: 1rem 2rem;
    border-radius: var(--lp-border-radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: var(--lp-shadow-xl);
    transition: all 0.3s ease-in-out;
}

.btn-gradient:hover {
    box-shadow: var(--lp-shadow-2xl);
    transform: translateY(-3px);
}

.cc-hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    max-width: 42rem;
}

.cc-hero-cta-group a {
    text-decoration: none !important;
    flex: 1 1 0%;
    min-width: 16rem; /* Ensure they stack nicely on mobile */
    display: flex;
}

.cc-hero-cta-group button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cc-btn-hero-secondary {
    background-color: var(--lp-bg-surface-container);
    color: var(--lp-text-on-surface);
    padding: 1rem 2rem;
    border-radius: var(--lp-border-radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cc-btn-hero-secondary:hover {
    background: linear-gradient(135deg, var(--lp-color-primary), var(--lp-color-primary-container));
    color: var(--lp-color-on-primary);
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow-xl);
}

.cc-hero-visual-wrapper {
    position: relative;
}

.cc-hero-glow {
    position: absolute;
    top: -1rem; left: -1rem; right: -1rem; bottom: -1rem;
    background-color: rgba(42, 20, 180, 0.05);
    border-radius: var(--lp-border-radius-xl);
    filter: blur(24px);
    transition: background-color 0.3s ease-in-out;
}

.cc-hero-visual-wrapper:hover .cc-hero-glow {
    background-color: rgba(42, 20, 180, 0.1);
}

.cc-hero-image-card {
    position: relative;
    background-color: var(--lp-bg-surface-container-lowest);
    padding: 1rem;
    border-radius: var(--lp-border-radius-lg);
    box-shadow: var(--lp-shadow-2xl);
    overflow: hidden;
    min-height: 300px;
}

@media (min-width: 1024px) {
    .cc-hero-image-card {
        min-height: 400px;
    }
}

.cc-hero-img-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.cc-hero-img-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    filter: drop-shadow(0 25px 25px rgba(0,0,0,0.15));
}
