/* Variables CSS */
:root {
    --primary-color: #445A7E;
    --primary-gradient: linear-gradient(135deg, #4158D0, #C850C0);
    --secondary-color: #C850C0;
    --green-accent: #43e97b;
    --orange-accent: #ff9800;
    --red-accent: #f44336;
    --blue-accent: #4158d0;
    --violet-accent: #9c27b0;
    --text-color: #333;
    --text-light: #555;
    --text-lighter: #666;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --border-radius: 10px;
    --box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    --box-shadow-strong: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optimización de imágenes */
img[loading="lazy"] {
    content-visibility: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Optimización de rendimiento */
* {
    will-change: auto;
}

.benefit-card:hover,
.feature-card:hover,
.why-need-card:hover {
    will-change: transform;
}

/* Reducir motion para usuarios con preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

strong {
    font-weight: 600;
}

/* Reality Section */
.reality-section {
    background: var(--bg-light);
    padding: 40px 0;
    border-radius: var(--border-radius);
    margin: 20px auto;
}

.reality-section .container > .section-title {
    color: #1565c0;
    margin-bottom: 20px;
    border-left: 4px solid #1565c0;
    padding-left: 15px;
}

.reality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

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

.reality-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.reality-icon.blue {
    background: #e3f2fd;
    color: #1565c0;
}

.reality-icon.orange {
    background: #fff3e0;
    color: #e65100;
}

.reality-icon.red {
    background: #ffebee;
    color: #c62828;
}

/* Hero Image */
.hero-image {
    text-align: center;
    margin: 30px auto;
    padding: 0;
}

.hero-image img {
    max-width: 1100px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 0 auto;
    display: block;
}

/* Main Header */
.main-header {
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    margin: 30px auto;
    color: white;
    text-align: center;
    box-shadow: var(--box-shadow-strong);
}

.main-header h1 {
    color: white;
    margin-bottom: 20px;
}

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

.header-text-large {
    font-size: 20px;
    margin-bottom: 15px;
}

.header-text-medium {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.header-text-small {
    font-size: 16px;
    opacity: 0.8;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 0;
}

.section-title-center {
    color: #1565c0;
    text-align: center;
    border-bottom: 2px solid #7b1fa2;
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: inline-block;
    width: 100%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.benefit-card {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

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

.benefit-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: #1565c0;
    margin-bottom: 10px;
    font-size: 18px;
}

.benefit-card p {
    font-size: 15px;
    color: #555;
}

/* Features Section */
.features-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.features-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-card {
    background: #f9f9f9;
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: var(--box-shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.feature-icon.green {
    background: var(--green-accent);
}

.feature-content h3 {
    color: #1565c0;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-content p {
    margin: 0;
    color: #555;
}

/* Examples Section */
.examples-section {
    background: var(--bg-light);
    padding: 60px 0;
    border-radius: var(--border-radius);
    margin: 40px auto;
    border-left: 4px solid #2e7d32;
}

.examples-subtitle {
    text-align: center;
    color: #555;
    font-style: italic;
    margin-bottom: 40px;
}

/* Format sections */
.format-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.format-title {
    color: #1565c0;
    font-size: 24px;
    margin-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.format-desc {
    color: #666;
    margin-bottom: 25px;
    font-size: 15px;
}

.example-item-compact {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #1565c0;
}

.example-item-compact h4 {
    color: #1565c0;
    margin-bottom: 8px;
    font-size: 18px;
}

.example-item-compact .example-desc {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
}

.example-item-compact .example-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.example-item-compact .example-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.example-item-compact .example-links span {
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
}

/* Video comparison */
.video-comparison {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e0e0e0;
}

.video-comparison:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.video-comparison h4 {
    color: #1565c0;
    font-size: 18px;
    margin-bottom: 20px;
}

.video-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-plan {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.plan-label {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.plan-label.professional {
    background: linear-gradient(135deg, #4158D0, #C850C0);
}

.plan-label.corporate {
    background: linear-gradient(135deg, #2e7d32, #43e97b);
}

.video-type {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 40px;
}

.video-plan .example-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-plan .example-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 15px;
    border-radius: 6px;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.video-plan .example-links a:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.video-plan .example-links span {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

/* Social examples */
.social-examples {
    margin-top: 20px;
}

.example-links.centered {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.example-links.centered a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.example-links.centered a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.example-links.centered span {
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
}

.other-sectors {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #1565c0;
    color: white;
    border-radius: 8px;
}

.other-sectors p {
    margin: 0;
    font-size: 14px;
}

/* History Panel */
.history-panel {
    margin-top: 40px;
    text-align: center;
}

.history-panel h3 {
    color: #1565c0;
    margin-bottom: 15px;
    font-size: 18px;
}

.history-panel > p:first-of-type {
    color: #555;
    margin-bottom: 15px;
    font-size: 14px;
}

.history-panel img {
    max-width: 800px;
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 2px solid #1565c0;
    margin: 0 auto;
}

.history-caption {
    color: #555;
    margin-top: 10px;
    font-size: 13px;
    font-style: italic;
}

/* Pricing Section */
.pricing-section {
    padding: 40px 0;
    margin: 40px 0 30px 0;
}

.pricing-title {
    text-align: center;
    color: #1565c0;
    font-size: 32px;
    margin-bottom: 40px;
}

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

.pricing-card-plan {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow-strong);
    position: relative;
    transition: var(--transition);
    border: 2px solid #e0e0e0;
}

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

.pricing-card-plan.featured {
    border: 2px solid #1565c0;
    box-shadow: 0 8px 30px rgba(21, 101, 192, 0.2);
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #4158D0, #C850C0);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.plan-badge.corporate {
    background: linear-gradient(135deg, #2e7d32, #43e97b);
}

.pricing-card-plan h3 {
    color: #1565c0;
    font-size: 28px;
    margin: 20px 0 10px 0;
    text-align: center;
}

.pricing-card-plan .price {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 20px 0;
}

.pricing-card-plan .price span {
    font-size: 20px;
    color: #666;
}

.plan-description {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    min-height: 48px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.plan-features li {
    padding: 12px 0;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.plan-features li:last-child {
    border-bottom: none;
}

.pricing-card-plan .cta-button {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 18px 30px;
    font-size: 18px;
}

.plan-note {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 15px;
}

/* Responsive pricing */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .plan-badge {
        top: -12px;
        right: 15px;
        font-size: 11px;
        padding: 6px 15px;
    }
}

.cta-button {
    background: white;
    color: #1565c0;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    transition: var(--transition);
    margin-top: 15px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* How It Works */
.how-it-works {
    background: #f9f9f9;
    padding: 60px 0;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-top: 30px;
    justify-content: space-between;
    gap: 20px;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 35px;
    width: calc(100% - 70px);
    height: 3px;
    background: var(--primary-gradient);
    z-index: 1;
}

.step {
    flex: 1 1 130px;
    min-width: 130px;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 10px;
    margin-bottom: 30px;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 15px auto;
    font-weight: bold;
}

.step-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.step-desc {
    font-size: 14px;
    color: #555;
}

.panel-features {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--box-shadow);
}

.panel-features h3 {
    color: #1565c0;
    text-align: center;
    margin-bottom: 20px;
}

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

.panel-feature {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #1565c0;
}

.panel-feature:nth-child(2) {
    border-left-color: #7b1fa2;
}

.panel-feature:nth-child(3) {
    border-left-color: #1565c0;
}

.panel-feature strong {
    color: #1565c0;
}

/* Mobile Image */
.mobile-image {
    text-align: center;
    margin: 40px auto;
    padding: 0;
}

.mobile-image img {
    max-width: 1100px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 0 auto;
    display: block;
}

/* Why Need Section */
.why-need-section {
    background: var(--bg-light);
    padding: 60px 0;
    border-radius: var(--border-radius);
    margin: 40px auto;
    border-left: 4px solid #2e7d32;
}

.why-need-intro {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 25px;
    text-align: center;
}

.why-need-intro p {
    font-size: 18px;
    color: #333;
}

.why-need-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.why-need-card {
    background: #f9f9f9;
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.why-need-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.why-need-card.blue {
    border-left: 4px solid #1565c0;
}

.why-need-card.purple {
    border-left: 4px solid #7b1fa2;
}

.why-need-card.green {
    border-left: 4px solid #2e7d32;
}

.why-need-card.orange {
    border-left: 4px solid #e65100;
}

.why-need-card.violet {
    border-left: 4px solid #6a1b9a;
}

.why-need-card h3 {
    color: #1565c0;
    margin-bottom: 10px;
    font-size: 18px;
}

.why-need-card p {
    color: #555;
    margin: 0;
}

/* Final CTA */
.final-cta {
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin: 40px auto;
    box-shadow: var(--box-shadow-strong);
}

.final-cta h2 {
    color: white;
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

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

.cta-icon {
    font-size: 36px;
}

.cta-feature p {
    margin: 0;
    font-weight: bold;
    text-align: left;
}

.cta-button-large {
    background: white;
    color: #1565c0;
    border: none;
    padding: 20px 40px;
    font-size: 20px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    margin-top: 20px;
}

.cta-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-note {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.8;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-header {
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
    box-shadow: var(--box-shadow-strong);
}

.faq-header h2 {
    font-size: 36px;
    margin: 0;
    color: white;
}

.faq-header p {
    font-size: 18px;
    color: white;
    opacity: 0.9;
    margin: 10px 0 0 0;
}

.faq-nav {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.faq-nav h3 {
    color: #1565c0;
    margin: 0 0 15px 0;
}

.faq-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.faq-nav-links a {
    background: var(--blue-accent);
    color: white;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.faq-nav-links a:nth-child(2) {
    background: #9c27b0;
}

.faq-nav-links a:nth-child(3) {
    background: #2e7d32;
}

.faq-nav-links a:nth-child(4) {
    background: #bf360c;
}

.faq-nav-links a:nth-child(5) {
    background: #c62828;
}

.faq-nav-links a:nth-child(6) {
    background: #6a1b9a;
}

.faq-nav-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.faq-category {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.faq-category h3 {
    color: #1565c0;
    border-bottom: 2px solid #7b1fa2;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.faq-item {
    margin: 20px 0;
    border-left: 4px solid #1565c0;
    padding-left: 15px;
}

.faq-item:nth-child(2n) {
    border-left-color: #7b1fa2;
}

.faq-item:nth-child(3n) {
    border-left-color: #2e7d32;
}

.faq-item:nth-child(4n) {
    border-left-color: #e65100;
}

.faq-item:nth-child(5n) {
    border-left-color: #6a1b9a;
}

.faq-item h4 {
    color: #1565c0;
    margin-bottom: 10px;
}

.faq-item p {
    margin-bottom: 10px;
}

.faq-item ul {
    margin: 5px 0 0 20px;
    padding-left: 0;
}

.faq-item li {
    margin-bottom: 5px;
}

.faq-item a {
    color: #1565c0;
    font-weight: bold;
    text-decoration: underline;
}

.faq-cta {
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    color: white;
    margin-top: 40px;
    box-shadow: var(--box-shadow-strong);
}

.faq-cta h3 {
    color: white;
    margin: 0 0 15px 0;
}

.faq-cta p {
    color: white;
    opacity: 0.9;
    margin: 0 0 20px 0;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

footer p {
    margin: 0;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Ajuste de scroll para anclas con offset */
#pricing {
    scroll-margin-top: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .main-header {
        padding: 30px 20px;
    }
    
    .header-text-large {
        font-size: 18px;
    }
    
    .header-text-medium {
        font-size: 16px;
    }
    
    .price {
        font-size: 48px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image,
    .mobile-image {
        padding: 0 20px;
    }
    
    .hero-image img,
    .mobile-image img {
        max-width: 100%;
    }
    
    .reality-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step {
        min-width: 100%;
    }
    
    .cta-features {
        flex-direction: column;
    }
    
    .cta-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .why-need-grid {
        grid-template-columns: 1fr;
    }
    
    .panel-features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-nav-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-nav-links a {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-header {
        padding: 25px 15px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .final-cta {
        padding: 40px 20px;
    }
}