/* ==================== VARIABLES Y RESET ==================== */
/* Importar tipografía Cal Sans SemiBold */
@import url('https://fonts.cdnfonts.com/css/cal-sans');

:root {
    /* Colores Corporativos TecnoTactil */
    --primary-blue: #57BFE3;      /* PANTONE 2985 C - Azul Claro */
    --secondary-blue: #005680;    /* PANTONE 93-3-1 C - Azul Oscuro */
    --light-blue: #87D4EF;        /* Variante más clara del azul claro */
    --dark-blue: #003D5C;         /* Variante más oscura del azul oscuro */
    --accent-blue: #57BFE3;       /* Igual que primary para coherencia */

    /* Colores de Texto */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --text-secondary: #4b5563;

    /* Colores de Fondo */
    --bg-light: #f8fafc;
    --white: #ffffff;

    /* Sombras */
    --shadow: 0 4px 6px -1px rgba(0, 86, 128, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 86, 128, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(0, 86, 128, 0.2);
}

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

body {
    font-family: 'Cal Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600; /* SemiBold */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

/* ==================== HEADER Y NAVEGACIÓN ==================== */
.main-header {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--dark-blue) 100%);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    gap: 2rem;
}

/* Logo */
.navbar-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.navbar-brand .logo:hover {
    transform: scale(1.05);
}

.navbar-brand .logo i {
    font-size: 2rem;
    color: var(--primary-blue); /* Azul claro corporativo */
}

.navbar-brand .logo .logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-menu li a i {
    font-size: 1.1rem;
    color: #22d3ee; /* Color cyan brillante para mejor visibilidad */
}

/* Usuario dropdown */
.nav-user {
    display: flex;
    align-items: center;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.user-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.user-name {
    font-weight: 600;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 12px 12px;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
}

.dropdown-menu a i {
    color: #3b82f6; /* Azul más saturado para mejor visibilidad */
    font-size: 1.1rem;
}

.dropdown-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.5rem 0;
}

.logout-link {
    color: #ef4444 !important;
}

.logout-link i {
    color: #ef4444 !important;
}

/* Carrito de Compras */
.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cart-icon i {
    font-size: 1.3rem;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: none; /* Oculto por defecto si está en 0 */
}

.cart-badge.show {
    display: block;
}

/* Botones de autenticación */
.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn-login,
.btn-register-nav {
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login {
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-register-nav {
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    color: var(--white);
    border: none;
}

.btn-register-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

/* Menú móvil */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==================== CONTENIDO PRINCIPAL ==================== */
.main-content {
    min-height: calc(100vh - 400px);
    padding: 2rem 0;
}

/* ==================== NOTIFICACIONES TOAST ==================== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.toast {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    min-width: 350px;
    position: relative;
    overflow: hidden;
    animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: right center;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.toast.removing {
    animation: slideOutRight 0.3s ease-in forwards;
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    padding-top: 0.125rem;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.875rem;
    line-height: 1.4;
    opacity: 0.9;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
    color: inherit;
    opacity: 0.5;
    flex-shrink: 0;
}

.toast-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: currentColor;
    opacity: 0.3;
    animation: progressBar 5s linear forwards;
}

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

/* Toast Success - Verde */
.toast-success {
    border-left: 4px solid #10b981;
    color: #065f46;
}

.toast-success .toast-icon {
    background-color: #d1fae5;
    color: #10b981;
}

.toast-success .toast-progress {
    background-color: #10b981;
}

/* Toast Danger - Rojo */
.toast-danger {
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.toast-danger .toast-icon {
    background-color: #fee2e2;
    color: #ef4444;
}

.toast-danger .toast-progress {
    background-color: #ef4444;
}

/* Toast Warning - Amarillo */
.toast-warning {
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.toast-warning .toast-icon {
    background-color: #fef3c7;
    color: #f59e0b;
}

.toast-warning .toast-progress {
    background-color: #f59e0b;
}

/* Toast Info - Azul */
.toast-info {
    border-left: 4px solid var(--secondary-blue);
    color: #1e40af;
}

.toast-info .toast-icon {
    background-color: #dbeafe;
    color: var(--secondary-blue);
}

.toast-info .toast-progress {
    background-color: var(--secondary-blue);
}

/* ==================== PÁGINAS DE INICIO ==================== */

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

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

.btn-hero-secondary:hover {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-item i {
    color: var(--accent-blue);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

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

.hero-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.hero-illustration i {
    font-size: 20rem;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.1;
}

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

/* Secciones Generales */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.about-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 16px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-blue);
}

.service-card.featured {
    border-top-color: var(--accent-blue);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.2);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid var(--bg-light);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features i {
    color: var(--accent-blue);
    margin-top: 0.25rem;
}

.service-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Deployment Section */
.deployment-section {
    padding: 5rem 0;
    background: var(--white);
}

.deployment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.deployment-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.deployment-card.highlight {
    background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 100%);
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.deployment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.deployment-card.highlight:hover {
    transform: translateY(-8px) scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.deployment-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.deployment-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.deployment-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.deployment-benefits {
    list-style: none;
}

.deployment-benefits li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.deployment-benefits i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-blue));
    z-index: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.step-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

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

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

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

.btn-cta-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* ==================== SELECTOR DE IDIOMA DROPDOWN ==================== */
.language-dropdown {
    position: relative;
    margin-right: 1.5rem;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.language-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.language-btn i {
    font-size: 0.8rem;
    color: var(--white);
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.language-dropdown:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.lang-option:first-child {
    border-radius: 12px 12px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 12px 12px;
}

.lang-option:hover {
    background-color: var(--bg-light);
}

.lang-option span {
    font-weight: 500;
    color: var(--text-dark);
}

.lang-option.active {
    background-color: #e0f2fe;
    border-left: 3px solid var(--accent-blue);
}

.lang-option.active span {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ==================== FORMULARIOS DE AUTENTICACIÓN ==================== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem 0;
}

.auth-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
}

.auth-card h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: #6b7280;
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-block {
    width: 100%;
}

.error-messages {
    margin-top: 0.5rem;
}

.error {
    color: #ef4444;
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}

.forgot-password-link {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.forgot-password-link a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.forgot-password-link a:hover {
    color: var(--accent-blue);
    transform: translateX(3px);
}

.forgot-password-link a i {
    font-size: 0.9rem;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-light);
}

.auth-links a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
    color: var(--primary-blue);
}

/* ==================== PERFIL ==================== */
.profile-container {
    max-width: 700px;
    margin: 0 auto;
}

.profile-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.profile-card h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.profile-info {
    margin-bottom: 2rem;
}

.info-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.info-group:last-child {
    border-bottom: none;
}

.info-group label {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-group p {
    color: var(--text-dark);
    font-size: 1.125rem;
    font-weight: 500;
}

.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.profile-actions {
    text-align: center;
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0f172a 100%);
    color: var(--white);
    margin-top: 4rem;
}

.footer-top {
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.footer-title {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-title i {
    color: var(--accent-blue);
    font-size: 2rem;
}

.footer-subtitle {
    color: var(--accent-blue);
    font-size: 1.125rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.75rem;
}

.footer-contact li {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent-blue);
    font-size: 1.125rem;
    min-width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-content i {
    color: #ef4444;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-illustration {
        display: none;
    }

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

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

    .deployment-card.highlight {
        transform: scale(1);
    }

    .deployment-card.highlight:hover {
        transform: translateY(-8px) scale(1);
    }

    .process-timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        justify-content: flex-start;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-container {
        flex-wrap: wrap;
        position: relative;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-user {
        width: 100%;
        justify-content: space-between;
        order: 3;
        margin-top: 1rem;
    }

    .language-dropdown {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .about-content,
    .deployment-options {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .language-selector {
        bottom: 20px;
        right: 20px;
    }

    .lang-btn {
        width: 45px;
        height: 45px;
        font-size: 0.875rem;
    }

    /* Toast responsive */
    .toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .user-name {
        display: none;
    }

    .auth-card {
        padding: 1.5rem;
    }

    /* Hero */
    .hero-section {
        padding: 2rem 0;
    }

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

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

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Sections */
    .section-title {
        font-size: 1.75rem;
    }

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

    .about-section,
    .services-section,
    .deployment-section,
    .process-section {
        padding: 3rem 0;
    }

    .service-card,
    .deployment-card {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .language-selector {
        bottom: 15px;
        right: 15px;
        gap: 0.375rem;
    }

    .lang-btn {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    /* Toast */
    .toast-container {
        top: 70px;
    }

    .toast {
        padding: 0.875rem;
        font-size: 0.875rem;
    }

    .toast-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .toast-title {
        font-size: 0.875rem;
    }

    .toast-message {
        font-size: 0.8rem;
    }
}
