/* ========================================
   HERO SECTION - TAI CHI EMBODIMENT
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #E8DFD0 0%, #F7F1E8 50%, #FAF7F2 100%);
}

/* Background Image Layer */
/* Background Image Layer */
.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/backdrop.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
    filter: saturate(1.05) contrast(1.05);
    animation: hero-bg-pan 36s ease-in-out infinite alternate;
}

/* Large Desktop - Show full scene with person centered */
@media (min-width: 1400px) {
    .hero__bg {
        background-position: 50% 45%;
        background-size: cover;
    }
}

/* Desktop - Keep person well-framed */
@media (max-width: 1200px) {
    .hero__bg {
        background-size: cover;
        background-position: 50% 50%;
    }
}

/* Tablet - Start zooming slightly */
@media (max-width: 900px) {
    .hero__bg {
        background-size: 120%;
        background-position: 50% 48%;
    }
}

/* Mobile - Focus on person, darken background for text readability */
@media (max-width: 640px) {
    .hero__bg {
        background-size: 180%;
        background-position: 50% 42%;
        opacity: 0.6;
    }
}

.hero__bg::before,
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__bg::before {
    background: linear-gradient(
        135deg,
        rgba(15, 23, 12, 0.55) 0%,
        rgba(86, 98, 49, 0.25) 40%,
        rgba(247, 241, 232, 0.4) 100%
    );
    mix-blend-mode: soft-light;
    opacity: 0.8;
}

.hero__bg::after {
    background: 
        radial-gradient(circle at 65% 20%, rgba(242, 201, 105, 0.35), transparent 55%),
        radial-gradient(circle at 25% 65%, rgba(255, 255, 255, 0.2), transparent 60%);
    opacity: 0.55;
    mix-blend-mode: screen;
    animation: hero-bg-shimmer 18s ease-in-out infinite;
}

/* Atmospheric Gradient Overlay */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(
            ellipse 100% 80% at 50% 0%,
            transparent 0%,
            rgba(247, 241, 232, 0.3) 50%,
            rgba(247, 241, 232, 0.8) 100%
        );
    z-index: 1;
}

/* Ink-Wash Effect Layer */
.hero__overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(
            ellipse 40% 30% at 30% 20%,
            rgba(242, 201, 105, 0.08) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse 35% 25% at 70% 80%,
            rgba(108, 116, 66, 0.06) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse 50% 40% at 50% 60%,
            rgba(86, 98, 49, 0.04) 0%,
            transparent 70%
        );
    animation: ink-wash-flow 25s ease-in-out infinite;
    mix-blend-mode: multiply;
}

@keyframes ink-wash-flow {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1) translateY(0);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.05) translateY(-10px);
    }
}

/* Flowing Organic Shapes */
.hero__texture {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero__texture::before,
.hero__texture::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

/* Organic blob 1 - top right */
.hero__texture::before {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(
        circle,
        var(--color-brand-yellow) 0%,
        transparent 70%
    );
    animation: float-blob-1 25s ease-in-out infinite;
}

/* Organic blob 2 - bottom left */
.hero__texture::after {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(
        circle,
        var(--color-secondary-olive) 0%,
        transparent 70%
    );
    animation: float-blob-2 20s ease-in-out infinite;
}

.hero__depth {
    position: absolute;
    width: clamp(260px, 28vw, 460px);
    height: clamp(260px, 32vw, 520px);
    border-radius: 52% 48% 46% 54%;
    filter: blur(60px);
    opacity: 0.85;
    z-index: 6;
    pointer-events: none;
    mix-blend-mode: soft-light;
    background: radial-gradient(circle at 40% 30%, rgba(242, 201, 105, 0.45), rgba(86, 98, 49, 0.2), transparent 70%);
}

.hero__depth::after {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.6;
}

.hero__depth--left {
    top: 14%;
    left: max(4%, 60px);
    background: radial-gradient(circle at 30% 30%, rgba(242, 201, 105, 0.5), rgba(86, 98, 49, 0.15), transparent 75%);
}

.hero__depth--right {
    bottom: 4%;
    right: max(6%, 80px);
    background: radial-gradient(circle at 60% 40%, rgba(108, 116, 66, 0.45), rgba(86, 98, 49, 0.15), transparent 70%);
}

@keyframes float-blob-1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        border-radius: 50% 45% 48% 52%;
    }
    33% { 
        transform: translate(30px, -20px) scale(1.05);
        border-radius: 45% 50% 52% 48%;
    }
    66% { 
        transform: translate(-20px, 20px) scale(0.95);
        border-radius: 52% 48% 45% 50%;
    }
}

@keyframes float-blob-2 {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 48% 52% 50% 45%;
    }
    50% { 
        transform: translate(-30px, -30px) scale(1.08) rotate(10deg);
        border-radius: 52% 45% 48% 50%;
    }
}

@keyframes hero-bg-pan {
    0% { background-position: center 4%; filter: saturate(1.05) contrast(1.05); }
    50% { background-position: center 12%; filter: saturate(1.08) contrast(1.08); }
    100% { background-position: center 0%; filter: saturate(1.02) contrast(1.02); }
}

@keyframes hero-bg-shimmer {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
    50% { transform: translate3d(-15px, 18px, 0) scale(1.05); opacity: 0.75; }
}

/* Subtle Grid Texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(86, 98, 49, 0.02) 40px,
            rgba(86, 98, 49, 0.02) 42px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(86, 98, 49, 0.02) 40px,
            rgba(86, 98, 49, 0.02) 42px
        );
    z-index: 3;
    pointer-events: none;
}

/* Content Container */
.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
    background: rgba(247, 241, 232, 0.6);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 35px 80px rgba(42, 42, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    isolation: isolate;
}

.hero__content-frame {
    position: absolute;
    inset: 16px;
    border-radius: calc(var(--radius-xl) - 6px);
    border: 1px solid rgba(86, 98, 49, 0.15);
    opacity: 0.7;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 110%, rgba(242, 201, 105, 0.25), transparent 65%);
}

/* Yin-Yang Symbol */
.hero__symbol {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.hero__symbol::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        circle,
        rgba(242, 201, 105, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: glow-pulse 40s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.3);
        opacity: 0.8;
    }
}

.yin-yang {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 20px 40px rgba(86, 98, 49, 0.25));
    position: relative;
    z-index: 2;
}

.breathing-pulse {
    animation: 
        breathing-pulse 5s ease-in-out infinite,
        gentle-rotate 40s linear infinite;
}

@keyframes breathing-pulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1;
    }
    50% { 
        transform: scale(1.12) rotate(2deg); 
        opacity: 0.95;
    }
}

@keyframes gentle-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Typography */
.hero__title {
    color: var(--color-primary-olive);
    margin-bottom: var(--spacing-md);
    animation: fade-in-up 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    text-shadow: 0 25px 50px rgba(86, 98, 49, 0.22), 0 12px 20px rgba(42, 42, 42, 0.12);
    letter-spacing: -0.02em;
    font-weight: 600;
    position: relative;
}

.hero__title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(160px, 40%, 280px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242, 201, 105, 0.85), transparent);
    opacity: 0.85;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    max-width: 650px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.85;
    color: rgba(42, 42, 42, 0.78);
    animation: fade-in-up 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
    font-weight: 400;
    text-shadow: 0 12px 30px rgba(42, 42, 42, 0.18);
}

/* CTA Buttons */
.hero__cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-in-up 1s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
    padding: 0.8rem;
    border-radius: calc(var(--radius-xl) + 10px);
    background: rgba(247, 241, 232, 0.65);
    box-shadow: 0 20px 45px rgba(42, 42, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    position: relative;
}

.hero__cta::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: inherit;
    border: 1px solid rgba(86, 98, 49, 0.09);
    pointer-events: none;
}

.hero__cta .btn {
    min-width: 180px;
    font-size: 1.0625rem;
    padding: 1rem 2.25rem;
    box-shadow: 
        0 6px 18px rgba(86, 98, 49, 0.2),
        0 8px 18px rgba(42, 42, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.hero__cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 24px rgba(86, 98, 49, 0.2),
        0 4px 8px rgba(86, 98, 49, 0.15);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Flowing Decorative Lines */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: 
        linear-gradient(
            to right,
            transparent 49%,
            rgba(242, 201, 105, 0.03) 49.5%,
            rgba(242, 201, 105, 0.03) 50.5%,
            transparent 51%
        );
    z-index: 4;
    pointer-events: none;
    animation: gentle-sway 15s ease-in-out infinite;
}

@keyframes gentle-sway {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(3deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.125rem;
    }
    
    .yin-yang {
        width: 80px;
        height: 80px;
    }
    
    .hero__texture::before {
        width: 400px;
        height: 400px;
    }
    
    .hero__texture::after {
        width: 350px;
        height: 350px;
    }
    
    .hero__depth {
        filter: blur(45px);
        opacity: 0.75;
    }
    
    .hero__content {
        padding: var(--spacing-xl) var(--spacing-sm);
    }
    
    .hero__cta {
        padding: 0.5rem;
    }
    
    .hero__cta .btn {
        min-width: 100%;
    }

    .scroll-indicator {
        gap: 0.5rem;
        padding: 0.35rem 0.65rem;
    }
    
    .scroll-indicator__shell {
        width: 48px;
        height: 118px;
        padding: 10px 9px;
    }
    
    .scroll-indicator__trail {
        inset: 12px 20px 10px;
    }
}

/* Ambient Particles Effect (optional layer) */
.hero__content::before {
    content: '';
    position: absolute;
    inset: -50%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(242, 201, 105, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(108, 116, 66, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(86, 98, 49, 0.03) 0%, transparent 50%);
    animation: ambient-drift 30s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes ambient-drift {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translate(20px, -20px) scale(1.1);
        opacity: 1;
    }
}

/* Brushstroke Calligraphy Element */
.hero__content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: 
        linear-gradient(
            135deg,
            transparent 0%,
            rgba(242, 201, 105, 0.02) 30%,
            rgba(86, 98, 49, 0.03) 50%,
            rgba(242, 201, 105, 0.02) 70%,
            transparent 100%
        );
    border-radius: 50% 45% 48% 52%;
    filter: blur(40px);
    animation: brushstroke-flow 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes brushstroke-flow {
    0%, 100% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        border-radius: 50% 45% 48% 52%;
    }
    33% { 
        transform: translate(-48%, -52%) rotate(10deg) scale(1.1);
        border-radius: 45% 50% 52% 48%;
    }
    66% { 
        transform: translate(-52%, -48%) rotate(-10deg) scale(0.95);
        border-radius: 52% 48% 45% 50%;
    }
}