/* ========== FULL-PAGE SCROLL-SNAP ========== */

.fp-wrapper {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.fp-section {
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Hero section keeps its own centering */
.fp-section.sec-hero {
    align-items: center;
    text-align: center;
}

/* Glow divider as pseudo-element between sections */
.fp-section + .fp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.06) 50%, transparent 100%);
    z-index: 5;
}

/* Footer section doesn't need full height */
.fp-section.sec-footer-wrap {
    min-height: auto;
    scroll-snap-align: end;
    justify-content: flex-end;
}

/* ========== SECTION NAVIGATION DOTS ========== */
.fp-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    transition: opacity 0.3s ease;
}

.fp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    border: 1.5px solid rgba(0,0,0,0.12);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.fp-dot:hover {
    background: rgba(0,0,0,0.15);
    border-color: rgba(0,0,0,0.25);
}

.fp-dot.active {
    background: var(--color-accent, #4F46E5);
    border-color: var(--color-accent, #4F46E5);
    box-shadow: 0 0 12px rgba(79,70,229,0.3);
    transform: scale(1.35);
}

/* Tooltip on hover */
.fp-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.08);
    color: var(--color-text, #0F172A);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.fp-dot:hover::after {
    opacity: 1;
}

/* ========== PARTICLE INTRO SECTION ========== */
.sec-particle-intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
}
.sec-particle-intro .particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.sec-particle-intro .scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.particle-intro-fallback {
    display: none;
    position: relative;
    z-index: 2;
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 900;
    color: var(--color-accent-light);
    text-align: center;
}

/* ========== MOBILE: DISABLE FULLPAGE ========== */
@media (max-width: 768px) {
    .fp-wrapper {
        height: auto;
        overflow-y: visible;
        scroll-snap-type: none;
    }

    .fp-section {
        min-height: auto;
        scroll-snap-align: none;
    }

    .fp-section.sec-hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .sec-particle-intro {
        min-height: 100vh;
        min-height: 100dvh;
    }
    .particle-intro-fallback {
        display: block;
    }

    .fp-dots {
        display: none;
    }
}
