/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Reglas específicas para evitar problemas de renderizado */
.date-time-info,
.date-time-item,
.date-time-icon,
.date-time-text {
    outline: none !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

.date-time-item {
    position: relative;
}

.date-time-item::after {
    display: none !important;
}

/* Reglas específicas para los checkmarks y evitar espacios rojos */
.benefit-item,
.check-container,
.check-icon {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.benefit-item::before,
.benefit-item::after,
.check-container::before,
.check-container::after,
.check-icon::before,
.check-icon::after {
    display: none !important;
    content: none !important;
}

/* Eliminar líneas grises problemáticas */
.form-container,
.form-iframe,
.second-right-content,
.second-content-wrapper {
    outline: none !important;
    box-shadow: none !important;
}

.form-container::before,
.form-container::after,
.form-iframe::before,
.form-iframe::after {
    display: none !important;
    content: none !important;
}

/* Variables CSS para colores y espaciado */
:root {
    --primary-blue: #00AAF8;
    --secondary-blue: #00AAF8;
    --light-blue: #00AAF8;
    --yellow-gradient-start: #FFD700;
    --yellow-gradient-end: #FFA500;
    --background-gray: #EEF2F7;
    --text-dark: #212121;
    --text-light: #666;
    --white: #ffffff;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Gradientes */
.gradient-blue {
    background: linear-gradient(90deg, #007BFF 0%, #00AAF8 100%);
    
}

.gradient-yellow {
    background: linear-gradient(90deg, var(--yellow-gradient-start) 0%, var(--yellow-gradient-end) 100%);
}

/* Header */
.header {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 30px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.1);
}

/* Contenedor principal */
.main-container {
    width: 100%;
    min-height: auto;
    background-color: var(--background-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem;
}

.content-wrapper {
    width: 100%;
    max-width: 1320px;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row;
}

/* Sección izquierda - Contenido */
.left-content {
    flex: 1;
    max-width: 654px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    animation: slideInLeft 0.8s ease-out;
}

/* Label de capacitación virtual */
.training-label {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: glow 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.training-label:hover {
    transform: translateY(-2px);
}

.training-label-text {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Contenedor de contenido principal */
.content-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Título principal */
.main-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    word-wrap: break-word;
}

/* Información de fecha y hora */
.date-time-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: auto;
}

.date-time-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    white-space: nowrap;
}

.date-time-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.3s ease;
}

.date-time-icon:hover {
    transform: rotate(5deg) scale(1.1);
}

.date-time-text {
    color: var(--secondary-blue);
    font-size: 1rem;
    font-weight: 400;
}

/* Botón de acceso */
.access-button {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.access-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.access-button-text {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
}

/* Sección derecha - Mockup del software */
.right-content {
    flex: 1;
    max-width: 655px;
    position: relative;
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.software-mockup-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.software-mockup-image {
    width: 100%;
    height: auto;
    max-width: 655px;
    border-radius: 12px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

/* Second Section: Professional Invoicing */
.second-section {
    background-color: var(--white);
    padding: 2rem 1rem;
}

.second-section-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.second-content-wrapper {
    width: 100%;
    max-width: 1328px;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: row;
}

/* Left Content Block */
.second-left-content {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 60%;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.second-main-title {
    color: var(--text-dark);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.second-description {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.second-subtitle {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.separator-line {
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
    margin: 1rem 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    width: 100%;
    height: 100%;
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    display: inline-flex;
    color: var(--text-dark);
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 27px;
    word-wrap: break-word;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    transition: transform 0.3s ease;
}

.benefit-item:nth-child(1) { animation-delay: 0.8s; }
.benefit-item:nth-child(2) { animation-delay: 1.0s; }
.benefit-item:nth-child(3) { animation-delay: 1.2s; }
.benefit-item:nth-child(4) { animation-delay: 1.4s; }
.benefit-item:nth-child(5) { animation-delay: 1.6s; }
.benefit-item:nth-child(6) { animation-delay: 1.8s; }

.benefit-item:hover {
    transform: translateX(5px);
}

.check-icon {
    width: 12px;
    height: 9px;
    flex-shrink: 0;
}

.second-conclusion {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Right Content Block - Form */
.second-right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: slideInRight 0.8s ease-out 0.5s both;
}

.form-container {
    width: 100%;
    height: 430px;
    padding-top: 25px;
    background: white;
    border-radius: 15px;
    border: 1px #CECECE solid;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
}

.form-title {
    align-self: stretch;
    text-align: center;
    color: #00AAF8;
    font-size: 30.06px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    line-height: 33.52px;
    word-wrap: break-word;
    margin: 0;
}

.form-iframe {
    padding: 10px;
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 0;
}

/* Ocultar labels del formulario */
.label {
    display: none !important;
}

/* Bottom Banner */
.bottom-banner {
    width: 100%;
    background: #EEF2F7;
    border-radius: 15px;
    padding: 1.5rem;
}

.banner-content {
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    display: flex;
    width: 100%;
}

.banner-icon {
    width: 47px;
    height: 50px;
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 21px;
    display: inline-flex;
    min-width: 0;
}

.banner-text-content {
    align-self: stretch;
    padding-top: 10px;
    padding-bottom: 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-flex;
}

.banner-text-inner {
    flex: 1 1 0;
}

.highlight-text {
    color: #00AAF8;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
}

.banner-text-normal {
    color: black;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
}

.highlight-blue {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
}

.footer-text {
    font-size: 0.875rem;
}

.bnt-perso-card.morado:hover{
    color: #7535AD;
}

/* Animaciones */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 170, 248, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 170, 248, 0.6);
    }
}

/* Responsive Design */

/* Desktop Large (>1200px) */
@media (min-width: 1200px) {
    .content-wrapper {
        gap: 1.5rem;
    }
}

/* Desktop Large (1281px+) - Mantiene diseño original */
@media (min-width: 1281px) {
    .content-wrapper {
        gap: 1.5rem;
    }
}

/* Desktop Medium (1025px - 1280px) - Mantiene diseño original */
@media (max-width: 1280px) and (min-width: 1025px) {
    .content-wrapper {
        gap: 1rem;
    }
    
    .main-title {
        font-size: 2.25rem;
    }
}

/* Resolución específica 1280x800 - Mantiene diseño de dos columnas */
@media (max-width: 1280px) and (min-height: 800px) {
    .content-wrapper {
        gap: 1rem;
    }
    
    .main-title {
        font-size: 2.25rem;
    }
}

/* Resolución específica 1024x600 - Mantiene diseño de dos columnas */
@media (max-width: 1024px) and (min-height: 600px) {
    .content-wrapper {
        gap: 1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
}

/* Tablet (769px - 1024px) - Mantiene diseño original */
@media (max-width: 1024px) and (min-width: 769px) {
    .content-wrapper {
        gap: 1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
}

/* Mobile Breakpoint (≤768px) - Convierte a columna con márgenes */
@media (max-width: 768px) {
    .main-container {
        padding: 1rem 1rem; /* Márgenes laterales */
        text-align: center;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    
    .left-content {
        max-width: 100%;
        text-align: center;
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    .right-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    
    .main-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .date-time-info {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .training-label {
        margin: 0 auto;
    }
    
    .content-container {
        align-items: center !important;
        text-align: center !important;
    }
    
    .access-button {
        margin: 0 auto !important;
        display: block !important;
        width: fit-content !important;
        align-self: center !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .software-mockup-image {
        max-width: 100%;
        height: auto;
    }
    
    /* Second Section Mobile */
    .second-section {
        padding: 2rem 1rem; /* Márgenes laterales */
    }
    
    .second-section-container {
        padding: 0 1rem; /* Márgenes laterales */
    }
    
    .second-content-wrapper {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    
    .second-left-content {
        order: 2;
        max-width: 100%;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .second-right-content {
        order: 1;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .second-main-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .second-description,
    .second-conclusion {
        text-align: center;
    }
    
    .second-subtitle {
        text-align: center;
    }
    
    .benefits-list {
        align-items: center;
    }
    
    .benefit-item {
        justify-content: center;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-iframe {
        height: 600px;
    }
    
    .bottom-banner {
        padding: 1rem 1rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        width: 100%;
    }
    
    .banner-text {
        width: 100%;
        text-align: center;
    }
    
    .banner-text-inner {
        text-align: center;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .header {
        height: 60px;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .main-container {
        text-align: center;
    }
    
    .content-container {
        align-items: center !important;
        text-align: center !important;
    }
    
    .main-title {
        font-size: 1.75rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .training-label {
        padding: 0.5rem 1rem;
    }
    
    .training-label-text {
        font-size: 0.875rem;
    }
    
    .date-time-text {
        font-size: 0.875rem;
    }
    
    .date-time-info {
        justify-content: center;
        align-items: center;
    }
    
    .access-button {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
        left: 22% !important;
        transform: translateX(-50%) !important;
    }
    
    .date-time-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Second Section Mobile Small */
    .second-section {
        padding: 1rem 0.25rem;
    }
    
    .second-content-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .second-main-title {
        font-size: 1.25rem;
    }
    
    .second-description,
    .second-conclusion {
        font-size: 0.875rem;
    }
    
    .second-subtitle {
        font-size: 1rem;
    }
    
    .benefit-item {
        font-size: 0.875rem;
    }
    
    .form-container {
        padding: 10px;
        height: 470px;
    }
    
    .form-title {
        font-size: 1.125rem;
    }
    
    .form-iframe {
        height: 670px;
    }
    
    .banner-text {
        font-size: 0.875rem;
    }
    
    .bottom-banner {
        padding: 1rem;
        margin: 0;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .banner-text {
        width: 100%;
        text-align: center;
    }
    
    .banner-text-inner {
        text-align: center;
    }
    
    .highlight-text,
    .banner-text-normal {
        font-size: 0.875rem;
        line-height: 1.3;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
    .main-container {
        padding: 0.5rem 0.25rem;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .training-label-text {
        font-size: 0.75rem;
    }
    
    .date-time-text {
        font-size: 0.75rem;
    }
    
    .access-button-text {
        font-size: 0.75rem;
    }
    
    .date-time-icon {
        width: 18px;
        height: 18px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .main-container {
        padding: 0.5rem;
    }
    
    .content-wrapper {
        flex-direction: row;
        gap: 1rem;
    }
    
    .left-content {
        max-width: 50%;
        text-align: left;
        align-items: flex-start;
    }
    
    .right-content {
        max-width: 50%;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .date-time-info {
        flex-direction: row;
        gap: 1rem;
    }
}