/* ============================================
   HERO & CTA SECTIONS CSS
   Gradient backgrounds, parallax image overlays, wave dividers
   ============================================ */

/* --- Hero Section --- */
.hero {
    position: relative;
    background: linear-gradient(130deg, #352597 0%, #8686ff 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 100px 20px 120px;
}

/* Parallax background image layer (shapes overlay) */
.hero .parallax-bg {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: calc(100% + 300px);
    background-image: url('/images/seo/marketing-bg8.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 1;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 0;
    background: radial-gradient(ellipse at center, rgba(53, 37, 151, 0.45) 0%, rgba(53, 37, 151, 0) 75%);
}

.hero h1 {
    color: var(--color-white);
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 30px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.hero .btn {
    font-size: 13px;
}

/* --- Hero - Small variant for inner pages --- */
.hero-small {
    min-height: 300px;
    padding: 80px 20px 100px;
}

/* --- Wave Divider (bottom of hero) --- */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--color-white);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 3;
}

/* Override wave for sections with non-white backgrounds below */
.hero-wave-light::after {
    background: var(--color-light-bg);
}

/* Override wave for dark section below hero */
.hero-wave-dark::after {
    background: #1a1a2e;
}

/* --- CTA Section (bottom of pages) --- */
.cta-section {
    position: relative;
    background: linear-gradient(130deg, #352597 0%, #8686ff 100%);
    padding: 110px 20px 80px;
    text-align: center;
    overflow: hidden;
}

/* Parallax background image layer for CTA */
.cta-section .parallax-bg {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: calc(100% + 300px);
    background-image: url('/images/seo/marketing-bg6.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--color-white);
    clip-path: ellipse(55% 100% at 50% 0%);
    z-index: 3;
}

/* Override for light bg above CTA */
.cta-wave-light::before {
    background: var(--color-light-bg);
}

.cta-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 70px;
    background: rgba(53, 37, 151, 0.35);
    border-radius: 16px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.cta-section .overline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.cta-section h2 {
    color: var(--color-white);
    font-size: 42px;
    margin-bottom: 35px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-cta {
    padding: 18px 45px;
    font-size: 16px;
    letter-spacing: 2.5px;
}
