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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Header de navegación */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo y marca */
.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: none;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.brand-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1;
}

.brand-text span {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    line-height: 1;
    margin-top: -2px;
    display: block;
}

/* Navegación principal */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffc441;
}

.nav-link i {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
}

/* Estilos para el dropdown de funcionalidades */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 8px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform-origin: top left;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s linear 0.2s;
    border: 1px solid #f0f0f0;
    margin-top: 10px;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    transition-delay: 0s;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    margin: 0;
    border-radius: 6px;
    opacity: 0;
    transform: translateX(-10px);
}

.dropdown-menu.show .dropdown-item {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Staggered animation delay for items */
.dropdown-menu.show .dropdown-item:nth-child(1) { transition-delay: 0.05s; }
.dropdown-menu.show .dropdown-item:nth-child(2) { transition-delay: 0.1s; }
.dropdown-menu.show .dropdown-item:nth-child(3) { transition-delay: 0.15s; }

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #ffc441;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: #999;
    transition: color 0.2s ease;
}

.dropdown-item:hover i {
    color: #ffc441;
}

.dropdown-item span {
    flex: 1;
}

/* Botones de acción del header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-login {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.btn-login:hover {
    color: #ffc441;
}

.btn-primary {
    background-color: #ffc441;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 196, 65, 0.3);
}

.btn-primary:hover {
    background-color: #e6b03a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 196, 65, 0.4);
}

/* Sección Hero */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    text-align: center;
    position: relative;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: #ffc441;
}

.hero-description {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-secondary {
    background-color: #ffffff;
    color: #333;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #ffc441;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ffc441;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Rating */
.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffc441;
    font-size: 18px;
}

.rating span {
    color: #666;
    font-weight: 500;
}

/* Dashboard flotante */
.dashboard-preview {
    position: relative;
    max-width: 1000px;
    margin: -60px auto 0;
    padding: 0 20px;
    z-index: 10;
}

.dashboard-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    min-height: 500px;
}

/* Barra lateral del dashboard */
.dashboard-sidebar {
    width: 60px;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}

.sidebar-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-icon.active {
    background-color: #ffc441;
    color: #ffffff;
}

.sidebar-icon:hover:not(.active) {
    background-color: rgba(255, 196, 65, 0.1);
    color: #666;
}

.sidebar-icon i {
    font-size: 18px;
}

/* Contenido del dashboard */
.dashboard-content {
    flex: 1;
    padding: 30px;
}

.dashboard-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.dashboard-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #ffc441;
    color: #ffffff;
}

.search-bar {
    position: relative;
    margin-bottom: 25px;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    border-color: #ffc441;
}

.search-bar i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: #ffc441;
    color: #ffffff;
}

.tab-btn:hover:not(.active) {
    background-color: #e0e0e0;
}

/* Resumen del dashboard */
.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.summary-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-item .label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.summary-item .value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.summary-item.positive .value {
    color: #28a745;
}

.summary-item.negative .value {
    color: #dc3545;
}

/* Barra de progreso */
.progress-bar {
    display: flex;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.progress-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    position: relative;
}

.progress-segment.approved {
    background-color: #28a745;
}

.progress-segment.pending {
    background-color: #dc3545;
}

/* Sección de información */
.info-section {
    padding: 80px 20px 40px;
    background-color: transparent;
    text-align: center;
}

.info-container {
    max-width: 1000px;
    margin: 0 auto;
}

.info-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.info-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 30px;
}

.title-gradient {
    background: linear-gradient(90deg, #ffc441 0%, #20B2AA 50%, #87CEEB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-description {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Sección de tarjetas de características */
.features-section {
    padding: 40px 20px 80px;
    background-color: transparent;
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
}





/* Tarjeta 1: Preview de presupuestos */
.invoice-card .card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.invoice-card .card-preview {
    order: 1;
}

.invoice-card .card-title {
    order: 2;
    margin-bottom: 0;
}

.invoice-card .card-button {
    order: 3;
    margin-top: 0;
}

.invoice-preview-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.invoice-status-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.invoice-status-bar {
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.invoice-status-bar.yellow {
    background-color: #f5f5f5;
    color: #0d0d0d;
}

.invoice-status-bar.orange-status {
    background-color: #f5f5f5;
    color: #0d0d0d;
}

.invoice-status-bar.light-blue {
    background-color: #f5f5f5;
    color: #0d0d0d;
}

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

.status-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-subtext {
    font-size: 11px;
    opacity: 0.9;
}

.status-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.status-amount {
    font-size: 15px;
    font-weight: 700;
}

.status-client {
    font-size: 11px;
    opacity: 0.9;
}

.invoice-status-bar.light-blue .status-right {
    color: #333;
}

.invoice-document {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    position: relative;
}

.invoice-document-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.invoice-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.invoice-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label {
    font-size: 11px;
    color: #333;
}

.detail-placeholder {
    font-size: 11px;
    color: #ccc;
    letter-spacing: 2px;
}

.qr-code {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
}

/* Tarjeta 2: Preview de teléfono */
.phone-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.phone-screen {
    width: 180px;
    height: 300px;
    background: linear-gradient(135deg, #f5f5f5 100%, #87CEEB 0%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(94, 93, 92, 0.3);
    position: relative;
    z-index: 2;
}

.ticket-demo {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20spx;
}

.ticket-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.ticket-status {
    font-size: 12px;
    color: #ffc441;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ticket-status::before {
    content: "•";
    color: #28a745;
    font-size: 16px;
}

.phone-paper {
    position: absolute;
    left: 30px;
    bottom: -20px;
    width: 120px;
    height: 80px;
    background-color: #fff;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1;
    transform: rotate(-5deg);
}

.paper-text {
    font-size: 10px;
    color: #999;
    font-weight: 700;
}

.paper-price {
    font-size: 11px;
    color: #666;
}

/* Tarjeta 3: Documentos */
.documents-preview {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.document-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #666;
}

.document-icon.large {
    padding: 14px 40px;
    background-color: #f5f5f5;
    color: #2e7d32;
}

.document-icon.medium {
    padding: 15px;
}

.document-icon.small {
    padding: 10px;
    font-size: 12px;
}

.document-icon.green {
    background-color: #f5f5f5;
    color: #000000;
}

.document-icon i {
    font-size: 24px;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.download-btn {
    margin-left: auto;
    padding: 6px 12px;
    background-color: #ffc441;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.download-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    align-items: flex-start;
}

.download-icon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background-color: #f5f5f5;
    border-radius: 8px;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: flex-start;
}

.download-icon-item:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.download-icon-item i {
    font-size: 20px;
}

.download-icon-item span {
    font-size: 14px;
    font-weight: 600;
}

/* Botones de tarjeta */
.card-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #ffc441;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.card-button:hover {
    background-color: #e6b03a;
    transform: translateY(-2px);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #ffc441;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-container:first-child {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Sección de marca del footer */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo-circle {
    width: 50px;
    height: 50px;
    background-color: #ffc441;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(255, 196, 65, 0.3);
}

.footer-logo .logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-logo .brand-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffc441;
    margin: 0;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    max-width: 400px;
    font-size: 16px;
}

/* Enlaces de navegación del footer */
.footer-links h4,
.footer-social h4 {
    color: #ffc441;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-link:hover {
    color: #ffc441;
}

/* Redes sociales */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: #ffc441;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background-color: #e6b03a;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 196, 65, 0.4);
}

/* Línea divisoria y copyright */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.copyright {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        height: 70px;
    }
    
    .main-nav {
        display: none;
    }
    
    /* Menú desplegable responsive */
    
    
.hero {
        padding: 100px 0 60px;
}
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .dashboard-card {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        padding: 15px 0;
    }
    
    .dashboard-summary {
        grid-template-columns: 1fr;
    }
    
    /* Información responsive */
    .info-section {
        padding: 60px 20px;
    }
    
    .info-title {
        font-size: 36px;
    }
    
    .info-description {
        font-size: 18px;
    }
    
    /* Tarjetas responsive */
    .features-section {
        padding: 60px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card:nth-child(3) {
        display: block;
    }
    
    .feature-card:nth-child(3) .card-content {
        display: block;
        gap: 20px;
    }
    
    .feature-card:nth-child(3) .card-preview {
        max-width: 100%;
    }
    
    /* Footer responsive */
    .footer-container:first-child {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-description {
        margin: 0 auto;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-text h1 {
        font-size: 20px;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .dashboard-content {
        padding: 20px;
    }
    
    .info-title {
        font-size: 28px;
    }
    
    .info-description {
        font-size: 16px;
    }
}



/* Icono específico para la tarjeta de análisis y reportes */
.feature-card.wide-card .card-icon {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* Header de las tarjetas */


/* Contenido de las tarjetas */


/* Características de las tarjetas */
.card-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #495057;
}

.feature-item i {
    color: #ffc441;
    font-size: 16px;
}

/* Botones de las tarjetas */
.card-button {
    background: linear-gradient(135deg, #ffc441 0%, #ffb347 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 196, 65, 0.3);
}

.card-button i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.card-button:hover i {
    transform: translateX(3px);
}

/* Contenido ancho para la tarjeta de reportes */
.wide-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.content-left {
    flex: 1;
}

.content-right {
    flex: 0 0 200px;
    margin-right: 30px;
}

/* Contenedor de gráficos */
.charts-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    margin-top: -80px;
    margin-bottom: -80px;
}

/* Gráfica circular */
.circular-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 10px;
}

.circle-progress {
    position: relative;
    width: 80px;
    height: 80px;
}

.circle-fill {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#ffc441 0deg 270deg, #e9ecef 270deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-fill::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.percentage {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.label {
    display: block;
    font-size: 10px;
    color: #6c757d;
    font-weight: 500;
    margin-top: 2px;
}

/* Preview del gráfico */
.chart-preview {
    display: flex;
    align-items: end;
    gap: 12px;
    height: 120px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.chart-bar {
    flex: 1;
    height: 90px;
    background: #e9ecef;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #ffc441 0%, #ffb347 100%);
    border-radius: 4px;
    transition: height 0.3s ease;
}

/* ===== ESTILOS ESPECÍFICOS PARA TARJETA DE CONTROL DE GASTOS ===== */

.expense-card {
    background: #ffffff;
    padding: 0;
    overflow: visible;
}

/* Contenido principal de gastos */
.expense-content {
    padding: 30px 25px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Ticket horizontal con insumos */
.horizontal-ticket {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.horizontal-ticket .ticket-header {
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
}

.horizontal-ticket .ticket-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 2px;
}

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

.ticket-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.ticket-item:last-child {
    border-bottom: none;
}

.item-name {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    flex: 1;
}

.item-price {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
    text-align: right;
    min-width: 80px;
}

.smartphone {
    width: 100px;
    height: 160px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: none;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border-radius: 18px;
    padding: 15px 10px;
    position: relative;
    overflow: hidden;
}

.app-header {
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.app-title {
    font-size: 12px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 1px;
}

.ticket-lines {
    margin-bottom: 10px;
}

.ticket-line {
    height: 3px;
    background: #e9ecef;
    margin-bottom: 6px;
    border-radius: 2px;
}

.ticket-line:nth-child(1) { width: 80%; }
.ticket-line:nth-child(2) { width: 60%; }
.ticket-line:nth-child(3) { width: 70%; }
.ticket-line:nth-child(4) { width: 50%; }

.green-bar {
    position: absolute;
    right: 8px;
    top: 50px;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, #00d4aa 0%, #00b894 100%);
    border-radius: 2px;
}

/* Notificación de gasto */
.expense-notification {
    position: relative;
    bottom: auto;
    left: auto;
    background: #ffffff;
    padding: 12px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    transform: none;
    margin-top: 15px;
}

.notification-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.notification-subtitle {
    font-size: 11px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notification-subtitle i {
    color: #00d4aa;
    font-size: 10px;
}

/* Ticket físico */
.physical-ticket {
    flex: 1;
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: none;
    position: relative;
    max-width: 200px;
}

.ticket-header {
    margin-bottom: 15px;
}

.ticket-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 1px;
}

.ticket-items {
    margin-bottom: 15px;
}

.ticket-items .ticket-line {
    height: 4px;
    background: #e9ecef;
    margin-bottom: 8px;
    border-radius: 2px;
}

.ticket-items .ticket-line:nth-child(1) { width: 90%; }
.ticket-items .ticket-line:nth-child(2) { width: 75%; }
.ticket-items .ticket-line:nth-child(3) { width: 85%; }
.ticket-items .ticket-line:nth-child(4) { width: 70%; }

.price-column {
    position: absolute;
    right: 20px;
    top: 50px;
}

.price-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.5px;
}

/* Texto descriptivo para tarjeta de gastos */
.expense-card .card-description-large {
    padding: 100px 25px 30px;
    background: #ffffff;
    border-radius: 0 0 20px 20px;
    text-align: left;
}

.expense-card .card-description-large h4 {
    font-size: 25px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.expense-card .card-description-large p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.expense-card .card-description-large .card-button {
    background: linear-gradient(135deg, #ffc441 0%, #ffb347 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.expense-card .card-description-large .card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 196, 65, 0.3);
}

/* ===== ESTILOS ESPECÍFICOS PARA TARJETA DE PRESUPUESTO ===== */

.budget-card {
    background: #ffffff;
    padding: 0;
    overflow: visible;
}

/* Desglose financiero */
.budget-breakdown {
    padding: 25px 25px 20px;
}

.breakdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 4px 0;
}

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

.category-badge {
    background: #f8f9fa;
    color: #6c757d;
    padding: 8px 35px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e9ecef;
    width: 200px;
    text-align: left;
}

.amount-value {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-left: 40px;
    margin-right: 100px;
    min-width: 120px;
    text-align: left;
}

.status-text {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    margin-left: -133px;
    margin-right: 25px;
    white-space: nowrap;
}

/* Líneas divisorias */
.divider-line {
    height: 1px;
    background: #e9ecef;
    margin: 0 25px;
}

/* Sección de total */
.total-section {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: -10px;
    margin-bottom: -10px;
}

.total-amount {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 72px;
    margin-top: -10px;
    margin-bottom: -10px;
}

/* Sección de partes */
.parties-section {
    padding: 50px 25px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.party-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signature-line {
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #6c757d 0px,
        #6c757d 8px,
        transparent 8px,
        transparent 16px
    );
    margin-bottom: 8px;
}

.party-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Texto descriptivo grande */
.card-description-large {
    padding: 30px 25px;
    background: #ffffff;
    border-radius: 0 0 20px 20px;
    text-align: left;
    margin-top: -70px;
}

.card-description-large h4 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.card-description-large .card-button {
    background: linear-gradient(135deg, #ffc441 0%, #ffb347 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-description-large .card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 196, 65, 0.3);
}

/* Responsive para tarjetas flotantes */
@media (max-width: 768px) {
    .features-cards {
        padding: 40px 0 60px;
    }
    
    .cards-container {
        padding: 0 15px;
    }
    
    .cards-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .card-header {
        padding: 25px 25px 15px;
    }
    
    .card-content {
        padding: 0 25px 25px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .wide-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-right {
        flex: none;
        width: 100%;
        margin-right: 20px;
    }
    
    .charts-container {
        flex-direction: row;
        gap: 20px;
    }
    
    .circular-chart {
        height: 80px;
        flex: 1;
    }
    
    .circle-progress {
        width: 60px;
        height: 60px;
    }
    
    .circle-fill::before {
        width: 45px;
        height: 45px;
    }
    
    .percentage {
        font-size: 12px;
    }
    
    .label {
        font-size: 9px;
    }
    
    .chart-preview {
        height: 80px;
        flex: 1;
    }
    
    .charts-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .circular-chart {
        height: 70px;
    }
    
    .circle-progress {
        width: 50px;
        height: 50px;
    }
    
    .circle-fill::before {
        width: 35px;
        height: 35px;
    }
    
    .percentage {
        font-size: 11px;
    }
    
    .label {
        font-size: 8px;
    }
    
    .chart-bar {
        height: 40px;
    }
    
    /* Responsive para ticket horizontal */
    .horizontal-ticket {
        padding: 20px;
        max-width: 100%;
    }
    
    .horizontal-ticket .ticket-title {
        font-size: 16px;
    }
    
    .ticket-item {
        padding: 6px 0;
    }
    
    .item-name {
        font-size: 13px;
    }
    
    .item-price {
        font-size: 13px;
        min-width: 70px;
    }

    /* Responsive para tarjeta de presupuesto */
    .budget-breakdown {
        padding: 20px 20px 15px;
    }
    
    .breakdown-item {
        margin-bottom: 6px;
    }
    
    .category-badge {
        padding: 8px 16px;
        font-size: 12px;
        width: 120px;
    }
    
    .amount-value {
        font-size: 14px;
        min-width: 100px;
        text-align: right;
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .total-section {
        padding: 15px 20px;
    }
    
    .total-label {
        font-size: 16px;
    }
    
    .total-amount {
        font-size: 18px;
        margin-right: 20px;
    }
    
    .parties-section {
        padding: 15px 20px;
        gap: 20px;
    }
    
    .card-description-large {
        padding: 25px 20px;
    }
    
    .card-description-large h4 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .features-cards {
        padding: 30px 0 40px;
    }
    
    .card-header {
        padding: 20px 20px 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .card-content {
        padding: 0 20px 20px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-description {
        font-size: 14px;
    }
    
    .feature-item {
        font-size: 13px;
    }
    
    /* Responsive para ticket horizontal en móviles pequeños */
    .horizontal-ticket {
        padding: 15px;
    }
    
    .horizontal-ticket .ticket-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .horizontal-ticket .ticket-title {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .ticket-content {
        gap: 8px;
    }
    
    .ticket-item {
        padding: 4px 0;
    }
    
    .item-name {
        font-size: 12px;
    }
    
    .item-price {
        font-size: 12px;
        min-width: 60px;
    }

    /* Responsive para tarjeta de presupuesto en móviles pequeños */
    .budget-breakdown {
        padding: 15px 15px 12px;
    }
    
    .breakdown-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 6px;
    }
    
    .category-badge {
        padding: 6px 12px;
        font-size: 11px;
        width: 100px;
    }
    
    .amount-value {
        font-size: 13px;
        margin-left: 0;
        margin-right: 0;
        min-width: 80px;
        text-align: left;
    }
    
    .status-text {
        font-size: 10px;
        margin-left: 5px;
    }
    
    .total-section {
        padding: 12px 15px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .total-label {
        font-size: 14px;
    }
    
    .total-amount {
        font-size: 16px;
        margin-right: 15px;
    }
    
    .parties-section {
        padding: 12px 15px;
        flex-direction: column;
        gap: 15px;
    }
    
    .card-description-large {
        padding: 20px 15px;
    }
    
    .card-description-large h4 {
        font-size: 18px;
    }
    
    .card-description-large .card-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}
