/* Hero Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    gap: 3rem;
}

/* Logo Advanced */
.hero-logo-advanced {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInScale 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.logo-rings {
    position: absolute;
    width: 100%;
    height: 100%;
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(58, 107, 115, 0.3);
    border-radius: 50%;
    animation: expandRing 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    will-change: transform, opacity;
}

.logo-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
    border-width: 2px;
}

.logo-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-color: rgba(209, 178, 128, 0.35);
    animation-delay: 2s;
    border-width: 2px;
}

.logo-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    border-color: rgba(58, 107, 115, 0.25);
    animation-delay: 4s;
    border-width: 1.5px;
}

@keyframes expandRing {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 0.7;
    }
}

.logo-glow-advanced {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(209, 178, 128, 0.4) 0%, rgba(58, 107, 115, 0.2) 40%, transparent 70%);
    filter: blur(60px);
    animation: pulseGlowAdvanced 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    z-index: -1;
    will-change: transform, opacity;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(209, 178, 128, 0.9), rgba(209, 178, 128, 0.4) 50%, transparent);
    border-radius: 50%;
    animation: particleFloat 25s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    opacity: 0;
    will-change: transform, opacity;
    box-shadow: 0 0 8px rgba(209, 178, 128, 0.5);
}

@keyframes pulseGlowAdvanced {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.hero-logo-img {
    width: 85%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 60px rgba(58, 107, 115, 0.35));
    animation: floatLogo 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-12px) rotate(1deg);
    }
    50% {
        transform: translateY(-18px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

/* Title Container with Split Text */
.hero-title-container {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--petrol);
    text-align: center;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -2px;
}

.title-word {
    display: inline-block;
    margin: 0 0.3rem;
    perspective: 1000px;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(80px) rotateX(-80deg);
    animation: charReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.title-word:nth-child(1) .char:nth-child(1) { animation-delay: 0.8s; }
.title-word:nth-child(1) .char:nth-child(2) { animation-delay: 0.85s; }
.title-word:nth-child(1) .char:nth-child(3) { animation-delay: 0.9s; }
.title-word:nth-child(1) .char:nth-child(4) { animation-delay: 0.95s; }
.title-word:nth-child(1) .char:nth-child(5) { animation-delay: 1s; }

.title-word:nth-child(2) .char:nth-child(1) { animation-delay: 1.05s; }
.title-word:nth-child(2) .char:nth-child(2) { animation-delay: 1.1s; }

.title-word:nth-child(3) .char:nth-child(1) { animation-delay: 1.15s; }
.title-word:nth-child(3) .char:nth-child(2) { animation-delay: 1.2s; }
.title-word:nth-child(3) .char:nth-child(3) { animation-delay: 1.25s; }
.title-word:nth-child(3) .char:nth-child(4) { animation-delay: 1.3s; }
.title-word:nth-child(3) .char:nth-child(5) { animation-delay: 1.35s; }
.title-word:nth-child(3) .char:nth-child(6) { animation-delay: 1.4s; }
.title-word:nth-child(3) .char:nth-child(7) { animation-delay: 1.45s; }

.title-word:nth-child(4) .char:nth-child(1) { animation-delay: 1.5s; }
.title-word:nth-child(4) .char:nth-child(2) { animation-delay: 1.55s; }
.title-word:nth-child(4) .char:nth-child(3) { animation-delay: 1.6s; }
.title-word:nth-child(4) .char:nth-child(4) { animation-delay: 1.65s; }
.title-word:nth-child(4) .char:nth-child(5) { animation-delay: 1.7s; }
.title-word:nth-child(4) .char:nth-child(6) { animation-delay: 1.75s; }
.title-word:nth-child(4) .char:nth-child(7) { animation-delay: 1.8s; }

.title-word:nth-child(5) .char:nth-child(1) { animation-delay: 1.85s; }
.title-word:nth-child(5) .char:nth-child(2) { animation-delay: 1.9s; }

.title-word:nth-child(6) .char:nth-child(1) { animation-delay: 1.95s; }
.title-word:nth-child(6) .char:nth-child(2) { animation-delay: 2s; }
.title-word:nth-child(6) .char:nth-child(3) { animation-delay: 2.05s; }
.title-word:nth-child(6) .char:nth-child(4) { animation-delay: 2.1s; }

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Subtitle Reveal */
.hero-subtitle-reveal {
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 2.3s forwards;
}

.subtitle-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: expandLine 1s ease-out 2.5s forwards;
    transform: scaleX(0);
}

@keyframes expandLine {
    to {
        transform: scaleX(1);
    }
}

.hero-subtitle-text {
    font-family: 'Crimson Text', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--gold);
    margin: 0;
    font-weight: 400;
}

/* Hero Pillars Mini */
.hero-pillars-mini {
    display: flex;
    gap: 3rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 2.6s forwards;
}

.pillar-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-mini:hover {
    transform: translateY(-10px);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(58, 107, 115, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.pillar-mini:hover .pillar-icon {
    background: linear-gradient(135deg, var(--petrol) 0%, var(--petrol-light) 100%);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(58, 107, 115, 0.3);
    transform: rotate(360deg);
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    color: var(--petrol);
    transition: color 0.4s ease;
}

.pillar-mini:hover .pillar-icon svg {
    color: var(--pearl);
}

.pillar-mini span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--petrol);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.pillar-mini:hover span {
    color: var(--gold);
}

/* CTA Buttons Premium */
.hero-cta-premium {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 2.9s forwards;
}

.btn-premium {
    position: relative;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-premium {
    background: linear-gradient(135deg, var(--petrol) 0%, var(--petrol-light) 100%);
    color: var(--pearl);
    box-shadow: 0 10px 40px rgba(58, 107, 115, 0.3);
}

.btn-primary-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(58, 107, 115, 0.4);
}

.btn-primary-premium:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary-premium {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--petrol);
    border-color: rgba(58, 107, 115, 0.2);
}

.btn-secondary-premium:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-secondary-premium:hover .btn-arrow {
    transform: translateX(-5px);
}

.btn-secondary-premium .btn-arrow {
    color: var(--petrol);
}

/* Scroll Indicator Premium */
.scroll-indicator-premium {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 3.2s forwards;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--petrol), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: scrollDotMove 2s ease-in-out infinite;
}

@keyframes scrollDotMove {
    0% {
        top: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.scroll-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--petrol);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo-advanced {
        width: 220px;
        height: 220px;
    }
    
    .hero-main-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-pillars-mini {
        gap: 2rem;
    }
    
    .pillar-icon {
        width: 50px;
        height: 50px;
    }
    
    .pillar-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .hero-cta-premium {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
    
    .btn-premium {
        width: 100%;
        justify-content: center;
    }
    
    .float-word {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content-wrapper {
        gap: 2rem;
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-logo-advanced {
        width: 180px;
        height: 180px;
    }
    
    .hero-pillars-mini {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pillar-mini {
        gap: 0.5rem;
    }
    
    .pillar-icon {
        width: 45px;
        height: 45px;
    }
    
    .pillar-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .pillar-mini span {
        font-size: 0.85rem;
    }
    
    .hero-subtitle-reveal {
        gap: 1rem;
    }
    
    .subtitle-line {
        width: 40px;
    }
    
    .btn-premium {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .scroll-indicator-premium {
        bottom: 2rem;
    }
    
    .float-word {
        font-size: 1.2rem;
    }
    
    .gradient-orb {
        filter: blur(80px);
    }
}
