/* v6 — Linear / Stripe inspired dark product landing */
.v6-page {
    --v6-bg: #050506;
    --v6-bg-elevated: #0c0d10;
    --v6-surface: rgba(18, 19, 24, 0.72);
    --v6-border: rgba(255, 255, 255, 0.09);
    --v6-border-strong: rgba(255, 255, 255, 0.14);
    --v6-text: #ededef;
    --v6-muted: #8a8f98;
    --v6-dim: #5c6068;
    --v6-accent: #a78bfa;
    --v6-accent-strong: #8b5cf6;
    --v6-cyan: #22d3ee;
    --v6-gradient: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 42%, #22d3ee 100%);
    --v6-shadow-glow: 0 0 80px rgba(139, 92, 246, 0.22);
    --v6-radius: 14px;
    --v6-radius-lg: 22px;
    --v6-max: 1120px;
    --v6-nav-h: 64px;
    --v6-font: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    --v6-mono: ui-monospace, "Cascadia Code", Consolas, monospace;
    --v6-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --v6-dur: 0.45s;

    margin: 0;
    font-family: var(--v6-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--v6-text);
    background: var(--v6-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.v6-page *,
.v6-page *::before,
.v6-page *::after {
    box-sizing: border-box;
}

.v6-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.v6-page a {
    color: inherit;
    text-decoration: none;
}

.v6-page :focus-visible {
    outline: 2px solid var(--v6-cyan);
    outline-offset: 3px;
}

.v6-page ::selection {
    background: rgba(139, 92, 246, 0.35);
    color: #fff;
}

.v6-page [id] {
    scroll-margin-top: calc(var(--v6-nav-h) + 20px);
}

.v6-bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
}

.v6-bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.v6-bg-orb--a {
    width: min(560px, 90vw);
    height: min(560px, 90vw);
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
}

.v6-bg-orb--b {
    width: 400px;
    height: 400px;
    bottom: 10%;
    right: -120px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
}

.v6-page > header,
.v6-page > main,
.v6-page > footer {
    position: relative;
    z-index: 1;
}

.v6-container {
    width: min(100% - 2.5rem, var(--v6-max));
    margin-inline: auto;
}

.v6-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--v6-nav-h);
    transition: background var(--v6-dur) var(--v6-ease), box-shadow var(--v6-dur) var(--v6-ease);
}

.v6-header__bar {
    height: 100%;
    border-bottom: 1px solid transparent;
    transition: border-color var(--v6-dur) var(--v6-ease), backdrop-filter var(--v6-dur) var(--v6-ease);
}

.v6-header--scrolled .v6-header__bar {
    background: rgba(5, 5, 6, 0.82);
    backdrop-filter: blur(16px) saturate(1.4);
    border-bottom-color: var(--v6-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.v6-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v6-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 650;
    font-size: 0.98rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.v6-logo__icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 0 1px var(--v6-border);
}

.v6-header__end {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.v6-nav {
    display: none;
    align-items: center;
    gap: 0.15rem;
}

.v6-nav a {
    position: relative;
    padding: 0.45rem 0.75rem;
    font-size: 0.875rem;
    color: var(--v6-muted);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.v6-nav a:hover {
    color: var(--v6-text);
    background: rgba(255, 255, 255, 0.04);
}

.v6-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s var(--v6-ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.v6-btn:active {
    transform: scale(0.98);
}

.v6-btn--primary {
    color: #0a0a0b;
    background: var(--v6-gradient);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 8px 24px rgba(139, 92, 246, 0.35);
}

.v6-btn--primary:hover {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 12px 32px rgba(139, 92, 246, 0.45);
}

.v6-btn--ghost {
    color: var(--v6-text);
    background: transparent;
    border: 1px solid var(--v6-border-strong);
}

.v6-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
}

.v6-btn--nav {
    padding: 0.5rem 1rem;
}

.v6-btn--lg {
    padding: 0.75rem 1.35rem;
    font-size: 0.95rem;
}

.v6-btn--block {
    width: 100%;
}

.v6-menu-btn {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--v6-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--v6-text);
    cursor: pointer;
}

@media (min-width: 900px) {
    .v6-nav {
        display: flex;
    }
    .v6-menu-btn {
        display: none;
    }
    .v6-header__end .v6-btn--nav {
        margin-left: 0.5rem;
    }
}

.v6-hero {
    padding: clamp(2.5rem, 8vw, 4.5rem) 0 clamp(3rem, 10vw, 6rem);
}

.v6-hero__grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 960px) {
    .v6-hero__grid {
        grid-template-columns: 1fr 0.92fr;
    }
}

.v6-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem 0.35rem 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--v6-border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.78rem;
    color: var(--v6-muted);
    margin-bottom: 1.25rem;
}

.v6-pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}

.v6-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2.15rem, 5.5vw, 3.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.v6-hero__title span {
    background: var(--v6-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.v6-hero__lead {
    margin: 0 0 1.75rem;
    max-width: 32em;
    font-size: 1.05rem;
    color: var(--v6-muted);
}

.v6-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.v6-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--v6-border);
}

.v6-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.v6-stat span {
    font-size: 0.8rem;
    color: var(--v6-dim);
}

.v6-device {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v6-device__ring {
    position: absolute;
    inset: 8% 5%;
    border-radius: 50%;
    border: 1px solid rgba(167, 139, 250, 0.25);
    box-shadow: var(--v6-shadow-glow);
    pointer-events: none;
}

.v6-phone {
    position: relative;
    width: min(280px, 78vw);
    padding: 10px;
    border-radius: 36px;
    background: linear-gradient(145deg, #2a2a30, #121318);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 40px 80px rgba(0, 0, 0, 0.55);
}

.v6-phone__screen {
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    aspect-ratio: 9 / 19.5;
}

.v6-carousel {
    display: flex;
    height: 100%;
    transition: transform 0.55s var(--v6-ease);
}

.v6-carousel__slide {
    flex: 0 0 100%;
    height: 100%;
}

.v6-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v6-carousel__dots {
    display: flex;
    gap: 0.45rem;
    margin-top: 1.1rem;
}

.v6-carousel__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.v6-carousel__dot.is-active {
    background: var(--v6-accent-strong);
    transform: scale(1.25);
}

.v6-marquee {
    padding: 1.25rem 0;
    border-block: 1px solid var(--v6-border);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.v6-marquee__track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: v6-marquee 28s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .v6-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 1.5rem;
    }
}

@keyframes v6-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.v6-marquee__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--v6-dim);
    white-space: nowrap;
}

.v6-marquee__item i {
    color: var(--v6-accent);
}

.v6-section-head {
    text-align: center;
    max-width: 34rem;
    margin: 0 auto 2.75rem;
}

.v6-section-head h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.65rem, 3.5vw, 2.15rem);
    letter-spacing: -0.03em;
}

.v6-section-head p {
    margin: 0;
    color: var(--v6-muted);
    font-size: 0.98rem;
}

.v6-bento {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .v6-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .v6-bento {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .v6-bento__lead {
        grid-column: span 2;
        grid-row: span 2;
    }
    .v6-bento--seven .v6-bento__lead {
        grid-column: span 2;
        grid-row: span 1;
    }
    .v6-bento--seven {
        grid-template-rows: auto auto auto;
    }
}

.v6-card {
    padding: 1.35rem 1.4rem;
    border-radius: var(--v6-radius-lg);
    border: 1px solid var(--v6-border);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    transition: border-color 0.25s, transform 0.3s var(--v6-ease), box-shadow 0.3s;
}

.v6-card:hover {
    border-color: var(--v6-border-strong);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.v6-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: rgba(139, 92, 246, 0.15);
    color: var(--v6-accent);
    font-size: 1.05rem;
}

.v6-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.v6-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--v6-muted);
    line-height: 1.55;
}

.v6-bento__lead p {
    font-size: 0.95rem;
    max-width: 36em;
}

.v6-steps {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.v6-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .v6-steps__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.v6-step {
    padding: 1.5rem;
    border-radius: var(--v6-radius);
    border: 1px solid var(--v6-border);
    background: var(--v6-bg-elevated);
}

.v6-step__num {
    font-family: var(--v6-mono);
    font-size: 0.75rem;
    color: var(--v6-cyan);
    margin-bottom: 0.75rem;
}

.v6-step h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.v6-step p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--v6-muted);
}

.v6-gallery {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.v6-gallery__scroller {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
    justify-content: safe center;
}

.v6-gallery__scroller::-webkit-scrollbar {
    height: 6px;
}

.v6-gallery__scroller::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 99px;
}

.v6-shot {
    flex: 0 0 min(260px, 72vw);
    scroll-snap-align: center;
    margin: 0;
    border-radius: var(--v6-radius-lg);
    overflow: hidden;
    border: 1px solid var(--v6-border);
    background: #111;
    transition: transform 0.35s var(--v6-ease), border-color 0.25s;
}

.v6-shot:hover {
    transform: scale(1.02);
    border-color: rgba(167, 139, 250, 0.35);
}

.v6-shot img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

@media (min-width: 900px) {
    .v6-gallery__scroller {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        overflow: visible;
        gap: 1.25rem;
        max-width: 960px;
        margin-inline: auto;
    }
    .v6-shot {
        flex: 0 1 min(280px, 30%);
        max-width: 300px;
        width: 100%;
    }
}

.v6-close {
    padding: clamp(3rem, 8vw, 5rem) 0 4rem;
}

.v6-close__panel {
    border-radius: var(--v6-radius-lg);
    border: 1px solid var(--v6-border);
    background: var(--v6-surface);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.v6-close__grid {
    display: grid;
    gap: 0;
}

@media (min-width: 800px) {
    .v6-close__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.v6-close__col {
    padding: clamp(1.5rem, 4vw, 2.25rem);
}

.v6-close__col + .v6-close__col {
    border-top: 1px solid var(--v6-border);
}

@media (min-width: 800px) {
    .v6-close__col + .v6-close__col {
        border-top: none;
        border-left: 1px solid var(--v6-border);
    }
}

.v6-close__heading {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.v6-download__meta {
    margin: 0 0 1.25rem;
    font-family: var(--v6-mono);
    font-size: 0.78rem;
    color: var(--v6-dim);
}

.v6-download__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.v6-btn--dl-outline {
    color: var(--v6-text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--v6-border-strong);
}

.v6-btn--dl-outline:hover {
    background: rgba(255, 255, 255, 0.07);
}

.v6-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.v6-faq__item {
    border-radius: 12px;
    border: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}

.v6-faq__item.is-open {
    border-color: var(--v6-border);
    background: rgba(255, 255, 255, 0.03);
}

.v6-faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.5rem;
    border: none;
    background: none;
    color: var(--v6-text);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.v6-faq__trigger::after {
    content: "+";
    font-size: 1.1rem;
    color: var(--v6-dim);
    transition: transform 0.25s var(--v6-ease);
}

.v6-faq__item.is-open .v6-faq__trigger::after {
    transform: rotate(45deg);
}

.v6-faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--v6-ease);
}

.v6-faq__item.is-open .v6-faq__panel {
    grid-template-rows: 1fr;
}

.v6-faq__panel-inner {
    overflow: hidden;
}

.v6-faq__panel-inner p {
    margin: 0;
    padding: 0 0.5rem 0.9rem;
    font-size: 0.875rem;
    color: var(--v6-muted);
    line-height: 1.55;
}

.v6-footer {
    padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--v6-border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--v6-dim);
}

.v6-footer p {
    margin: 0.25rem 0;
}

.v6-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s var(--v6-ease),
        transform 0.7s var(--v6-ease);
    transition-delay: calc(var(--v6-delay, 0) * 80ms);
}

.v6-reveal.is-inview {
    opacity: 1;
    transform: none;
}

.v6-reveal--scale {
    transform: translateY(18px) scale(0.97);
}

.v6-reveal--scale.is-inview {
    transform: none;
}

.v6-mobile-nav__backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.v6-mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 201;
    width: min(300px, 88vw);
    background: var(--v6-bg-elevated);
    border-left: 1px solid var(--v6-border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}

.v6-mobile-nav__sheet {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: calc(var(--v6-nav-h) + 0.5rem) 1.25rem 1.5rem;
}

.v6-mobile-nav__sheet a {
    padding: 0.85rem 0.5rem;
    font-size: 1rem;
    border-radius: 8px;
}

.v6-mobile-nav__sheet a:not(.v6-btn):hover {
    background: rgba(255, 255, 255, 0.04);
}

.v6-mobile-nav__sheet .v6-btn {
    margin-top: 1rem;
}

body.v6-menu-open {
    overflow: hidden;
}

.v6-features {
    padding: clamp(3rem, 8vw, 5rem) 0;
}
