html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(155, 161, 255, 0.24), transparent 32%),
        radial-gradient(circle at top right, rgba(223, 199, 255, 0.32), transparent 28%),
        linear-gradient(180deg, #f8f8ff 0%, #eef2ff 100%);
}

.fx-surface {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.78);
}

.fx-hero-panel {
    display: grid;
    gap: 1rem;
}

.fx-hero-card,
.fx-hero-mini {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 42px rgba(105, 108, 186, 0.15);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.fx-hero-card:hover,
.fx-hero-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 54px rgba(105, 108, 186, 0.18);
    border-color: rgba(111, 92, 255, 0.18);
}

.fx-hero-card {
    padding: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(198, 188, 255, 0.32), transparent 32%),
        radial-gradient(circle at bottom left, rgba(196, 219, 255, 0.24), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 247, 255, 0.92));
}

.fx-hero-card__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    gap: 1rem;
    align-items: stretch;
}

.fx-hero-card__copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.fx-hero-card__kicker,
.fx-hero-mini__kicker,
.fx-media-placeholder__eyebrow {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: rgba(111, 92, 255, 0.1);
    padding: 0.55rem 0.82rem;
    color: #4e39f3;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fx-hero-card__title {
    padding-top: 0.95rem;
    font-family: "Onest", "Manrope", sans-serif;
    font-size: clamp(2rem, 2.5vw, 2.95rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #1a1b2b;
    animation: fx-title-rise 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.fx-gradient-word {
    background-image: linear-gradient(135deg, #7a68ff 0%, #4e39f3 52%, #7fc7ff 100%);
    background-size: 180% 180%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fx-gradient-drift 6s ease-in-out infinite;
}

.fx-hero-card__text {
    padding-top: 1rem;
    max-width: 34rem;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.8;
}

.fx-hero-checks {
    display: grid;
    gap: 0.72rem;
    padding-top: 0.5rem;
}

.fx-hero-check {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.85rem 1rem;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.55;
    box-shadow: 0 12px 24px rgba(111, 92, 255, 0.06);
}

.fx-hero-check::before {
    content: "•";
    color: #6f5cff;
    font-size: 1.15rem;
    line-height: 1;
    margin-top: 0.05rem;
}

.fx-hero-card__visual {
    display: grid;
    align-content: end;
    gap: 0.7rem;
}

.fx-hero-card__media {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 244, 255, 0.92));
    box-shadow: 0 18px 36px rgba(111, 92, 255, 0.12);
}

.fx-hero-card__media::after {
    content: "";
    position: absolute;
    inset: auto 14px 14px 14px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88));
    z-index: 2;
}

.fx-hero-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.fx-hero-card__caption {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.65;
}

.fx-hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.fx-hero-mini {
    min-height: 170px;
    padding: 1.3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 246, 255, 0.9));
}

.fx-hero-mini h3 {
    padding-top: 0.9rem;
    font-family: "Onest", "Manrope", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #1a1b2b;
}

.fx-hero-mini p {
    padding-top: 0.82rem;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.7;
}

.fx-hero-reveal {
    opacity: 0;
    animation: fx-rise-fade 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fx-rise-fade {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.985);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fx-title-rise {
    0% {
        opacity: 0;
        transform: translateY(24px);
        letter-spacing: -0.08em;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: -0.05em;
    }
}

@keyframes fx-gradient-drift {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.fx-media-placeholder {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px dashed rgba(111, 92, 255, 0.32);
    background:
        radial-gradient(circle at top right, rgba(200, 196, 255, 0.42), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 244, 255, 0.9));
    box-shadow: 0 16px 42px rgba(105, 108, 186, 0.1);
    min-height: 220px;
}

.fx-media-placeholder::before,
.fx-media-placeholder::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(111, 92, 255, 0.08);
}

.fx-media-placeholder::before {
    top: 24px;
    right: 26px;
    width: 88px;
    height: 88px;
}

.fx-media-placeholder::after {
    left: -18px;
    bottom: -18px;
    width: 120px;
    height: 120px;
}

.fx-media-placeholder__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 1.5rem;
}

.fx-media-placeholder__title {
    padding-top: 1rem;
    font-family: "Onest", "Manrope", sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #1a1b2b;
}

.fx-media-placeholder__hint {
    padding-top: 0.75rem;
    max-width: 32rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

.fx-media-placeholder--image {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.82);
    min-height: 320px;
}

.fx-media-placeholder--image .fx-media-placeholder__body {
    padding: 0;
}

.fx-media-placeholder--image::before,
.fx-media-placeholder--image::after {
    display: none;
}

.fx-media-placeholder__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
}

.fx-plans-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(308px, 360px);
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(111, 92, 255, 0.38) rgba(255, 255, 255, 0.4);
    cursor: grab;
}

.fx-plans-scroller::-webkit-scrollbar {
    height: 10px;
}

.fx-plans-scroller::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 999px;
}

.fx-plans-scroller::-webkit-scrollbar-thumb {
    background: rgba(111, 92, 255, 0.38);
    border-radius: 999px;
}

.fx-plan-card {
    min-height: 100%;
}

.fx-plans-scroller.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.fx-plan-features-extra.hidden {
    display: none;
}

.fx-plan-toggle {
    align-self: flex-start;
}

@media (max-width: 1024px) {
    .fx-hero-card__grid,
    .fx-hero-highlights {
        grid-template-columns: 1fr;
    }

    .fx-hero-card__media,
    .fx-media-placeholder--image,
    .fx-media-placeholder__image {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .fx-hero-card,
    .fx-hero-mini {
        padding: 1.2rem;
    }

    .fx-hero-card__title {
        font-size: 2rem;
    }

    .fx-media-placeholder__body {
        padding: 1.2rem;
    }

    .fx-media-placeholder--image .fx-media-placeholder__body {
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fx-hero-reveal,
    .fx-hero-card__title,
    .fx-gradient-word {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .fx-hero-card,
    .fx-hero-mini,
    .fx-hero-card:hover,
    .fx-hero-mini:hover {
        transition: none;
        transform: none;
    }
}
