/* ==================== VARIABLES Y ESTILOS GLOBALES ==================== */
:root {
    /* Colores Negro y Rojo - Tema moderno y elegante */
    --primary-color: #e60000;       /* Rojo intenso */
    --primary-light: #ff3333;       /* Rojo claro */
    --secondary-color: #000000;     /* Negro puro */
    --dark-bg: #0a0a0a;            /* Negro muy oscuro */
    --card-bg: #1a1a1a;            /* Negro gris oscuro */
    --text-primary: #ffffff;       /* Texto blanco */
    --text-secondary: #b0b0b0;     /* Texto gris claro */
    --border-color: #2a2a2a;       /* Bordes oscuros */
    --accent-color: #ff4444;       /* Rojo accent */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ==================== RESET Y ESTILOS BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 0, 0, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(230, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-color));
    transition: all 0.3s;
}

.logo-section:hover .logo-placeholder {
    filter: drop-shadow(0 0 20px var(--primary-color));
    transform: scale(1.05);
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s;
    font-size: 16px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #ff3333);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.5);
}

/* ==================== MODAL DE LOGIN ==================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-container {
    background: linear-gradient(135deg, rgba(26, 0, 0, 0.8) 0%, rgba(10, 0, 0, 0.95) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(230, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover {
    transform: scale(1.2);
    color: #ff3333;
}

.modal-content {
    padding: 40px 30px;
}

.modal-header {
    text-align: center;
    margin-bottom: 35px;
}

.modal-logo {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.modal-header h2 {
    font-size: 32px;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-modal {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-modal label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s;
    position: relative;
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    background: rgba(230, 0, 0, 0.1);
}

.input-wrapper i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 16px;
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    font-family: var(--font-main);
}

.input-wrapper input::placeholder {
    color: var(--text-secondary);
}

.toggle-password {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    margin-left: 8px;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.form-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
}

.form-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-remember a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.form-remember a:hover {
    color: #ff3333;
    text-decoration: underline;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.5);
}

.btn-login:active {
    transform: translateY(0);
}

.modal-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.modal-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.modal-footer a:hover {
    color: #ff3333;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, rgba(26, 0, 0, 0.6) 50%, rgba(10, 0, 0, 0.8) 100%);
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(230, 0, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(230, 0, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

.hero-image {
    animation: slideInRight 0.8s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 120%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 50%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-display {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-logo {
    font-size: 120px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 30px var(--primary-color));
    animation: float 3s ease-in-out infinite;
}

/* ==================== BOTONES ==================== */
.btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 100%);
    color: white;
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.5);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(230, 0, 0, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 30px rgba(230, 0, 0, 0.6);
}

/* ==================== SECCIONES GENERALES ==================== */
.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 50%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sección - Cómo funciona */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(10, 0, 0, 0.5) 0%, rgba(26, 0, 0, 0.3) 100%);
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step-card {
    background: linear-gradient(135deg, rgba(26, 0, 0, 0.5) 0%, rgba(10, 0, 0, 0.5) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.step-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(26, 0, 0, 0.8) 0%, rgba(10, 0, 0, 0.8) 100%);
    box-shadow: 0 0 30px rgba(230, 0, 0, 0.2);
    transform: translateY(-10px);
}

.step-card:hover::before {
    left: 100%;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    opacity: 0.3;
}

.step-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(230, 0, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.step-card:hover .step-icon {
    background: rgba(230, 0, 0, 0.2);
    transform: scale(1.1) rotate(10deg);
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==================== SECCIÓN DE BENEFICIOS ==================== */
.benefits {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(26, 0, 0, 0.3) 0%, rgba(10, 0, 0, 0.5) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(26, 0, 0, 0.4) 0%, rgba(10, 0, 0, 0.4) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.benefit-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(26, 0, 0, 0.7) 0%, rgba(10, 0, 0, 0.7) 100%);
    box-shadow: 0 0 25px rgba(230, 0, 0, 0.2);
    transform: translateY(-8px);
}

.benefit-icon {
    font-size: 44px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(230, 0, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.benefit-card:hover .benefit-icon {
    background: rgba(230, 0, 0, 0.2);
    transform: scale(1.15) rotate(-10deg);
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* ==================== SECCIÓN POR QUÉ CONFIAR ==================== */
.trust {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(10, 0, 0, 0.8) 0%, rgba(26, 0, 0, 0.5) 100%);
    border-top: 2px solid var(--primary-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.trust-card {
    background: linear-gradient(135deg, rgba(26, 0, 0, 0.5) 0%, rgba(10, 0, 0, 0.5) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.trust-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(26, 0, 0, 0.8) 0%, rgba(10, 0, 0, 0.8) 100%);
    box-shadow: 0 0 30px rgba(230, 0, 0, 0.3);
    transform: translateY(-10px);
}

.trust-icon {
    font-size: 44px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(230, 0, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.trust-card:hover .trust-icon {
    background: rgba(230, 0, 0, 0.2);
    transform: scale(1.15);
}

.trust-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.trust-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* ==================== SECCIÓN DE PRECIOS ==================== */
.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(26, 0, 0, 0.3) 0%, rgba(10, 0, 0, 0.5) 100%);
    border-top: 2px solid var(--primary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(26, 0, 0, 0.5) 0%, rgba(10, 0, 0, 0.5) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.1) 0%, rgba(230, 0, 0, 0.05) 100%);
    transform: scale(1.05);
}

.pricing-card.featured .price {
    color: var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 100%);
    color: white;
    padding: 5px 40px;
    font-weight: 700;
    transform: rotate(45deg);
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(230, 0, 0, 0.2);
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.price span {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features-list li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    color: var(--primary-color);
}

.features-list i.fa-times {
    color: #666;
}

/* ==================== SECCIÓN DE CONTACTO ==================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(10, 0, 0, 0.8) 0%, rgba(26, 0, 0, 0.5) 100%);
    border-top: 2px solid var(--primary-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 25px;
    transition: all 0.3s;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
}

.info-item:hover {
    background: rgba(230, 0, 0, 0.1);
    transform: translateX(10px);
}

.info-icon {
    font-size: 32px;
    color: var(--primary-color);
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(26, 0, 0, 0.5);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(26, 0, 0, 0.7);
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.2);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 0, 0, 0.98) 100%);
    border-top: 2px solid var(--primary-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 0, 0, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s;
    font-size: 18px;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.15) translateY(-3px);
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== BOTÓN FLOTANTE ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.5);
    transition: all 0.3s;
}

.back-to-top.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 40px rgba(230, 0, 0, 0.8);
}

/* ==================== ANIMACIONES ==================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .nav-menu ul {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .steps-grid,
    .benefits-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card:hover {
        transform: scale(1) translateY(-10px);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal-container {
        max-width: 90%;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 12px;
    }

    .nav-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-description {
        font-size: 14px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .step-card,
    .benefit-card,
    .trust-card {
        padding: 25px 20px;
    }

    .step-icon,
    .benefit-icon,
    .trust-icon {
        font-size: 36px;
        padding: 10px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }

    .modal-container {
        max-width: 95%;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-header h2 {
        font-size: 24px;
    }
}
/* ==================== MODAL DE LOGIN ==================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: linear-gradient(135deg, rgba(26, 0, 0, 0.95) 0%, rgba(10, 0, 0, 0.98) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(230, 0, 0, 0.4);
    position: relative;
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

.modal-content {
    display: flex;
    flex-direction: column;
}

.modal-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(230, 0, 0, 0.2);
}

.modal-logo {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(230, 0, 0, 0.3));
}

.modal-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 25px;
}

.form-group-modal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group-modal label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    transition: all 0.3s ease;
    position: relative;
    gap: 12px;
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    background: rgba(230, 0, 0, 0.08);
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.15);
}

.input-wrapper i {
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    font-family: var(--font-main);
    width: 100%;
}

.input-wrapper input::placeholder {
    color: rgba(176, 176, 176, 0.6);
}

.input-wrapper input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(26, 0, 0, 0.5) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
}

.toggle-password {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    gap: 10px;
    flex-wrap: wrap;
}

.form-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    flex: 1;
    min-width: 150px;
}

.form-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-color);
    border-radius: 3px;
}

.form-remember a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    white-space: nowrap;
}

.form-remember a:hover {
    color: #ff3333;
    text-decoration: underline;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff3333 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(230, 0, 0, 0.35);
    margin-top: 10px;
}

.btn-login:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 0, 0, 0.5);
}

.btn-login:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.modal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(230, 0, 0, 0.2);
    color: var(--text-secondary);
    font-size: 14px;
}

.modal-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    margin-left: 5px;
}

.modal-footer a:hover {
    color: #ff3333;
    text-decoration: underline;
}