/* GOXLR — Home page layout */

/* ── Hero: copy left, product photos right (no banner) ── */
.page-home .hero--home {
    min-height: auto;
    align-items: center;
    padding: calc(var(--header) + 48px) 0 64px;
    background: var(--bg);
}

.page-home .hero--home .hero__overlay {
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.92) 42%,
            rgba(255, 255, 255, 0.35) 68%,
            transparent 100%);
}

.page-home .hero--home .hero__glow {
    right: 8%;
    top: 48%;
    width: min(560px, 50vw);
    height: min(560px, 50vw);
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 68%);
    opacity: 0.9;
}

.page-home .hero--home .hero__inner--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    position: relative;
    z-index: 2;
}

.page-home .hero--home .hero__content {
    max-width: 480px;
    padding-bottom: 0;
}

.page-home .hero--home .hero-title {
    font-size: clamp(34px, 4.5vw, 50px);
    margin-bottom: 14px;
    line-height: 1.08;
}

.page-home .hero--home .hero-subtitle {
    font-size: 16px;
    margin-bottom: 26px;
    max-width: 400px;
}

.page-home .hero--home .hero__fade {
    height: 80px;
    background: linear-gradient(transparent, var(--bg));
}

.page-home .hero--home .btn-ghost {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

/* Product photos — main hero visual */
.page-home .hero__visual {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin-left: auto;
    aspect-ratio: 1 / 0.9;
    min-height: 320px;
}

.page-home .hero__shot {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border-radius: var(--r-xl);
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: var(--bg);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.05),
        0 18px 40px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    line-height: 0;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.page-home .hero__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-home .hero__shot--back {
    top: 0;
    right: 0;
    width: 74%;
    aspect-ratio: 16 / 10;
    z-index: 1;
}

.page-home .hero__shot--front {
    bottom: 0;
    left: 0;
    width: 88%;
    aspect-ratio: 16 / 10;
    z-index: 2;
    border: 3px solid var(--bg);
}

.page-home .hero__shot:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 24px 48px rgba(0, 0, 0, 0.12);
}

body.page-ready .page-home .hero__shot--front {
    animation: heroShotFloat 8s ease-in-out 1s infinite;
}

@keyframes heroShotFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -6px, 0); }
}

/* ── Home sections ── */
.home-section {
    padding: clamp(56px, 7vw, 88px) 0;
}

.home-section--muted {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.home-section__head {
    margin-bottom: 28px;
    max-width: 480px;
}

.home-section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 360px;
}

.home-section__title {
    font-size: clamp(22px, 3vw, 30px);
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.home-section__lead {
    font-size: 15px;
    color: var(--text-2);
    margin: 0;
    line-height: 1.6;
}

.home-section__action {
    text-align: center;
    margin-top: 28px;
}

.home-platforms {
    grid-template-columns: repeat(4, 1fr);
}

.home-features {
    max-width: 880px;
    margin: 0 auto;
}

.home-benefits .card-block h3 {
    font-size: 15px;
}

.home-benefits .card-block p {
    font-size: 13px;
}

/* ── Support row ── */
.home-support {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.home-support__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.home-support__card:hover {
    border-color: rgba(59, 130, 246, 0.28);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--text);
}

.home-support__card > i {
    font-size: 20px;
    color: var(--blue);
    margin-top: 2px;
    flex-shrink: 0;
}

.home-support__card strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.home-support__card span {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.45;
}

/* ── CTA bar ── */
.home-cta {
    padding: 48px 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 50%, #f5f8ff 100%);
    border-top: 1px solid var(--line);
}

.home-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 36px;
    background: var(--bg);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
}

.home-cta__copy h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.home-cta__copy p {
    font-size: 14px;
    color: var(--text-2);
    margin: 0;
}

/* ── SEO footnote ── */
.home-seo {
    padding: 0 0 48px;
}

.home-seo__text {
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.65;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.home-seo__text a {
    color: var(--text-2);
}

.home-seo__text a:hover {
    color: var(--blue);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .home-platforms {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-support {
        grid-template-columns: 1fr;
    }

    .page-home .hero--home .hero__inner--split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .page-home .hero--home .hero__content {
        max-width: none;
    }

    .page-home .hero--home .hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(255, 255, 255, 0.96) 0%,
                rgba(255, 255, 255, 0.88) 55%,
                rgba(255, 255, 255, 0.6) 100%);
    }

    .page-home .hero__visual {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .page-home .hero--home {
        min-height: auto;
        padding-bottom: 40px;
    }

    .page-home .hero--home .hero__content {
        text-align: center;
    }

    .page-home .hero--home .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .page-home .hero--home .hero-actions {
        justify-content: center;
    }

    .page-home .hero__visual {
        aspect-ratio: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
    }

    .page-home .hero__shot--back,
    .page-home .hero__shot--front {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        aspect-ratio: 16 / 10;
        border-width: 1px;
    }

    body.page-ready .page-home .hero__shot--front {
        animation: none;
    }

    .home-platforms {
        grid-template-columns: 1fr;
    }

    .home-features {
        grid-template-columns: 1fr 1fr;
    }

    .home-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .home-cta__inner .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-ready .page-home .hero__shot--front {
        animation: none;
    }
}
