/* Hero */
.hero {
    padding: var(--space-xl) 0 var(--space-2xl);
}

.hero__grid {
    display: grid;
    grid-template-columns: 0.85fr 0.9fr 1.35fr;
    align-items: center;
    gap: var(--space-xl);
    min-height: 580px;
}

.hero__col--title h1 {
    font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.hero__lead {
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 22rem;
    margin-top: var(--space-md);
}

.hero__sub {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.hero__cta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.hero__more {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-sub);
    white-space: nowrap;
    transition: color 0.15s ease;
}

.hero__more:hover {
    color: var(--color-primary-light);
}

.hero__col--media {
    display: flex;
    justify-content: center;
}

.hero__media {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1086 / 1448;
    animation: hero-float 6s ease-in-out infinite;
}

/* Grounding glow beneath the floating phone */
.hero__media::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -34px;
    transform: translateX(-50%);
    width: 70%;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(4, 171, 166, 0.28) 0%, transparent 70%);
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero__media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    filter: url(#chroma-violet);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero__media-img.is-active {
    opacity: 1;
}

.hero__media-img.is-soft,
.tool__img.is-soft {
    filter: url(#chroma-violet-soft);
}

/* Slide ticks */
.hero__ticks {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-xl);
}

.hero__tick {
    width: 20px;
    height: 4px;
    border: none;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, width 0.25s ease;
}

.hero__tick:hover {
    background: rgba(255, 255, 255, 0.35);
}

.hero__tick.is-active {
    width: 34px;
    background: var(--color-primary-light);
}

/* Per-slide description — landscape liquid-glass card, items stack and crossfade */
.hero__desc {
    position: relative;
    display: grid;
    padding: var(--space-lg) 28px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    backdrop-filter: blur(24px) saturate(170%);
    border: 1px solid var(--glass-border);
    box-shadow:
        inset 0 1px 0 var(--glass-highlight),
        0 12px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

/* light catching the top edge of the glass */
.hero__desc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    width: 55%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(5, 196, 190, 0.55), transparent);
}

.hero__desc-item {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero__desc-item.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero__desc-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-md);
}

.hero__desc-head .eyebrow {
    margin-bottom: 6px;
}

.hero__desc-num {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-text-sub);
    white-space: nowrap;
}

.hero__desc-item h2 {
    font-size: clamp(1.3rem, 1rem + 0.9vw, 1.65rem);
    color: var(--color-text);
    margin-bottom: 6px;
}

.hero__desc-text {
    font-size: 0.94rem;
    line-height: 1.6;
    margin: 0;
}

.hero__desc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--space-md);
}

.hero__desc-tag {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--color-text-sub);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}

/* Stat line */
.statline {
    border-top: 1px solid var(--color-border);
    padding: var(--space-xl) 0;
}

.statline__row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
}

.statline__item {
    flex: 1;
    text-align: center;
}

.statline__item + .statline__item {
    border-left: 1px solid var(--color-border);
}

.statline__item span {
    display: block;
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.statline__item p {
    margin: 2px 0 0;
    font-size: 0.85rem;
}

/* Tools intro */
.tools-intro {
    padding: var(--space-2xl) 0 var(--space-lg);
    text-align: center;
}

.tools-intro__title {
    font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem);
    letter-spacing: -0.02em;
    margin: 0;
}

/* Tool deep-dive sections — alternating copy/image */
.tool {
    padding: var(--space-2xl) 0;
}

.tool__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: var(--space-2xl);
    max-width: 1080px;
}

.tool--flip .tool__copy {
    order: 2;
}

.tool--flip .tool__media {
    order: 1;
}

.tool__copy h2 {
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
    letter-spacing: -0.02em;
}

.tool__text {
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 34rem;
}

.tool__points {
    margin-top: var(--space-lg);
}

.tool__points li {
    position: relative;
    padding: 7px 0 7px 30px;
    color: var(--color-text-sub);
    font-size: 0.95rem;
}

.tool__points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--color-primary-light);
    font-weight: 600;
}

.tool__media {
    display: flex;
    justify-content: center;
}

.tool__img {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: url(#chroma-violet);
}

@media (max-width: 860px) {
    .tool__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .tool--flip .tool__copy {
        order: 1;
    }

    .tool--flip .tool__media {
        order: 2;
    }

    .tool__text {
        margin-left: auto;
        margin-right: auto;
    }

    .tool__points {
        display: inline-block;
        text-align: left;
    }

    .tool__img {
        max-width: 280px;
    }
}

/* Features — editorial rows, no cards */
.features {
    padding: var(--space-2xl) 0;
}

.features__inner {
    max-width: 860px;
}

.features__title {
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
}

.features__row {
    display: grid;
    grid-template-columns: 64px 230px 1fr;
    align-items: baseline;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
}

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

.features__num {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary-light);
    letter-spacing: 0.08em;
}

.features__row h3 {
    font-size: 1.05rem;
    margin: 0;
    color: var(--color-text);
}

.features__row p {
    margin: 0;
    font-size: 0.92rem;
    transition: color 0.25s ease;
}

.features__row:hover p {
    color: #b9bdc7;
}

/* Privacy statement */
.privacy {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.privacy__inner {
    max-width: 760px;
}

.privacy__title {
    font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.privacy__text {
    font-size: 0.98rem;
    max-width: 36rem;
    margin: 0 auto;
}

/* FAQ */
.faq {
    padding: var(--space-2xl) 0;
}

.faq__inner {
    max-width: 720px;
}

.faq__title {
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
}

.faq__item {
    border-top: 1px solid var(--color-border);
}

.faq__item:last-of-type {
    border-bottom: 1px solid var(--color-border);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
}

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

.faq__mark {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.faq__mark::before,
.faq__mark::after {
    content: '';
    position: absolute;
    background: var(--color-text-sub);
    transition: transform 0.25s ease;
}

.faq__mark::before {
    left: 0;
    top: 6px;
    width: 14px;
    height: 2px;
}

.faq__mark::after {
    left: 6px;
    top: 0;
    width: 2px;
    height: 14px;
}

.faq__item[open] .faq__mark::after {
    transform: scaleY(0);
}

.faq__item p {
    margin: 0;
    padding: 0 0 var(--space-lg);
    font-size: 0.93rem;
    max-width: 40rem;
}

/* Download — typographic finale */
.download {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.download__title {
    font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.download__sub {
    margin-bottom: var(--space-lg);
    font-size: 0.92rem;
}

/* Scroll reveal — contents assemble from below, left, or right */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--left {
    transform: translateX(-44px);
}

.reveal--right {
    transform: translateX(44px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.features__row.reveal:nth-of-type(2) { transition-delay: 0.06s; }
.features__row.reveal:nth-of-type(3) { transition-delay: 0.12s; }
.features__row.reveal:nth-of-type(4) { transition-delay: 0.18s; }
.features__row.reveal:nth-of-type(5) { transition-delay: 0.24s; }
.features__row.reveal:nth-of-type(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .hero__media {
        animation: none;
    }

    .hero__media-img,
    .hero__desc-item,
    .hero__tick,
    .reveal {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 960px) {
    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: 0;
    }

    .hero__media {
        margin: 0 auto;
        max-width: 280px;
    }

    .hero__desc-text {
        margin: 0 auto;
    }

    .statline__row {
        flex-wrap: wrap;
    }

    .statline__item {
        flex: 1 1 40%;
    }

    .statline__item:nth-child(3) {
        border-left: none;
    }
}

@media (max-width: 720px) {
    .features__row {
        grid-template-columns: 48px 1fr;
    }

    .features__row p {
        grid-column: 2;
    }
}
