@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&family=Pacifico&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lexend', sans-serif;
    color: #333;
    overflow-x: hidden;
    background: #0f0c29;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(79, 172, 254, 0.1), transparent 70%);
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #4facfe, #00f2fe, #7ed957);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: titleGlow 3s infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 20px rgba(79, 172, 254, 0.5); }
    100% { text-shadow: 0 0 40px rgba(0, 242, 254, 0.8); }
}

.hero p {
    font-size: 1.4rem;
    color: #e0e7ff;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    animation: fadeInUp 1.5s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    color: white;
    padding: 16px 48px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
    animation: pulseButton 2s infinite;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.6);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:active::before {
    width: 300px;
    height: 300px;
}

@keyframes pulseButton {
    0% { box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4); }
    50% { box-shadow: 0 15px 40px rgba(0, 242, 254, 0.6); }
    100% { box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4); }
}

.brain-svg {
    width: 120px;
    filter: drop-shadow(0 0 20px rgba(79, 172, 254, 0.5));
    animation: floatBrain 6s infinite ease-in-out;
}

@keyframes floatBrain {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.features {
    padding: 100px 0;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(79, 172, 254, 0.15);
    box-shadow: 0 20px 40px rgba(79, 172, 254, 0.2);
}

.feature-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}