/* ─── Each section snaps ─── */
.section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 40px;
}

/* ─── Fixed nav bar (logo + CTA share the same top edge) ─── */
.fixed-logo {
    position: fixed;
    top: 24px;
    left: 40px;
    z-index: 200;
    height: clamp(2.25rem, 1.9rem + 1vw, 2.75rem);
}

.fixed-cta {
    position: fixed;
    top: 24px;
    right: 40px;
    z-index: 200;
    font-family: var(--font-sans);
    font-size: var(--fs-caption);
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: .3px;
    padding: 10px 24px;
    border: 1px solid rgba(17,23,20,.12);
    border-radius: 6px;
    transition: all .4s ease;
}

.fixed-cta:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(0,166,100,.04);
}

.fixed-cta.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ─── Hero ─── */
.hero {
    background: var(--bg);
    color: var(--ink);
    padding: 80px 40px 100px;
}


/* ─── Hero content wrapper ─── */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 880px;
    width: 100%;
}

/* ─── Corner accents ─── */
.corner {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 2s ease forwards;
}

.corner-tl {
    top: 80px;
    left: 40px;
    border-top: 1px solid rgba(0,166,100,.15);
    border-left: 1px solid rgba(0,166,100,.15);
    animation-delay: 1.4s;
}

.corner-br {
    bottom: 80px;
    right: 40px;
    border-bottom: 1px solid rgba(0,166,100,.15);
    border-right: 1px solid rgba(0,166,100,.15);
    animation-delay: 1.6s;
}

/* ─── Hero typography ─── */
.hero-headline {
    font-family: var(--font-serif);
    font-size: var(--fs-display);
    font-weight: 400;
    line-height: 1.06;
    text-align: center;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: .4s;
}

.hero-insight {
    font-family: var(--font-serif);
    font-size: var(--fs-display-accent);
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
    color: var(--ink-secondary);
    max-width: 620px;
    margin-top: 40px;
    margin-bottom: 12px;
}

.hero-insight em {
    font-style: italic;
    color: var(--green);
}

.hero-insight-2 {
    font-family: var(--font-sans);
    font-size: var(--fs-body-lg);
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    text-align: center;
    color: var(--ink-secondary);
    max-width: 520px;
    margin-bottom: 24px;
}

.hero-insight-2 em {
    font-style: normal;
    color: var(--green);
    font-weight: 400;
}

.hero-constraint {
    font-family: var(--font-sans);
    font-size: var(--fs-body-lg);
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    text-align: center;
    color: var(--ink-secondary);
    max-width: 560px;
    margin-bottom: 24px;
}

.hero-constraint em {
    font-style: normal;
    color: var(--green);
}

.hero-constraint strong {
    color: var(--ink-secondary);
    font-weight: 400;
}

.hero-mark {
    width: 2px;
    height: 28px;
    background: linear-gradient(to bottom, var(--green), rgba(0,166,100,.15));
    border-radius: 2px;
    margin-bottom: 24px;
}

.hero-subline {
    font-family: var(--font-serif);
    font-size: var(--fs-display-accent);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    color: var(--ink);
    max-width: 620px;
    letter-spacing: -.2px;
    margin-bottom: 12px;
}

.hero-subline em {
    font-style: italic;
    color: var(--green);
}

.hero-subline-2 {
    font-family: var(--font-sans);
    font-size: var(--fs-body-lg);
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    text-align: center;
    color: var(--ink-secondary);
    max-width: 520px;
}

/* ─── Hero-scoped entrance animations ─── */
.hero .hero-insight {
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: .65s;
}
.hero .hero-insight-2 {
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: .8s;
}
.hero .hero-constraint {
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: .95s;
}
.hero .hero-mark {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 1.1s;
}
.hero .hero-subline {
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: 1.2s;
}
.hero .hero-subline-2 {
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: 1.35s;
}
.hero .video-block {
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: .6s;
    max-height: calc(100dvh - 420px);
}
.hero .video-label {
    opacity: 0;
    animation: fadeSlideUp 1s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: .85s;
}

/* ─── Scroll cue ─── */
.scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.8s;
}

.scroll-cue-text {
    font-family: var(--font-sans);
    font-size: var(--fs-micro);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.scroll-cue-line {
    width: 1px;
    height: 36px;
    position: relative;
    overflow: hidden;
}

.scroll-cue-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--green));
    animation: scrollPulse 2.4s cubic-bezier(.4,0,.2,1) infinite;
    animation-delay: 2s;
}


/* ─── Feature sections ─── */
.feature {
    text-align: center;
    padding: 80px 40px;
}

.feature-number {
    font-family: var(--font-serif);
    font-size: var(--fs-subheading-sm);
    color: var(--ink-faint);
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.feature h2 {
    font-family: var(--font-serif);
    font-size: var(--fs-heading-xl);
    font-weight: 400;
    line-height: 1.1;
    max-width: 1000px;
    letter-spacing: -0.5px;
}

.feature h2 em {
    font-style: italic;
    color: var(--green);
}

.feature-body {
    margin-top: 28px;
    font-size: var(--fs-body-lg);
    line-height: 1.75;
    color: var(--ink-muted);
    max-width: 520px;
    font-weight: 300;
}

/* ─── Visual block ─── */
.visual-block {
    margin-top: 56px;
    width: min(90vw, 700px);
    aspect-ratio: 16/9;
    border-radius: 16px;
    border: 1px solid rgba(0, 166, 100, 0.12);
    background: linear-gradient(145deg, rgba(0, 166, 100, 0.04), rgba(0, 166, 100, 0.01));
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.visual-block::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(0, 166, 100, 0.06), transparent 60%);
}

.visual-icon {
    font-size: 56px;
    opacity: 0.3;
}

/* ─── Video block ─── */
.video-block {
    margin-top: 48px;
    width: min(90vw, 800px);
    aspect-ratio: 11/9;
    border-radius: 16px;
    border: none;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.video-block.has-placeholder {
    aspect-ratio: 16/9;
    border: 1px solid rgba(0, 166, 100, 0.12);
}

.video-block video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
    cursor: pointer;
}

.video-block video::cue {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1.375rem;
    line-height: 1.5;
    border-radius: 4px;
    padding: 4px 12px;
}

.video-block video::-webkit-media-text-track-display-backdrop {
    background: transparent !important;
}

.video-block.paused::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 16px;
    z-index: 1;
}

/* ─── Mute button ─── */
.video-mute-btn {
    position: absolute;
    top: 32px;
    right: 40px;
    z-index: 5;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, background 0.25s ease;
    opacity: 0.7;
}

.video-block:hover .video-mute-btn {
    opacity: 1;
}

.video-mute-btn.is-muted {
    opacity: 1;
}

.video-mute-btn:hover {
    background: rgba(255, 255, 255, 1);
}

/* Mute button icon size */
.video-mute-btn svg {
    width: 26px;
    height: 26px;
}

/* Toggle icon visibility based on muted state */
.video-mute-btn .icon-muted { display: none; }
.video-mute-btn .icon-unmuted { display: block; }
.video-mute-btn.is-muted .icon-muted { display: block; }
.video-mute-btn.is-muted .icon-unmuted { display: none; }

.video-play-icon {
    color: var(--green);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.video-block:hover .video-play-icon {
    opacity: 0.7;
}

.video-label {
    margin-top: 24px;
    font-size: var(--fs-body-lg);
    color: var(--ink-secondary);
    font-weight: 400;
    text-align: center;
    max-width: 600px;
    line-height: 1.7;
    font-style: italic;
}

/* ─── Feature grid (It Is You) ─── */
.feature-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
    max-width: 800px;
    text-align: left;
}

.feature-item {
    padding: 0;
}

.feature-item-title {
    font-family: var(--font-serif);
    font-size: var(--fs-subheading);
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--ink);
}

.feature-item-desc {
    font-size: var(--fs-body-lg);
    color: var(--ink-muted);
    line-height: 1.7;
    font-weight: 300;
}

/* ─── Stats ─── */
.stats-section {
    background: var(--bg-warm);
}

.stats-row {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 56px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: var(--fs-stat-value);
    color: var(--green);
    line-height: 1;
}

.stat-label {
    margin-top: 12px;
    font-size: var(--fs-subheading-sm);
    color: var(--ink-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 300;
}

/* ─── Light sections ─── */
.light-section {
    background: var(--bg-warm);
    color: var(--ink);
}

.light-section .feature-number {
    color: var(--ink-faint);
}

.light-section .feature-body {
    color: var(--ink-muted);
}

.light-section .visual-block {
    border-color: rgba(0, 166, 100, 0.1);
    background: linear-gradient(145deg, rgba(0, 166, 100, 0.04), rgba(0, 166, 100, 0.01));
}

.light-section .visual-block::after {
    background: radial-gradient(ellipse at 30% 40%, rgba(0, 166, 100, 0.04), transparent 60%);
}

/* ─── CTA section ─── */
.cta-bg {
    background: var(--bg-warm);
}


.cta-button {
    margin-top: 48px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: var(--color-coral);
    color: #fff;
    font-family: var(--font-sans);
    font-size: var(--fs-cta-button);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.35s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #e56a64;
    transform: scale(1.04);
    box-shadow: 0 0 60px rgba(246, 122, 116, 0.25);
}

.cta-button .arrow-right {
    transition: transform 0.35s ease;
}

.cta-button:hover .arrow-right {
    transform: translateX(4px);
}

/* ─── Progress dots ─── */
.progress-dots {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 100;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 166, 100, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.dot.active {
    background: var(--green);
    box-shadow: 0 0 12px rgba(0, 166, 100, 0.4);
    transform: scale(1.3);
}

/* ─── Steps grid ─── */
.steps-grid {
    margin-top: 32px;
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-num {
    font-family: var(--font-serif);
    font-size: var(--fs-step-num);
    color: var(--green);
    margin-bottom: 16px;
    line-height: 1;
}

h3.step-title,
h3.feature-item-title {
    margin-top: 0;
}

.step-title {
    font-size: var(--fs-heading-lg);
    font-weight: 500;
    margin-bottom: 8px;
}

.step-desc {
    font-size: var(--fs-body-lg);
    color: var(--ink-muted);
    line-height: 1.6;
}

/* ─── Demo Modal ─── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 23, 20, 0.5);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    border: 1px solid rgba(107, 125, 115, 0.15);
    border-radius: 12px;
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-base);
    color: var(--ink);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    color: var(--ink-muted);
    font-size: var(--text-3xl);
    cursor: pointer;
    transition: color var(--transition-fast);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--ink);
}

.modal-headline {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.modal-description {
    color: var(--ink-muted);
    margin-bottom: var(--spacing-xl);
    font-size: var(--text-base);
}

/* ─── Forms ─── */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--ink-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    background-color: white;
    border: 1px solid var(--ink-faint);
    border-radius: 6px;
    color: var(--ink);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    background-color: var(--bg-warm);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--green);
    color: white;
}

.btn-primary:hover {
    background-color: #009058;
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
}

.btn-full-width {
    width: 100%;
}

.btn-coral {
    background-color: var(--color-coral);
}

.btn-coral:hover {
    background-color: #e56a64;
}
