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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
}

.nav-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 20%;
    transition: width 0.3s ease;
}

.progress-text {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

/* Contenedor principal */
.main-container {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    position: relative;
}

/* Slides */
.slide {
    display: none;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

/* Sección Hero */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

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

.highlight {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.stat i {
    color: #feca57;
}

/* Demo de chat AI */
.ai-chat-demo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-bubble {
    margin: 1rem 0;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    max-width: 80%;
    animation: slideIn 0.5s ease;
}

.chat-bubble.user {
    background: #667eea;
    color: white;
    margin-left: auto;
    text-align: right;
}

.chat-bubble.ai.bad {
    background: #ff6b6b;
    color: white;
}

.chat-bubble.ai.good {
    background: #51cf66;
    color: white;
}

.chat-bubble.user.good {
    background: #4c6ef5;
    font-size: 0.9rem;
}

.vs-divider {
    text-align: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: #feca57;
    margin: 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Títulos de sección */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #feca57;
}

/* Comparación */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.comparison-card.bad {
    border-left: 5px solid #ff6b6b;
}

.comparison-card.good {
    border-left: 5px solid #51cf66;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.card-header i {
    font-size: 1.5rem;
}

.comparison-card.bad .card-header i {
    color: #ff6b6b;
}

.comparison-card.good .card-header i {
    color: #51cf66;
}

.prompt-example {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
    border-left: 4px solid #667eea;
}

.problems ul, .benefits ul {
    list-style: none;
    padding: 0;
}

.problems li, .benefits li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.problems li::before {
    content: "✗";
    color: #ff6b6b;
    font-weight: bold;
}

.benefits li::before {
    content: "✓";
    color: #51cf66;
    font-weight: bold;
}

.key-tip {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 5px 20px rgba(254, 202, 87, 0.3);
}

/* Técnicas */
.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.technique-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.technique-card:hover {
    transform: translateY(-10px);
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.technique-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.technique-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.technique-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.technique-example {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-align: left;
}

/* Demo interactivo */
.interactive-demo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.interactive-demo h3 {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.demo-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.demo-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.demo-result {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    min-height: 100px;
    display: none;
}

/* Casos prácticos */
.cases-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-tab-nav {
    display: flex;
    background: #f8f9fa;
}

.case-tab {
    flex: 1;
    padding: 1.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.case-tab.active {
    background: white;
    border-bottom-color: #667eea;
    color: #667eea;
}

.case-content {
    padding: 2rem;
}

.case-panel {
    display: none;
}

.case-panel.active {
    display: block;
}

.case-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.prompt-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.prompt-input, .prompt-output {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
}

.prompt-input {
    border-left: 4px solid #667eea;
}

.prompt-output {
    border-left: 4px solid #51cf66;
}

.prompt-input h4, .prompt-output h4 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.social-post {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.press-release h5 {
    color: #667eea;
    margin: 1rem 0 0.5rem 0;
    font-weight: 700;
}

.headlines-list {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
}

.headlines-list ol {
    padding-left: 1.5rem;
}

.headlines-list li {
    margin: 0.8rem 0;
    line-height: 1.5;
}

/* Tips y recursos */
.tips-resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.tips-section, .resources-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
}

.tips-section h3, .resources-section h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.3rem;
}

.tips-section h3 i {
    color: #667eea;
}

.resources-section h3 i {
    color: #51cf66;
}

.tip-item, .resource-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.tip-item i {
    color: #51cf66;
}

.resource-item i {
    color: #667eea;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: #667eea;
    color: white;
    transform: translateX(5px);
}

.final-message {
    text-align: center;
    margin: 3rem 0;
}

.quote-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.quote-container i {
    font-size: 2rem;
    color: #feca57;
    opacity: 0.7;
}

.quote-container blockquote {
    font-size: 1.5rem;
    color: white;
    margin: 1rem 0;
    line-height: 1.6;
    font-style: italic;
}

.action-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
}

.action-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.action-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Controles de navegación */
.nav-controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 1000;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Indicadores de slide */
.slide-indicators {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #feca57;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .techniques-grid {
        grid-template-columns: 1fr;
    }
    
    .prompt-showcase {
        grid-template-columns: 1fr;
    }
    
    .tips-resources-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .demo-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .case-tab-nav {
        flex-direction: column;
    }
    
    .nav-controls {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        transform: none;
        justify-content: space-between;
    }
    
    .slide-indicators {
        right: 1rem;
        top: auto;
        bottom: 6rem;
        flex-direction: row;
        transform: none;
    }
    
    .slide {
        padding: 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .progress-bar {
        width: 100px;
    }
}

/* Animaciones adicionales */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.technique-card:hover .technique-icon {
    animation: pulse 1s infinite;
}

.typing {
    overflow: hidden;
    border-right: 2px solid;
    white-space: nowrap;
    animation: typing 2s steps(20), blink 0.5s step-end infinite alternate;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}