/* Landing page — Vioovr */

.home-page {
    --home-cyan: #3ec5e8;
    --home-cyan-deep: #09abd3;
    --home-ink: #e8eef7;
    --home-muted: #9aa8bc;
    --home-line: rgba(255, 255, 255, 0.12);
    --home-surface: rgba(14, 19, 31, 0.72);
    --home-glow: rgba(9, 171, 211, 0.18);
    min-height: 100vh;
    flex-direction: column;
    background:
        radial-gradient(ellipse 90% 55% at 80% -10%, rgba(9, 171, 211, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 40% at 0% 30%, rgba(1, 110, 138, 0.18), transparent 50%),
        linear-gradient(180deg, #070a10 0%, #0a101a 45%, #070a10 100%);
    color: var(--home-ink);
    overflow-x: clip;
}

.home-page main {
    flex: 1;
    display: block;
    position: relative;
}

.home-page section {
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
}

.home-page .btn {
    display: inline-flex;
    width: fit-content;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.25;
}

.home-page button:not(.btn) {
    font: inherit;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

/* ——— Nav ——— */

.home-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 4vw, 56px);
    backdrop-filter: blur(14px);
    background: rgba(7, 10, 16, 0.35);
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}

.home-nav.is-scrolled {
    background: rgba(7, 10, 16, 0.88);
    border-bottom-color: var(--home-line);
}

.home-nav__brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.home-nav__logo {
    display: block;
    width: auto;
    height: 36px;
    transition: opacity 0.25s ease;
}

.home-nav__brand:hover .home-nav__logo {
    opacity: 0.85;
}

.home-nav__links {
    display: flex;
    gap: 8px 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.home-nav__link {
    color: var(--home-muted);
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.home-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: var(--home-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.home-nav__link:hover,
.home-nav__link.is-active {
    color: var(--home-ink);
}

.home-nav__link:hover::after,
.home-nav__link.is-active::after {
    transform: scaleX(1);
}

.home-nav__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ——— Views ——— */

.home-view {
    display: none;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-view.is-active,
.home-view.is-leaving,
.home-view.is-entering {
    display: block;
}

.home-view.is-active {
    opacity: 1;
    transform: translateY(0);
}

.home-view.is-leaving {
    opacity: 0;
    transform: translateY(-12px);
}

.home-view.is-entering {
    opacity: 0;
    transform: translateY(18px);
}

@media (prefers-reduced-motion: reduce) {
    .home-view {
        transition: none;
        transform: none;
    }
}

/* ——— Reveal ——— */

[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ——— Shared bits ——— */

.home-eyebrow {
    color: var(--home-cyan);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.home-section__header .home-eyebrow,
.home-cta__panel .home-eyebrow,
.home-trust__inner .home-eyebrow {
    color: var(--home-cyan);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    line-height: 1.4;
    margin-bottom: 18px;
}

.home-checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 28px;
}

.home-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--home-muted);
    font-size: 0.92rem;
}

.home-checklist i {
    margin: 0;
    color: var(--home-cyan);
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--home-cyan);
    margin-top: 12px;
}

.home-text-link:hover {
    color: #6fd6ef;
}

.home-text-link i {
    margin: 0;
}

.home-centered-actions {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

/* ——— Media frames ——— */

.home-media-frame {
    position: relative;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(62, 197, 232, 0.22);
    background: rgba(14, 19, 31, 0.85);
    overflow: hidden;
    border-radius: 14px;
}

.home-media-frame--image {
    padding: 0;
}

.home-media-frame--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-media-frame--wide {
    aspect-ratio: 21 / 9;
    width: 100%;
    margin-bottom: 40px;
}

.home-media-frame--audience {
    aspect-ratio: 16 / 9;
    width: 100%;
}

/* ——— Hero collage ——— */

.home-hero__media {
    position: relative;
    min-height: min(520px, 62vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-collage {
    position: relative;
    width: 100%;
    aspect-ratio: 7 / 4;
    margin-inline: auto;
}

.home-hero-collage__shot {
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero-collage__shot--back {
    z-index: 1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 38%;
    opacity: 0.8;
}

.home-hero-collage__shot--mid-left {
    top: 20%;
    left: 0;
    z-index: 2;
    width: 48%;
    opacity: 0.9;
}

.home-hero-collage__shot--mid-right {
    top: 20%;
    right: 0;
    z-index: 2;
    width: 48%;
    opacity: 0.9;
}

.home-hero-collage__shot--front {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 3;
    width: 68%;
}

/* ——— Hero ——— */

.home-hero--split {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    min-height: calc(100vh - 76px);
    padding: clamp(40px, 8vh, 96px) clamp(20px, 4vw, 56px);
    background:
        radial-gradient(ellipse 70% 60% at 100% 20%, rgba(9, 171, 211, 0.16), transparent 55%),
        radial-gradient(ellipse 50% 45% at 0% 80%, rgba(1, 110, 138, 0.12), transparent 50%);
}

.home-hero__content {
    max-width: 38rem;
}

.home-hero--split h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 16ch;
    margin-bottom: 16px;
    color: var(--home-ink);
}

.home-hero__lead {
    color: rgba(232, 238, 247, 0.78);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 42ch;
    margin-bottom: 28px;
}

.home-hero__lead--center {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.home-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ——— Sections ——— */

.home-section {
    padding: clamp(64px, 10vh, 120px) clamp(20px, 4vw, 56px);
}

.home-section__inner {
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

.home-section__header {
    max-width: 40rem;
    margin-bottom: clamp(36px, 6vw, 56px);
    position: static;
}

.home-section__header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-section__header h1,
.home-section__header h2,
.home-cta__panel h2,
.home-trust__inner h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

#view-product .home-section__header h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.6rem);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: var(--home-ink);
    position: static;
}

#view-product .home-hero--split h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
}

#view-product .home-card h3,
#view-product .home-how__step h3 {
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--home-ink);
}

.home-section__header p,
.home-cta__panel p,
.home-trust__inner p,
.home-card p {
    color: var(--home-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ——— Cards ——— */

.home-cards {
    display: grid;
    gap: 18px;
}

.home-cards--3 {
    grid-template-columns: repeat(3, 1fr);
}

.home-cards--2 {
    grid-template-columns: repeat(2, 1fr);
}

.home-cards--plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-card {
    padding: 28px 24px;
    border: 1px solid var(--home-line);
    background: var(--home-surface);
}

.home-card--plain {
    text-align: center;
    background: var(--home-surface);
    border: 1px solid var(--home-line);
    border-top: 2px solid var(--home-cyan);
    border-radius: 0;
    padding: 28px 22px;
}

.home-card--plain .home-plan__price {
    justify-content: center;
    margin: 8px 0 6px;
}

.home-card--plain .home-plan__amount {
    font-size: 1.5rem;
}

.home-card h3,
.home-audience-card h3 {
    font-size: 1.15rem;
    margin: 16px 0 10px;
}

.home-card .home-feature__icon {
    margin: 0;
}

/* ——— Features icons ——— */

.home-features {
    background:
        radial-gradient(ellipse 55% 70% at 0% 50%, rgba(9, 171, 211, 0.1), transparent 60%),
        linear-gradient(180deg, transparent, rgba(14, 19, 31, 0.55), transparent);
}

.home-feature__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid var(--home-line);
    background: var(--home-surface);
    color: var(--home-cyan);
}

.home-feature__icon i {
    margin: 0;
    font-size: 1.45rem;
    color: inherit;
}

/* ——— How ——— */

.home-how {
    background:
        radial-gradient(ellipse 60% 50% at 80% 0%, rgba(9, 171, 211, 0.1), transparent 55%),
        linear-gradient(180deg, rgba(7, 10, 16, 0.2), transparent 40%, rgba(14, 19, 31, 0.35));
}

.home-how__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-how__step {
    padding: 28px 24px;
    border: 1px solid var(--home-line);
    border-top: 2px solid var(--home-cyan);
    background: var(--home-surface);
}

.home-how__number {
    display: block;
    color: var(--home-cyan);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.home-how__step h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.home-how__step p {
    color: var(--home-muted);
    line-height: 1.55;
    font-size: 0.98rem;
}

/* ——— Audience ——— */

.home-audience {
    background:
        radial-gradient(ellipse 50% 60% at 20% 30%, rgba(9, 171, 211, 0.12), transparent 55%),
        radial-gradient(ellipse 45% 50% at 90% 80%, rgba(1, 110, 138, 0.1), transparent 50%);
}

.home-audience-card {
    border: 1px solid var(--home-line);
    background: var(--home-surface);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-audience-card__body {
    padding: 24px;
}

/* ——— Trust ——— */

.home-trust {
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(9, 171, 211, 0.1), transparent 65%),
        linear-gradient(180deg, transparent, rgba(14, 19, 31, 0.4), transparent);
}

.home-trust__inner {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

/* ——— Pricing ——— */

.home-pricing-teaser {
    background:
        radial-gradient(ellipse 55% 50% at 100% 40%, rgba(9, 171, 211, 0.1), transparent 55%),
        linear-gradient(180deg, rgba(14, 19, 31, 0.25), transparent 50%, rgba(14, 19, 31, 0.35));
}

.home-pricing-hero {
    padding-bottom: 24px;
    background:
        radial-gradient(ellipse 80% 70% at 50% 0%, rgba(9, 171, 211, 0.14), transparent 60%);
}

.home-pricing {
    background:
        radial-gradient(ellipse 40% 50% at 0% 30%, rgba(1, 110, 138, 0.12), transparent 55%),
        radial-gradient(ellipse 45% 55% at 100% 70%, rgba(9, 171, 211, 0.08), transparent 50%);
}

.home-pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.home-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 24px;
    border: 1px solid var(--home-line);
    background: var(--home-surface);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.home-plan:hover {
    transform: translateY(-4px);
    border-color: rgba(62, 197, 232, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.home-plan--featured {
    border-color: rgba(62, 197, 232, 0.55);
    background: linear-gradient(180deg, rgba(9, 171, 211, 0.12), rgba(14, 19, 31, 0.8));
}

.home-plan__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-cyan);
    border: 1px solid rgba(62, 197, 232, 0.4);
    padding: 4px 8px;
}

.home-plan h3 {
    font-size: 1.2rem;
    padding-right: 88px;
}

.home-plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.home-plan__amount {
    font-size: 2rem;
    font-weight: 650;
    color: var(--home-ink);
}

.home-plan__period,
.home-plan__storage,
.home-plan__desc {
    color: var(--home-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.home-plan__storage i {
    margin-right: 4px;
    color: var(--home-cyan);
}

.home-plan__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0 12px;
    flex: 1;
}

.home-plan__features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--home-muted);
}

.home-plan__features li.is-enabled {
    color: var(--home-ink);
}

.home-plan__features li.is-disabled {
    opacity: 0.45;
}

.home-plan__features i {
    margin: 0;
    margin-top: 2px;
    color: var(--home-cyan);
}

.home-plan__features .is-disabled i {
    color: var(--home-muted);
}

.home-plan .btn {
    width: 100%;
    margin-top: auto;
}

.home-pricing__empty,
.home-pricing__note {
    color: var(--home-muted);
    margin-top: 24px;
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.home-pricing__note i {
    margin: 0;
    color: var(--home-cyan);
}

/* ——— FAQ ——— */

.home-faq {
    background:
        radial-gradient(ellipse 60% 55% at 50% 100%, rgba(9, 171, 211, 0.1), transparent 55%),
        linear-gradient(180deg, rgba(14, 19, 31, 0.2), transparent 40%);
}

.home-faq__inner {
    max-width: 760px;
}

.home-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-faq__item {
    border: 1px solid var(--home-line);
    background: var(--home-surface);
}

.home-faq__item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
}

.home-faq__item summary::-webkit-details-marker {
    display: none;
}

.home-faq__item summary i {
    margin: 0;
    color: var(--home-cyan);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-faq__item.is-open summary i {
    transform: rotate(180deg);
}

.home-faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-faq__item.is-open .home-faq__panel {
    grid-template-rows: 1fr;
}

.home-faq__panel-inner {
    overflow: hidden;
    min-height: 0;
}

.home-faq__item p {
    padding: 0 20px 18px;
    color: var(--home-muted);
    line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
    .home-faq__panel,
    .home-faq__item summary i {
        transition: none;
    }
}

/* ——— Final CTA ——— */

.home-cta {
    padding-bottom: clamp(80px, 12vh, 140px);
}

.home-cta__panel {
    text-align: center;
    padding: clamp(28px, 4vw, 40px);
    border: 1px solid var(--home-line);
    background:
        radial-gradient(circle at 50% 0%, rgba(9, 171, 211, 0.16), transparent 45%),
        rgba(14, 19, 31, 0.7);
}

.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    justify-content: center;
}

/* ——— Footer ——— */

.home-footer {
    margin-top: auto;
    border-top: 1px solid var(--home-line);
    background: rgba(8, 12, 20, 0.9);
    padding: 56px clamp(20px, 4vw, 56px) 28px;
}

.home-footer__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.home-footer__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 48px 64px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--home-line);
}

.home-footer__brand-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(280px, 100%);
    flex: 0 1 auto;
}

.home-footer__brand {
    width: fit-content;
    color: var(--home-cyan);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

.home-footer__brand:hover {
    color: #6fd6ef;
}

.home-footer__tagline {
    color: var(--home-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.home-footer__col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: max-content;
    flex: 0 0 auto;
}

.home-footer__heading {
    margin: 0;
    color: var(--home-ink);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-footer__nav,
.home-footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.home-footer__nav button,
.home-footer__legal button {
    color: var(--home-muted);
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.3;
    padding: 0;
    transition: color 0.25s ease;
}

.home-footer__nav button:hover,
.home-footer__legal button:hover {
    color: var(--home-cyan);
}

.home-footer__copy {
    margin-top: 22px;
    color: var(--home-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

@media (max-width: 800px) {
    .home-footer {
        padding-top: 40px;
    }

    .home-footer__grid {
        gap: 28px 40px;
    }
}

@media (max-width: 520px) {
    .home-footer__brand-block,
    .home-footer__col {
        width: 100%;
    }
}

/* ——— Responsive ——— */

@media (max-width: 960px) {
    .home-nav {
        flex-wrap: wrap;
    }

    .home-nav__links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 16px;
    }

    .home-hero--split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .home-hero--split h1 {
        max-width: none;
    }

    .home-hero__media {
        min-height: 320px;
    }

    .home-hero-collage {
        max-width: 420px;
    }

    .home-cards--3,
    .home-cards--2,
    .home-how__steps {
        grid-template-columns: 1fr;
    }

    .home-cards--plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home-nav__actions .btn-primary {
        display: none;
    }

    .home-cards--plans {
        grid-template-columns: 1fr;
    }
}
