/* =================================
   HOMEPAGE STYLES  
   ================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

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

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Homepage Main Content */
.homepage-main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    font-family: 'Inter', sans-serif;
}

.homepage-main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Content Container */
.homepage-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Title: SignalX */
.homepage-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
    text-align: center;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Tagline: AI Stock Analytics */
.homepage-tagline {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 600;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Description */
.homepage-description {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Homepage Buttons Container */
.homepage-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

/* Homepage Button Base */
.homepage-btn {
    padding: 18px 40px;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 160px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.homepage-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.homepage-btn:hover::before {
    left: 100%;
}

/* Sign Up Button */
.homepage-btn-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.homepage-btn-signup:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Sign In Button */
.homepage-btn-signin {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.homepage-btn-signin:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.homepage-title {
    animation: float 6s ease-in-out infinite, fadeInUp 1s ease-out;
}

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

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

.homepage-tagline {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.homepage-description {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.homepage-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .homepage-main-content {
        padding: 60px 20px;
        min-height: 100vh;
    }
    
    .homepage-content-wrapper {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .homepage-buttons {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .homepage-btn {
        padding: 16px 32px;
        font-size: 1rem;
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .homepage-main-content {
        padding: 40px 16px;
    }
    
    .homepage-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* Footer Styles */
.footer {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
    display: block;
}

.footer-links {
    font-size: 0.85rem;
    display: block;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}