/* Component Styles */

/* Device Frame */
.device-frame {
    width: 100%;
    aspect-ratio: 9/16;
    background-color: #1B1F3B;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.device-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1B1F3B, #0A0A0A);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 600;
}

.device-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background-color: #0A0A0A;
    border-radius: 20px;
    z-index: 3;
}

/* Service Cards */
.service-card {
    background: rgba(27, 31, 59, 0.5);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.service-icon {
    font-size: 32px;
    color: #00E5FF;
    margin-bottom: 20px;
}

/* Video Cards */
.card-9x16 {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #1B1F3B;
}


.card-9x16:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
}


.card-9x16 .thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: none;
}

.card-9x16 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 30%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0.6) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.card-9x16:hover .overlay {
    opacity: 0.9;
}

.brand-logo {
    margin-bottom: 8px;
}

.logo-img {
    height: 24px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.card-9x16 .kpi {
    font-size: 12px;
    font-weight: 600;
    color: #00E5FF;
    background: rgba(0, 229, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.card-9x16 .play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.card-9x16:hover .play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 229, 255, 1);
}

.card-9x16 .play i {
    font-size: 24px;
    color: #0A0A0A;
    margin-left: 3px;
}

/* Stats */
.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(27, 31, 59, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h4 {
    font-size: 28px;
    font-weight: 700;
    color: #00E5FF;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 14px;
    color: #D1D5DB;
    margin-bottom: 0;
}

/* Process Steps */
.process-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00E5FF, #6366F1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    padding-top: 5px;
}

/* Testimonial Cards */
.testimonial-card {
    background: rgba(27, 31, 59, 0.5);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-video {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #0A0A0A;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.testimonial-video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    background: #000;
    min-height: 200px;
}

/* Controles personalizados del video */
.custom-video-controls {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 18px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.testimonial-video:hover .custom-video-controls {
    opacity: 1;
}

.control-btn {
    background: rgba(0, 229, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #000;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.control-btn:hover {
    background: rgba(0, 229, 255, 1);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5);
}

.control-btn:active {
    transform: scale(1.05);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.volume-slider-container {
    width: 80px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-slider {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00E5FF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00E5FF;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* Barra de progreso del video */
.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.time-display {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.progress-bar-container {
    flex: 1;
    height: 6px;
    position: relative;
    cursor: pointer;
    padding: 8px 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    overflow: visible;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: #00E5FF;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 12px;
    height: 12px;
    background: #00E5FF;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 229, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.progress-bar-container:hover .progress-handle {
    opacity: 1;
}

.progress-handle:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Estilos para pantalla completa */
.testimonial-video:fullscreen {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-video:-webkit-full-screen {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-video:-moz-full-screen {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-video:-ms-fullscreen {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.video-play-btn:hover {
    transform: scale(1.1);
}

.video-play-btn i {
    font-size: 24px;
    color: #0A0A0A;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #6366F1;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #FFFFFF;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.author-info p {
    margin-bottom: 0;
    font-size: 14px;
    color: #D1D5DB;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: rgba(27, 31, 59, 0.5);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    margin-bottom: 0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Form Elements */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: 1 / 3;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #FFFFFF;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00E5FF;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

