:root {
    --bg-dark: #0a0a0c;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-light: rgba(255, 255, 255, 0.1);
    --accent-glow: #3b82f6;
    --accent-glow-2: #8b5cf6;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Background & Atmosphere */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.water-effect {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px) brightness(0.6) grayscale(10%);
    transform: scale(1.05); /* hide blur edges */
}

.pointer-events-none {
    pointer-events: none;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 12, 0.3) 0%,
        rgba(10, 10, 12, 0.8) 100%
    );
}
.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    transition: transform 0.2s ease-out;
}

.sphere-1 {
    width: 50vw;
    height: 50vw;
    background: var(--accent-glow);
    top: -20%;
    left: -10%;
    animation: float 20s infinite alternate;
}

.sphere-2 {
    width: 40vw;
    height: 40vw;
    background: var(--accent-glow-2);
    bottom: -10%;
    right: -10%;
    animation: float 25s infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(5%) scale(1.1); }
}

/* Layout */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
    z-index: 10;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    animation: fadeInDown 1s ease-out forwards;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    border-radius: 8px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulsing 2s infinite;
}

@keyframes pulsing {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.gradient-text {
    background: linear-gradient(to right, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

/* Form */
.notify-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.glass-input {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
    transition: all 0.3s ease;
}

.glass-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.primary-btn {
    background: var(--text-primary);
    color: var(--bg-dark);
    border: none;
    padding: 0 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.primary-btn:active {
    transform: translateY(0);
}

/* Ecosystem Preview Cards */
.ecosystem-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    opacity: 0;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.glass-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.bounce-1 { animation: fadeInUp 1s ease-out 0.8s forwards; }
.bounce-2 { animation: fadeInUp 1s ease-out 1.0s forwards; }
.bounce-3 { animation: fadeInUp 1s ease-out 1.2s forwards; }

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: fadeIn 1s ease-out 1.5s forwards;
    opacity: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.social-icon:hover {
    color: var(--text-primary);
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .notify-form {
        flex-direction: column;
    }
    
    .primary-btn {
        padding: 1rem;
    }
    
    .footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mensajes Positivos Marquee */
.marquee-container {
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    z-index: 20;
    opacity: 0.2; /* 20% muy sutil */
    pointer-events: none;
}

.marquee-text {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Duplicamos el contenido para un scroll infinito perfecto */
.marquee-text span {
    padding-right: 1.5rem;
    color: var(--text-primary);
}

.marquee-text .dot {
    color: var(--text-secondary);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
