.root {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    &[data-scheme='light'] {
        background-color: var(--color-bg-base-light);
        color: var(--color-text-primary);
    }

    &[data-scheme='dark'] {
        background-color: var(--color-bg-base-dark);
        color: var(--color-text-primary-inverted);
    }
}

.container {
    width: 100%;
    max-width: var(--content-max-width);
    padding: 96px 180px 64px 180px;
}

.header {
    max-width: 1050px;
    margin-bottom: 60px;
}

.content {
    display: grid;
    width: 100%;
    grid-template-columns: 360px 1fr;
    gap: var(--spacing-64);
}

.tags {
    padding-top: var(--spacing-48);
}

.tags > div {
    text-align: left;
}

.imageWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 660px;
    height: max-content;

    &::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: var(--border-radius-full);
        opacity: 0.5;
        background: radial-gradient(
            50% 50% at 50% 50%,
            var(--color-bg-fill-primary) 0%,
            var(--color-bg-fill-brand-solar) 100%
        );
        filter: blur(200px);
        z-index: 0;
    }

    &::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: url('./assets/ipad.png');
        background-repeat: no-repeat;
        background-size: 100% 100%;
        z-index: 2;
    }
}

.image {
    width: 100%;
    height: 100%;
    padding: var(--spacing-16);
    border-radius: var(--border-radius-lg);
    z-index: 1;
}

.root[data-version='v2'] {
    .imageWrap::before,
    .imageWrap::after {
        display: none;
    }

    .image {
        padding: 0;
    }
}

.mobile {
    display: none;
}

@media (width <= 1440px) {
    .container {
        padding: var(--spacing-120);
    }

    .content {
        grid-template-columns: 300px 1fr;
    }
}

@media (width <= 1024px) {
    .container {
        padding: var(--spacing-64);
    }

    .root[data-version='v1'] .image {
        padding: var(--spacing-12);
    }

    .header h2 {
        font-size: var(--font-size-display-sm);
    }

    .content {
        gap: 40px;
    }
}

@media (width <= 820px) {
    .container {
        padding: var(--spacing-56) var(--spacing-48);
    }
    
    .header {
        margin-bottom: 48px;
    }

    .header h2 {
        font-size: var(--font-size-display-xs);
    }

    .content {
        gap: 36px;
    }
}

@media screen and (width <= 768px) {
    .header {
        margin-bottom: var(--spacing-40);
    }

    .content {
        display: flex;
        flex-direction: column-reverse;
        gap: var(--spacing-40);
    }

    .tags {
        padding: 0;
    }

    .root[data-version='v1'] .image {
        padding: var(--spacing-16);
    }

    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }
}
