body { 
    font-family: 'Poppins', sans-serif; 
}

.bg-brand-blue { 
    background-color: #3B82F6; 
}

.text-brand-blue { 
    color: #3B82F6; 
}

.bg-brand-green { 
    background-color: #2DD4BF; 
}

.text-brand-green { 
    color: #2DD4BF; 
}

.hover\:bg-brand-blue-dark:hover { 
    background-color: #2563EB; 
}

.hero-bg { 
    background-color: #F9FAFB; 
    position: relative; 
    overflow: hidden; 
}

.hero-bg::before { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 80%; 
    background: #3B82F6; 
    clip-path: ellipse(80% 100% at 50% 100%); 
    z-index: 0; 
}

.card-shadow { 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05); 
}

.transition-all { 
    transition: all 0.3s ease-in-out; 
}

.feature-list { 
    list-style: none; 
    padding-left: 0; 
}

.feature-list li { 
    position: relative; 
    padding-left: 2rem; 
    margin-bottom: 0.5rem; 
}

.feature-list li::before { 
    content: attr(data-icon); 
    position: absolute; 
    left: 0; 
    top: 0; 
    font-size: 1.1rem; 
}

.problem-section { 
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%); 
    color: white; 
    text-align: center; 
    padding: 4rem; 
}

.problem-title { 
    font-size: 2.5rem; 
    margin-bottom: 30px; 
    font-weight: bold; 
}

.problem-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 50px; 
}

.problem-card { 
    background: rgba(255,255,255,0.1); 
    padding: 30px; 
    border-radius: 15px; 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255,255,255,0.2); 
}

.problem-icon { 
    font-size: 3rem; 
    margin-bottom: 20px; 
}

.demo-section { 
    background: #f8f9fa; 
    text-align: center; 
    padding: 4rem; 
}

.demo-title { 
    font-size: 2.8rem; 
    color: #3B82F6; 
    margin-bottom: 20px; 
    font-weight: bold; 
}

.demo-subtitle { 
    font-size: 1.3rem; 
    color: #666; 
    margin-bottom: 40px; 
}

.video-container { 
    position: relative; 
    background: #000; 
    border-radius: 20px; 
    overflow: hidden; 
    max-width: 800px; 
    margin: 0 auto; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); 
}

.video-placeholder { 
    aspect-ratio: 16/9; 
    background: linear-gradient(45deg, #3B82F6, #2DD4BF); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 1.5rem; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.video-placeholder:hover { 
    transform: scale(1.02); 
}

.play-button { 
    width: 80px; 
    height: 80px; 
    background: rgba(255,255,255,0.9); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2rem; 
    color: #3B82F6; 
    margin: 0 auto 20px; 
}

.text-shadow-strong { 
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.7); 
}

.modal-overlay { 
    transition: opacity 0.3s ease; 
}

.modal-container { 
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

.faq-item { 
    border: 1px solid #e5e7eb; 
    border-left-width: 4px; 
    border-left-color: transparent; 
    transition: all 0.3s ease; 
}

.faq-toggle { 
    transition: background-color 0.2s ease; 
}

.faq-toggle:hover { 
    background-color: #f9fafb; 
}

.faq-item.open { 
    border-left-color: #3B82F6; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); 
}

.faq-item.open .faq-toggle { 
    color: #3B82F6; 
}

.faq-item.open .faq-toggle i { 
    transform: rotate(180deg); 
}

.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out; 
    padding: 0 1.25rem; 
    color: #4b5563; 
}

.faq-item.open .faq-answer { 
    padding: 0 1.25rem 1.25rem 1.25rem; 
}

.phone-container { 
    width: 375px; 
    height: 812px; 
    background: transparent; 
    border-radius: 40px; 
    padding: 0; 
    position: relative; 
    transform-origin: top center;
    transition: all 0.3s ease;
}

.phone-image-container {
    position: relative;
    width: 100%;
    height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 30px;
    transition: opacity 0.8s ease-in-out;
}

.phone-image.portrait {
    opacity: 1;
    animation: fadeInOut 4s ease-in-out infinite;
}

.phone-image.left {
    opacity: 0;
    animation: fadeOutIn 4s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeOutIn {
    0%, 45% { opacity: 0; }
    50%, 95% { opacity: 1; }
    100% { opacity: 0; }
}

.phone-container:hover {
    transform: scale(1.02) rotateY(5deg);
}



.phone-screen { 
    width: 100%; 
    height: 100%; 
    border-radius: 30px; 
    overflow: hidden; 
    position: relative; 
    background: #f8f9fa; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
}

.app-screen { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s ease-in-out; 
    display: flex; 
    flex-direction: column; 
}

.app-screen.active { 
    opacity: 1; 
    visibility: visible; 
}

.app-header { 
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    padding: 16px;
    border-radius: 0 0 20px 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.app-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.sync-text {
    color: #2DD4BF;
}

.notification-icon {
    font-size: 20px;
    cursor: pointer;
}

.header-greeting {
    margin-bottom: 16px;
}

.header-greeting p {
    margin: 4px 0;
    font-size: 14px;
}

.suggestion-text {
    font-size: 12px;
    opacity: 0.8;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.header-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-icon {
    font-size: 16px;
}

.btn-text {
    font-size: 12px;
    font-weight: 500;
}

.app-content { 
    flex: 1; 
    padding: 20px; 
    overflow-y: auto; 
    background-color: #f8f9fa; 
    padding-bottom: 80px; 
}

.app-bottom-nav { 
    display: flex; 
    background: white; 
    border-top: 1px solid #eee; 
    padding: 5px 0; 
    align-items: center; 
    position: absolute; 
    bottom: 0; 
    width: 100%; 
    z-index: 100; 
}

.app-nav-item { 
    flex: 1; 
    text-align: center; 
    padding: 5px; 
    cursor: pointer; 
    color: #8e8e93; 
}

.app-nav-item.active { 
    color: #3B82F6; 
}

.app-nav-item .icon { 
    font-size: 22px; 
    margin-bottom: 2px; 
}

.app-nav-item .label { 
    font-size: 10px; 
}

.app-card { 
    background: white; 
    border-radius: 15px; 
    padding: 20px; 
    margin-bottom: 15px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); 
}

.app-stat-card { 
    text-align: center; 
}

.app-stat-number { 
    font-size: 48px; 
    font-weight: bold; 
    color: #3B82F6; 
    margin-bottom: 5px; 
}

.app-stat-label { 
    color: #666; 
    font-size: 14px; 
    margin-bottom: 10px; 
}

.app-stat-sublabel { 
    color: #4CAF50; 
    font-size: 12px; 
}

.app-action-button { 
    background: #3B82F6; 
    color: white; 
    border: none; 
    border-radius: 25px; 
    padding: 15px 20px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 20px; 
    font-size: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    width: 100%; 
}

.app-action-button .icon { 
    font-size: 20px; 
}

.app-action-button .text { 
    flex: 1; 
}

.app-action-button .subtext { 
    font-size: 12px; 
    opacity: 0.9; 
}

.app-section-title { 
    font-size: 16px; 
    font-weight: 600; 
    color: #333; 
    margin-bottom: 15px; 
}

.app-client-list { 
    background: white; 
    border-radius: 15px; 
    padding: 10px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); 
}

.app-client-card { 
    display: flex; 
    align-items: center; 
    padding: 10px; 
    border-bottom: 1px solid #f0f0f0; 
}

.app-client-card:last-child { 
    border-bottom: none; 
}

.app-client-avatar { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    margin-right: 15px; 
}

.app-client-info { 
    flex: 1; 
}

.app-client-name { 
    font-weight: 600; 
    font-size: 14px; 
    color: #333; 
}

.app-client-phone { 
    font-size: 12px; 
    color: #8e8e93; 
}

.app-fab-container { 
    position: relative; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex: 1.5; 
}

.app-fab { 
    width: 48px; 
    height: 48px; 
    background-color: #f0f2f5; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #3B82F6; 
    font-size: 20px; 
    cursor: pointer; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    z-index: 10; 
}

.floating-element { 
    position: absolute; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(15px); 
    border-radius: 16px; 
    padding: 12px 18px; 
    box-shadow: 0 12px 24px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.1); 
    z-index: 5; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    font-size: 12px; 
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.floating-element:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.floating-element:nth-child(1) { 
    animation-delay: 0s; 
}

.floating-element:nth-child(2) { 
    animation-delay: 1s; 
}

.floating-element:nth-child(3) { 
    animation-delay: 2s; 
}

.floating-element:nth-child(4) { 
    animation-delay: 3s; 
}

.floating-element:nth-child(5) { 
    animation-delay: 4s; 
}

.floating-element:nth-child(6) { 
    animation-delay: 5s; 
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes animate-float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) translateX(10px); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-10px) translateX(-5px); 
        opacity: 0.5;
    }
    75% { 
        transform: translateY(-15px) translateX(5px); 
        opacity: 0.8;
    }
}

.animate-float {
    animation: animate-float 8s ease-in-out infinite;
}

.app-search-bar { 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 20px; 
    padding: 12px 15px; 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.app-search-bar input { 
    border: none; 
    background: transparent; 
    flex: 1; 
    font-size: 14px; 
    outline: none; 
}

.app-stats-row { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 20px; 
}

.app-stats-row .stat { 
    flex: 1; 
    text-align: center; 
    padding: 15px 10px; 
    background: white; 
    border-radius: 10px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

.app-stats-row .stat.highlighted { 
    background: #3B82F6; 
    color: white; 
}

.app-stats-row .stat-value { 
    font-size: 20px; 
    font-weight: bold; 
    margin-bottom: 5px; 
}

.app-stats-row .stat-label { 
    font-size: 12px; 
    opacity: 0.8; 
}

.app-client-actions button { 
    background: #eef5ff; 
    color: #3B82F6; 
    border: none; 
    font-size: 10px; 
    padding: 5px 8px; 
    border-radius: 5px; 
    margin-top: 5px; 
}

.app-calendar { 
    background: white; 
    border-radius: 15px; 
    padding: 20px; 
    margin-bottom: 20px; 
}

.app-calendar-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
}

.app-calendar-title { 
    font-size: 16px; 
    font-weight: bold; 
}

.app-calendar-grid { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    gap: 5px; 
    text-align: center; 
}

.app-calendar-day-header { 
    font-size: 10px; 
    color: #666; 
    padding: 5px; 
}

.app-calendar-day { 
    padding: 8px; 
    font-size: 12px; 
    cursor: pointer; 
}

.app-calendar-day.today { 
    background: #3B82F6; 
    color: white; 
    border-radius: 50%; 
    font-weight: bold; 
}

.app-appointment-card { 
    display: flex; 
    align-items: center; 
    background: white; 
    border-radius: 10px; 
    padding: 15px; 
    margin-bottom: 10px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    border-left: 4px solid #3B82F6; 
}

.app-appointment-time { 
    font-size: 16px; 
    font-weight: 600; 
    color: #3B82F6; 
    margin-right: 15px; 
    text-align: center; 
}

.app-appointment-details { 
    flex: 1; 
}

.app-appointment-name { 
    font-weight: 600; 
    font-size: 14px; 
    color: #333; 
}

.app-appointment-address { 
    font-size: 12px; 
    color: #8e8e93; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    margin-top: 4px; 
}

.app-fab-menu { 
    position: absolute; 
    bottom: 55px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.3s ease; 
    z-index: 9; 
}

.app-fab-menu.active { 
    opacity: 1; 
    visibility: visible; 
}

.app-fab-menu .menu-item { 
    width: 50px; 
    height: 50px; 
    background: white; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #3B82F6; 
    margin: 0 8px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); 
    font-size: 20px; 
    transform: translateY(20px) scale(0.5); 
    transition: transform 0.3s ease; 
}

.app-fab-menu.active .menu-item:nth-child(1) { 
    transform: translateY(-20px) translateX(-35px) scale(1); 
    transition-delay: 0.1s; 
}

.app-fab-menu.active .menu-item:nth-child(2) { 
    transform: translateY(-40px) scale(1); 
    transition-delay: 0s; 
}

.app-fab-menu.active .menu-item:nth-child(3) { 
    transform: translateY(-20px) translateX(35px) scale(1); 
    transition-delay: 0.1s; 
}

.app-sync-status { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 10px; 
}

.app-sync-status .value.ready { 
    color: #4CAF50; 
}

.app-sync-stats { 
    display: flex; 
    justify-content: space-around; 
    text-align: center; 
    margin: 20px 0; 
}

.app-sync-stat-value { 
    font-size: 20px; 
    font-weight: bold; 
    margin-bottom: 5px; 
}

.app-sync-stat-label { 
    font-size: 12px; 
    color: #999; 
}

.app-setting-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
}

.app-setting-info h4 { 
    font-weight: 600; 
    margin-bottom: 5px; 
    color: #000; 
    font-size: 16px; 
}

.app-setting-info p { 
    font-size: 12px; 
    color: #666; 
}

.app-toggle-switch { 
    width: 51px; 
    height: 31px; 
    background: #e9e9eb; 
    border-radius: 16px; 
    position: relative; 
    cursor: pointer; 
    transition: 0.3s; 
}

.app-toggle-switch.active { 
    background: #34c759; 
}

.app-toggle-switch .slider { 
    width: 27px; 
    height: 27px; 
    background: white; 
    border-radius: 50%; 
    position: absolute; 
    top: 2px; 
    left: 2px; 
    transition: 0.3s; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
}

.app-toggle-switch.active .slider { 
    transform: translateX(20px); 
}

.app-tabs { 
    display: flex; 
    background-color: #e9e9eb; 
    border-radius: 8px; 
    padding: 2px; 
    margin-bottom: 20px; 
}

.app-tab { 
    flex: 1; 
    padding: 8px; 
    text-align: center; 
    font-size: 13px; 
    font-weight: 600; 
    color: #000; 
    border: none; 
    background: transparent; 
    border-radius: 6px; 
    cursor: pointer; 
    transition: all 0.2s ease-in-out; 
}

.app-tab.active { 
    background: white; 
    color: #3B82F6; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
}

.app-tab-content { 
    display: none; 
}

.app-tab-content.active { 
    display: block; 
}

.app-input-label { 
    font-weight: 600; 
    font-size: 16px; 
    margin-bottom: 8px; 
    display: block; 
}

.app-input { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #e5e5e5; 
    border-radius: 8px; 
    font-size: 14px; 
    margin-bottom: 15px; 
}

.app-test-button { 
    width: 100%; 
    background: #10B981; 
    color: white; 
    border: 1px solid #10B981; 
    border-radius: 8px; 
    padding: 12px; 
    font-size: 16px; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    cursor: pointer; 
    transition: background 0.2s ease;
}

.app-test-button:hover {
    background: #059669;
}

/* Estilos para la vista QR mejorada */
.qr-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 20px;
    margin-top: 20px;
}

@media (max-width: 480px) {
    .qr-card-container {
        padding: 15px;
        min-height: calc(100vh - 180px);
    }
    
    .qr-card-main {
        padding: 20px;
        max-width: 280px;
    }
    
    .qr-code-image {
        width: 180px;
        height: 180px;
    }
}

.qr-card-main {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    max-width: 320px;
    width: 100%;
}

.qr-profile-section {
    margin-bottom: 25px;
}

.qr-profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid #E6F0FF;
}

.qr-profile-name {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 8px 0;
}

.qr-profile-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6B7280;
    font-size: 14px;
}

.phone-icon {
    color: #3B82F6;
    font-size: 16px;
}

.qr-code-section {
    margin-bottom: 25px;
}

.qr-code-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.qr-scan-text {
    color: #6B7280;
    font-size: 14px;
    margin: 0 0 15px 0;
}

.whatsapp-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-contact-btn:hover {
    background: #128C7E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    font-size: 16px;
}

.qr-info-section {
    text-align: left;
}

.qr-info-section .info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}

.qr-info-section .info-icon {
    color: #3B82F6;
    font-size: 14px;
    margin-top: 1px;
    flex-shrink: 0;
}



/* Estilos legacy para compatibilidad */
.app-qr-card { 
    text-align: center; 
    transition: background 0.3s ease; 
    background-size: cover; 
    background-position: center; 
}

.app-qr-card img.avatar { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    margin: 0 auto 10px; 
}

.app-qr-card h2 { 
    font-size: 20px; 
    font-weight: 600; 
}

.app-qr-card p { 
    color: #666; 
    margin-bottom: 20px; 
}

.app-qr-code { 
    width: 180px; 
    height: 180px; 
    margin: 0 auto; 
    background: rgba(255,255,255,0.8); 
    border-radius: 10px; 
}

.app-customization-options { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

.app-custom-button { 
    display: block; 
    width: 100%; 
    padding: 12px; 
    background-color: #f0f2f5; 
    border-radius: 8px; 
    text-align: center; 
    font-weight: 600; 
    color: #333; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    position: relative; 
}

.app-color-palette { 
    position: absolute; 
    bottom: 110%; 
    left: 50%; 
    transform: translateX(-50%); 
    background: white; 
    padding: 8px; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
    display: flex; 
    gap: 8px; 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.2s ease-out; 
}

.app-color-palette.visible { 
    opacity: 1; 
    visibility: visible; 
}

.app-color-swatch { 
    width: 24px; 
    height: 24px; 
    border-radius: 50%; 
    cursor: pointer; 
    border: 2px solid #eee; 
}

/* Blog Post Styles for Homepage */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.object-cover {
    object-fit: cover;
} 

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background-color: #000;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.status-left {
    font-weight: 600;
}

.status-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* App Header with Tabs */
.app-header {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    padding: 16px;
    border-radius: 0 0 20px 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.app-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.sync-text {
    color: #2DD4BF;
}

.notification-icon {
    font-size: 20px;
    cursor: pointer;
}

.header-greeting {
    margin-bottom: 16px;
}

.header-greeting p {
    margin: 4px 0;
    font-size: 14px;
}

.suggestion-text {
    font-size: 12px;
    opacity: 0.8;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.header-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-icon {
    font-size: 16px;
}

.btn-text {
    font-size: 12px;
    font-weight: 500;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 20px;
    color: #3B82F6;
}

.card-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    gap: 16px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.action-btn:hover {
    transform: scale(1.05);
}

.action-icon {
    font-size: 24px;
    color: #3B82F6;
}

.action-text {
    font-size: 12px;
    color: #374151;
    font-weight: 500;
}

/* News Section */
.news-section {
    margin-top: 24px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-image {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #3B82F6;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
}

.news-content {
    padding: 16px;
}

.news-heading {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.news-description {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.news-date {
    color: #9CA3AF;
}

.news-link {
    color: #3B82F6;
    font-weight: 500;
}

/* Search Bar */
.search-bar {
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-icon {
    font-size: 16px;
    color: #9CA3AF;
}

.search-bar input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #374151;
}

.search-bar input::placeholder {
    color: #9CA3AF;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    gap: 16px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.stat-number.synced {
    color: #10B981;
}

.stat-number.failed {
    color: #EF4444;
}

.stat-label {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
}

.stat-item.highlighted .stat-number {
    color: #F59E0B;
}

/* Client List */
.client-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.client-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.client-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info {
    flex: 1;
}

.client-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.client-phone {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 8px;
}

.client-actions button {
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.client-actions button:hover {
    background: #2563EB;
}

/* Appointment Filters */
.appointment-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-btn {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: #374151;
}

.filter-btn.active {
    background: #3B82F6;
    color: white;
    border-color: #3B82F6;
}

.filter-icon {
    font-size: 14px;
}

/* Appointment Section */
.appointment-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.fab-button {
    width: 48px;
    height: 48px;
    background: #3B82F6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: transform 0.2s ease;
}

.fab-button:hover {
    transform: scale(1.1);
}

/* Appointment List */
.appointment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appointment-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.appointment-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6B7280;
}

.time-icon {
    font-size: 12px;
}

.time-text {
    font-weight: 500;
}

.appointment-status {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.appointment-status.synced {
    background: #D1FAE5;
    color: #065F46;
}

.appointment-status.pending {
    background: #FEF3C7;
    color: #92400E;
}

.appointment-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.appointment-client {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

.appointment-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6B7280;
}

.contact-icon {
    font-size: 12px;
    width: 16px;
}

/* Sync Cards */
.sync-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-icon {
    font-size: 20px;
    color: #3B82F6;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.sync-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.status-label {
    color: #6B7280;
}

.status-value {
    font-weight: 500;
    color: #111827;
}

.status-value.ready {
    color: #10B981;
}

.sync-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sync-stats .stat-item {
    text-align: center;
}

.sync-stats .stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #3B82F6;
    margin-bottom: 4px;
}

.sync-stats .stat-number.failed {
    color: #EF4444;
}

.sync-stats .stat-label {
    font-size: 11px;
    color: #6B7280;
    font-weight: 500;
}

/* Sync Controls */
.sync-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.control-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.control-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.control-info p {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #D1D5DB;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
}

.toggle-switch.active {
    background: #3B82F6;
}

.toggle-switch .slider {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
}

.toggle-switch.active .slider {
    transform: translateX(20px);
}

.sync-button {
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 16px 0;
}

.sync-button:hover {
    background: #2563EB;
}

.sync-icon {
    font-size: 18px;
}

.sync-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
}

.info-icon {
    font-size: 14px;
    margin-top: 1px;
}

.sync-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.action-btn.orange {
    background: #F59E0B;
    color: white;
}

.action-btn.red {
    background: #EF4444;
    color: white;
}

.action-btn:hover {
    opacity: 0.8;
}

.action-icon {
    font-size: 14px;
}

/* Config Tabs */
.config-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.config-tab {
    background: rgba(30, 58, 138, 0.3);
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: white;
    font-weight: 500;
}

.config-tab.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.config-tab:hover {
    background: rgba(30, 58, 138, 0.4);
}

.tab-icon {
    font-size: 14px;
}

.config-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.config-card {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
}

.config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.config-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 4px 0;
}

.config-info p {
    font-size: 12px;
    color: #4B5563;
    margin: 0;
    word-break: break-all;
}

.config-arrow {
    font-size: 16px;
    color: #9CA3AF;
    font-weight: 600;
}

.config-info-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #4B5563;
    line-height: 1.4;
    padding: 12px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Bottom Navigation */
.app-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 1px solid #E5E7EB;
    border-radius: 20px 20px 0 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 8px;
}

.nav-item.active {
    color: #3B82F6;
}

.nav-item:not(.active) {
    color: #9CA3AF;
}

.nav-icon {
    font-size: 20px;
}

.nav-label {
    font-size: 10px;
    font-weight: 500;
}

.nav-item.active .nav-label {
    color: #3B82F6;
}

.nav-item:not(.active) .nav-label {
    color: #9CA3AF;
} 