/* Hero Global Variables */
:root {
    --hero-z-index: 10;
    --hero-duration: 0.8s;
}

/* =========================================
   HERO SHARED STYLES
   ========================================= */
.dynamic-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Basic font family reset for hero */
    font-family: 'Outfit', 'Segoe UI', sans-serif;
}

/* Fix for Legacy Mode to coexist with New Styles */
.dynamic-hero-section.hero-style-legacy {
    display: block;
    min-height: 85vh;
    /* Match original */
    padding: 140px 0 100px;
    /* Match original padding */
    background: linear-gradient(120deg, #f0f2f5 0%, #e1e4e8 40%, #d1d5db 100%);
    /* Restore original background */
}

/* Ensure overlap of highlights section works */
.dynamic-hero-section.hero-style-legacy+.highlights-section {
    position: relative;
    z-index: 20;
}

.dynamic-hero-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Background Layer */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

/* =========================================
   HERO A: FUTURISTIC MOTION (PREMIUM)
   ========================================= */
.hero-style-a {
    color: white;
    background: radial-gradient(circle at 50% 50%, #1a1a2e, #0f0c29);
}

.hero-style-a .hero-background {
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.9), rgba(48, 43, 99, 0.9), rgba(36, 36, 62, 0.9));
}

.hero-style-a .hero-content {
    text-align: center;
    /* Center Text */
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-style-a h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 25px;
    background: linear-gradient(to right, #ffffff, #00f260, #0575e6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(5, 117, 230, 0.3);
}

.hero-style-a p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    font-weight: 300;
}

.hero-style-a .btn-glow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 18px 50px;
    color: white;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.2);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.hero-style-a .btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.hero-style-a .btn-glow:hover::before {
    left: 100%;
}

.hero-style-a .btn-glow:hover {
    background: #00f260;
    border-color: #00f260;
    color: #1a1a2e;
    box-shadow: 0 0 40px rgba(0, 242, 96, 0.6);
    transform: translateY(-5px);
}

/* Floating Assets for Hero A */
.hero-style-a .hero-asset {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    animation: pulse-glow 8s infinite alternate;
}

.hero-a-main-asset {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Start centered */
    width: 90vw;
    max-width: 1000px;
    z-index: 0;
    opacity: 0.4;
    mix-blend-mode: color-dodge;
    pointer-events: none;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* =========================================
   HERO B: MINIMAL CORPORATE (PREMIUM)
   ========================================= */
.hero-style-b {
    color: #1e293b;
    /* Slate 800 */
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    /* Soft premium gradient */
}

/* Layout Reset for B to be Side-by-Side */
.hero-style-b .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-style-b h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: #0f172a;
    /* Slate 900 */
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-style-b h1 .highlight {
    color: #2563eb;
    /* Blue 600 */
    position: relative;
    z-index: 1;
    display: inline-block;
}

.hero-style-b h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: #dbeafe;
    /* Blue 100 */
    z-index: -1;
    transform: rotate(-2deg);
}

.hero-style-b p {
    font-size: 1.25rem;
    color: #64748b;
    /* Slate 500 */
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.6;
}

.hero-style-b .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
    /* Rounded pill shape */
    font-weight: 600;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-style-b .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
    background: linear-gradient(90deg, #1d4ed8, #1e40af);
}

.hero-style-b .hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-style-b .main-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 50px 50px 100px -20px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-style-b .hero-image-wrapper:hover .main-img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-style-b .floating-badge {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 1);
    animation: float-badge 4s ease-in-out infinite;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =========================================
   HERO C: BOLD CREATIVE (PREMIUM)
   ========================================= */
.hero-style-c {
    color: white;
    background: #000;
}

.hero-style-c .hero-background {
    /* Assuming dark cinamatic background */
    filter: brightness(0.6) contrast(1.2);
}

.hero-style-c .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
    height: 100%;
}

.hero-style-c .big-text {
    font-size: 8rem;
    /* Massive Text */
    font-weight: 900;
    line-height: 0.85;
    text-transform: uppercase;
    font-family: 'Anton', sans-serif;
    /* Needs an impactful font */
    color: white;
    mix-blend-mode: exclusion;
    z-index: 2;
    position: relative;
}

.hero-style-c .big-text span {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: reveal-text 0.8s forwards;
    /* Staggered delay handled in JS or Nth-child */
}

.hero-style-c .big-text span:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-style-c .big-text span:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-style-c .big-text span:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes reveal-text {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-style-c p {
    margin-top: 30px;
    font-size: 1.5rem;
    max-width: 500px;
    z-index: 2;
    padding-left: 10px;
    border-left: 5px solid #ff4757;
    color: rgba(255, 255, 255, 0.8);
}

.hero-style-c .cta-circle {
    width: 180px;
    height: 180px;
    background: #ff4757;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    position: absolute;
    bottom: 10%;
    right: 15%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(255, 71, 87, 0.4);
}

.hero-style-c .cta-circle:hover {
    transform: scale(1.15) rotate(10deg);
    background: white;
    color: #ff4757;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 992px) {
    .hero-style-a h1 {
        font-size: 3.5rem;
    }

    .hero-style-b h1 {
        font-size: 3rem;
    }

    .hero-style-b .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-style-b .hero-image-wrapper {
        order: -1;
        margin-bottom: 30px;
    }

    .hero-style-b h1 .highlight::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
    }

    .hero-style-c .big-text {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .dynamic-hero-section {
        min-height: auto;
        padding: 100px 0;
    }

    .hero-style-a h1 {
        font-size: 2.8rem;
    }

    .hero-style-a .hero-content {
        padding: 20px;
    }

    .hero-style-b h1 {
        font-size: 2.5rem;
    }

    .hero-style-b .floating-badge {
        display: none;
    }

    .hero-style-c .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-style-c .big-text {
        font-size: 3.5rem;
    }

    .hero-style-c .cta-circle {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
        width: 120px;
        height: 120px;
        font-size: 0.9rem;
    }
}