
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- COLOR & FONT PALETTE --- */
:root {
    --bg-dark: #0d0c22;
    --bg-light: #1c1642;
    --primary: #6c63ff;
    --secondary: #ff6584;
    --accent: #36d1dc;
    --text-light: #f0f2f5;
    --text-medium: #a8b2d1;
    --font-main: 'Poppins', Arial, sans-serif; /* Add Poppins from Google Fonts for a modern look */
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--bg-dark), #130f2d, var(--bg-light));
    background-size: 400% 400%;
    color: var(--text-light);
    overflow-x: hidden;
    text-align: center;
    animation: gradientBG 20s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* TOP NAVIGATION */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(13, 12, 34, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(108, 99, 255, 0.2);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #e5e7eb;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* HAMBURGER (for mobile) */
.hamburger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    z-index: 5000;
}


/* HERO BUBBLES */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: rgba(108, 99, 255, 0.15);
    border-radius: 50%;
    top: var(--y);
    left: var(--x);
    animation: float 10s linear infinite;
    animation-delay: var(--delay);
}

@keyframes float {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.5; }
    100% { transform: translateY(0) scale(1); opacity: 0.7; }
}

/* HERO SECTION */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 56px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.hero-sub {
    font-size: 22px;
    margin-top: 10px;
    color: var(--text-medium);
}

/* HERO BUTTONS */
.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.explore {
    background-color: var(--primary);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.4);
}

.download {
    background-color: var(--secondary);
    box-shadow: 0 5px 20px rgba(255, 101, 132, 0.4);
}

.video {
    background-color: var(--accent);
    box-shadow: 0 5px 20px rgba(54, 209, 220, 0.4);
}

.test {
    background-color: var(--primary);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.4);
}

.questions {
    background-color: var(--primary);
    background-color: rebeccapurple;
    box-shadow: 0 5px 20px rebeccapurple;
}

.btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.explore:hover { background-color: #7a72ff; }
.download:hover { background-color: #ff7694; }
.video:hover { background-color: #43dde8; }
.questions:hover { background-color: rgb(127, 79, 175); }

/* FEATURES SECTION */
.features {
    padding: 80px 20px;
}

/* FEATURES SECTION */
.features {
    padding: 60px 20px;
}

.features h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.feature-card {
    width: 200px;
    height: 180px;
    background: rgba(28, 22, 66, 0.6);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-size: 18px;
    transition: transform 0.4s, box-shadow 0.4s, background-color 0.4s;
}

.feature-card p {
    margin-top: 10px;
    font-weight: 500;
}

.feature-card a {
    text-decoration: none;
    color: #36d1dc;
}

.feature-card a:hover {
    text-decoration: underline;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(28, 22, 66, 1);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.25);
}

/* SLIDER SECTION */
.slider-section {
    padding: 60px 0;
}

.slider-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.slider {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.slide-track {
    display: flex;
    width: calc(220px * 12);
    animation: scroll 15s linear infinite;
}

.slide-track img {
    width: 200px;
    height: 150px;
    margin: 0 10px;
    border-radius: 20px;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
}

.slide-track img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0,0,0,0.3);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-220px * 6)); }
}

/* FOOTER */
footer {
    padding: 40px 20px;
    background: var(--bg-dark);
    color: var(--text-medium);
    font-size: 14px;
    text-align: center;
    margin-top: 60px;
}

.footer-note {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.7;
}

.footer-note a {
    color: var(--accent);
    text-decoration: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 5px 0;
}

.nav-active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-active .hamburger span:nth-child(2) {
    opacity: 0;
}
.nav-active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 77px; /* Adjusted for new padding */
        right: -100%;
        width: 100%;
        height: calc(100vh - 77px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: right 0.5s ease-in-out;
    }

    .nav-links a {
        font-size: 24px;
    }

    .top-nav.nav-active .nav-links {
        right: 0;
    }

    .hamburger { display: block; }

    .hero-title { font-size: 44px; }
    .hero-sub { font-size: 20px; }
}
@media screen and (max-width: 480px) {
    .hero-title { font-size: 36px; }
    .btn { font-size: 16px; padding: 12px 30px; }
    .feature-card { width: 90%; height: 150px; }
    .slide-track img { width: 150px; height: 120px; margin: 0 5px; }
}

/* EXTRA MOBILE FIXES */
@media (max-width: 480px) {
    /* Hero section spacing */
    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    /* Fix hero buttons stacking */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* Features section mobile fix */
    .feature-card {
        width: 90%;
    }

    .slide-track { animation-duration: 25s; }
    .slide-track img { width: 140px; height: 110px; }
}

