:root {
    --color-gray-50: oklch(.985 .002 247.839);
    --color-gray-100: oklch(.967 .003 264.542);
    --color-gray-200: oklch(.928 .006 264.531);
    --color-gray-300: oklch(.872 .01 258.338);
    --color-gray-400: oklch(.707 .022 261.325);
    --color-gray-500: oklch(.551 .027 264.364);
    --color-gray-600: oklch(.446 .03 256.802);
    --color-gray-700: oklch(.373 .034 259.733);
    --color-gray-800: oklch(.278 .033 256.848);
    --color-gray-900: oklch(.21 .034 264.665);
    --color-white: #fff;
    --color-black: #000;
    --border: #0000001a;
    --spacing: .25rem;
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --container-7xl: 80rem;
    --radius: .625rem;
    --radius-2xl: 1rem;
    --tw-ease: cubic-bezier(.4, 0, .2, 1);
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.designwhy-section {
    padding-top: calc(var(--spacing) * 20);
    padding-bottom: calc(var(--spacing) * 20);
    background-color: var(--color-white);
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
}

.designwhy-section.visible {
    opacity: 1;
    transform: none;
    visibility: visible;
    animation: designwhySectionFadeIn 0.8s ease-out 0.2s both;
}

.elementor-editor .designwhy-section,
.elementor-preview .designwhy-section {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.designwhy-container {
    max-width: var(--container-7xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--spacing) * 4);
    padding-right: calc(var(--spacing) * 4);
}

.designwhy-header {
    text-align: center;
    margin-bottom: calc(var(--spacing) * 16);
}

.designwhy-main-title {
    font-size: var(--text-4xl);
    line-height: var(--text-4xl--line-height);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: calc(var(--spacing) * 6);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.designwhy-section.visible .designwhy-main-title {
    opacity: 1;
    transform: translateY(0);
    animation: designwhyTitleSlideIn 0.8s ease-out 0.3s both;
}

.designwhy-main-description {
    font-size: var(--text-xl);
    line-height: var(--text-xl--line-height);
    color: var(--color-gray-600);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.designwhy-section.visible .designwhy-main-description {
    opacity: 1;
    transform: translateY(0);
    animation: designwhyDescriptionSlideIn 0.8s ease-out 0.4s both;
}

.designwhy-features {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: calc(var(--spacing) * 8);
    margin-bottom: calc(var(--spacing) * 12);
}

.designwhy-feature-item {
    background-color: var(--color-gray-50);
    border-radius: var(--radius-2xl);
    padding: calc(var(--spacing) * 8);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.designwhy-section.visible .designwhy-feature-item {
    opacity: 1;
    transform: translateY(0);
    animation: designwhyFeatureSlideIn 0.8s ease-out forwards;
}

.designwhy-section.visible .designwhy-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.designwhy-section.visible .designwhy-feature-item:nth-child(1) { animation-delay: 0.5s; }
.designwhy-section.visible .designwhy-feature-item:nth-child(2) { animation-delay: 0.6s; }
.designwhy-section.visible .designwhy-feature-item:nth-child(3) { animation-delay: 0.7s; }

.elementor-editor .designwhy-feature-item,
.elementor-preview .designwhy-feature-item {
    opacity: 1;
    transform: none;
}

.designwhy-feature-title {
    font-size: var(--text-2xl);
    line-height: var(--text-2xl--line-height);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: calc(var(--spacing) * 4);
    text-align: center;
}

.designwhy-feature-description {
    font-size: var(--text-base);
    line-height: var(--text-base--line-height);
    color: var(--color-gray-600);
    text-align: center;
    margin: 0;
}

.designwhy-main-image {
    width: 100%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.designwhy-section.visible .designwhy-main-image {
    opacity: 1;
    transform: translateY(0);
    animation: designwhyImageSlideIn 0.8s ease-out 0.8s both;
}

.elementor-editor .designwhy-main-image,
.elementor-preview .designwhy-main-image {
    opacity: 1;
    transform: none;
}

.designwhy-main-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

@media (width >= 40rem) {
    .designwhy-container {
        padding-left: calc(var(--spacing) * 6);
        padding-right: calc(var(--spacing) * 6);
    }
    
    .designwhy-main-title {
        font-size: var(--text-5xl);
        line-height: var(--text-5xl--line-height);
    }
}

@media (width >= 48rem) {
    .designwhy-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (width >= 64rem) {
    .designwhy-container {
        padding-left: calc(var(--spacing) * 8);
        padding-right: calc(var(--spacing) * 8);
    }
}

@keyframes designwhySectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes designwhyTitleSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes designwhyDescriptionSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes designwhyFeatureSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes designwhyImageSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
