@import url('./fonts/inter-local.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5e7eb;
}

/* Scroll Progress */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    z-index: 9999;
    transition: width 0.1s;
}

/* Scroll to Top */
#scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s;
    z-index: 1000;
}

#scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

#scroll-top:hover {
    background: #111827;
    transform: translateY(-5px);
}

/* Fade Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.fade-in-left {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.fade-in-right {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

/* Animation states for GSAP */
.fade-in.animate {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left.animate {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-in-right.animate {
    opacity: 0;
    transform: translateX(30px);
}

/* Image Placeholder */
.img-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    border-radius: 1rem;
}

/* Bubble Animation Container */
.bubble-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: transparent;
    border-radius: 1rem;
    overflow: hidden;
}

/* Bubble Base Styles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF8C00);
    opacity: 0.7;
    animation: bubble-float 6s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Individual Bubble Sizes and Positions */
.bubble-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation-delay: 0.5s;
}

.bubble-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.bubble-4 {
    width: 40px;
    height: 40px;
    top: 40%;
    right: 30%;
    animation-delay: 1.5s;
}

.bubble-5 {
    width: 70px;
    height: 70px;
    bottom: 40%;
    right: 10%;
    animation-delay: 2s;
}

.bubble-6 {
    width: 50px;
    height: 50px;
    top: 15%;
    left: 50%;
    animation-delay: 2.5s;
}

.bubble-7 {
    width: 90px;
    height: 90px;
    top: 60%;
    left: 5%;
    animation-delay: 3s;
}

.bubble-8 {
    width: 35px;
    height: 35px;
    top: 70%;
    right: 25%;
    animation-delay: 3.5s;
}

.bubble-9 {
    width: 65px;
    height: 65px;
    top: 30%;
    left: 70%;
    animation-delay: 4s;
}

.bubble-10 {
    width: 45px;
    height: 45px;
    bottom: 10%;
    left: 60%;
    animation-delay: 4.5s;
}

.bubble-11 {
    width: 55px;
    height: 55px;
    top: 50%;
    left: 40%;
    animation-delay: 5s;
}

.bubble-12 {
    width: 75px;
    height: 75px;
    bottom: 30%;
    right: 40%;
    animation-delay: 5.5s;
}

.bubble-13 {
    width: 30px;
    height: 30px;
    top: 25%;
    left: 30%;
    animation-delay: 6s;
}

.bubble-14 {
    width: 85px;
    height: 85px;
    top: 80%;
    left: 45%;
    animation-delay: 6.5s;
}

.bubble-15 {
    width: 25px;
    height: 25px;
    top: 5%;
    right: 5%;
    animation-delay: 7s;
}

/* Bubble Animation */
@keyframes bubble-float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-60px) scale(1.2);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.9;
    }
}

/* Hover Effects */
.bubble:hover {
    transform: scale(1.3) !important;
    opacity: 1 !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    transition: all 0.3s ease;
}

/* Feature Card */
.feature-card {
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Stats Counter */
.counter {
    font-size: 3rem;
    font-weight: 800;
}

/* Brain Visualizer Styles */
#brain-visualizer {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#brain-visualizer:hover {
    transform: scale(1.02);
}
