/* Reset y variables */
:root {
    --primary-color: #1976d2;
    --secondary-color: #424242;
    --accent-color: #4caf50;
    --background-color: #fafafa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Banner VeriFactu - Parte superior */
.verifactu-banner {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: white;
    padding: 10px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.verifactu-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.verifactu-banner .banner-icon {
    font-size: 1.2em;
}

.verifactu-banner .banner-text {
    font-size: 0.95em;
}

.verifactu-banner .banner-text strong {
    font-weight: 700;
}

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

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 42px; /* Espacio para el banner VeriFactu */
    left: 0;
    right: 0;
    z-index: 1000;
}

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

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

.logo-link {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.nav-cta:hover {
    background: #1565c0;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px; /* Extra padding para banner VeriFactu */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

/* VeriFactu Notice */
.verifactu-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
    animation: fadeInUp 0.8s ease-out;
    border: 1px solid rgba(25, 118, 210, 0.1);
}

.notice-icon {
    font-size: 1.2rem;
}

.notice-text {
    font-size: 0.9rem;
    color: #1565c0;
    line-height: 1.4;
}

.notice-text strong {
    font-weight: 700;
}

@media (max-width: 768px) {
    .verifactu-notice {
        display: flex;
        text-align: left;
        margin: 0 auto 20px;
        width: fit-content;
    }
}

.hero-logo {
    margin-bottom: 20px;
    text-align: center;
}

.hero-logo-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

/* Hero Video */
.hero-video {
    margin: 30px 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--shadow-hover);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.demo-animation {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.scan-animation {
    position: relative;
    width: 200px;
    height: 120px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    animation: scan 2s infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 120px; }
}

.ticket-preview {
    padding: 15px;
    font-size: 12px;
}

.ticket-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.ticket-line {
    margin: 5px 0;
}

.ticket-total {
    font-weight: bold;
    border-top: 1px solid #ccc;
    padding-top: 5px;
    margin-top: 10px;
}

.arrow {
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 1s infinite;
}

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

.invoice-preview {
    width: 200px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 12px;
}

.invoice-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.invoice-line {
    margin: 5px 0;
}

.invoice-total {
    font-weight: bold;
    border-top: 1px solid #ccc;
    padding-top: 5px;
    margin-top: 10px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

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

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FACe Highlight Section */
.face-highlight {
    padding: 60px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.face-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.face-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.face-content h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.face-subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.face-subtitle strong {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.face-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.face-feature {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-weight: 500;
}

.face-note {
    font-size: 1.1rem;
    margin: 30px 0;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    border-left: 4px solid #ff9800;
}

.face-note strong {
    color: #d84315;
}

/* Personalización Section */
.personalizacion {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.personalizacion-note {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 40px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Perfil Fiscal Section */
.perfil-fiscal {
    padding: 80px 0;
    background: #f5f5f5;
}

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

.perfil-feature {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.perfil-step {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #42a5f5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.perfil-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.perfil-feature p {
    color: var(--text-light);
}

.perfil-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.perfil-detail-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.perfil-detail-card h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.perfil-detail-card ul {
    list-style: none;
    padding: 0;
}

.perfil-detail-card li {
    padding: 8px 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.perfil-note {
    text-align: center;
    font-size: 1.1rem;
    padding: 20px;
    background: #fff3e0;
    border-radius: var(--border-radius);
    border-left: 4px solid #ff9800;
    margin-top: 40px;
}

.perfil-note strong {
    color: #d84315;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
}

.team-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.team-role-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.team-role-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.team-role-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.team-role-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.team-permissions {
    list-style: none;
    padding: 0;
    text-align: left;
}

.team-permissions li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

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

.team-features-box h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

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

.team-case {
    padding: 20px;
    background: #f5f5f5;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.team-case strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 1.05rem;
}

.team-case p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.team-note {
    text-align: center;
    font-size: 1.1rem;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    border-left: 4px solid #ff9800;
    margin-top: 40px;
}

.team-note strong {
    color: #d84315;
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background: var(--background-color);
}

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

.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

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

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.demo-video {
    text-align: center;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.video-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-button {
    font-size: 4rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.play-overlay p {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.video-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

.video-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.video-link:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-link:hover .play-button {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* Videos Tutoriales Section - Playlists */
.videos-tutoriales {
    padding: 80px 0;
    background: white;
}

/* Playlists Grid */
.playlists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.playlist-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background: white;
}

.playlist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(25, 118, 210, 0.2);
}

/* Playlist destacada (Inicio) */
.playlist-featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.playlist-featured::before {
    content: '⭐ RECOMENDADO';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.4);
}

.playlist-featured:hover {
    box-shadow: 0 12px 40px rgba(25, 118, 210, 0.4);
    border-color: #0d47a1;
}

.playlist-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.playlist-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.95) 0%, rgba(13, 71, 161, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist-card:hover .playlist-overlay {
    opacity: 1;
}

.playlist-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: float 2s ease-in-out infinite;
}

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

.playlist-count {
    color: white;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}

.playlist-info {
    padding: 24px;
}

.playlist-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 700;
}

.playlist-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.playlist-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.playlist-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #e3f2fd;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.playlist-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef3 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.playlist-note strong {
    color: var(--primary-color);
}

/* Responsive para playlists */
@media (max-width: 768px) {
    .playlists-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .playlist-info {
        padding: 20px;
    }
    
    .playlist-info h3 {
        font-size: 18px;
    }
    
    .playlist-note {
        padding: 16px 20px;
        font-size: 14px;
    }
}

/* Comparison Section */
.comparison {
    padding: 80px 0;
    background: white;
}

.comparison-table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-header > div {
    padding: 20px;
    text-align: center;
}

.feature-column {
    text-align: left !important;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.feature-name {
    padding: 20px;
    font-weight: 500;
    background: #f8f9fa;
}

.factico-cell {
    padding: 20px;
    text-align: center;
    background: #e8f5e8;
    color: var(--accent-color);
    font-weight: 600;
}

.competitor-cell {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
}

/* Vídeos Section */
.videos {
    padding: 80px 0;
    background: white;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
    transition: var(--transition);
}

.video-card:hover .play-button {
    opacity: 1;
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.video-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.video-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-available {
    background: #e8f5e8;
    color: var(--accent-color);
}

.video-coming-soon {
    background: #fff3e0;
    color: #ff9800;
}

/* Guías Section */
.guias {
    padding: 80px 0;
    background: var(--background-color);
}

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

.guia-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.guia-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.guia-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.guia-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.guia-read {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1565c0 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Sección Sobre el Proyecto */
.about-section {
    background: var(--light-bg);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

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

.about-header h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.close-about {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-about:hover {
    background: var(--border-color);
    color: var(--text-color);
}

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

.tab-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.about-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.about-content .tab-content {
    display: none;
}

.about-content .tab-content.active {
    display: block;
}

.about-content h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color);
}

.about-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.about-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.highlight-box {
    background: #e3f2fd;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.success-box {
    background: #e8f5e8;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.feature-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

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

.philosophy-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    min-width: 280px;
}

.contact-item p {
    margin: 10px 0;
    white-space: nowrap;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.about-author {
    background: #f0f8ff;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.last-update {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hero-logo-img {
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-video {
        margin: 20px 0;
    }
    
    .video-wrapper {
        border-radius: 8px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-header > div,
    .comparison-row > div {
        text-align: left !important;
    }
    
    .feature-column {
        font-weight: 600;
        background: var(--primary-color);
        color: white;
    }
    
    .about-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .about-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: center;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .features-grid,
    .philosophy-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        min-width: 100%;
        padding: 15px;
    }
    
    .contact-item a {
        font-size: 14px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 16px;
    }
}

/* ===== BANNER DE COOKIES (Google Analytics) ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    z-index: 100000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease-out;
    display: none; /* Oculto por defecto, JS lo mostrará si es necesario */
}

.cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cookie-banner-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.cookie-banner-text p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0.95;
}

.cookie-banner-text a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    opacity: 0.8;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cookie-btn-accept {
    background: #4caf50;
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.cookie-btn-accept:hover {
    background: #43a047;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

/* Responsive del banner de cookies */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .cookie-banner-text h3 {
        font-size: 1.1rem;
    }

    .cookie-banner-text p {
        font-size: 0.9rem;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        padding: 14px;
    }
}
