/* ==========================================================================
   COMPONENT 1: EDITORIAL HERO SLIDER
   ========================================================================== */
.elan-editorial-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
    isolation: isolate;
}

.elan-editorial-hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    top: -180px;
    left: -180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(90px);
    animation: blobOne 16s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}


.elan-editorial-hero::after {
    content: "";
    position: absolute;
    width: 680px;
    height: 680px;
    right: -240px;
    bottom: -240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    filter: blur(110px);
    animation: blobTwo 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}


.hero-watermark {
    position: absolute;
    top: 12%;
    left: 55%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #fff;
    z-index: 3; /* Behind text (5) but above overlay (2) */
    pointer-events: none;
    user-select: none;
    
    /* Desktop layout profile */
    font-size: 120px;
    letter-spacing: 18px;
    opacity: 0.06;
}

@media (max-width: 768px) {
    .hero-watermark {
        font-size: 50px;
        opacity: 0.04;
    }
}
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Default center-top balance */
    transition: transform 12s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.elan-editorial-hero {
    position: relative;
    width: 100%;
    
    /* Dynamic heights across device categories (Specs 9) */
    margin-top: var(--header-height, 130px);
    height: calc(92vh - var(--header-height, 130px)); /* Desktop: 92vh */
    
    overflow: hidden;
    background: #000;
    isolation: isolate;

    /* Use Flexbox to align content without transform conflicts */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}



.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.72) 0%,
        rgba(0,0,0,.42) 45%,
        rgba(0,0,0,.05) 100%
    );
    z-index: 2;
}
.hero-content {
    position: relative;
    width: 100%;
    max-width: 620px; /* Constrain width (Specs 8) */
    padding-left: 7vw; /* Dynamic screen left margin (Specs 7) */
    z-index: 5;
    color: #fff;
    
    /* Shift content vertically upward above the center (Specs 5) */
    margin-top: -80px; 
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 40px;
    
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-transform: uppercase;
    color: #fff;
    
    margin-bottom: 24px; /* Placed 24px above heading */
    opacity: 1 !important;
    transform: none !important;
}

.hero-label, .hero-buttons {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(52px, 5vw, 78px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -2px;
    max-width: 700px;
    margin-bottom: 28px; /* Placed 28px above paragraph */
    color: #fff;
    text-wrap: balance;
}


.hero-title .reveal-word {
    display: inline-block;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-22px) scale(.97);
    transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
    will-change: transform, opacity;
}

.show-content .hero-title .reveal-word {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fade-content .hero-title .reveal-word {
    opacity: 0;
    transform: translateY(12px) scale(.98);
    transition: opacity .55s ease, transform .55s ease;
    transition-delay: 0s !important;
}
.hero-description {
    max-width: 520px;
    font-size: 20px;
    line-height: 1.7;
    opacity: 0.9;
    
    margin-bottom: 24px; /* Placed 24px above CTA button (Specs 4) */
    color: rgba(255,255,255,.82);
    
    /* Transitions */
    transform: translateY(-18px);
    transition: opacity 1s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1);
}
.show-content .hero-description {
    opacity: 0.9;
    transform: translateY(0);
}
.fade-content .hero-description {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .55s ease, transform .55s ease;
}


.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    
    height: 64px;
    padding: 0 42px;
    font-size: 21px;
    font-weight: 600;
    border-radius: 50px;
    
    background: #fff;
    color: #111;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    transition: all .7s cubic-bezier(.22, 1, .36, 1);
}
.hero-btn span {
    font-size: 22px;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .28);
}

.hero-btn:hover span {
    transform: translateX(8px);
}
.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transition: left 1.2s ease;
}
.hero-btn:hover::before {
    left: 120%;
}

.hero-navigation {
    position: absolute;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 30;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: all .6s cubic-bezier(.22, 1, .36, 1);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, .75);
}

.hero-dot.active {
    width: 34px;
    border-radius: 20px;
    background: var(--white);
}

.scroll-indicator {
    position: absolute;
    right: 50px;
    bottom: 34px;
    width: 34px;
    height: 58px;
    border: 2px solid rgba(255, 255, 255, .55);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    z-index: 30;
}

.scroll-indicator span {
    width: 6px;
    height: 10px;
    border-radius: 20px;
    background: #fff;
    animation: scrollDown 2.4s ease-in-out infinite;
}

.fade-image {
    opacity: 0;
    transform: scale(1.08);
}

.show-image {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   COMPONENT 2: HOW IT WORKS SECTION
   ========================================================================== */
.elan-how-it-works {
    width: 100%;
    background: var(--light);
    padding: 20px 0 0; 
    margin: 0;
    border: 0;
    display: block;
    overflow: hidden;
}

.works-header {
    text-align: center;
    margin-bottom: 40px;
}

.works-tag {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent); /* Uses CSS Dynamic Variable */
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}

.works-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.works-subtitle {
    font-size: 18px;
    color: #555;
    font-weight: 400;
    margin-bottom: 24px;
}

.works-subtitle .accent-text {
    color: var(--accent);
    font-weight: 600;
}

.works-accent-line {
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

.works-promo {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    letter-spacing: -0.5px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 70px;
}

.step-card {
    background: var(--white);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.step-media-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f0f0f0;
    margin-bottom: 28px;
}

.step-main-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f8f8f8;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card:hover .step-main-img {
    transform: scale(1.06);
}

.step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    width: 42px;
    height: 42px;
    background: var(--white);
    border: 1.5px solid var(--accent);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* ==========================================================================
   COMPONENT 3: WHAT YOU GET SECTION
   ========================================================================== */
.elan-what-you-get-section {
    background: #FFFFFF;
    padding: 0 0 80px;
    overflow: hidden;
}

.elan-props-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FAF8F5;
    border-radius: 50px;
    padding: 16px 40px;
    max-width: 1100px;
    margin: 0 auto 60px;
    border: 1px solid rgba(232, 224, 216, 0.4);
}

.elan-prop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1B2646;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.elan-prop-item svg {
    width: 22px;
    height: 22px;
    stroke: #1B2646;
    stroke-width: 1.5;
}

.elan-prop-divider {
    width: 1px;
    height: 24px;
    background-color: #E8E0D8;
}

.elan-why-grid {
    display: grid;
    grid-template-columns: 28% 72%;
    gap: clamp(30px, 3.5vw, 60px);
    align-items: center;
    width: min(1440px, 94%);
    margin: 0 auto;
}

.elan-why-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.elan-why-tag {
    display: block;
    margin-bottom: 12px;
    color: var(--accent);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.elan-why-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 3.8vw, 48px);
    line-height: 1.1;
    font-weight: 700;
    color: #1B2646;
    margin-bottom: 16px;
}

.elan-why-desc {
    color: #555555;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 280px;
}

.elan-why-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 48px;
    background: #0F1D3F;
    border: none;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(15, 29, 63, 0.12);
}

.elan-why-btn:hover {
    transform: translateY(-2px);
    background: #081127;
    box-shadow: 0 12px 28px rgba(15, 29, 63, 0.2);
}

.elan-why-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.elan-get-item {
    text-align: center;
}

.elan-get-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #F4ECE3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.elan-get-icon svg {
    width: 30px;
    height: 30px;
    stroke: #1B2646;
    stroke-width: 1.3;
}

.elan-get-item-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1B2646;
    margin-bottom: 10px;
}

.elan-get-item-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    color: #555555;
    line-height: 1.55;
    max-width: 210px;
    margin: 0 auto;
}

/* ==========================================================================
   COMPONENT 4: FLOATING BADGES & ACCENTS
   ========================================================================== */
.curator-floating-badge {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .curator-floating-badge {
    transform: translateX(-50%) translateY(-3px);
}

.badge-spark {
    color: var(--accent);
    font-size: 18px;
}

.curator-floating-badge p {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    margin: 0;
    flex: 1;
}

.heart-icon {
    color: #e25c5c;
    font-size: 15px;
    animation: pulseHeart 1.5s infinite;
}

.discount-floating-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .discount-floating-badge {
    transform: translateY(-3px);
}

.benefit-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #777;
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.discount-floating-badge h5 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--accent);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.discount-floating-badge p {
    font-size: 12px;
    font-weight: 500;
    color: var(--black);
    margin: 0;
}

@keyframes pulseHeart {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes blobOne {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(70px,60px) scale(1.12); }
}

@keyframes blobTwo {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-70px,-60px) scale(1.08); }
}

/* ==========================================================================
   MEDIA RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-content {
        left: 6%;
        bottom: 10%;
        max-width: 620px;
    }
    .hero-title {
        font-size: clamp(46px, 5vw, 72px);
    }
}

@media (max-width: 1100px) {
    .elan-why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .elan-why-info {
        text-align: center;
        align-items: center;
    }
    .elan-why-info p {
        max-width: 100%;
    }
    .elan-props-bar {
        flex-direction: column;
        gap: 15px;
        border-radius: 20px;
        padding: 24px;
    }
    .elan-props-divider {
        display: none;
    }
}

@media (max-width: 991px) {
    .hero-content {
        left: 40px;
        right: 40px;
        bottom: 70px;
        width: auto;
    }
    .hero-title {
        font-size: clamp(34px, 5vw, 52px);
    }
    .hero-description {
        font-size: 16px;
    }
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    .elan-editorial-hero {
        height: 92vh;
    }
    .hero-content {
        left: 24px;
        right: 24px;
        bottom: 60px;
    }
    .hero-title {
        font-size: 34px;
        line-height: 1.12;
        letter-spacing: -1px;
    }
    .hero-description {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 34px;
    }
    .hero-btn {
        padding: 16px 28px;
        font-size: 15px;
    }
    .hero-navigation {
        bottom: 24px;
    }
    .elan-why-items {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        left: 20px;
        right: 20px;
        bottom: 55px;
    }
    .hero-label {
        font-size: 11px;
        padding: 8px 16px;
        letter-spacing: 2px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-description {
        font-size: 14px;
        line-height: 1.6;
    }
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    .hero-navigation {
        gap: 10px;
    }
    .hero-dot {
        width: 10px;
        height: 10px;
    }
    .hero-dot.active {
        width: 28px;
    }
    .elan-why-items {
        grid-template-columns: 1fr;
    }
    .elan-why-info h2 {
        font-size: 32px;
    }
}