
/* Variables CSS - Paleta de colores Datapify */
:root {
    /* Colores principales */
    --primary-dark: #061E34;
    --accent-turquoise: #00C4C7;
    --light-bg: #F1FBFC;
    --text-white: #FFFFFF;
    --text-dark: #052E4F;
    --shadow-soft: rgba(0, 0, 0, 0.1);
    --gradient-dark: linear-gradient(135deg, #061E34 0%, #0a2a47 100%);
    
    /* Variables faltantes identificadas */
    --surface-dark: #0f1419;
    --accent-color: var(--accent-turquoise);
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-white);
    overflow-x: hidden;
}

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

/* Encabezado fijo */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    background: rgba(241, 251, 252, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--shadow-soft);
}

.header.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0 0 20px 20px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    min-height: 60px;
}

.logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-turquoise);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-turquoise);
}

.login-btn {
    background: var(--accent-turquoise);
    color: var(--text-white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.login-btn:hover {
    background: #00a8ab;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.nav-login-mobile {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(5, 46, 79, 0.2);
}

.nav-login-link {
    background: var(--accent-turquoise);
    color: var(--text-white) !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

/* --- PÁGINA DE INICIO --- */

/* Sección Héroe */
.hero {
    background: var(--gradient-dark);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--accent-turquoise);
    margin-bottom: 40px;
    line-height: 1.5;
}

.cta-button {
    background: var(--accent-turquoise);
    color: var(--text-white);
    border: none;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    background: #00a8ab;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 196, 199, 0.3);
}

.hero-trial {
    font-size: 16px;
    color: var(--text-white);
    margin-top: 15px;
    opacity: 0.9;
    font-weight: 500;
}

.highlight-gratis {
    color: var(--accent-turquoise);
    font-weight: 700;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 196, 199, 0.4);
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.1);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-quote {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
    padding: 35px 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 196, 199, 0.2);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-quote-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-white);
    max-width: 750px;
    margin: 0 auto 25px;
    font-style: italic;
    line-height: 1.6;
}

.hero-quote-author {
    font-weight: 600;
    color: var(--accent-turquoise);
}

.hero-quote-author span {
    display: block;
    color: var(--text-white);
    font-weight: 400;
    font-size: 14px;
    opacity: 0.8;
}

/* Clientes */
.clients-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.clients-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.logos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 40px;
    background: var(--text-white);
    border-radius: 25px;
    box-shadow: 0 15px 40px var(--shadow-soft);
}

.logo-item img {
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
}

.clients-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.clients-subtitle {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.clients-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-turquoise);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    color: var(--accent-turquoise);
}

/* Testimonios */
.client-testimonials {
    padding: 100px 0;
    background: var(--text-white);
    color: var(--text-dark);
}

.testimonials-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-dark) !important;
}

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

.testimonial-card {
    background: var(--text-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px var(--shadow-soft);
    display: flex;
    flex-direction: column;
    color: var(--text-dark) !important;
}

.testimonial-rating .star {
    color: #F4C430;
}

.testimonial-content {
    flex-grow: 1;
    margin: 20px 0;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark) !important;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

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

.author-info h4 {
    font-weight: 600;
    margin: 0 0 5px 0;
    color: var(--text-dark) !important;
    font-size: 16px;
}

.author-info p {
    color: var(--accent-turquoise) !important;
    font-weight: 500;
    margin: 0;
    font-size: 14px;
}

/* FIX DEFINITIVO - Forzar colores específicos para testimonios */
.client-testimonials {
    color: #052E4F !important;
}

.client-testimonials * {
    color: #052E4F !important;
}

.client-testimonials .testimonials-title {
    color: #052E4F !important;
}

.client-testimonials .testimonial-card {
    background: var(--text-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px var(--shadow-soft);
    display: flex;
    flex-direction: column;
    color: #052E4F !important;
}

.client-testimonials .testimonial-content {
    flex-grow: 1;
    margin: 20px 0;
    color: #052E4F !important;
}

.client-testimonials .testimonial-content p {
    color: #052E4F !important;
    opacity: 1 !important;
}

.client-testimonials .testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #052E4F !important;
}

.client-testimonials .author-info h4 {
    color: #052E4F !important;
}

.client-testimonials .author-info p {
    color: #00C4C7 !important;
}

.client-testimonials .testimonial-rating .star {
    color: #F4C430 !important;
}

/* Eliminar cualquier herencia problemática */
.client-testimonials .testimonial-content p,
.client-testimonials .testimonial-content,
.client-testimonials .author-info h4,
.client-testimonials .author-info {
    color: #052E4F !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #052E4F !important;
}

/* Ventajas */
.advantages {
    padding: 100px 0;
    background: var(--primary-dark);
    color: var(--text-white);
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.advantages-list h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

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

.advantage-icon {
    background: var(--accent-turquoise);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.advantage-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.advantage-text p {
    opacity: 0.8;
}

.cta-button-secondary {
    background: transparent;
    color: var(--accent-turquoise);
    border: 2px solid var(--accent-turquoise);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button-secondary:hover {
    background: var(--accent-turquoise);
    color: var(--text-white);
}

.automation-image {
    width: 100%;
    border-radius: 15px;
}

/* Secciones Generales */
.discovery, .metrics, .pricing, .faq, .final-cta {
    padding: 100px 0;
}

.discovery h2, .metrics h2, .pricing h2, .faq h2, .final-cta h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.final-cta {
    background: var(--primary-dark);
    color: var(--text-white);
}

.final-cta p {
    text-align: center;
    font-size: 20px;
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta {
    text-align: center;
}

.final-cta .cta-button {
    display: inline-block;
    width: auto;
    min-width: 200px;
    max-width: 300px;
}

/* --- PÁGINA ACERCA DE --- */

.about-hero {
    padding: 140px 0 80px;
    background: var(--gradient-dark);
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0, 196, 199, 0.2);
    border: 1px solid var(--accent-turquoise);
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--accent-turquoise);
    backdrop-filter: blur(10px);
}

.about-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-subtitle {
    font-size: 20px;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

.about-section {
    padding: 80px 0;
}

.origin-section {
    background: var(--text-white);
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.story-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.story-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-dark);
    opacity: 0.9;
}

.insight-box {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border-left: 4px solid var(--accent-turquoise);
    box-shadow: 0 10px 30px var(--shadow-soft);
}


.insight-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.insight-box p {
    font-style: italic;
    color: var(--accent-turquoise);
    font-weight: 600;
}

.development-section {
    background: var(--light-bg);
}

.timeline-development {
    max-width: 800px;
    margin: 0 auto;
}

.dev-timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.dev-step {
    background: var(--accent-turquoise);
    color: var(--text-white);
    padding: 15px 20px;
    border-radius: 15px;
    font-weight: 700;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 196, 199, 0.3);
}

.dev-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.dev-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.8;
}

.testing-section {
    background: var(--text-white);
}

.testing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.testing-phase {
    background: var(--light-bg);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-soft);
}

.phase-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-turquoise);
}

.phase-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.phase-period {
    color: var(--accent-turquoise);
    font-weight: 600;
    font-size: 14px;
}

.phase-activities {
    list-style: none;
    padding: 0;
}

.phase-activities li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 16px;
    position: relative;
    padding-left: 25px;
}

.phase-activities li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-turquoise);
    font-weight: 700;
}

.phase-activities li:last-child {
    border-bottom: none;
}

.launch-section {
    background: var(--primary-dark);
    color: var(--text-white);
}

.launch-section .section-header h2,
.launch-section .section-subtitle {
    color: var(--text-white);
}

.launch-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.launch-metric {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 196, 199, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.launch-metric:hover {
    transform: translateY(-5px);
    background: rgba(0, 196, 199, 0.1);
    box-shadow: 0 15px 40px rgba(0, 196, 199, 0.2);
}


.launch-metric .metric-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-turquoise);
    display: block;
    margin-bottom: 10px;
}

.launch-metric .metric-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-white);
}

.launch-metric p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

.mission-section {
    background: var(--light-bg);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-item {
    background: var(--text-white);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 15px 40px var(--shadow-soft);
}

.mission-item h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.mission-item p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--text-dark);
    opacity: 0.9;
}

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

.highlight-item {
    padding: 15px 20px;
    background: var(--light-bg);
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    border-left: 3px solid var(--accent-turquoise);
}

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

.roadmap-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
}

.roadmap-item.current {
    background: rgba(0, 196, 199, 0.1);
    border: 1px solid var(--accent-turquoise);
}

.roadmap-item.upcoming {
    background: var(--light-bg);
    opacity: 0.7;
}

.roadmap-status {
    font-size: 18px;
    width: 30px;
    text-align: center;
}

.team-section {
    background: var(--text-white);
}

.founder-profile {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.founder-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.founder-title {
    font-size: 20px;
    color: var(--accent-turquoise);
    font-weight: 600;
    margin-bottom: 30px;
}

.founder-bio {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: var(--text-dark);
    opacity: 0.9;
}

.founder-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
}

.founder-stat {
    text-align: center;
}

.founder-stat .stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-turquoise);
    margin-bottom: 8px;
}

.founder-stat .stat-label {
    font-size: 14px;
    color: var(--text-dark);
    opacity: 0.8;
}

/* --- PÁGINA CASO DE ESTUDIO --- */

.challenge-section {
    background: var(--light-bg);
}

.solution-section {
    background: var(--text-white);
}

.results-section {
    background: var(--primary-dark);
    color: var(--text-white);
}

.results-section .section-header h2,
.results-section .section-subtitle {
    color: var(--text-white);
}

.case-study-hero {
    padding: 140px 0 80px;
    background: var(--gradient-dark);
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.case-study-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0, 196, 199, 0.2);
    border: 1px solid var(--accent-turquoise);
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--accent-turquoise);
    backdrop-filter: blur(10px);
}

.case-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.case-subtitle {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto 50px;
    opacity: 0.9;
    line-height: 1.5;
}

.case-study-metrics {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.metric-highlight {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--accent-turquoise);
    border-radius: 20px;
    padding: 30px 25px;
    min-width: 240px;
    flex-basis: 240px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.metric-highlight:hover {
    transform: translateY(-5px);
    background: rgba(0, 196, 199, 0.1);
    box-shadow: 0 10px 30px rgba(0, 196, 199, 0.3);
}

.metric-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 14px;
    color: var(--accent-turquoise);
}

.case-section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header .section-subtitle {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 15px;
}

.stat-item h3 {
    color: var(--accent-turquoise);
    margin-bottom: 10px;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.challenge-item {
    background: var(--text-white);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-soft);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-turquoise);
}

.challenge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.challenge-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    background: var(--accent-turquoise);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.solution-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.timeline-step {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-turquoise);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 196, 199, 0.3);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.result-card {
    background: var(--text-white);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-soft);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.result-card.primary {
    background: var(--primary-dark);
    color: var(--text-white);
}

.results-section .result-card {
    background: var(--text-white);
    color: var(--text-dark);
}

.results-section .result-card.primary {
    background: var(--accent-turquoise);
    color: var(--text-white);
}

.result-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-value {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.result-card.primary .result-value {
    color: var(--text-white);
}

.results-section .result-value {
    color: var(--accent-turquoise);
}

.results-section .result-card.primary .result-value {
    color: var(--text-white);
}

.testimonial-spotlight {
    background: var(--light-bg);
}

.testimonial-main {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: var(--text-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-soft);
}

.testimonial-quote {
    font-size: 22px;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-attribution h4 {
    font-weight: 600;
}

.testimonial-attribution p {
    color: var(--accent-turquoise);
    font-weight: 500;
}

/* Pie de Página */
.footer {
    background: var(--primary-dark);
    padding: 60px 0 30px;
    color: var(--text-white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-logo .logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group h4 {
    color: var(--accent-turquoise);
    margin-bottom: 20px;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.link-group ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 14px;
}

/* Sección Discovery */
.discovery {
    background: var(--light-bg);
}

.discovery-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.discovery-card {
    background: var(--text-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-soft);
    transition: all 0.3s ease;
}

.discovery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.discovery-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.discovery-card .metric {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-turquoise);
    margin-bottom: 15px;
    display: block;
}

.discovery-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.5;
}

/* Sección de Métricas */
.metrics {
    background: var(--primary-dark);
    color: var(--text-white);
}

.metrics-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.metric-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 196, 199, 0.3);
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: rgba(0, 196, 199, 0.1);
    transform: translateY(-5px);
}

.metric-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-turquoise);
    display: block;
    margin-bottom: 15px;
}

.metric-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.metric-card p {
    opacity: 0.8;
    line-height: 1.5;
}

/* Sección de Precios */
.pricing {
    background: var(--light-bg);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--text-white);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 40px var(--shadow-soft);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid var(--accent-turquoise);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-turquoise);
    color: var(--text-white);
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.pricing-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-turquoise);
    margin-bottom: 40px;
}

.price span {
    font-size: 18px;
    color: var(--text-dark);
    opacity: 0.6;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}

.check {
    color: var(--accent-turquoise);
    font-weight: 700;
}

.plan-button {
    background: var(--accent-turquoise);
    color: var(--text-white);
    border: none;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.plan-button:hover {
    background: #00a8ab;
    transform: translateY(-2px);
}

/* FAQ Accordion */
.faq {
    background: var(--text-white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-turquoise);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent-turquoise);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 0 25px 0;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--text-white);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.close-modal {
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 30px 40px 40px;
}

.modal-subtitle {
    font-size: 16px;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 30px;
    text-align: center;
}

.qualification-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input {
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-turquoise);
}

.radio-label {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.radio-option:hover {
    background-color: var(--light-bg);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent-turquoise);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent-turquoise);
    border-radius: 50%;
}

.form-submit-btn, .secondary-btn {
    background: var(--accent-turquoise);
    color: var(--text-white);
    border: none;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit-btn:hover {
    background: #00a8ab;
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    color: var(--accent-turquoise);
    border: 2px solid var(--accent-turquoise);
}

.secondary-btn:hover {
    background: var(--accent-turquoise);
    color: var(--text-white);
}

.message-container {
    text-align: center;
    padding: 40px 20px;
}

.message-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.message-container h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.message-container p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Decoración del Hero */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 196, 199, 0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 160px;
    height: 160px;
    bottom: 10%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Placeholder para avatares */
.author-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-turquoise), #00a8ab);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.author-avatar-placeholder::before {
    content: "A";
}

/* Animaciones de entrada */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estados de carga - Eliminar flash */
body {
    opacity: 1;
}

body.loaded {
    opacity: 1;
}

/* --- PÁGINA DE CONTACTO --- */

.contact-page {
    padding: 140px 0 80px;
    background: var(--light-bg);
    min-height: 100vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-header p {
    font-size: 20px;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.contact-page .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    width: 100%;
}

.contact-info {
    background: var(--text-white);
    padding: 40px 35px;
    border-radius: 25px;
    box-shadow: 0 15px 40px var(--shadow-soft);
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-turquoise);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
}

.contact-details a {
    color: var(--accent-turquoise);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #00a8ab;
}

.contact-form-container {
    background: var(--text-white);
    padding: 40px 35px;
    border-radius: 25px;
    box-shadow: 0 15px 40px var(--shadow-soft);
}

.contact-form-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background: var(--text-white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-turquoise);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.success-message,
.error-message {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    margin-top: 20px;
}

.success-message {
    background: #f0f9f0;
    border: 2px solid #4caf50;
}

.error-message {
    background: #fdf2f2;
    border: 2px solid #f44336;
}

.success-message .message-icon,
.error-message .message-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.success-message h4,
.error-message h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.success-message p,
.error-message p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-dark);
    opacity: 0.8;
}

.btn-loading {
    color: var(--accent-turquoise);
}

/* --- PÁGINA DE AFILIADOS --- */

.benefits-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.benefits-section .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--text-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow-soft);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-soft);
}

.benefit-icon {
    margin-bottom: 25px;
}

.percentage-icon, .infinity-icon, .support-icon, .tools-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-turquoise);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto;
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
}

.how-it-works-section {
    padding: 100px 0;
    background: var(--text-white);
}

.steps-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-turquoise);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 16px;
}

.earnings-calculator-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.earnings-calculator-section .calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.earnings-examples {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.earnings-example {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 25px;
    background: var(--text-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-soft);
}

.earnings-example.highlighted {
    background: var(--accent-turquoise);
    color: var(--text-white);
    transform: scale(1.05);
}

.example-clients {
    font-size: 18px;
    font-weight: 600;
}

.example-earnings {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.example-yearly {
    font-size: 16px;
    opacity: 0.8;
    text-align: right;
}

.calculator-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.growth-chart {
    background: var(--text-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow-soft);
    width: 100%;
    max-width: 400px;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.chart-bars {
    display: flex;
    justify-content: space-between;
    align-items: end;
    height: 200px;
    gap: 20px;
}

.chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(to top, var(--accent-turquoise), #00a8ab);
    border-radius: 8px 8px 0 0;
    height: 100%;
}

.bar-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.affiliate-testimonials-section {
    padding: 100px 0;
    background: var(--primary-dark);
}

.affiliate-testimonials-section .section-header h2 {
    color: rgba(255, 255, 255, 1) !important;
}

.affiliate-testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Testimonial styles - removed duplicates and conflicts */

.earnings-badge {
    background: var(--accent-turquoise);
    color: var(--text-white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-turquoise);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-white);
    opacity: 0.8;
}

/* Estilos para hero de afiliados */
.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 196, 199, 0.2);
    border: 1px solid var(--accent-turquoise);
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--accent-turquoise);
    backdrop-filter: blur(10px);
    font-size: 14px;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Estilo mejorado para botón único */
.hero-buttons .cta-button {
    min-width: 220px;
    justify-content: center;
}

/* Específico para hero de afiliados */
.hero-stats {
    justify-content: flex-start;
    margin: 30px 0 40px 0;
}

.hero-stats .stat-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 196, 199, 0.3);
    backdrop-filter: blur(10px);
    min-width: 140px;
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
    background: rgba(0, 196, 199, 0.1);
    transform: translateY(-2px);
}

.hero-visual-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    text-align: center;
}

.hero-visual-placeholder {
    position: relative;
    overflow: hidden;
}

/* Nuevo diseño visual para afiliados */
.affiliate-visual-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.central-circle {
    width: 150px;
    height: 150px;
    border: 4px solid var(--accent-turquoise);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0, 196, 199, 0.2), rgba(0, 196, 199, 0.1));
    box-shadow: 0 0 40px rgba(0, 196, 199, 0.4);
    animation: centralPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.percentage-display {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-turquoise);
    text-shadow: 0 0 20px rgba(0, 196, 199, 0.5);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-item {
    position: absolute;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 196, 199, 0.3);
}

.floating-item.item-1 {
    top: 20%;
    left: 15%;
    animation: float1 4s ease-in-out infinite;
}

.floating-item.item-2 {
    top: 15%;
    right: 20%;
    animation: float2 3.5s ease-in-out infinite 0.5s;
}

.floating-item.item-3 {
    bottom: 25%;
    left: 20%;
    animation: float3 4.2s ease-in-out infinite 1s;
}

.floating-item.item-4 {
    bottom: 20%;
    right: 15%;
    animation: float4 3.8s ease-in-out infinite 1.5s;
}

.benefits-text {
    text-align: center;
    z-index: 3;
}

.benefit-line {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Elementos decorativos - limpiar pseudo elementos no usados */

/* Animaciones */
@keyframes centralPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 40px rgba(0, 196, 199, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 60px rgba(0, 196, 199, 0.6);
    }
}

@keyframes float1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(-180deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(15px) rotate(180deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(18px) rotate(-180deg);
    }
}

/* Estilos base del placeholder limpios */

/* Estilos obsoletos removidos */

/* Estilos lifetime-indicator removidos */

/* --- RESPONSIVE DESIGN --- */

@media (max-width: 1024px) {
    .hero-container,
    .advantages-content,
    .clients-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero {
        padding: 140px 0 80px;
    }

    /* En mobile: texto primero, luego video, luego testimonio */
    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        display: block;
        width: 100%;
    }

    .hero-quote {
        order: 3;
        margin-top: 20px;
    }

    .clients-info {
        padding-left: 0;
    }

    .testimonials-grid,
    .discovery-cards,
    .results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .discovery-cards,
    .testing-grid,
    .mission-content,
    .launch-metrics {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .metrics-cards,
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .founder-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-section .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .earnings-calculator-section .calculator-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--light-bg);
        border-radius: 0 0 20px 20px;
        padding: 20px 30px;
        box-shadow: 0 5px 20px var(--shadow-soft);
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .login-btn {
        display: none;
    }
    
    .nav-login-mobile {
        display: block;
    }

    .logos-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .clients-stats,
    .testimonials-grid,
    .discovery-cards,
    .results-grid,
    .challenge-grid,
    .company-stats,
    .pricing-cards,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .link-group {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }

    .contact-header h1 {
        font-size: 32px;
    }

    .contact-header p {
        font-size: 16px;
    }

    .contact-info,
    .contact-form-container {
        padding: 30px 20px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .earnings-example {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin: 30px 0;
    }

    .hero-stats .stat-item {
        min-width: 200px;
        max-width: 280px;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons .cta-button,
    .hero-buttons .cta-button-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .hero-visual-placeholder {
        min-height: 250px;
        padding: 40px 20px;
    }

    .central-circle {
        width: 120px;
        height: 120px;
    }

    .percentage-display {
        font-size: 32px;
    }

    .floating-item {
        font-size: 18px;
        padding: 8px;
    }

    .benefit-line {
        font-size: 14px;
    }
}

/* Estilos para caso de éxito JonyTips */
.success-case-highlight {
    background: var(--surface-dark);
    border-radius: 20px;
    padding: 40px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.success-case-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.success-case-badge {
    display: inline-flex;
    align-self: flex-start;
}

.success-case-badge span {
    background: var(--accent-color);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.success-case-highlight .testimonial-content p {
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0;
}

/* Estilos específicos para el caso de éxito de afiliados (fondo oscuro) */
.success-case-highlight .testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.success-case-highlight .author-info h4 {
    color: rgba(255, 255, 255, 1) !important;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.success-case-highlight .author-info p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    margin: 0 0 5px 0;
}

.success-case-highlight .author-social {
    color: var(--accent-turquoise) !important;
    font-size: 12px;
    font-weight: 500;
}

/* Reglas ultra-específicas para asegurar visibilidad del texto */
section.affiliate-testimonials-section .success-case-highlight .testimonial-content p {
    color: rgba(255, 255, 255, 0.95) !important;
}

section.affiliate-testimonials-section .success-case-highlight .author-info h4 {
    color: rgba(255, 255, 255, 1) !important;
}

section.affiliate-testimonials-section .success-case-highlight .author-info p {
    color: rgba(255, 255, 255, 0.8) !important;
}

section.affiliate-testimonials-section .success-case-highlight .author-social {
    color: #00C4C7 !important;
}

/* Encabezado de la sección con especificidad ultra-alta */
section.affiliate-testimonials-section div.container div.section-header h2 {
    color: rgba(255, 255, 255, 1) !important;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

section.affiliate-testimonials-section div.container div.section-header p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.success-case-badge-green {
    background: rgba(30, 215, 96, 0.1);
    color: #1ED760;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(30, 215, 96, 0.2);
    white-space: nowrap;
}

.success-case-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.case-stat {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-stat .stat-value {
    display: block;
    color: var(--text-white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.case-stat .stat-desc {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Responsive para caso de éxito */
@media (max-width: 768px) {
    .success-case-highlight {
        padding: 30px 20px;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .case-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .case-stat {
        padding: 15px 10px;
    }
    
    .case-stat .stat-value {
        font-size: 18px;
    }
    
    .case-stat .stat-desc {
        font-size: 10px;
    }
}

/* --- ESTILOS PARA PÁGINA DE CONTACTO (contacto.html) --- */

.contact-page {
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-turquoise);
    box-shadow: 0 0 0 3px rgba(0, 196, 199, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-submit-btn {
    background: var(--accent-turquoise);
    color: var(--text-white);
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form .form-submit-btn:hover {
    background: #00a8ab;
}

/* --- ESTILOS PARA PÁGINA DE AFILIADOS (afiliados.html) --- */

.benefits-section, .how-it-works-section, .earnings-calculator-section, .affiliate-testimonials-section {
    padding: 80px 0;
}

.benefits-section, .earnings-calculator-section {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--text-white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-soft);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card h3 {
    font-size: 22px;
    margin: 20px 0 10px;
}

.benefit-icon {
    font-size: 40px;
    color: var(--accent-turquoise);
}

.steps-timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #eee;
    z-index: -1;
}

.step-item {
    text-align: center;
    width: 23%;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-turquoise);
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 3px solid var(--light-bg);
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* --- RESPONSIVE DESIGN AJUSTES --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .steps-timeline {
        flex-direction: column;
        align-items: center;
    }
    .steps-timeline::before {
        display: none;
    }
    .step-item {
        width: 80%;
        margin-bottom: 30px;
    }
}
/* REGLA DE MÁXIMA ESPECIFICIDAD PARA TESTIMONIOS */
section.client-testimonials div.container div.testimonials-grid div.testimonial-card div.testimonial-content p {
    color: #052E4F !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

section.client-testimonials div.container div.testimonials-grid div.testimonial-card div.author-info h4 {
    color: #052E4F !important;
    opacity: 1 !important;
    visibility: visible !important;
}

section.client-testimonials div.container div.testimonials-grid div.testimonial-card div.author-info p {
    color: #00C4C7 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* CSS actualizado - Fix testimonios aplicado - Wed Aug 20 13:06:01 -04 2025 */
/* Fix definitivo testimonios - Wed Aug 20 13:24:52 -04 2025 */
/* SOLUCIONADO - Error de sintaxis corregido - Wed Aug 20 13:25:53 -04 2025 */
/* HERO AFILIADOS CORREGIDO - Wed Aug 20 13:31:13 -04 2025 */
/* HERO VISUAL MEJORADO - Wed Aug 20 13:43:58 -04 2025 */
/* TEXTO BLANCO CASO ÉXITO - Wed Aug 20 13:49:30 -04 2025 */
/* HEADER BLANCO CASO ÉXITO - Wed Aug 20 13:53:19 -04 2025 */
/* BOTONES AFILIADOS ACTUALIZADOS - Wed Aug 20 14:00:17 -04 2025 */
/* FOOTER ACTUALIZADO - Wed Aug 20 14:42:12 -04 2025 */
/* AFILIADOS REMOVIDO DE LEGAL - Wed Aug 20 14:58:32 -04 2025 */
