/* Explain: FitPocket landing page component styles */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.site-header {
    border-bottom: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--surface-color) 90%, transparent);
    backdrop-filter: blur(18px);
}

.download-badge {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--navy-color) 14%, transparent);
    background: var(--navy-color);
    color: var(--surface-color);
    box-shadow: 0 1rem 2.5rem color-mix(in srgb, var(--navy-color) 18%, transparent);
    transition: transform 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.download-badge:hover,
.download-badge.download-clicked {
    transform: translateY(-0.18rem) scale(1.01);
    background: color-mix(in srgb, var(--navy-color) 88%, var(--accent-color));
    box-shadow: 0 1.4rem 3rem color-mix(in srgb, var(--accent-color) 22%, transparent);
}

.download-badge.light {
    border-color: color-mix(in srgb, var(--surface-color) 35%, transparent);
    background: var(--surface-color);
    color: var(--navy-color);
}

.download-badge.light:hover,
.download-badge.light.download-clicked {
    background: var(--primary-color);
}

.hero-cinematic {
    position: relative;
    isolation: isolate;
}

.motion-curve {
    position: absolute;
    inset: auto -8rem -8rem auto;
    height: 28rem;
    width: 44rem;
    border: 2px solid color-mix(in srgb, var(--accent-color) 34%, transparent);
    border-radius: 999px;
    transform: rotate(-18deg);
    pointer-events: none;
}

.motion-curve::after {
    content: "";
    position: absolute;
    inset: 3rem;
    border: 2px solid color-mix(in srgb, var(--primary-color) 52%, transparent);
    border-radius: inherit;
}

.rating-pill,
.trust-card,
.benefit-card,
.feature-card,
.reason-card,
.testimonial-card {
    border: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--surface-color) 88%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.benefit-card:hover,
.feature-card:hover,
.reason-card:hover,
.testimonial-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--accent-color) 42%, transparent);
    background: var(--surface-color);
}

.icon-bubble {
    display: inline-flex;
    height: 3.25rem;
    width: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 78%, var(--surface-color));
    color: var(--navy-color);
}

.phone-stage {
    position: relative;
    min-height: 37rem;
}

.phone-frame {
    position: absolute;
    width: min(17rem, 46vw);
    border: 0.65rem solid var(--navy-color);
    border-radius: 2.6rem;
    background: var(--surface-color);
    box-shadow: 0 2rem 4.5rem color-mix(in srgb, var(--navy-color) 24%, transparent);
    overflow: hidden;
}

.phone-frame.primary-phone {
    left: 0;
    top: 1rem;
    z-index: 2;
}

.phone-frame.secondary-phone {
    bottom: 0;
    right: 0;
    z-index: 1;
}

.phone-notch {
    margin: 0.65rem auto 0;
    height: 0.35rem;
    width: 4.8rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--navy-color) 18%, transparent);
}

.progress-ring {
    position: relative;
    display: grid;
    height: 8.5rem;
    width: 8.5rem;
    place-items: center;
    border-radius: 999px;
    background: conic-gradient(var(--primary-color) 0 78%, color-mix(in srgb, var(--sand-color) 88%, var(--surface-color)) 78% 100%);
}

.progress-ring::before {
    content: "";
    position: absolute;
    inset: 0.8rem;
    border-radius: inherit;
    background: var(--surface-color);
}

.progress-ring > span {
    position: relative;
    z-index: 1;
}

.app-row {
    border: 1px solid color-mix(in srgb, var(--navy-color) 10%, transparent);
    background: color-mix(in srgb, var(--sand-color) 72%, var(--surface-color));
}

.feature-preview {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 18%, transparent), transparent 42%),
        linear-gradient(315deg, color-mix(in srgb, var(--accent-color) 16%, transparent), transparent 44%),
        var(--surface-color);
}

#benefits,
#features,
#why-fitpocket,
#reviews,
#download {
    scroll-margin-top: 5rem;
}

@media (max-width: 767px) {
    .phone-stage {
        min-height: 31rem;
    }

    .phone-frame {
        width: min(15rem, 62vw);
    }

    .phone-frame.secondary-phone {
        right: 0.25rem;
    }
}
