/* styles.css - InfluenszerHub Landing Page Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 157, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(102, 126, 234, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 22s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 19s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 21s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 23s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 18s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; animation-duration: 20s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; animation-duration: 22s; }

.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.content { 
    position: relative; 
    max-width: 1200px; 
    margin: 0 auto; 
    width: 100%; 
}

/* Logo with gradient text */
.logo { 
    font-size: 4.5em; 
    font-weight: 900; 
    margin-bottom: 20px; 
    background: linear-gradient(135deg, #fff 0%, #f093fb 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s ease infinite;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    letter-spacing: -2px;
}

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tagline { 
    font-size: 1.6em; 
    margin-bottom: 60px; 
    opacity: 0.95; 
    line-height: 1.6; 
    font-weight: 300;
    animation: fadeInUp 1s ease 0.3s both;
}

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

/* Premium glassmorphism card */
.form-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: 60px 50px;
    border-radius: 40px;
    max-width: 550px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: fadeInUp 1s ease 0.6s both;
    position: relative;
    overflow: hidden;
}

/* Shine effect on card */
.form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 8s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.form-section h2 {
    margin-bottom: 35px; 
    font-size: 2em;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

form { 
    display: flex; 
    gap: 18px; 
    flex-direction: column;
    position: relative;
    z-index: 1;
}

input[type="email"], input[type="text"] {
    padding: 20px 30px;
    font-size: 1.1em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    outline: none;
    text-align: center;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #333;
}

input[type="email"]:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 10px 30px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

input[type="email"]::placeholder {
    color: #999;
}

.honeypot { 
    display: none !important; 
}

/* Premium button with gradient */
input[type="submit"] {
    padding: 20px;
    font-size: 1.3em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.4),
        0 0 0 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Button shine effect */
input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

input[type="submit"]:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(102, 126, 234, 0.5),
        0 0 0 8px rgba(255, 255, 255, 0.1);
}

input[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

input[type="submit"]:active {
    transform: translateY(-2px) scale(0.98);
}

input[type="submit"]:disabled {
    background: linear-gradient(135deg, #999 0%, #666 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Messages with better animations */
.message {
    display: none;
    padding: 25px 30px;
    border-radius: 20px;
    margin-top: 25px;
    text-align: center;
    animation: slideInBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

@keyframes slideInBounce {
    0% { opacity: 0; transform: translateY(-20px) scale(0.9); }
    50% { transform: translateY(5px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.success { 
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
}

.error { 
    background: linear-gradient(135deg, #d63031 0%, #ff7675 100%);
    box-shadow: 0 10px 30px rgba(214, 48, 49, 0.3);
}

/* Loading spinner */
.loading { 
    display: none; 
    margin-top: 15px; 
    text-align: center;
    position: relative;
    z-index: 1;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Features badges */
.features {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s both;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: default;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Confetti animation */
@keyframes confettiFall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo { font-size: 2.8em; }
    .tagline { font-size: 1.3em; }
    .form-section { 
        padding: 40px 30px; 
        border-radius: 30px;
    }
    .form-section h2 { font-size: 1.6em; }
    input[type="email"], input[type="submit"] {
        font-size: 1em;
        padding: 18px 25px;
    }
    .badge { font-size: 0.85em; padding: 8px 16px; }
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.6;
}

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