/* ========================================
   AITOLIE - Luxury Dark Mode Hero
   Premium gold particles, high-end aesthetic
   ======================================== */

/* Gold Color Palette (True Luxury Gold) */
:root {
    --gold-light: #E8D5A3;
    --gold: #C9A962;
    --gold-dark: #A68B3D;
    --gold-glow: rgba(201, 169, 98, 0.6);
    --gold-soft: rgba(232, 213, 163, 0.15);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: transparent;
    z-index: 2;
}

/* ========== Animated Particle Background ========== */
.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Gradient glow effects - True Gold */
.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero__glow--1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.25) 0%, rgba(166, 139, 61, 0.1) 40%, transparent 70%);
    top: -30%;
    left: 10%;
    animation: glowPulse 8s ease-in-out infinite;
}

.hero__glow--2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 213, 163, 0.2) 0%, rgba(201, 169, 98, 0.08) 40%, transparent 70%);
    bottom: -20%;
    right: 5%;
    animation: glowPulse 10s ease-in-out infinite reverse;
}

.hero__glow--3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.15) 0%, transparent 60%);
    top: 40%;
    right: -15%;
    animation: glowPulse 12s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* ========== 3D Hologram Effect ========== */
.hero__hologram {
    position: absolute;
    pointer-events: none;
    perspective: 1000px;
}

/* Large rotating torus/ring */
.hero__hologram--1 {
    width: 500px;
    height: 500px;
    top: 10%;
    right: 5%;
    animation: holoFloat 20s ease-in-out infinite;
}

.hero__hologram--2 {
    width: 350px;
    height: 350px;
    bottom: 15%;
    left: 8%;
    animation: holoFloat 25s ease-in-out infinite reverse;
}

.hero__hologram--3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 25%;
    animation: holoFloat 15s ease-in-out infinite;
}

/* Hologram ring element */
.hero__holo-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: holoRotate3D 20s linear infinite;
}

.hero__hologram--1 .hero__holo-ring {
    animation-duration: 25s;
}

.hero__hologram--2 .hero__holo-ring {
    animation-duration: 30s;
    animation-direction: reverse;
}

.hero__hologram--3 .hero__holo-ring {
    animation-duration: 18s;
}

/* Multiple rings for 3D effect */
.hero__holo-ring::before,
.hero__holo-ring::after {
    content: '';
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(232, 213, 163, 0.15);
    border-radius: 50%;
}

.hero__holo-ring::after {
    inset: 25%;
    border-color: rgba(201, 169, 98, 0.1);
}

/* Inner torus wireframe */
.hero__holo-inner {
    position: absolute;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border: 1px solid rgba(201, 169, 98, 0.25);
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: holoRotateY 15s linear infinite;
}

.hero__holo-inner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(232, 213, 163, 0.12);
    border-radius: 50%;
    transform: rotateX(60deg);
}

.hero__holo-inner::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(201, 169, 98, 0.08);
    border-radius: 50%;
    transform: rotateY(60deg);
}

/* Holographic center glow */
.hero__holo-glow {
    position: absolute;
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: holoGlowPulse 4s ease-in-out infinite;
}

@keyframes holoRotate3D {
    0% {
        transform: rotateX(70deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(70deg) rotateZ(360deg);
    }
}

@keyframes holoRotateY {
    0% {
        transform: rotateY(0deg) rotateX(20deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(20deg);
    }
}

@keyframes holoFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-15px) translateX(10px);
    }

    50% {
        transform: translateY(5px) translateX(-8px);
    }

    75% {
        transform: translateY(-8px) translateX(5px);
    }
}

@keyframes holoGlowPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* Flowing Gold Trail Animation */
.hero__trail {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--gold-soft) 20%,
            var(--gold) 50%,
            var(--gold-soft) 80%,
            transparent 100%);
    box-shadow: 0 0 20px var(--gold-glow), 0 0 40px rgba(201, 169, 98, 0.3);
    animation: trailFlow 6s linear infinite;
}

.hero__trail:nth-child(4) {
    width: 400px;
    top: 25%;
    left: -400px;
    animation-delay: 0s;
    transform: rotate(8deg);
}

.hero__trail:nth-child(5) {
    width: 300px;
    top: 45%;
    left: -300px;
    animation-delay: -2s;
    transform: rotate(-5deg);
}

.hero__trail:nth-child(6) {
    width: 500px;
    top: 70%;
    left: -500px;
    animation-delay: -4s;
    transform: rotate(12deg);
}

@keyframes trailFlow {
    0% {
        transform: translateX(0) rotate(var(--rotation, 8deg));
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(calc(100vw + 600px)) rotate(var(--rotation, 8deg));
        opacity: 0;
    }
}

/* ★ Sparkle Particles - HIGHLY VISIBLE ★ */
.hero__sparkle {
    position: absolute;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow:
        0 0 6px var(--gold-light),
        0 0 12px var(--gold),
        0 0 24px var(--gold-glow),
        0 0 48px rgba(201, 169, 98, 0.4);
    animation: twinkle 2s ease-in-out infinite;
}

/* Multiple sparkles with different sizes and positions */
.hero__sparkle:nth-child(7) {
    width: 4px;
    height: 4px;
    top: 12%;
    left: 8%;
    animation-delay: 0s;
}

.hero__sparkle:nth-child(8) {
    width: 6px;
    height: 6px;
    top: 18%;
    left: 25%;
    animation-delay: 0.3s;
}

.hero__sparkle:nth-child(9) {
    width: 3px;
    height: 3px;
    top: 28%;
    right: 30%;
    animation-delay: 0.6s;
}

.hero__sparkle:nth-child(10) {
    width: 5px;
    height: 5px;
    top: 35%;
    left: 15%;
    animation-delay: 0.9s;
}

.hero__sparkle:nth-child(11) {
    width: 4px;
    height: 4px;
    top: 45%;
    right: 12%;
    animation-delay: 1.2s;
}

.hero__sparkle:nth-child(12) {
    width: 7px;
    height: 7px;
    top: 55%;
    left: 40%;
    animation-delay: 0.4s;
}

.hero__sparkle:nth-child(13) {
    width: 3px;
    height: 3px;
    top: 65%;
    right: 25%;
    animation-delay: 0.7s;
}

.hero__sparkle:nth-child(14) {
    width: 5px;
    height: 5px;
    top: 75%;
    left: 20%;
    animation-delay: 1s;
}

.hero__sparkle:nth-child(15) {
    width: 4px;
    height: 4px;
    top: 80%;
    right: 18%;
    animation-delay: 1.5s;
}

.hero__sparkle:nth-child(16) {
    width: 6px;
    height: 6px;
    top: 22%;
    right: 15%;
    animation-delay: 0.2s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Extra floating particles */
.hero__particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold-light);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleDrift 15s linear infinite;
}

.hero__particle:nth-child(17) {
    left: 5%;
    animation-delay: 0s;
}

.hero__particle:nth-child(18) {
    left: 20%;
    animation-delay: -3s;
}

.hero__particle:nth-child(19) {
    left: 35%;
    animation-delay: -6s;
}

.hero__particle:nth-child(20) {
    left: 50%;
    animation-delay: -9s;
}

.hero__particle:nth-child(21) {
    left: 65%;
    animation-delay: -12s;
}

.hero__particle:nth-child(22) {
    left: 80%;
    animation-delay: -2s;
}

.hero__particle:nth-child(23) {
    left: 95%;
    animation-delay: -5s;
}

@keyframes particleDrift {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) translateX(30px);
        opacity: 0;
    }
}

/* ========== Content ========== */
.hero__inner {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* Sub title - Typewriter handled by JS */
.hero__label {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-bottom: 32px;
    opacity: 0;
    min-height: 1.5em;
}

/* Main title - Typewriter handled by JS */
.hero__title {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 600;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 56px;
    letter-spacing: 0.08em;
    opacity: 0;
    min-height: 2.5em;
}

.hero__title-highlight {
    /* Gradient handled by .text-gold utility */
}

/* CTA - Luxury Circle button */
.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--gold-light);
    text-decoration: none;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.hero__cta::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 98, 0.3);
    transition: all 0.4s;
}

.hero__cta:hover {
    background: rgba(201, 169, 98, 0.08);
    border-color: var(--gold-light);
    transform: scale(1.08);
    box-shadow:
        0 0 30px rgba(201, 169, 98, 0.3),
        inset 0 0 20px rgba(201, 169, 98, 0.05);
    color: #FFFFFF;
}

.hero__cta:hover::before {
    border-color: var(--gold);
}

/* Lead text */
.hero__lead {
    margin-top: 48px;
    font-size: 14px;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.5);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Studio Badge ========== */
.hero__studio-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.1s;
}

.hero__studio-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero__studio-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--gold);
}

/* ========== Service Tags ========== */
.hero__tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.hero__tag {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: all 0.3s;
}

.hero__tag:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.hero__tag-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* ========== Floating Mockups ========== */
.hero__mockups {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__mockup {
    position: absolute;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    opacity: 0;
    animation: mockupFloat 1.5s ease forwards;
}

.hero__mockup--1 {
    width: 200px;
    height: 140px;
    top: 18%;
    right: 8%;
    animation-delay: 0.8s;
    transform: rotate(5deg);
}

.hero__mockup--2 {
    width: 160px;
    height: 120px;
    bottom: 22%;
    left: 6%;
    animation-delay: 1s;
    transform: rotate(-5deg);
}

@keyframes mockupFloat {
    0% {
        opacity: 0;
        transform: translateY(30px) rotate(var(--rotation, 5deg));
    }

    100% {
        opacity: 0.7;
        transform: translateY(0) rotate(var(--rotation, 5deg));
    }
}

.hero__mockup-header {
    display: flex;
    gap: 4px;
    padding: 8px 10px;
    background: rgba(30, 30, 30, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero__mockup-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.hero__mockup-dot:first-child {
    background: rgba(255, 100, 100, 0.6);
}

.hero__mockup-dot:nth-child(2) {
    background: rgba(255, 200, 100, 0.6);
}

.hero__mockup-dot:nth-child(3) {
    background: rgba(100, 255, 100, 0.6);
}

.hero__mockup-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero__mockup-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    animation: mockupLineShimmer 2s ease-in-out infinite;
}

.hero__mockup-line--title {
    width: 60%;
    height: 8px;
    background: rgba(201, 169, 98, 0.3);
}

.hero__mockup-line--short {
    width: 40%;
}

.hero__mockup-block {
    width: 100%;
    height: 40px;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 4px;
}

@keyframes mockupLineShimmer {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Mockup parallax on scroll */
.hero__mockup--1 {
    animation: mockupDrift1 8s ease-in-out infinite;
    animation-delay: 1.5s;
}

.hero__mockup--2 {
    animation: mockupDrift2 10s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes mockupDrift1 {

    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }

    50% {
        transform: translateY(-15px) rotate(7deg);
    }
}

@keyframes mockupDrift2 {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-12px) rotate(-3deg);
    }
}

/* ========== Scroll Indicator - CENTERED ========== */
.hero__scroll {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.2s;
    z-index: 10;
}

.hero__scroll-text {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(201, 169, 98, 0.5);
}

.hero__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(201, 169, 98, 0.4), transparent);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold-glow);
    animation: scrollDrop 2.5s ease-in-out infinite;
}

@keyframes scrollDrop {
    0% {
        top: -15px;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        top: 50px;
        opacity: 0;
    }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero__title {
        font-size: clamp(28px, 8vw, 42px);
    }

    .hero__cta {
        width: 120px;
        height: 120px;
        font-size: 11px;
    }

    .hero__glow--1,
    .hero__glow--2,
    .hero__glow--3 {
        opacity: 0.4;
    }

    .hero__scroll {
        display: none;
    }
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {

    .hero__glow,
    .hero__trail,
    .hero__sparkle,
    .hero__particle {
        animation: none;
    }
}