/* CSS Base para Landings - CRM Fisio Inteligente */

:root {
    --primary-color: #00b8a9; /* Verde turquesa principal */
    --secondary-color: #008e83; /* Verde turquesa secundario */
    --accent-color: #00d2c9; /* Turquesa para acentos */
    --light-color: #f5f5f5;
    --dark-color: #0a3330; /* Verde oscuro casi negro */
    --text-color: #526965; /* Gris verdoso */
    --primary-color-rgb: 0, 184, 169;
    --secondary-color-rgb: 0, 142, 131;
    --accent-color-rgb: 0, 210, 201;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Font Awesome hardening: asegurar familias correctas ante resets globales */
i.fa-solid, i.fa-regular, i.fa-brands{font-style:normal}
.fa-solid{font-family:'Font Awesome 6 Free' !important;font-weight:900 !important}
.fa-regular{font-family:'Font Awesome 6 Free' !important;font-weight:400 !important}
.fa-brands{font-family:'Font Awesome 6 Brands' !important;font-weight:400 !important}

/* Estilos de Sección */
.section-padding {
    padding: 100px 0;
}

.feature-section, .feature-hero {
    padding: 100px 0;
}

/* Estilos de Encabezados */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.section-badge {
    display: inline-block;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    padding: 120px 0 80px;
    background: #fff;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s infinite ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.float-element i {
    color: var(--primary-color);
    font-size: 16px;
}

.float-1 {
    top: 10%;
    left: 3%;
    animation-delay: 0s;
}

.float-2 {
    top: 15%;
    right: 5%;
    animation-delay: 1s;
}

.float-3 {
    bottom: 20%;
    left: 2%;
    animation-delay: 2s;
}

.float-4 {
    bottom: 10%;
    right: 3%;
    animation-delay: 3s;
}

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

.trend-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    background: transparent;
    padding: 0;
    transition: all 0.3s ease;
    min-width: 180px;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

.stat-item:hover {
    transform: translateX(5px);
}

.stat-rating {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.stat-rating i {
    color: #ffc107;
    font-size: 14px;
    margin-right: 2px;
}

.stat-rating .stat-value {
    color: #333;
    font-weight: 700;
    margin-left: 8px;
    font-size: 16px;
}

.stat-icon {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

.stat-label {
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}

.hero-image-container {
    position: relative;
    padding-top: 30px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    border: 1px solid #eaeaea;
    animation: floatCard 6s infinite ease-in-out;
    transform-origin: center center;
}

.card-1 {
    top: -5%;
    left: -5%;
    animation-delay: 1.5s;
}

.card-2 {
    bottom: -8%;
    right: -5%;
    animation-delay: 3.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.card-icon {
    color: var(--primary-color);
    font-size: 16px;
}

.card-text {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #333;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.highlight {
    background: linear-gradient(to bottom, transparent 50%, rgba(var(--primary-color-rgb), 0.2) 50%);
    padding: 0 4px;
}

/* Botones */
.btn-hero-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(var(--primary-color-rgb), 0.3);
    color: white;
}

.btn-hero-secondary {
    display: inline-block;
    background: transparent;
    color: #666;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    margin-left: 15px;
}

.btn-hero-secondary:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #444;
}

/* Features Styles */
.features-modern {
    background-color: #fff;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon-wrapper i {
    font-size: 28px;
    color: white;
}

.turquesa {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.verde {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
}

.naranja {
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
}

.verde-claro {
    background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
}

.turquesa-claro {
    background: linear-gradient(135deg, #00bcd4 0%, #4dd0e1 100%);
}

.turquesa-oscuro {
    background: linear-gradient(135deg, #009688 0%, #4db6ac 100%);
}

.verde-oscuro {
    background: linear-gradient(135deg, #388e3c 0%, #66bb6a 100%);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.feature-desc {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.feature-content {
    flex-grow: 1;
}

.feature-link {
    margin-top: auto;
}

.feature-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.feature-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-tag.ai {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.feature-tag.new {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.link-arrow i {
    margin-left: 8px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    color: var(--secondary-color);
}

.link-arrow:hover i {
    transform: translateX(5px);
}

/* Benefits Styles */
.benefits-modern {
    background-color: #f9f9f9;
}

.benefit-block {
    display: flex;
    margin-bottom: 80px;
    align-items: center;
    gap: 40px;
}

.benefit-block:last-child {
    margin-bottom: 0;
}

.benefit-content {
    flex: 1;
}

.benefit-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.benefit-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.benefit-stat {
    flex-shrink: 0;
}

.stat-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.benefit-title {
    flex-grow: 1;
}

.benefit-title h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.benefit-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    color: white;
    font-size: 22px;
}

.benefit-icon.blue {
    background: linear-gradient(135deg, #2196f3 0%, #03a9f4 100%);
}

.benefit-icon.green {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
}

.benefit-icon.purple {
    background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);
}

.benefit-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.benefit-text p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.benef.pricing-note {
    color: #999;
    font-size: 0.9rem;
    margin-top: 15px;
}

.license-note {
    display: block;
    font-size: 0.75rem;
    color: #666;
    font-weight: normal;
    margin-top: 5px;
}

@media (max-width: 991px) {
    .benefit-block {
        flex-direction: column;
    }
    
    .benefit-block:nth-child(even) {
        flex-direction: column;
    }
    
    .benefit-content, .benefit-image {
        width: 100%;
    }
}

/* FAQ Styles */
.faq-modern {
    background-color: #f9f9f9;
}

.faq-container {
    margin-top: 30px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq-header {
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.faq-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    min-width: 60px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding-top: 25px;
    justify-content: center;
}

.faq-icon i {
    color: white;
    font-size: 20px;
}

.faq-question {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 25px 60px 25px 75px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    color: #333;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.faq-toggle {
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.faq-toggle i {
    position: absolute;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.icon-plus {
    opacity: 1;
}

.icon-minus {
    opacity: 0;
}

.faq-collapse.show + .faq-header .icon-plus {
    opacity: 0;
}

.faq-collapse.show + .faq-header .icon-minus {
    opacity: 1;
}

.faq-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-collapse.show {
    max-height: 2000px;
    visibility: visible !important;
}

.navbar .navbar-collapse {
    visibility: visible;
}

.faq-answer {
    padding: 5px 30px 25px 75px;
    color: #666;
    line-height: 1.6;
}

.faq-list {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-list li {
    margin-bottom: 8px;
    position: relative;
}

.system-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

.compatible-systems {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
}

/* Testimonials Styles */
.testimonials-modern {
    background-color: #fff;
}

.testimonial-container {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.testimonial-tabs {
    margin-bottom: 30px;
}

.nav-wrapper {
    display: flex;
    justify-content: center;
}

.testimonial-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-nav-item {
    padding: 0;
    margin: 0;
}

.testimonial-tab {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.tab-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid #e6e6e6;
    transition: all 0.3s ease;
}

.testimonial-nav-item.active .tab-avatar {
    border-color: var(--primary-color);
}

.tab-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e6e6e6;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.tab-status.active, .testimonial-nav-item.active .tab-status {
    background: var(--primary-color);
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-tabs-content {
    position: relative;
}

.testimonial-pane {
    display: none;
}

.testimonial-pane.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-modern-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

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

.testimonial-quote i {
    font-size: 30px;
    color: #e6e6e6;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-chip {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 14px;
}

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

.stars i {
    color: #ffc107;
}

.testimonial-body {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.testimonial-body p {
    margin: 0;
}

.highlight-text {
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 2px 0;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.testimonial-metrics--stacked {
    flex-direction: column;
    gap: 1rem;
}

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

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: 0.9rem;
    color: #777;
    max-width: 120px;
    line-height: 1.4;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.author-name {
    margin: 0 0 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-clinic {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
}

.clinic-logo {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    font-size: 1.2rem;
    font-weight: 700;
    color: #999;
}

.clients-logos {
    margin-top: 50px;
}

.client-logo {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .testimonial-modern-card {
        padding: 25px;
    }
    
    .testimonial-metrics {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
