/* VibeCart — sales landing (cinematic product OS) */

:root {
    --vh-bg: #000000;
    --vh-text: #f5f5f7;
    --vh-muted: #a1a1a6;
    --vh-blue: #0071e3;
    --vh-blue-deep: #0077ed;
    --vh-blue-soft: rgba(0, 113, 227, 0.18);
    --vh-border: rgba(255, 255, 255, 0.1);
    --vh-col: 44rem;
    --vh-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --vh-display: 'Syne', 'Plus Jakarta Sans', system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--vh-font);
    color: var(--vh-text);
    background: var(--vh-bg);
    line-height: 1.5;
    text-align: left;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* —— Atmosphere —— */
.vh-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: #000;
    overflow: hidden;
}

.vh-atmosphere__bloom {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: vh-drift 18s ease-in-out infinite alternate;
}

.vh-atmosphere__bloom--a {
    width: min(70vw, 520px);
    height: min(70vw, 520px);
    top: -12%;
    left: 20%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.45), transparent 68%);
}

.vh-atmosphere__bloom--b {
    width: min(55vw, 420px);
    height: min(55vw, 420px);
    bottom: 8%;
    right: -8%;
    background: radial-gradient(circle, rgba(0, 119, 237, 0.28), transparent 70%);
    animation-delay: -7s;
    animation-duration: 22s;
}

.vh-atmosphere__grain {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: overlay;
}

.vh-wrap {
    width: 100%;
    max-width: var(--vh-col);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.15rem, 4.5vw, 1.5rem);
    padding-right: clamp(1.15rem, 4.5vw, 1.5rem);
}

/* —— Nav —— */
.vh-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: color-mix(in srgb, #000 72%, transparent);
    backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vh-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.vh-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 0.95rem;
}

.vh-nav__brand img {
    display: block;
    border-radius: 9px;
    box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.35), 0 0 20px rgba(0, 113, 227, 0.25);
}

.vh-nav__login {
    font-size: 0.88rem;
    font-weight: 600;
    color: #cce4ff;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(0, 113, 227, 0.5);
    border-radius: 999px;
    background: rgba(0, 113, 227, 0.08);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.vh-nav__login:hover {
    background: var(--vh-blue-soft);
    box-shadow: 0 0 24px rgba(0, 113, 227, 0.25);
}

/* —— Hero —— */
.vh-hero {
    position: relative;
    min-height: calc(100svh - 62px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(3rem, 10vw, 5.5rem) 0 clamp(2.75rem, 7vw, 4rem);
}

.vh-hero__visual {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.vh-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    display: block;
    transform: scale(1.08);
    animation: vh-ken 22s ease-out forwards;
    filter: brightness(0.42) contrast(1.08) saturate(1.05);
}

.vh-hero__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.94) 100%),
        radial-gradient(ellipse 80% 55% at 30% 70%, rgba(0, 113, 227, 0.22), transparent 60%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
}

.vh-hero__copy {
    position: relative;
    z-index: 1;
    animation: vh-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vh-hero__mark {
    display: block;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    box-shadow:
        0 0 0 1px rgba(0, 113, 227, 0.45),
        0 12px 40px rgba(0, 113, 227, 0.35);
}

.vh-hero__brand {
    margin: 0 0 0.7rem;
    font-family: var(--vh-display);
    font-size: clamp(1.55rem, 4.5vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #5eb0ff;
    line-height: 1.1;
    text-shadow: 0 0 40px rgba(0, 113, 227, 0.45);
}

.vh-hero__title {
    margin: 0 0 1.1rem;
    font-family: var(--vh-display);
    font-size: clamp(2.05rem, 6.2vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.vh-hero__lead {
    margin: 0 0 1.85rem;
    max-width: 34rem;
    font-size: clamp(1.05rem, 2.5vw, 1.18rem);
    color: rgba(245, 245, 247, 0.86);
    line-height: 1.55;
}

.vh-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* —— Buttons —— */
.vh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.95rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vh-btn:hover {
    transform: translateY(-2px);
}

.vh-btn--primary {
    background: var(--vh-blue);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 28px rgba(0, 113, 227, 0.4);
}

.vh-btn--primary:hover {
    background: var(--vh-blue-deep);
    box-shadow: 0 12px 36px rgba(0, 113, 227, 0.5);
}

.vh-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--vh-text);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.vh-btn--ghost:hover {
    border-color: rgba(0, 113, 227, 0.55);
    background: var(--vh-blue-soft);
}

.vh-btn--pulse {
    animation: vh-pulse 3.2s ease-in-out infinite;
}

.vh-inline-link {
    color: #6ab4ff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.vh-inline-link:hover {
    color: #9fd0ff;
}

/* —— App logos —— */
.vh-app-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.35);
}

.vh-app-logo--soon {
    opacity: 0.55;
    filter: grayscale(0.35) brightness(0.9);
}

/* —— Sections —— */
.vh-section {
    position: relative;
    padding: clamp(2.85rem, 7vw, 4.25rem) 0;
    border-top: 1px solid var(--vh-border);
}

.vh-section__title {
    margin: 0 0 0.85rem;
    font-family: var(--vh-display);
    font-size: clamp(1.6rem, 4.2vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.vh-section__lead {
    margin: 0 0 1.6rem;
    color: var(--vh-muted);
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    line-height: 1.55;
}

.vh-section--close {
    padding-bottom: clamp(3.75rem, 11vw, 5.75rem);
    overflow: hidden;
}

.vh-section--close .vh-section__lead {
    margin-bottom: 1.6rem;
}

.vh-close-glow {
    position: absolute;
    left: 10%;
    bottom: -20%;
    width: 80%;
    height: 70%;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.28), transparent 65%);
    filter: blur(20px);
    animation: vh-glow-breathe 4s ease-in-out infinite;
}

/* —— Pillars —— */
.vh-pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.vh-pillars li {
    padding-left: 1rem;
    border-left: 2px solid rgba(0, 113, 227, 0.75);
    box-shadow: -8px 0 24px -12px rgba(0, 113, 227, 0.55);
}

.vh-pillars strong {
    display: block;
    font-family: var(--vh-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.vh-pillars span {
    color: var(--vh-muted);
    font-size: 1.02rem;
    line-height: 1.5;
}

/* —— Live list —— */
.vh-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.vh-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.95rem;
    align-items: start;
    padding: 1.25rem 0;
    border-top: 1px solid var(--vh-border);
}

.vh-list li:last-child {
    border-bottom: 1px solid var(--vh-border);
}

.vh-list__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    margin-bottom: 0.35rem;
}

.vh-list__head strong {
    font-family: var(--vh-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.vh-list__body > span:not(.vh-badge) {
    color: var(--vh-muted);
    font-size: 1rem;
    line-height: 1.55;
}

/* —— Badges —— */
.vh-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.22rem 0.52rem;
    border-radius: 999px;
    background: var(--vh-blue-soft);
    color: #9fd0ff;
    vertical-align: middle;
}

.vh-badge--soft {
    background: rgba(255, 255, 255, 0.08);
    color: var(--vh-muted);
}

.vh-badge--soon {
    background: rgba(255, 255, 255, 0.05);
    color: #8e8e93;
}

/* —— Soon grid —— */
.vh-soon-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.vh-soon-grid li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.vh-soon-grid__name {
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.015em;
}

/* —— Tool deep-dive —— */
.vh-tool {
    padding: 1.4rem 0;
    border-top: 1px solid var(--vh-border);
    position: relative;
}

.vh-tool:last-child {
    border-bottom: 1px solid var(--vh-border);
}

.vh-tool::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 3.5rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 113, 227, 0.7), transparent);
}

.vh-tool__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.vh-tool__head .vh-app-logo {
    width: 40px;
    height: 40px;
    border-radius: 11px;
}

.vh-tool h3 {
    margin: 0;
    font-family: var(--vh-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.vh-tool p {
    margin: 0;
    color: var(--vh-muted);
    font-size: 1rem;
    line-height: 1.55;
}

/* —— Feature icons —— */
.vh-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--vh-blue-soft);
}

.vh-feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--vh-blue);
}

html[data-theme="light"] .vh-feature-icon {
    background: rgba(0, 113, 227, 0.1);
}

/* —— Plans —— */
.vh-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.vh-plan {
    position: relative;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--vh-border);
    display: flex;
    flex-direction: column;
}

.vh-plan--featured {
    border-color: rgba(0, 113, 227, 0.5);
    background: linear-gradient(160deg, rgba(0, 113, 227, 0.12) 0%, rgba(0, 113, 227, 0.03) 100%);
    box-shadow: 0 0 40px rgba(0, 113, 227, 0.1);
}

.vh-plan__badge {
    position: absolute;
    top: -0.65rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--vh-blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
}

.vh-plan__header {
    margin-bottom: 1.5rem;
}

.vh-plan__name {
    font-family: var(--vh-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.vh-plan__price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.vh-plan__amount {
    font-family: var(--vh-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.vh-plan__period {
    color: var(--vh-muted);
    font-size: 0.9rem;
}

.vh-plan__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.vh-plan__features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--vh-muted);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.vh-plan__features li:last-child {
    border-bottom: none;
}

.vh-plan__cta {
    width: 100%;
    text-align: center;
}

html[data-theme="light"] .vh-plan {
    background: linear-gradient(160deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.01) 100%);
    border-color: rgba(0,0,0,0.08);
}

html[data-theme="light"] .vh-plan--featured {
    border-color: rgba(0, 113, 227, 0.3);
    background: linear-gradient(160deg, rgba(0, 113, 227, 0.06) 0%, rgba(0, 113, 227, 0.02) 100%);
}

html[data-theme="light"] .vh-plan__features li {
    border-bottom-color: rgba(0,0,0,0.05);
}

/* —— Hero gradient (no-image variant) —— */
.vh-hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 60%, rgba(0,113,227,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 30% 50%, rgba(0,113,227,0.08) 0%, transparent 60%);
}

html[data-theme="light"] .vh-hero__gradient {
    background:
        radial-gradient(ellipse 70% 50% at 50% 60%, rgba(0,113,227,0.1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 30% 50%, rgba(0,113,227,0.05) 0%, transparent 60%);
}

@media (max-width: 700px) {
    .vh-plans {
        grid-template-columns: 1fr;
    }
}

/* —— Footer —— */
.vh-footer {
    border-top: 1px solid var(--vh-border);
    color: var(--vh-muted);
    font-size: 0.85rem;
}

.vh-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

.vh-footer a {
    color: #6ab4ff;
    font-weight: 600;
}

/* —— Motion —— */
.vh-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--vh-delay, 0s),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--vh-delay, 0s);
}

.vh-reveal.is-in {
    opacity: 1;
    transform: none;
}

@keyframes vh-rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes vh-ken {
    from { transform: scale(1.12); }
    to { transform: scale(1.03); }
}

@keyframes vh-drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(4%, 6%) scale(1.08); }
}

@keyframes vh-pulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(0, 113, 227, 0.35); }
    50% { box-shadow: 0 10px 42px rgba(0, 113, 227, 0.6); }
}

@keyframes vh-glow-breathe {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.06); }
}

@media (max-width: 540px) {
    .vh-hero {
        min-height: calc(100svh - 58px);
        align-items: flex-end;
    }

    .vh-hero__image {
        filter: brightness(0.32) contrast(1.1);
    }

    .vh-hero__cta {
        flex-direction: column;
    }

    .vh-hero__cta .vh-btn,
    .vh-section--close .vh-btn {
        width: 100%;
    }

    .vh-nav__brand span {
        font-size: 0.88rem;
    }

    .vh-soon-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vh-hero__image,
    .vh-hero__copy,
    .vh-atmosphere__bloom,
    .vh-btn--pulse,
    .vh-close-glow,
    .vh-reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* —— Light theme (shared hub-theme) —— */
html[data-theme="light"] {
    color-scheme: light;
    --vh-bg: #f5f5f7;
    --vh-text: #1d1d1f;
    --vh-muted: #6e6e73;
    --vh-blue: #0071e3;
    --vh-blue-deep: #0077ed;
    --vh-blue-soft: rgba(0, 113, 227, 0.12);
    --vh-border: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .vh-atmosphere {
    background: #f5f5f7;
}

html[data-theme="light"] .vh-atmosphere__bloom--a {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.18), transparent 68%);
}

html[data-theme="light"] .vh-atmosphere__bloom--b {
    background: radial-gradient(circle, rgba(0, 119, 237, 0.12), transparent 70%);
}

html[data-theme="light"] .vh-atmosphere__grain {
    opacity: 0.035;
    mix-blend-mode: multiply;
}

html[data-theme="light"] .vh-nav {
    background: color-mix(in srgb, #f5f5f7 82%, transparent);
    border-bottom-color: var(--vh-border);
}

html[data-theme="light"] .vh-hero__image {
    filter: brightness(0.72) contrast(1.05) saturate(1.05);
}

html[data-theme="light"] .vh-hero__visual::after {
    background:
        linear-gradient(180deg, rgba(245, 245, 247, 0.25) 0%, rgba(245, 245, 247, 0.55) 42%, rgba(245, 245, 247, 0.96) 100%),
        radial-gradient(ellipse 80% 55% at 30% 70%, rgba(0, 113, 227, 0.12), transparent 60%),
        linear-gradient(90deg, rgba(245, 245, 247, 0.45) 0%, transparent 55%);
}

html[data-theme="light"] .vh-hero__brand {
    color: #0071e3;
    text-shadow: none;
}

html[data-theme="light"] .vh-hero__lead {
    color: rgba(29, 29, 31, 0.78);
}

html[data-theme="light"] .vh-btn--ghost {
    border-color: rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.65);
    color: var(--vh-text);
}

html[data-theme="light"] .vh-soon-grid li {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
    border-color: var(--vh-border);
}

html[data-theme="light"] .vh-badge {
    color: #0071e3;
}

html[data-theme="light"] .vh-badge--soon,
html[data-theme="light"] .vh-badge--soft {
    background: rgba(0, 0, 0, 0.05);
    color: #6e6e73;
}

html[data-theme="light"] .vh-nav__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.vh-nav__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.vh-theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--vh-border);
    background: transparent;
    color: var(--vh-text);
    cursor: pointer;
}

.vh-theme-btn:hover {
    background: var(--vh-blue-soft);
    border-color: rgba(0, 113, 227, 0.4);
}

.vh-theme-btn svg {
    width: 1.05rem;
    height: 1.05rem;
}

.vh-theme-btn__sun { display: none; }
.vh-theme-btn__moon { display: block; }

html[data-theme="light"] .vh-theme-btn__sun { display: block; }
html[data-theme="light"] .vh-theme-btn__moon { display: none; }
