/* ===================================
   VARIABLES - DARK THEME PREMIUM
   =================================== */
:root {
    /* Primary Colors - From Logo */
    --primary-dark: #0a0e27;
    --primary-medium: #1a1f3a;
    --primary-light: #0b635e;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --accent-blue: #2563eb;

    /* Dark Theme Palette */
    --bg-dark: #0f172a;
    --bg-medium: #1e293b;
    --bg-light: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    --gradient-gold: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);

    /* Typography */
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Shadows */
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.3);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ===================================
   RESET & BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
}

/* ===================================
   LAYOUT
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-primary);
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    font-weight: 600;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: white;
    border: 1px solid var(--accent-gold);
}

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

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   ÚNETE AHORA BUTTON - NAVBAR
   =================================== */
.nav-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-dark);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-actions a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.nav-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--primary-dark);
}

.nav-actions a:hover::before {
    left: 100%;
}

.nav-actions a:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

/* Efecto de pulso sutil */
@keyframes subtle-pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
    }
}

.nav-actions a {
    animation: subtle-pulse 3s ease-in-out infinite;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    padding: var(--space-sm) 0;
    text-decoration: none !important;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px var(--accent-gold));
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-brand-tagline {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: var(--space-lg);
    margin-top: 30px;
    position: relative;
}

.badge-pulse {
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: 50px;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

.hero-badge-logo {
    height: 20px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-badge span {
    font-size: 0.875rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.showcase-container {
    position: relative;
    perspective: 1000px;
}

.showcase-device {
    position: relative;
    background: var(--bg-medium);
    border-radius: 20px;
    padding: var(--space-md);
    box-shadow: var(--shadow-deep);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.showcase-device:hover {
    transform: rotateY(0) rotateX(0);
}

.device-screen {
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.screen-header {
    display: flex;
    align-items: center;
    padding: var(--space-sm);
    background: var(--bg-light);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.screen-dots {
    display: flex;
    gap: 6px;
    margin-right: var(--space-sm);
}

.screen-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.screen-dots span:nth-child(1) {
    background: #ff5f57;
}

.screen-dots span:nth-child(2) {
    background: #ffbd2e;
}

.screen-dots span:nth-child(3) {
    background: #28ca42;
}

.screen-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.screen-content {
    width: 100%;
    height: auto;
    display: block;
}

.device-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(40px);
    animation: pulse 3s infinite;
}

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

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--accent-gold);
    animation: float 6s ease-in-out infinite;
}

.float-card.card-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.float-card.card-2 {
    bottom: 30%;
    left: -20px;
    animation-delay: 2s;
}

.float-card.card-3 {
    top: 60%;
    right: 10px;
    animation-delay: 4s;
}

.float-card i {
    width: 16px;
    height: 16px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===================================
   CATALOGO SECTION
   =================================== */
.catalog-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-dark);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.catalog-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-gold);
}

.catalog-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalog-item:hover .catalog-image img {
    transform: scale(1.05);
}

.catalog-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-md);
}

.catalog-content h3 {
    font-size: 1.125rem;
    margin: 0;
    color: white;
    font-family: var(--font-primary);
    line-height: 1.3;
}

.catalog-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
}

/* ===================================
   CATALOGO MULTI-BOTONES MEJORADO
   =================================== */
.catalog-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: auto;
    width: 100%;
}

.catalog-actions .btn-small {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 8px 12px;
    font-size: 0.75rem;
    justify-content: center;
    min-height: 36px;
}

.catalog-actions .btn-small i {
    font-size: 0.8em;
    margin-right: 4px;
}

/* Para 4 botones en grid 2x2 */
.catalog-actions:has(a:nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
}

/* Para 3 botones - layout específico */
.catalog-actions:has(a:nth-child(3)):not(:has(a:nth-child(4))) {
    grid-template-columns: repeat(2, 1fr);
}

/* Para 2 botones */
.catalog-actions:has(a:nth-child(2)):not(:has(a:nth-child(3))) {
    grid-template-columns: repeat(2, 1fr);
}

/* Para 1 botón */
.catalog-actions:has(a:nth-child(1)):not(:has(a:nth-child(2))) {
    grid-template-columns: 1fr;
}

/* Layout específico para 4 cards en desktop */
@media (min-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ajustes responsive para botones */
@media (max-width: 480px) {
    .catalog-actions {
        grid-template-columns: 1fr !important;
    }
    
    .catalog-actions .btn-small {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

/* ===================================
   TUTORIALES SECTION COMPLETA
   =================================== */
.tutorials-section {
    padding: var(--space-2xl) 0;
    background: var(--gradient-dark);
}

.tutorials-progress {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tutorials-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.tutorial-module {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tutorial-module:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.module-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.module-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-info {
    flex: 1;
}

.module-info h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    color: white;
    font-family: var(--font-primary);
}

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

.module-progress {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--accent-gold);
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

/* Tutorials Grid Mejorado */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-lg);
}

.tutorial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: var(--space-lg);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-gold);
}

.tutorial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.tutorial-number {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    opacity: 0.7;
}

.tutorial-status .status-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.tutorial-card.completed .tutorial-status .status-icon {
    color: #10b981;
}

.tutorial-content {
    flex: 1;
    margin-bottom: var(--space-lg);
}

.tutorial-content h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    color: white;
    font-family: var(--font-primary);
    line-height: 1.4;
    min-height: 2.8em;
}

.tutorial-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tutorial-meta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.tutorial-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
}

.tutorial-meta i {
    width: 12px;
    height: 12px;
}

.tutorial-actions {
    display: flex;
    gap: var(--space-xs);
    margin-top: auto;
}

.tutorial-actions .btn-small {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    font-size: 0.75rem;
    justify-content: center;
    white-space: nowrap;
}

/* CTA Section */
.tutorials-cta {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: var(--space-2xl);
    text-align: center;
    margin-top: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: white;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   PRICING SECTION COMPACTA
   =================================== */
.pricing {
    padding: var(--space-2xl) 0;
    position: relative;
}

.pricing-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.pricing-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.pricing .section-header {
    margin-bottom: var(--space-2xl);
}

.pricing .section-title {
    font-size: 2.2rem;
    margin-bottom: var(--space-sm);
}

.pricing .section-description {
    font-size: 1.1rem;
    max-width: 500px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: var(--space-lg);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-gold);
}

.price-card.featured {
    border: 2px solid var(--accent-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(15, 23, 42, 0.95));
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffd700, #ff6b00);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

.card-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.card-header h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    color: white;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--space-xs);
}

.currency {
    font-size: 1rem;
    color: var(--text-muted);
}

.amount {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.price-card.featured .amount {
    font-size: 1rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-subtitle {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    margin-bottom: var(--space-lg);
    flex: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.features-list i {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.btn-large {
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    justify-content: center;
}

.limited-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    color: #ff6b6b;
    font-size: 0.8rem;
    font-weight: 600;
}

.limited-time i {
    width: 14px;
    height: 14px;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pricing-footer {
    text-align: center;
    margin-top: var(--space-xl);
}

.disclaimer {
    color: var(--text-secondary);
    font-size: 0.8rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
}

/* ===================================
   PRECIOS CON DESCUENTO ESPECIAL
   =================================== */
.price-comparison {
    margin: var(--space-md) 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: var(--space-md);
}

.original-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.discounted-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.original-price .price-amount {
    text-decoration: line-through;
    color: #ff6b6b;
    font-size: 1.2rem;
}

.discounted-price .price-amount {
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: 700;
}

.discounted-price .amount {
    font-size: 2.5rem;
}

.price-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

.savings-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: #10b981;
    padding: var(--space-sm);
    border-radius: 8px;
    margin-top: var(--space-md);
    font-weight: 600;
}

.savings-highlight i {
    width: 20px;
    height: 20px;
}

/* Información del convenio */
.convenio-info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(15, 23, 42, 0.9));
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: var(--space-xl);
    margin-top: var(--space-2xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.convenio-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.convenio-icon i {
    width: 32px;
    height: 32px;
    color: var(--primary-dark);
}

.convenio-content {
    flex: 1;
}

.convenio-content h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: white;
    font-family: var(--font-primary);
}

.convenio-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.convenio-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.convenio-benefits span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.convenio-benefits i {
    color: #10b981;
    width: 16px;
    height: 16px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    position: relative;
    background: var(--bg-dark);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.footer-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--accent-gold));
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    color: var(--accent-gold);
}

.footer-description {
    color: var(--text-secondary);
    max-width: 400px;
}

/* ===================================
   FOOTER LOGOS ESPECÍFICOS - NUEVAS CLASES
   =================================== */
.footer-partners {
    margin: var(--space-xl) 0;
}

.footer-partners-title {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
    font-weight: 600;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-partner-logos {
    display: flex;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.footer-partner-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-partner-logo:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.footer-partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-partner-logo:hover img {
    transform: scale(1.08);
}

/* Efecto de brillo en hover */
.footer-partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.footer-partner-logo:hover::before {
    opacity: 1;
}

/* Clases específicas para cada logo */
.footer-partner-logo.qatunas-logo {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1));
}

.footer-partner-logo.instituto-logo {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1));
    border-width: 3px;
    border-color: rgba(212, 175, 55, 0.4);
}

/* Ajustes específicos si los logos tienen diferentes proporciones */
.footer-partner-logo.qatunas-logo img {
    object-fit: contain;
    padding: 5px;
}

.footer-partner-logo.instituto-logo img {
    object-fit: contain;
    padding: 8px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.social-link i {
    width: 20px;
    height: 20px;
    color: white;
}

.social-link:hover i {
    color: var(--primary-dark);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: white;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: var(--space-md);
}

.footer-badges span {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .tutorials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-md);
        padding: var(--space-md);
    }
}

@media (max-width: 768px) {
    .convenio-info {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
    }

    .convenio-benefits {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .price-comparison {
        padding: var(--space-sm);
    }

    .original-price .price-amount,
    .discounted-price .price-amount {
        font-size: 1.2rem;
    }

    .discounted-price .amount {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: var(--space-xl);
        box-shadow: var(--shadow-deep);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .pricing .section-title {
        font-size: 2rem;
    }

    .price-card.featured .price .amount {
        font-size: 3rem;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .catalog-image {
        height: 160px;
    }

    .catalog-content {
        padding: var(--space-md);
    }

    .btn-small {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .btn-large {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .tutorials-section {
        padding: var(--space-xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1.1rem;
    }

    .tutorials-progress {
        padding: var(--space-md);
        margin-bottom: var(--space-xl);
    }

    .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
        padding: var(--space-lg);
    }

    .module-info h3 {
        font-size: 1.2rem;
    }

    .module-progress {
        align-self: flex-end;
        margin-top: var(--space-sm);
    }

    .tutorials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .tutorial-card {
        padding: var(--space-md);
    }

    .tutorial-content h4 {
        font-size: 1rem;
        min-height: auto;
    }

    .tutorial-actions {
        flex-direction: column;
    }

    .tutorial-actions .btn-small {
        width: 100%;
    }

    .tutorials-cta {
        padding: var(--space-xl);
        margin-top: var(--space-xl);
    }

    .cta-content h3 {
        font-size: 1.3rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Ajustes para las cards del catálogo en tablet */
    @media (min-width: 768px) and (max-width: 1199px) {
        .catalog-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .tutorials-section {
        padding: var(--space-lg) 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .module-header {
        padding: var(--space-md);
    }

    .module-icon {
        width: 40px;
        height: 40px;
    }

    .module-icon i {
        width: 20px;
        height: 20px;
    }

    .module-info h3 {
        font-size: 1.1rem;
    }

    .tutorials-grid {
        padding: var(--space-sm);
    }

    .tutorial-card {
        padding: var(--space-md);
    }

    .tutorial-number {
        font-size: 1.3rem;
    }

    .tutorial-content h4 {
        font-size: 1rem;
    }

    .tutorial-meta {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .tutorials-cta {
        padding: var(--space-lg);
    }

    .cta-content h3 {
        font-size: 1.2rem;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-partner-logos {
        justify-content: center;
        gap: var(--space-md);
    }
    
    .footer-partner-logo {
        width: 70px;
        height: 70px;
    }
    
    .footer-partners-title {
        text-align: center;
    }
}