/* ========================================
   PREMIUM ANTI-GRAVITY HERO SECTION
   Ultra-Realistic Floating Objects
   ======================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    background: #f8f6f3;
}

/* ========================================
   HERO SECTION - FULL VIEWPORT
   ======================================== */

.antigravity-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f6f3 0%, #ede5d8 50%, #e8dcc8 100%);
    perspective: 1500px;
}

/* ========================================
   PREMIUM GRADIENT BACKGROUND
   ======================================== */

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(218, 203, 183, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(237, 229, 216, 0.3) 0%, transparent 70%),
        linear-gradient(135deg, #f8f6f3 0%, #ede5d8 50%, #dac bb7 100%);
    z-index: 1;
}

/* ========================================
   AMBIENT LIGHT EFFECTS
   ======================================== */

.ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: 2;
    animation: ambientPulse 8s ease-in-out infinite;
    pointer-events: none;
}

.light-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.6) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.light-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(218, 203, 183, 0.5) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: 2s;
}

.light-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(237, 229, 216, 0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes ambientPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* ========================================
   FLOATING OBJECTS CONTAINER
   ======================================== */

.floating-objects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    transform-style: preserve-3d;
}

/* ========================================
   BASE FLOATING OBJECT STYLES
   ======================================== */

.float-object {
    position: absolute;
    transform-style: preserve-3d;
    will-change: transform;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.object-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: floatRotate 20s ease-in-out infinite;
}

.object-shadow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    filter: blur(15px);
    opacity: 0.5;
    animation: shadowPulse 4s ease-in-out infinite;
}

@keyframes floatRotate {

    0%,
    100% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    25% {
        transform: rotateX(5deg) rotateY(10deg) rotateZ(-3deg);
    }

    50% {
        transform: rotateX(-3deg) rotateY(-5deg) rotateZ(5deg);
    }

    75% {
        transform: rotateX(7deg) rotateY(-8deg) rotateZ(-2deg);
    }
}

@keyframes shadowPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1.1);
    }
}

/* ========================================
   WALLPAPER TEXTURE SAMPLES
   ======================================== */

.wallpaper-sample {
    width: 180px;
    height: 220px;
}

.wallpaper-sample .object-inner {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 12px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.texture-face {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.texture-face::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* Texture Patterns */
.marble-texture {
    background:
        linear-gradient(135deg, #f5f0e8 0%, #e8dcc8 50%, #d4c4a8 100%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(201, 169, 97, 0.1) 10px, rgba(201, 169, 97, 0.1) 20px);
}

.floral-texture {
    background:
        radial-gradient(circle at 30% 40%, rgba(201, 169, 97, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(218, 203, 183, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #f8f6f3 0%, #ede5d8 100%);
}

.geometric-texture {
    background:
        linear-gradient(45deg, #dac bb7 25%, transparent 25%),
        linear-gradient(-45deg, #dac bb7 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #dac bb7 75%),
        linear-gradient(-45deg, transparent 75%, #dac bb7 75%),
        linear-gradient(135deg, #f8f6f3 0%, #ede5d8 100%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

.wood-texture {
    background:
        repeating-linear-gradient(90deg, #d4c4a8 0px, #c9a961 2px, #d4c4a8 4px, #e8dcc8 6px),
        linear-gradient(135deg, #e8dcc8 0%, #d4c4a8 100%);
}

/* Sample Positions */
.sample-1 {
    top: 15%;
    left: 8%;
    animation: floatUp1 15s ease-in-out infinite;
}

.sample-2 {
    top: 60%;
    left: 12%;
    animation: floatUp2 18s ease-in-out infinite;
}

.sample-3 {
    top: 25%;
    right: 10%;
    animation: floatUp3 16s ease-in-out infinite;
}

.sample-4 {
    bottom: 20%;
    right: 8%;
    animation: floatUp4 17s ease-in-out infinite;
}

/* ========================================
   3D GEOMETRIC SHAPES
   ======================================== */

/* Cube */
.shape-cube {
    width: 120px;
    height: 120px;
    top: 40%;
    left: 15%;
    animation: floatUp5 14s ease-in-out infinite;
}

.cube-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 25s linear infinite;
}

.cube-face {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.4) 0%, rgba(218, 203, 183, 0.6) 100%);
    border: 1px solid rgba(201, 169, 97, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.cube-face.front {
    transform: rotateY(0deg) translateZ(60px);
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(60px);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(60px);
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(60px);
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(60px);
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(60px);
}

@keyframes cubeRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Sphere */
.shape-sphere {
    width: 100px;
    height: 100px;
    top: 70%;
    left: 25%;
    animation: floatUp6 19s ease-in-out infinite;
}

.sphere-3d {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.6) 0%, rgba(184, 147, 90, 0.8) 100%);
    box-shadow:
        inset -20px -20px 40px rgba(0, 0, 0, 0.2),
        inset 10px 10px 30px rgba(255, 255, 255, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.15);
    animation: sphereShine 6s ease-in-out infinite;
}

@keyframes sphereShine {

    0%,
    100% {
        box-shadow: inset -20px -20px 40px rgba(0, 0, 0, 0.2), inset 10px 10px 30px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow: inset 20px 20px 40px rgba(0, 0, 0, 0.2), inset -10px -10px 30px rgba(255, 255, 255, 0.3);
    }
}

/* Pyramid */
.shape-pyramid {
    width: 140px;
    height: 140px;
    top: 50%;
    right: 20%;
    animation: floatUp7 16s ease-in-out infinite;
}

.pyramid-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: pyramidRotate 30s linear infinite;
}

.pyramid-face {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid rgba(201, 169, 97, 0.5);
    backdrop-filter: blur(5px);
}

.pyramid-face.face-1 {
    transform: rotateY(0deg) translateZ(40px);
}

.pyramid-face.face-2 {
    transform: rotateY(90deg) translateZ(40px);
}

.pyramid-face.face-3 {
    transform: rotateY(180deg) translateZ(40px);
}

.pyramid-face.face-4 {
    transform: rotateY(270deg) translateZ(40px);
}

@keyframes pyramidRotate {
    0% {
        transform: rotateY(0deg) rotateX(20deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(20deg);
    }
}

/* ========================================
   FABRIC PIECES
   ======================================== */

.fabric-piece {
    width: 200px;
    height: 150px;
}

.fabric-1 {
    top: 35%;
    right: 15%;
    animation: floatUp8 20s ease-in-out infinite;
}

.fabric-2 {
    bottom: 30%;
    left: 20%;
    animation: floatUp9 22s ease-in-out infinite;
}

.fabric-wave {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(237, 229, 216, 0.8) 0%, rgba(218, 203, 183, 0.9) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: fabricWave 5s ease-in-out infinite;
}

.fabric-wave::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: fabricShine 8s linear infinite;
}

@keyframes fabricWave {

    0%,
    100% {
        border-radius: 20px 40px 30px 50px;
    }

    50% {
        border-radius: 50px 30px 40px 20px;
    }
}

@keyframes fabricShine {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========================================
   GOLD RINGS
   ======================================== */

.gold-ring {
    width: 130px;
    height: 130px;
}

.ring-1 {
    top: 20%;
    left: 30%;
    animation: floatUp10 21s ease-in-out infinite;
}

.ring-2 {
    bottom: 25%;
    right: 25%;
    animation: floatUp11 19s ease-in-out infinite;
}

.ring-3d {
    width: 100%;
    height: 100%;
    border: 15px solid transparent;
    border-radius: 50%;
    background:
        linear-gradient(135deg, #c9a961 0%, #d4b76e 50%, #c9a961 100%) border-box,
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(201, 169, 97, 0.8)) padding-box;
    background-clip: padding-box, border-box;
    box-shadow:
        0 20px 40px rgba(201, 169, 97, 0.3),
        inset 0 -10px 20px rgba(0, 0, 0, 0.2),
        inset 0 10px 20px rgba(255, 255, 255, 0.5);
    animation: ringRotate 15s linear infinite;
}

@keyframes ringRotate {
    0% {
        transform: rotateY(0deg) rotateX(60deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(60deg);
    }
}

/* ========================================
   FLOATING ANIMATIONS
   ======================================== */

@keyframes floatUp1 {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotateZ(0deg);
    }

    25% {
        transform: translateY(-30px) translateX(10px) rotateZ(2deg);
    }

    50% {
        transform: translateY(-60px) translateX(-5px) rotateZ(-1deg);
    }

    75% {
        transform: translateY(-30px) translateX(15px) rotateZ(3deg);
    }
}

@keyframes floatUp2 {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotateZ(0deg);
    }

    33% {
        transform: translateY(-40px) translateX(-15px) rotateZ(-2deg);
    }

    66% {
        transform: translateY(-80px) translateX(10px) rotateZ(2deg);
    }
}

@keyframes floatUp3 {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotateZ(0deg);
    }

    25% {
        transform: translateY(-35px) translateX(-12px) rotateZ(3deg);
    }

    50% {
        transform: translateY(-70px) translateX(8px) rotateZ(-2deg);
    }

    75% {
        transform: translateY(-35px) translateX(-10px) rotateZ(1deg);
    }
}

@keyframes floatUp4 {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotateZ(0deg);
    }

    33% {
        transform: translateY(-45px) translateX(12px) rotateZ(-3deg);
    }

    66% {
        transform: translateY(-90px) translateX(-8px) rotateZ(2deg);
    }
}

@keyframes floatUp5 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-50px) translateX(20px);
    }
}

@keyframes floatUp6 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-55px) translateX(-15px);
    }
}

@keyframes floatUp7 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-45px) translateX(18px);
    }
}

@keyframes floatUp8 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-60px) translateX(-20px);
    }
}

@keyframes floatUp9 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-50px) translateX(15px);
    }
}

@keyframes floatUp10 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-65px) translateX(-18px);
    }
}

@keyframes floatUp11 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-55px) translateX(22px);
    }
}

/* ========================================
   PARTICLES CANVAS
   ======================================== */

.particles-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

/* ========================================
   DEPTH OF FIELD LAYERS
   ======================================== */

.dof-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.dof-front {
    background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(248, 246, 243, 0.3) 100%);
}

.dof-back {
    background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(248, 246, 243, 0.2) 100%);
    filter: blur(3px);
}

/* ========================================
   HERO CONTENT AREA (CLEAN CENTER)
   ======================================== */

.hero-content-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 900px;
}

.hero-text-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ========================================
   HERO TEXT ANIMATIONS
   ======================================== */

.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.1;
    color: #2c2416;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: titleWordAppear 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-word:nth-child(1) {
    animation-delay: 0.2s;
}

.title-word:nth-child(2) {
    animation-delay: 0.4s;
}

.title-word:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes titleWordAppear {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    color: #5a4a3a;
    margin-bottom: 40px;
    opacity: 0;
    animation: subtitleAppear 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes subtitleAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   CTA BUTTONS
   ======================================== */

.hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: buttonsAppear 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

@keyframes buttonsAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.primary-cta {
    background: linear-gradient(135deg, #c9a961 0%, #b8935a 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

.primary-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.6);
}

.secondary-cta {
    background: rgba(255, 255, 255, 0.9);
    color: #5a4a3a;
    border: 2px solid rgba(201, 169, 97, 0.4);
    backdrop-filter: blur(10px);
}

.secondary-cta:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(201, 169, 97, 0.7);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cta-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-cta:hover .cta-icon {
    transform: translateX(5px);
}

/* ========================================
   VIGNETTE OVERLAY
   ======================================== */

.vignette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 6;
    pointer-events: none;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .wallpaper-sample {
        width: 150px;
        height: 180px;
    }

    .shape-cube {
        width: 100px;
        height: 100px;
    }

    .shape-sphere {
        width: 80px;
        height: 80px;
    }

    .fabric-piece {
        width: 160px;
        height: 120px;
    }

    .gold-ring {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .antigravity-hero {
        min-height: 600px;
    }

    .hero-text-container {
        padding: 40px 24px;
    }

    .hero-main-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Reduce floating objects on mobile */
    .sample-3,
    .sample-4,
    .shape-pyramid,
    .fabric-2,
    .ring-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2.5rem;
    }

    .wallpaper-sample {
        width: 120px;
        height: 150px;
    }

    .shape-cube {
        width: 80px;
        height: 80px;
    }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* GPU Acceleration */
.float-object,
.object-inner,
.hero-text-container,
.cta-btn {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}