/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Logo */
.logo {
    position: fixed;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
    animation: fadeInUp 0.8s ease-out;
}

.logo-image {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.5));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    padding-top: 2rem;
}

/* Wave Background */
.wave-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.2));
    border-radius: 50%;
    animation: waveFloat 15s ease-in-out infinite;
}

.wave1 {
    top: -50%;
    left: -50%;
    background: linear-gradient(45deg, rgba(30, 64, 175, 0.4), rgba(59, 130, 246, 0.3));
    animation-delay: 0s;
    animation-duration: 20s;
    transform: rotate(-10deg);
}

.wave2 {
    top: -30%;
    right: -50%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.25));
    animation-delay: -5s;
    animation-duration: 25s;
    transform: rotate(15deg);
}

.wave3 {
    bottom: -40%;
    left: -30%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.25), rgba(147, 197, 253, 0.2));
    animation-delay: -10s;
    animation-duration: 30s;
    transform: rotate(-20deg);
}

.wave4 {
    bottom: -50%;
    right: -40%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.15));
    animation-delay: -15s;
    animation-duration: 35s;
    transform: rotate(25deg);
}

.wave5 {
    top: 20%;
    left: 30%;
    width: 150%;
    height: 80%;
    background: linear-gradient(45deg, rgba(147, 197, 253, 0.15), rgba(191, 219, 254, 0.1));
    animation-delay: -20s;
    animation-duration: 40s;
    transform: rotate(-5deg);
}

@keyframes waveFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(5deg) scale(1.02);
    }
    50% {
        transform: translateY(-15px) translateX(-10px) rotate(-3deg) scale(0.98);
    }
    75% {
        transform: translateY(-25px) translateX(15px) rotate(7deg) scale(1.01);
    }
}

.container {
    position: relative;
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    padding-top: 4rem;
    text-align: center;
    z-index: 1;
    margin-top: 2rem;
}

/* Background animation container */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Cartoon Image */
.cartoon-image-container {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    z-index: 10;
}

.cartoon-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 8px 25px rgba(37, 99, 235, 0.3));
    mix-blend-mode: multiply;
    background: transparent;
}

.cartoon-image:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 12px 35px rgba(37, 99, 235, 0.4));
}

/* Mental health message */
.mental-health-message {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.mental-health-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mental-health-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Main content */
.content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 4rem 3rem 4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
    max-width: 1000px;
    margin: 0 auto;
}

/* Emotions container */
.emotions-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
}

.emotion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    min-width: 100px;
    animation: slideInUp 0.6s ease-out;
}

.emotion-item:nth-child(1) { animation-delay: 0.1s; }
.emotion-item:nth-child(2) { animation-delay: 0.2s; }
.emotion-item:nth-child(3) { animation-delay: 0.3s; }
.emotion-item:nth-child(4) { animation-delay: 0.4s; }
.emotion-item:nth-child(5) { animation-delay: 0.5s; }
.emotion-item:nth-child(6) { animation-delay: 0.6s; }

.emotion-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.emotion-illustration {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Character Bodies */
.character-body {
    width: 70px;
    height: 70px;
    position: absolute;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Curious - Light Blue Oval */
.curious .character-body {
    background: linear-gradient(135deg, #a7d8f0, #7cc7e8);
    border-radius: 40px 40px 35px 35px;
    box-shadow: 0 4px 15px rgba(167, 216, 240, 0.4);
}

/* Frustrated - Orange Triangle */
.frustrated .character-body {
    background: linear-gradient(135deg, #ff9a76, #ff7b54);
    border-radius: 50% 50% 50% 10px;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(255, 154, 118, 0.4);
}

/* Happy - Gray Ghost */
.happy .character-body.ghost {
    background: linear-gradient(135deg, #b8b8b8, #9e9e9e);
    border-radius: 50px 50px 20px 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(184, 184, 184, 0.4);
}

.happy .character-body.ghost::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 15px;
    background: linear-gradient(135deg, #b8b8b8, #9e9e9e);
    border-radius: 0 0 20px 20px;
    clip-path: polygon(0 0, 20% 100%, 40% 0, 60% 100%, 80% 0, 100% 100%, 100% 0);
}

/* Relaxed - Orange Blob */
.relaxed .character-body.triangle {
    background: linear-gradient(135deg, #ff9a76, #ff7b54);
    border-radius: 60% 40% 60% 40%;
    box-shadow: 0 4px 15px rgba(255, 154, 118, 0.4);
}

/* Brave - Yellow Pear */
.brave .character-body.pear {
    background: linear-gradient(135deg, #f7d794, #f3c23b);
    border-radius: 50% 50% 70% 70%;
    transform: scaleY(1.2);
    box-shadow: 0 4px 15px rgba(247, 215, 148, 0.4);
}

/* Safe - Blue Cloud */
.safe .character-body.cloud {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    border-radius: 50px;
    position: relative;
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.4);
}

.safe .character-body.cloud::before,
.safe .character-body.cloud::after {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    border-radius: 50px;
}

.safe .character-body.cloud::before {
    width: 30px;
    height: 30px;
    top: -10px;
    left: 10px;
}

.safe .character-body.cloud::after {
    width: 40px;
    height: 40px;
    top: -15px;
    right: 5px;
}

/* Eyes */
.eyes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.eye {
    width: 8px;
    height: 8px;
    background: #2d3436;
    border-radius: 50%;
    position: relative;
}

.eye.small {
    width: 6px;
    height: 6px;
}

.frustrated .eyes {
    transform: translate(-50%, -70%);
}

/* Mouths */
.mouth {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.curious-mouth {
    width: 15px;
    height: 2px;
    background: #2d3436;
    border-radius: 2px;
}

.frustrated-mouth {
    width: 12px;
    height: 2px;
    background: #2d3436;
    border-radius: 2px;
}

.happy-mouth {
    width: 2px;
    height: 2px;
    background: #2d3436;
    border-radius: 50%;
}

.relaxed-mouth {
    width: 2px;
    height: 2px;
    background: #2d3436;
    border-radius: 50%;
}

.brave-mouth {
    width: 16px;
    height: 8px;
    border: 2px solid #2d3436;
    border-top: none;
    border-radius: 0 0 16px 16px;
    background: transparent;
}

.safe-mouth {
    width: 12px;
    height: 6px;
    border: 2px solid #2d3436;
    border-top: none;
    border-radius: 0 0 12px 12px;
    background: transparent;
}

/* Hover effects for illustrations */
.emotion-item:hover .emotion-illustration {
    transform: scale(1.1);
}

.emotion-item:hover .character-body {
    transform: scale(1.05);
}

.frustrated .emotion-item:hover .character-body {
    transform: rotate(45deg) scale(1.05);
}

.brave .emotion-item:hover .character-body.pear {
    transform: scaleY(1.2) scale(1.05);
}

/* Gentle animations */
.character-body {
    animation: gentleBob 3s ease-in-out infinite;
}

.eyes .eye {
    animation: blink 4s ease-in-out infinite;
}

@keyframes gentleBob {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes blink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

/* Staggered animation delays */
.curious .character-body { animation-delay: 0s; }
.frustrated .character-body { animation-delay: 0.5s; }
.happy .character-body { animation-delay: 1s; }
.relaxed .character-body { animation-delay: 1.5s; }
.brave .character-body { animation-delay: 2s; }
.safe .character-body { animation-delay: 2.5s; }

.emotion-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e0f2fe;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.emotion-item:hover .emotion-label {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Main heading */
.main-heading {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
    animation: breathe 4s ease-in-out infinite;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Waitlist section */
.waitlist-section {
    margin-bottom: 2.5rem;
}

.waitlist-text {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Form styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    position: relative;
}

.email-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.email-input:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
}

/* Signup button */
.signup-btn {
    position: relative;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 200px;
    margin: 0 auto;
}

.signup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.signup-btn:active {
    transform: translateY(-1px);
}

.btn-animation {
    display: none;
    width: 20px;
    height: 20px;
}

.signup-btn.loading .btn-animation {
    display: block;
}

.signup-btn.loading span {
    opacity: 0;
}

/* Mission text */
.mission-text {
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.mission-text p {
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.mission-text p:nth-child(2) {
    animation-delay: 0.2s;
}

.mission-text p:nth-child(3) {
    animation-delay: 0.4s;
}

/* Social section */
.social-section {
    margin-top: 2rem;
    text-align: center;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.linkedin-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-email {
    margin-top: 1rem;
    animation: fadeInUp 1s ease-out;
}

.email-link {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.email-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .content {
        padding: 2rem 2rem;
    }
    
    .cartoon-image {
        max-width: 400px;
    }
    
    .logo {
        top: 1.5rem;
        left: 1.5rem;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .mental-health-heading {
        font-size: 2.2rem;
    }
    
    .mental-health-subtitle {
        font-size: 1.1rem;
    }
    
    .emotions-container {
        padding: 1.5rem;
        gap: 0.8rem;
    }
    
    .emotion-item {
        min-width: 80px;
        padding: 0.8rem 0.5rem;
    }
    
    .emotion-illustration {
        width: 50px;
        height: 50px;
    }
    
    .emotion-label {
        font-size: 1rem;
    }
    
    .main-heading {
        font-size: 2.5rem;
    }
    
    .waitlist-text {
        font-size: 1.25rem;
    }
    
    .mission-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .emotions-container {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .emotion-item {
        min-width: 70px;
        padding: 0.6rem 0.4rem;
    }
    
    .emotion-illustration {
        width: 45px;
        height: 45px;
    }
    
    .emotion-label {
        font-size: 0.9rem;
    }
    
    .cartoon-image {
        max-width: 300px;
    }
    
    .logo {
        top: 1rem;
        left: 1rem;
        gap: 0.5rem;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .mental-health-heading {
        font-size: 1.8rem;
    }
    
    .mental-health-subtitle {
        font-size: 1rem;
    }
    
    .main-heading {
        font-size: 2rem;
    }
    
    .content {
        padding: 1.5rem 1.5rem;
    }
}

/* Loading states */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Success animation */
.success-animation {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
