/* marketing-styles.css - Base Styles and Animations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2196F3;
    --secondary-color: #1976D2;
    --accent-color: #F2C433;
    --dark-bg: #0a0a0a;
    --dark-bg-alt: #121212;
    --gray-dark: #1a1a1a;
    --gray-medium: #333333;
    --gray-light: #888888;
    --text-color: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --gradient-primary: linear-gradient(135deg, #2196F3, #1976D2);
    --gradient-secondary: linear-gradient(135deg, #ff6b6b, #ff758c);
    --theme-color: #2A5C82; /* Theme color for browser UI */
    
    /* Firefox scrollbar theming */
    scrollbar-color: var(--theme-color) #f1f1f1;
    scrollbar-width: thin;
    --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a1a, #0f0f0f);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition-default: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
}

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

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes reveal {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes revealText {
    from { 
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }
    to { 
        clip-path: inset(0 0 0 0); 
        opacity: 1;
    }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.reveal-text {
    position: relative;
    animation: revealText 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

section {
    padding: 80px 20px;
    position: relative;
}

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

.divider {
    height: 4px;
    width: 60px;
    background: var(--gradient-primary);
    margin: 1.5rem auto;
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Background Elements */
.background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    opacity: 0.08;
    object-fit: cover;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* Header & Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    background: transparent;
    height: 80px;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    height: 70px;
}

/* Nueva posición del contenedor del logo - sin margen negativo */
.logo-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 75px;
    margin-left: 20px; /* Mover más a la derecha */
    padding: 0;
}

/* Contenedor del logo - asegura que solo un logo sea visible a la vez */
.logo-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 75px;
    margin-left: 20px;
    padding: 0;
    overflow: hidden;
}

/* Logo principal - visible por defecto */
.full-logo {
    height: 70px;
    width: auto;
    min-width: 160px;
    object-fit: contain;
    object-position: left center;
    opacity: 1;
    transition: all 0.4s ease-in-out;
    position: relative;
    z-index: 2;
}

/* Logo de lápiz - oculto por defecto */
.pencil-logo, .site-logo.pencil-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: auto;
    max-width: 100%;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    z-index: 1;
    visibility: hidden;
}

/* Transición al hacer scroll */
header.scrolled .logo-container {
    height: 65px;
}

/* Cuando el header tiene la clase scrolled, ocultamos el logo completo y mostramos el lápiz */
header.scrolled .full-logo {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
}

header.scrolled .pencil-logo,
header.scrolled .site-logo.pencil-logo {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Ajustar el contenedor del logo */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

/* Ajustar el logo principal */
.site-logo.full-logo {
    height: 60px;
    width: auto;
    transition: all 0.4s ease-in-out;
    position: relative;
    z-index: 2;
}

/* Ajustar el tamaño en dispositivos móviles */
@media (max-width: 768px) {
    .pencil-logo, .site-logo.pencil-logo {
        height: 40px; /* Un poco más pequeño en móviles */
    }
    
    header.scrolled .pencil-logo,
    header.scrolled .site-logo.pencil-logo {
        height: 40px;
        transform: translateY(-50%) translateX(0);
    }
    
    .full-logo {
        height: 60px;
    }
}

/* Ajustes al menú de navegación para alinearlo correctamente */
.main-nav {
    margin-right: 20px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-button {
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    transition: var(--transition-default);
}

.nav-button:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.2);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    background: var(--gradient-primary);
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-default);
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transition: left 0.5s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.5);
}

.primary-button:hover::before {
    left: 100%;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition-default);
}

.secondary-button i {
    margin-right: 8px;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.submit-button, .send-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 30px;
    border: none;
    border-radius: var(--border-radius);
    background: var(--gradient-primary);
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-default);
    position: relative;
    overflow: hidden;
}

.submit-button span, .send-button span {
    margin-right: 10px;
    z-index: 2;
}

.submit-button i, .send-button i {
    z-index: 2;
    transition: transform 0.3s ease;
}

.submit-button:hover i, .send-button:hover i {
    transform: translateX(5px);
}

.submit-button::after, .send-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.submit-button:hover::after, .send-button:hover::after {
    transform: translateX(100%);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 180px 50px 100px;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0.8));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(78, 205, 196, 0.15), transparent 25%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1), transparent 25%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/califico-logo.svg');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 65%;
    opacity: 0.04;
    z-index: 0;
    filter: blur(2px);
    animation: subtle-pulse 15s infinite alternate ease-in-out;
    transform-origin: center center;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.cta-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    z-index: 2;
}

.mockup-container::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(33, 150, 243, 0.08), transparent 70%);
    z-index: -1;
    animation: subtle-rotate 20s infinite linear;
}

.mockup-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-strong);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.mockup-container:hover .mockup-img {
    transform: perspective(1000px) rotateY(-5deg);
}

/* ===== NUEVA SIMULACIÓN DE CALIFICACIÓN ===== */

/* Grading Simulation Styles */
.grading-simulation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 500px;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 500px;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.1),
        0 0 0 8px #2A5C82,
        0 0 0 12px rgba(42, 92, 130, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-10px); }
}

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

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.app-logo {
    height: 25px;
    width: auto;
}

.class-name {
    font-size: 14px;
    font-weight: 600;
    color: #2A5C82;
}

.student-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.student-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.student-item.processing {
    background: linear-gradient(90deg, #fff3cd, #ffeaa7);
    animation: processingPulse 2s ease-in-out infinite;
}

.student-item.completed {
    background: linear-gradient(90deg, #d4edda, #a8e6cf);
    animation: completedSlide 0.5s ease-out;
}

.student-item.pending {
    background: #f8f9fa;
    opacity: 0.7;
}

@keyframes processingPulse {
    0%, 100% { background: linear-gradient(90deg, #fff3cd, #ffeaa7); }
    50% { background: linear-gradient(90deg, #ffeaa7, #fdcb6e); }
}

@keyframes completedSlide {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.student-avatar {
    font-size: 24px;
    margin-right: 12px;
    animation: avatarBounce 3s ease-in-out infinite;
}

@keyframes avatarBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.student-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.student-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.grading-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-dots {
    display: flex;
    gap: 4px;
}

.progress-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
}

.progress-dots .dot.active {
    background: #28a745;
    animation: dotPulse 1s ease-in-out infinite;
}

.progress-dots .dot.loading {
    background: #ffc107;
    animation: dotLoading 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes dotLoading {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.grade-result {
    font-weight: 600;
    color: #2A5C82;
    font-size: 16px;
    animation: gradeAppear 0.5s ease-out;
}

@keyframes gradeAppear {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

.grade-final {
    font-weight: 600;
    color: #28a745;
    font-size: 14px;
}

.status {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.ai-assistant {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
}

.ai-bubble {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: bubbleFloat 4s ease-in-out infinite;
}

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

.ai-icon {
    font-size: 16px;
}

.ai-text {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}

.typing-indicator {
    display: none;
    gap: 3px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    animation: typingDots 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDots {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-10px); opacity: 1; }
}

/* Floating Benefits */
.floating-benefits {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.benefit-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-size: 12px;
    font-weight: 500;
    color: #333;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.bubble-1 {
    top: 10%;
    right: -20%;
    animation: floatRight 8s ease-in-out infinite;
}

.bubble-2 {
    top: 40%;
    left: -25%;
    animation: floatLeft 10s ease-in-out infinite;
}

.bubble-3 {
    bottom: 20%;
    right: -15%;
    animation: floatRight 12s ease-in-out infinite reverse;
}

@keyframes floatRight {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(10px) translateY(-15px) rotate(2deg); }
    50% { transform: translateX(0) translateY(-10px) rotate(0deg); }
    75% { transform: translateX(-10px) translateY(-5px) rotate(-2deg); }
}

@keyframes floatLeft {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(-10px) translateY(-10px) rotate(-2deg); }
    50% { transform: translateX(0) translateY(-15px) rotate(0deg); }
    75% { transform: translateX(10px) translateY(-5px) rotate(2deg); }
}

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

.benefit-text {
    white-space: nowrap;
}

/* Responsive para la simulación */
@media (max-width: 768px) {
    .grading-simulation {
        min-height: 400px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 420px;
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    
    .floating-benefits {
        display: none;
    }
}

/* Ocultar elementos flotantes antiguos */
.floating-element {
    display: none !important;
}

/* Features Section */
.features {
    background: linear-gradient(0deg, var(--dark-bg), var(--gray-dark));
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition-default);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* Benefits Section */
.benefits {
    background: linear-gradient(180deg, var(--gray-dark), var(--dark-bg));
    position: relative;
}

.benefits-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-text {
    flex: 1;
}

.benefits-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefits-list {
    margin: 30px 0;
}

.benefits-list li {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.benefits-list h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.benefits-list p {
    color: var(--text-secondary);
}

.benefits-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dashboard-img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-strong);
    transform: perspective(1000px) rotateY(10deg);
    transition: transform 0.5s ease;
}

.benefits-image:hover .dashboard-img {
    transform: perspective(1000px) rotateY(5deg);
}

/* Testimonials Section */
.testimonials {
    position: relative;
    padding: 60px 0;
    background: var(--dark-bg);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    z-index: 1;
}

@media (max-width: 768px) {
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonials-slider {
        padding: 0 15px;
    }
}

/* Estilos mejorados para el slider de testimonios */
.testimonial-cards-container {
    position: relative;
    min-height: 300px;
    margin: 0 auto;
    max-width: 100%;
    padding: 20px 10px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .testimonial-cards-container {
        min-height: 280px;
        padding: 20px 5px;
    }
}

.testimonial-card {
    position: absolute;
    left: 10px;
    right: 10px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform, opacity;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    background: rgba(30, 30, 40, 0.7);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    transition-delay: 0.1s;
}

@media (max-width: 768px) {
    .testimonial-card {
        left: 5px;
        right: 5px;
    }
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.testimonial-card.next,
.testimonial-card.prev {
    opacity: 0.4;
    transform: scale(0.95);
    z-index: 1;
    filter: blur(1px);
}

.testimonial-card.next {
    transform: translateX(60px) scale(0.95);
}

.testimonial-card.prev {
    transform: translateX(-60px) scale(0.95);
}

.testimonial-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .testimonial-content {
        padding: 20px 15px;
    }
}

.testimonial-content p {
    font-style: normal;
    margin: 0 0 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 0 0 0 20px;
    border-left: 3px solid var(--primary-color);
    transform: translateX(-10px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
    font-weight: 300;
}

@media (max-width: 768px) {
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 0 0 15px;
        margin-bottom: 15px;
    }
}

.testimonial-card.active .testimonial-content p {
    transform: translateX(0);
    opacity: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
}

.testimonial-card.active .testimonial-author {
    transform: translateY(0);
    opacity: 1;
}

.testimonial-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid rgba(33, 150, 243, 0.3);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.testimonial-author-info h4 {
    margin: 0 0 2px;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
}

.testimonial-author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    border: none;
    padding: 0;
    transform: none;
    opacity: 1;
}

/* Controles de navegación del carrusel */
.testimonial-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.testimonial-controls button {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    pointer-events: auto;
    margin: 0 10px;
}

.testimonial-controls .prev-btn {
    margin-left: -15px;
}

.testimonial-controls .next-btn {
    margin-right: -15px;
}

.testimonial-controls button:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

@media (max-width: 768px) {
    .testimonial-controls button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonial-controls .prev-btn {
        margin-left: 0;
    }
    
    .testimonial-controls .next-btn {
        margin-right: 0;
    }
}

/* Mejoras en los puntos indicadores */
.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    transition: width 0s ease;
}

.dot.active {
    background: transparent;
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.dot.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    border-radius: 10px;
    -webkit-animation: progressBar 6s linear forwards;
    animation: progressBar 6s linear forwards;
}

/* Animación de la barra de progreso */
@keyframes progressBar {
    from { width: 0%; }
    to { width: 100%; }
}

@-webkit-keyframes progressBar {
    from { width: 0%; }
    to { width: 100%; }
}

/* Estilos duplicados eliminados - controlados por los estilos anteriores */

.testimonial-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.testimonial-controls button:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
    z-index: 2;
}

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

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Estilos para los avatares */
.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info p {
    margin: 5px 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stars {
    color: #FFD700;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Registration Form */
.register {
    background: linear-gradient(0deg, var(--gray-dark), var(--dark-bg));
    position: relative;
}

.register-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-soft);
}

.register-content {
    flex: 1;
    padding: 50px;
}

.register-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.register-content p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition-default);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.login-option {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.login-option a {
    color: var(--primary-color);
    font-weight: 500;
}

.login-option a:hover {
    text-decoration: underline;
}

.register-image {
    flex: 1;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(255, 107, 107, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.register-image::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
    animation: pulse 10s infinite;
}

.benefits-summary {
    background: rgba(10, 10, 10, 0.7);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-soft);
}

.benefits-summary h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.benefits-summary ul {
    margin-bottom: 30px;
}

.benefits-summary li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.benefits-summary li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.satisfaction-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    margin-top: 20px;
}

.satisfaction-guarantee i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Demo Video Section */
.demo-video {
    background: linear-gradient(180deg, var(--gray-dark), var(--dark-bg));
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.video-wrapper:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(10, 10, 10, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-default);
}

.play-button i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-left: 5px;
}

.video-wrapper:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(10, 10, 10, 0.9);
}

/* Contact Section */
.contact {
    background: linear-gradient(0deg, var(--dark-bg), var(--gray-dark));
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-method i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.1rem;
}

.contact-method h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-method p {
    margin-bottom: 0;
    font-size: 1rem;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition-default);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

/* Call to Action */
.cta {
    background: url('img/cta-bg.jpg') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.7));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 80px 20px 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-logo-image {
    max-width: 180px;
    height: auto;
    filter: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-logo p {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 500;
    line-height: 1.5;
    max-width: 300px;
    margin: 10px 0 0 0;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid var(--primary-color);
}

.footer-column p {
    color: var(--text-secondary);
    margin: 20px 0 0 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    transition: var(--transition-default);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero {
        padding: 150px 30px 80px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .header {
        padding: 12px 30px;
        height: 90px;
    }
    
    .logo a {
        height: 90px;
        margin-top: -8px;
    }
    
    .full-logo {
        height: 90px;
        min-width: 160px;
    }
    
    .logo-container {
        margin-top: -25px;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        max-width: none;
    }
    
    .cta-container {
        justify-content: center;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .benefits-content {
        flex-direction: column;
    }
    
    .benefits-text {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .benefits-text .divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefits-list li {
        justify-content: center;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info .divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-method {
        justify-content: center;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .register-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header {
        padding: 10px 20px;
        height: 80px;
    }
    
    .logo a {
        height: 80px;
        margin-top: -5px;
    }
    
    .full-logo {
        height: 80px;
        min-width: 140px;
    }
    
    .logo-container {
        margin-top: -20px;
    }
    
    .pencil-logo {
        height: 35px;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .register-content {
        padding: 30px 20px;
    }
    
    .register-image {
        padding: 30px 20px;
    }
    
    .testimonial-card {
        padding: 0;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .testimonial-author-info h4 {
        font-size: 1rem;
        margin: 0;
    }
    
    .testimonial-author-info p {
        font-size: 0.85rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .footer-logo {
        margin-bottom: 20px;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo-image {
        height: 40px;
        min-width: 120px;
        max-width: 150px;
        margin: 0 auto;
    }
    
    .footer-logo p {
        text-align: center;
        padding-left: 0;
        border-left: none;
        font-size: 1rem;
        margin-top: 10px;
        max-width: 100%;
    }
    
    .hero::after {
        background-size: 85%;
        opacity: 0.03;
        background-position: center center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-column {
        flex: 100%;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .contact-method i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .logo {
        max-height: 35px;
    }
    
    .header {
        padding: 8px 15px;
        height: 70px;
    }
    
    .logo a {
        height: 70px;
    }
}

/* ===== PANEL INTERACTIVO CALIFICO ===== */
.benefits-dashboard {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2A5C82;
    margin-bottom: 5px;
}

.dashboard-subtitle {
    color: #666;
    font-size: 0.9rem;
}

.status-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.metric-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(42, 92, 130, 0.1);
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2A5C82;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.progress-section {
    margin-bottom: 25px;
}

.progress-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2A5C82;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(42, 92, 130, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.progress-item:hover {
    background: rgba(42, 92, 130, 0.1);
    transform: translateX(5px);
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.progress-text {
    font-size: 0.85rem;
    color: #333;
}

.progress-status {
    font-size: 0.75rem;
    color: #4CAF50;
    font-weight: 600;
}

.analytics-chart {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 80px;
    margin-bottom: 10px;
}

.chart-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px 4px 0 0;
    position: relative;
    animation: growBar 2s ease-out forwards;
    transform-origin: bottom;
}

.chart-bar:nth-child(1) { animation-delay: 0.2s; }
.chart-bar:nth-child(2) { animation-delay: 0.4s; }
.chart-bar:nth-child(3) { animation-delay: 0.6s; }
.chart-bar:nth-child(4) { animation-delay: 0.8s; }

@keyframes growBar {
    from { height: 0; }
    to { height: var(--height); }
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    opacity: 0.8;
}

.nem-compliance {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 12px;
    padding: 15px;
    color: white;
    text-align: center;
    position: relative;
}

.nem-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.nem-status {
    font-size: 0.8rem;
    opacity: 0.9;
}

.nem-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FFD700;
    color: #333;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0); 
    }
    40% { 
        transform: translateY(-10px); 
    }
    60% { 
        transform: translateY(-5px); 
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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