:root {
    --primary: #00f0ff;
    --primary-glow: rgba(0, 240, 255, 0.4);
    --bg-dark: #07070b;
    --text-light: #f5f5f7;
    --text-muted: #8e8e93;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 6px;
}

body {
    background: #79d2f2;
    color: #17172b;
    overflow-x: hidden;
    min-height: 100vh;
    user-select: none;
}

/* Scroll track containing the sticky canvas */
.scroll-track {
    position: relative;
    width: 100%;
    background: transparent;
}

/* Sticky Canvas Container */
.canvas-container {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Loading Screen Overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #79d2f2;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
}

.loader-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.03);
    border-top-color: var(--primary);
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    box-shadow: 0 0 15px var(--primary-glow);
}

.loader-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: #174c98;
}

.loader-text {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #174c98;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Section Styles */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, #5fc1e3 0%, #79d2f2 100%);
    position: relative;
    color: #17172b;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #07070b 20%, #1c3d5a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.6;
    color: #2b394b;
    margin-bottom: 48px;
    max-width: 650px;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.mouse-icon {
    width: 28px;
    height: 46px;
    border: 2px solid #17172b;
    border-radius: 15px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: #17172b;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: #17172b;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Features Section Styles */
.features-section {
    padding: 120px 24px;
    background: #07070b;
    color: #f5f5f7;
    position: relative;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subheading {
    font-size: 1.1rem;
    color: #8e8e93;
    text-align: center;
    margin-bottom: 70px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 48px 36px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 16px 40px rgba(0, 240, 255, 0.08);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #ffffff;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a1a1a6;
}

/* Footer Section Styles */
.footer {
    padding: 48px 24px;
    text-align: center;
    background: #030305;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #6e6e73;
    font-size: 0.85rem;
}

/* Label Zoom Overlay (Background + SVG Title combined container) */
.label-zoom-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8vh;
    margin-left: 0.6vh;
    margin-top: -3.6vh;
    aspect-ratio: 959 / 1137;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s all ease-in-out;
}

.label-zoom-overlay.middle {
    opacity: 1;
    width: 30vh;
}

.canvas-container:not(:has(.inview-on)) .label-zoom-overlay.middle {
    opacity: 0;
}

.label-zoom-overlay .zoom-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.label-zoom-overlay .zoom-label {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.skip-button { 
    position: absolute;
    bottom: 20px;
    left: 0;
    display: block;
    text-align: center;
    width: 100%;
}

.mid {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0;
}