/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-dark: #0F172A;
    --bg-card: #1E293B;
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --accent-cyan: #45D1C1;
    --accent-cyan-hover: #34A89A;
    --accent-blue: #3B82F6;
    --accent-blue-hover: #2563EB;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(69, 209, 193, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(90deg, #45D1C1, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.icon-cyan { stroke: var(--accent-cyan); color: var(--accent-cyan); }
.icon-blue { stroke: var(--accent-blue); color: var(--accent-blue); }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    padding: 15px 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.lang-toggle-container {
    justify-self: start;
}

.lang-selector {
    display: flex;
    gap: 5px;
    background: rgba(15, 23, 42, 0.6);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-btn.active {
    background: rgba(255,255,255,0.15);
    color: var(--text-main);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo-container {
    justify-self: center;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 100px;
    object-fit: contain;
}

.nav-btn {
    justify-self: end;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}
.nav-btn:hover { background: rgba(255, 255, 255, 0.2); }

/* Ad Placeholders */
.ad-placeholder {
    width: 90%;
    max-width: 728px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-radius: 12px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    display: flex;
    justify-content: center;
}

.hero-content { max-width: 800px; text-align: center; margin: 0 auto; }

.hero-main-logo {
    height: 100px;
    object-fit: contain;
    margin: 0 auto 30px;
    display: block;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0 auto 35px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 1.2rem;
    text-decoration: none;
    width: auto;
}

/* ¿Qué es Collabia? */
.about-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text { flex: 1; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(69, 209, 193, 0.1);
    color: var(--accent-cyan);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.about-list {
    list-style: none;
    margin-top: 25px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    font-weight: 600;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-mockup {
    width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.5));
}

/* Gateway Split Screen */
.split-gateway {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

@media (min-width: 768px) {
    .split-gateway {
        flex-direction: row;
    }
}

.split-header {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
}

.split-header img {
    height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
}

.split-header p {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.split-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    padding: 20px;
}

.split-half.influencer-side {
    background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(69,209,193,0.2));
    border-bottom: 2px solid var(--accent-cyan);
}

.split-half.business-side {
    background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(59,130,246,0.2));
    border-top: 2px solid var(--accent-blue);
}

@media (min-width: 768px) {
    .split-half.influencer-side {
        border-bottom: none;
        border-right: 2px solid var(--accent-cyan);
    }
    .split-half.business-side {
        border-top: none;
    }
}

.split-half:hover {
    flex: 1.15;
}

.split-half.influencer-side:hover {
    background: linear-gradient(135deg, rgba(15,23,42,0.8), rgba(69,209,193,0.4));
}

.split-half.business-side:hover {
    background: linear-gradient(135deg, rgba(15,23,42,0.8), rgba(59,130,246,0.4));
}

.split-content {
    text-align: center;
    z-index: 10;
}

.split-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-main);
}

.split-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 300px;
    margin-bottom: 25px;
}

.influencer-side .split-content h2 { color: var(--accent-cyan); }
.business-side .split-content h2 { color: var(--accent-blue); }

/* ¿Cómo Funciona? */
.how-it-works {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-top: 50px;
}

.step-card {
    flex: 1;
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(69, 209, 193, 0.1);
    color: var(--accent-cyan);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}
.step-icon svg { width: 32px; height: 32px; }

.step-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.step-card p { color: var(--text-muted); font-size: 1rem; }

/* ¿Qué Ganas? */
.benefits-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.benefit-box {
    flex: 1;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.influencer-benefits { border-top: 4px solid var(--accent-cyan); }
.business-benefits { border-top: 4px solid var(--accent-blue); }

.benefit-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.header-icon { width: 32px; height: 32px; }
.influencer-benefits .header-icon { color: var(--accent-cyan); }
.business-benefits .header-icon { color: var(--accent-blue); }

.benefit-header h3 { font-size: 1.8rem; }

.benefit-list { list-style: none; }
.benefit-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}
.benefit-list li svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.influencer-benefits li svg { color: var(--accent-cyan); }
.business-benefits li svg { color: var(--accent-blue); }
.benefit-list li span { font-size: 1.1rem; color: #E2E8F0; }

/* Forms Section */
.forms-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.forms-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.glass-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
}
.card-icon { width: 28px; height: 28px; }
.card-header h2 { font-size: 1.8rem; }

/* Forms */
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-wrapper svg {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 14px 16px 14px 45px;
    background-color: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    appearance: none;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: translateY(-2px) rotate(45deg);
    pointer-events: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus { border-color: var(--accent-cyan); }
.business-card .input-wrapper input:focus,
.business-card .input-wrapper select:focus { border-color: var(--accent-blue); }

/* Buttons */
.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn:active { transform: scale(0.98); }
.btn-primary { background-color: var(--accent-cyan); }
.btn-primary:hover { background-color: var(--accent-cyan-hover); }
.btn-secondary { background-color: var(--accent-blue); color: white; }
.btn-secondary:hover { background-color: var(--accent-blue-hover); }

.spin {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(16, 185, 129, 0.15);
    color: #34D399;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    background: rgba(15, 23, 42, 0.5);
}

.footer-logo {
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    opacity: 0.8;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .about-container { flex-direction: column; text-align: center; }
    .about-list li { justify-content: center; }
    .steps-container { flex-direction: column; }
    .benefits-grid { flex-direction: column; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .glass-card { width: 100%; }
}
