/* Modern Landing Section - Split Design avec Floating Cards */

:root {
    --landing-bg: #ffffff;
}

/* Main Container */
.modern-landing {
    font-family: var(--shop-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    background: var(--landing-bg);
    overflow: hidden;
}

/* Hero Section - Split Design */
.modern-landing__hero {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
}

.modern-landing__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Text Content - Left Side */
.modern-landing__hero-text {
    animation: fadeInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    max-width: 90%;
    padding-right: 2rem;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.modern-landing__hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-landing__hero-description {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    line-height: 1.8;
    color: #4a4a4a;
    margin: 0 0 3rem 0;
    max-width: 85%;
}

/* CTA Button */
.modern-landing__hero-actions {
    margin-bottom: 3.5rem;
}

.modern-landing__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.4rem 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.modern-landing__btn--primary {
    background: var(--primary, #007bff);
    color: #fff;
}

.modern-landing__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-landing__btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    color: #fff !important;
}

.modern-landing__btn:hover::before {
    left: 100%;
}

.modern-landing__btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-landing__btn:hover .modern-landing__btn-icon {
    transform: translateX(5px);
}

/* Features List */
.modern-landing__hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modern-landing__feature {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: #4a4a4a;
    font-size: 1.15rem;
    font-weight: 500;
}

.modern-landing__feature-icon {
    width: 28px;
    height: 28px;
    stroke: var(--primary, #007bff);
    flex-shrink: 0;
    background: color-mix(in srgb, var(--primary, #007bff) 10%, transparent);
    border-radius: 50%;
    padding: 5px;
}

/* Visual Side - Right Side */
.modern-landing__hero-visual {
    position: relative;
    height: 600px;
    animation: fadeInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image Wrapper */
.modern-landing__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.modern-landing__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease-in-out;
}

.modern-landing__hero-image-wrapper:hover .modern-landing__hero-image {
    transform: scale(1.05);
}

/* Decoration Element */
.modern-landing__hero-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--primary, #007bff);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
}

/* Floating Cards */
.modern-landing__floating-card {
    position: absolute;
    background: #fff;
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.modern-landing__floating-card svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary, #007bff);
    flex-shrink: 0;
}

.modern-landing__floating-card i {
    font-size: 2rem;
    color: var(--primary, #007bff);
    flex-shrink: 0;
}

.modern-landing__floating-card span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
}

/* Floating Card Positions & Animations */
.modern-landing__floating-card--1 {
    top: 5%;
    right: -8%;
    animation: float1 6s ease-in-out infinite;
}

.modern-landing__floating-card--2 {
    bottom: 3%;
    left: -10%;
    animation: float2 7s ease-in-out infinite;
}

.modern-landing__floating-card--3 {
    bottom: 3%;
    right: 8%;
    animation: float3 8s ease-in-out infinite;
}

.modern-landing__floating-card--4 {
    top: 40%;
    left: -8%;
    animation: float4 7.5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(-2deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-18px) rotate(-1.5deg);
    }
}


/* Responsive Design */
@media (max-width: 1600px) {
    .modern-landing__hero-content {
        padding: 0 3rem;
    }

    .modern-landing__floating-card--1 {
        right: 5%;
    }

    .modern-landing__floating-card--2 {
        left: 5%;
    }

    .modern-landing__floating-card--3 {
        right: 12%;
    }

    .modern-landing__floating-card--4 {
        left: 5%;
    }
}

@media (max-width: 1400px) {
    .modern-landing__hero-content {
        padding: 0 2.5rem;
    }

    .modern-landing__floating-card--1 {
        right: 8%;
    }

    .modern-landing__floating-card--2 {
        left: 8%;
    }

    .modern-landing__floating-card--3 {
        right: 15%;
    }

    .modern-landing__floating-card--4 {
        left: 8%;
    }
}

@media (max-width: 1200px) {
    .modern-landing__hero-content {
        gap: 4rem;
        padding: 0 2rem;
    }

    .modern-landing__floating-card {
        padding: 1rem 1.25rem;
    }

    .modern-landing__floating-card svg {
        width: 24px;
        height: 24px;
    }

    .modern-landing__floating-card i {
        font-size: 1.75rem;
    }

    .modern-landing__floating-card span {
        font-size: 0.85rem;
    }

    .modern-landing__floating-card--1 {
        right: 10%;
    }

    .modern-landing__floating-card--2 {
        left: 10%;
    }

    .modern-landing__floating-card--3 {
        right: 18%;
    }

    .modern-landing__floating-card--4 {
        left: 10%;
    }
}

@media (max-width: 991px) {
    .modern-landing__hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .modern-landing__hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }

    .modern-landing__hero-visual {
        height: 400px;
        order: -1;
    }

    .modern-landing__hero-text {
        text-align: center;
    }

    .modern-landing__hero-description {
        max-width: 100%;
    }

    .modern-landing__hero-features {
        align-items: center;
    }

    .modern-landing__floating-card {
        display: none;
    }
}

@media (max-width: 576px) {
    .modern-landing__hero-content {
        padding: 0 1.5rem;
    }

    .modern-landing__hero-visual {
        height: 300px;
    }

    .modern-landing__btn {
        width: 100%;
        justify-content: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .modern-landing__hero-text,
    .modern-landing__hero-visual,
    .modern-landing__floating-card--1,
    .modern-landing__floating-card--2,
    .modern-landing__floating-card--3,
    .modern-landing__hero-image {
        animation: none;
    }

    .modern-landing__btn:hover {
        transform: none;
    }
}
