.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 520px 1fr;
    align-items: center;
    padding: 0;
    background: var(--gradient-hero);
    overflow: hidden;
}

/* Animated Background */

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Grid Pattern */
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

/* Animated Gradient Orbs */
.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: heroFloat 20s ease-in-out infinite;
    will-change: transform;
}

.hero__orb--1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35) 0%, rgba(139, 92, 246, 0.25) 100%);
    top: -20%;
    right: 10%;
    animation-delay: 0s;
}

.hero__orb--2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(59, 130, 246, 0.2) 100%);
    bottom: -10%;
    left: -5%;
    animation-delay: -7s;
}

.hero__orb--3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.2) 0%, rgba(251, 146, 60, 0.15) 100%);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* Noise Texture Overlay */
.hero__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
}

/* ==================== CONTENT AREA ==================== */

.hero__content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-16) var(--space-8);
    padding-left: var(--space-16);
    height: 100%;
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    width: fit-content;
    margin-bottom: var(--space-8);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.15);
    }
}

.hero__badge-text {
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    letter-spacing: 0.02em;
}

/* Title */
.hero__title {
    font-size: var(--text-hero);
    font-weight: var(--font-extrabold);
    line-height: var(--leading-tight);
    letter-spacing: -0.03em;
    color: var(--color-grey-900);
    margin-bottom: var(--space-6);
}

.hero__title-gradient {
    display: block;
    background: var(--gradient-metallic);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Subtitle */
.hero__subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: #525252;
    margin-bottom: var(--space-8);
    max-width: 480px;
}

.hero__subtitle strong {
    color: #0a0a0a;
    font-weight: 600;
}

/* Stats - Text Only */
.hero__stats {
    display: flex;
    align-items: flex-start;
    gap: var(--space-10);
    margin-bottom: var(--space-8);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__stat-value {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-grey-900);
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero__stat-label {
    font-size: 11px;
    font-weight: var(--font-semibold);
    color: #525252;
    /* WCAG AA compliant - 7:1 contrast on white */
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

/* CTA Buttons */
.hero__ctas {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    width: fit-content;
    text-decoration: none;
}

.hero__cta--primary {
    background: var(--color-grey-900);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-sm);
}

.hero__cta--primary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero__cta--secondary {
    background: var(--color-text-inverse);
    color: var(--color-grey-800);
    border: 1.5px solid var(--color-grey-300);
}

.hero__cta--secondary:hover {
    background: var(--color-grey-50);
    border-color: var(--color-grey-400);
}

.hero__cta-icon {
    width: 16px;
    height: 16px;
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: var(--space-16);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-grey-500);
    z-index: 10;
}

.hero__scroll-line {
    width: 40px;
    height: 1px;
    background: var(--color-grey-400);
}

.hero__scroll-text {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 480px 1fr;
    }

    .hero__content {
        padding-left: var(--space-12);
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: var(--space-20) var(--space-8);
    }

    .hero__content {
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .hero__subtitle {
        max-width: 100%;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__ctas {
        flex-direction: row;
        justify-content: center;
    }

    .hero__scroll {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero__stats {
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    .hero__stat {
        flex: 1;
        min-width: 80px;
    }

    .hero__ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero__cta {
        width: 100%;
    }
}