/* Reffi Webinar Page Styles - V2 */

:root {
    /* Reffi Brand Colors */
    --reffi-purple: #673399;
    --reffi-purple-dark: #693E98;
    --reffi-pink: #FF416C;
    --reffi-pink-accent: #FF3B5C;
    --reffi-red: #EE3958;
    --reffi-cyan: #00DCC7;
    --reffi-orange: #F89F2B;
    --reffi-warning: #FFA726;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    --gradient-purple-red: linear-gradient(90deg, rgba(105,62,152,1) 0%, rgba(238,57,88,1) 100%);
    --gradient-purple-pink: linear-gradient(135deg, #673399 0%, #FF3B5C 100%);

    /* Neutral Colors */
    --text-dark: #000000;
    --text-normal: #666666;
    --text-muted: #999999;
    --bg-white: #FFFFFF;
    --bg-light: #F1F3F3;
    --border-color: #E2E4EF;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: linear-gradient(135deg, #f3e8ff 0%, #ffe4ec 50%, #e0f9f7 100%);
    min-height: 100vh;
}

/* Hero Section V2 */
.hero-section-v2 {
    padding: 60px 0 80px;
    background: transparent;
    position: relative;
    z-index: 1;
}

.hero-content-v2 {
    padding: 0 15px;
}

/* Live Badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #DC2626;
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
    animation: pulse-badge 2s infinite;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(220, 38, 38, 0.5);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Hero Title V2 */
.hero-title-v2 {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle-v2 {
    font-size: 1.2rem;
    color: var(--text-normal);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--reffi-purple);
    line-height: 1;
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Registration Form V2 */
.registration-form-v2 {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(103, 51, 153, 0.15);
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid rgba(103, 51, 153, 0.1);
}

/* Form Header Inside Form */
.form-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.form-date {
    font-size: 1.05rem;
    color: var(--reffi-purple);
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-date i {
    font-size: 1.3rem;
}

.form-label-custom {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: block;
    font-size: 0.95rem;
}

.registration-form-v2 .form-control,
.registration-form-v2 .form-select {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Placeholder style for select */
.registration-form-v2 .form-select option[value=""] {
    color: var(--text-muted);
}

.registration-form-v2 .form-select:invalid {
    color: var(--text-muted);
}

.registration-form-v2 .form-control:focus,
.registration-form-v2 .form-select:focus {
    border-color: var(--reffi-purple);
    box-shadow: 0 0 0 0.2rem rgba(103, 51, 153, 0.1);
}

.registration-form-v2 .form-control.is-invalid,
.registration-form-v2 .form-select.is-invalid {
    border-color: var(--reffi-red);
}

.registration-form-v2 .invalid-feedback {
    display: none;
    color: var(--reffi-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.registration-form-v2 .form-control.is-invalid ~ .invalid-feedback,
.registration-form-v2 .form-select.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Primary Button V2 */
.btn-primary-v2 {
    background: var(--gradient-purple-pink);
    border: none;
    padding: 1.125rem 2.5rem;
    font-weight: 800;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(103, 51, 153, 0.3);
    background: var(--gradient-purple-pink);
}

.btn-primary-v2 .button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.security-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.security-text i {
    color: #10b981;
    margin-right: 0.25rem;
}

/* Benefits Section V2 */
.benefits-section-v2 {
    padding: 80px 0;
    background: white;
    position: relative;
    z-index: 1;
}

.section-header-v2 {
    margin-bottom: 3rem;
}

.section-title-v2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle-v2 {
    font-size: 1.2rem;
    color: var(--text-normal);
}

.benefit-card-v2 {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.benefit-card-v2:hover {
    border-color: var(--reffi-purple);
    box-shadow: 0 15px 50px rgba(103, 51, 153, 0.15);
    transform: translateY(-8px);
}

.benefit-icon-v2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon-v2 i {
    font-size: 2.5rem;
    color: white;
}

.benefit-icon-business {
    background: linear-gradient(135deg, #673399 0%, #FF3B5C 100%);
}

.benefit-icon-ambassador {
    background: linear-gradient(135deg, #F89F2B 0%, #EE3958 100%);
}

.benefit-icon-user {
    background: linear-gradient(135deg, #00DCC7 0%, #673399 100%);
}

.benefit-title-v2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-description-v2 {
    color: var(--text-normal);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.benefit-description-v2 strong {
    color: var(--reffi-purple);
    font-weight: 700;
}

/* Backed By Section */
.backed-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(103, 51, 153, 0.03) 0%, rgba(255, 59, 92, 0.03) 100%);
}

.backed-text {
    font-size: 1.1rem;
    color: var(--text-normal);
    font-weight: 600;
}

.cooperatives-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.coop-logo-placeholder,
.reffi-logo-center {
    padding: 1.5rem 3rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    font-weight: 700;
    color: var(--text-normal);
}

.reffi-logo-center {
    background: var(--gradient-purple-pink);
    color: white;
    border: none;
    font-size: 1.2rem;
}

/* Footer V2 */
.footer-v2 {
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.footer-text {
    color: var(--text-normal);
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Success Modal */
.modal-content {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
}

.success-icon {
    font-size: 5rem;
    color: #10b981;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.modal-description {
    font-size: 1.1rem;
    color: var(--text-normal);
}

.event-summary {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    text-align: left;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item i {
    font-size: 2rem;
    color: var(--reffi-purple);
    margin-top: 0.25rem;
}

.summary-item strong {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.summary-item p {
    margin: 0;
    color: var(--text-normal);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title-v2 {
        font-size: 2.25rem;
    }

    .section-title-v2 {
        font-size: 2rem;
    }

    .countdown-value {
        font-size: 3rem;
    }

    .form-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-section-v2 {
        padding: 40px 0 60px;
    }

    .hero-title-v2 {
        font-size: 1.875rem;
    }

    .hero-subtitle-v2 {
        font-size: 1.05rem;
    }

    .countdown-timer {
        gap: 1.5rem;
    }

    .countdown-value {
        font-size: 2.5rem;
    }

    .form-title {
        font-size: 1.35rem;
    }

    .form-date {
        font-size: 0.95rem;
    }

    .section-title-v2 {
        font-size: 1.75rem;
    }

    .registration-form-v2 {
        padding: 2rem 1.5rem;
    }

    .cooperatives-logos {
        gap: 1.5rem;
    }

    .coop-logo-placeholder,
    .reffi-logo-center {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .hero-title-v2 {
        font-size: 1.625rem;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .benefit-card-v2 {
        padding: 2rem 1.5rem;
    }

    .form-title {
        font-size: 1.25rem;
    }

    .form-date {
        font-size: 0.875rem;
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Floating Bubbles Animation */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float-up linear infinite;
}

/* Morado */
.bubble:nth-child(1) {
    width: 200px;
    height: 200px;
    background-color: #693E98;
    top: 10%;
    left: 5%;
    animation-duration: 20s;
    animation-delay: 0s;
}

/* Naranja */
.bubble:nth-child(2) {
    width: 150px;
    height: 150px;
    background-color: #F89F2B;
    top: 60%;
    left: 15%;
    animation-duration: 18s;
    animation-delay: 3s;
}

/* Cyan */
.bubble:nth-child(3) {
    width: 180px;
    height: 180px;
    background-color: #00DCC7;
    top: 30%;
    right: 10%;
    animation-duration: 22s;
    animation-delay: 1s;
}

/* Rosa/Pink */
.bubble:nth-child(4) {
    width: 120px;
    height: 120px;
    background-color: #FF3B5C;
    bottom: 20%;
    right: 25%;
    animation-duration: 19s;
    animation-delay: 4s;
}

/* Morado claro */
.bubble:nth-child(5) {
    width: 160px;
    height: 160px;
    background-color: #9B6DD6;
    top: 50%;
    left: 40%;
    animation-duration: 21s;
    animation-delay: 2s;
}

/* Naranja medio */
.bubble:nth-child(6) {
    width: 140px;
    height: 140px;
    background-color: #F89F2B;
    bottom: 10%;
    left: 30%;
    animation-duration: 17s;
    animation-delay: 5s;
}

/* Rosa coral */
.bubble:nth-child(7) {
    width: 110px;
    height: 110px;
    background-color: #EE3958;
    top: 25%;
    right: 35%;
    animation-duration: 23s;
    animation-delay: 1.5s;
}

/* Cyan claro */
.bubble:nth-child(8) {
    width: 130px;
    height: 130px;
    background-color: #00DCC7;
    bottom: 40%;
    right: 15%;
    animation-duration: 20s;
    animation-delay: 3.5s;
}

@keyframes float-up {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-30px) scale(1.08);
        opacity: 0.25;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.15;
    }
}

/* Ocultar en móviles para mejor rendimiento */
@media (max-width: 767px) {
    .bubbles {
        display: none;
    }
}
