/* ==================== DESKTOP (DEFAULT) ==================== */
body, html {
    overflow: hidden;
    height: 100%;
}

/* Section 1: Hero */
.hero {
    min-height: 100vh;
    height: auto;
    background: radial-gradient(circle at center, #006bb3, #003f66);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Section 2: Features */
.features {
    min-height: 100vh;
    height: auto;
    background-color: #f9fbfd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.features h2 {
    font-size: 2rem;
    color: #004471;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    width: 100%;
}

.feature-item {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 1.2rem;
    color: #004471;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Section 3: CTA */
.cta {
    min-height: 100vh;
    height: auto;
    background-color: #e7f1fc;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* Enable scroll snapping */
.snap-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}

.snap-container::-webkit-scrollbar {
    display: none;  /* Chrome, Safari */
}

/* Each section will snap into place */
.snap-container section {
    scroll-snap-align: start;
    min-height: 100vh;
    height: auto;
}

#scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: #007bff;
    width: 0%;
    z-index: 9999;
    transition: width 0.25s ease-out;
}

.scroll-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.scroll-dots button {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    aspect-ratio: 1 / 1;
    padding: 0;
}

.scroll-dots button:hover,
.scroll-dots button.active {
    background-color: #004471;
}

/* ==================== TABLET (768px - 1024px) ==================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 600px;
    }

    .features h2 {
        font-size: 1.7rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }

    .cta h2 {
        font-size: 1.6rem;
    }
}

/* ==================== MOBILE (max-width: 768px) ==================== */
@media (max-width: 768px) {
    body, html {
        overflow: visible;
        height: auto;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        height: auto;
        padding: 40px 16px;
        justify-content: flex-start;
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 24px;
    }

    /* Features Section */
    .features {
        padding: 40px 16px;
        justify-content: flex-start;
        padding-top: 60px;
    }

    .features h2 {
        font-size: 1.4rem;
        margin-bottom: 24px;
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
        width: 100%;
    }

    .feature-item {
        padding: 16px;
        width: 100%;
    }

    .feature-item h3 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    /* CTA Section */
    .cta {
        padding: 40px 16px;
        justify-content: flex-start;
        padding-top: 60px;
    }

    .cta h2 {
        font-size: 1.4rem;
        margin-bottom: 24px;
    }

    /* Snap Container */
    .snap-container {
        overflow-y: visible;
        height: auto;
        scroll-snap-type: none;
    }

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

    /* Hide scroll dots on mobile */
    .scroll-dots {
        display: none !important;
    }

    /* Scroll indicator */
    #scroll-indicator {
        height: 3px;
    }
}

/* ==================== SMALL MOBILE (max-width: 480px) ==================== */
@media (max-width: 480px) {
    .hero {
        padding: 30px 12px;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .features {
        padding: 30px 12px;
        padding-top: 50px;
    }

    .features h2 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .feature-item {
        padding: 12px;
    }

    .feature-item h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    .cta {
        padding: 30px 12px;
        padding-top: 50px;
    }

    .cta h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .cta .cta-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
