:root {
  --primary: #6b8aa5;
  --primary-dark: #4a637a;
  --bg-light: #f9fbff;
  --white: #ffffff;
  --text-main: #1d2124;
  --text-gray: #5a6a7a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVEGACIÓN */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-with-image {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  transition: 0.3s ease;
}

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

/* BOTONES */
.nav-btn,
.primary,
.btn-login,
.cta-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.primary:hover,
.nav-btn:hover,
.btn-login:hover,
.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(107, 138, 165, 0.3);
}

.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

/* HERO SECTION */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 100px 80px;
  align-items: center;
  min-height: 90vh;
}

h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  margin: 20px 0;
  letter-spacing: -2px;
}

.blue-text {
  color: var(--primary);
}

.badge {
  background: #f0f4f8;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  display: inline-block;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-gray);
  margin: 20px 0;
  line-height: 1.8;
}

.buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.main-logo-container {
  width: 400px;
  height: 400px;
  margin: auto;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  border: 12px solid var(--white);
  transition: transform 0.5s ease;
}

.main-logo-container:hover {
  transform: scale(1.02) rotate(1deg);
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DESCRIPCIÓN */
.info-section {
  padding: 100px 80px;
  background: var(--bg-light);
}

.info-container {
  max-width: 900px;
  margin: auto;
  background: white;
  padding: 60px;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
  text-align: center;
}

.info-container h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 25px;
}

.info-container p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-gray);
}

/* FUNCIONES */
.detailed-info {
  padding: 120px 80px;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 18px;
  color: var(--text-gray);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.detail-item {
  padding: 40px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid #f0f0f0;
  transition: all 0.4s ease;
}

.detail-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: #f0f4f8;
  color: var(--primary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 25px;
}

.icon-circle.green {
  color: #10b981;
}

.icon-circle.purple {
  color: #8b5cf6;
}

.detail-item h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.detail-item p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* EQUIPO - PÁGINA PRINCIPAL */
.team-section {
  padding: 100px 80px;
  background: #fdfdfd;
  text-align: center;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.team-card {
  background: white;
  width: 220px;
  padding: 40px 20px;
  border-radius: 30px;
  border: 1px solid #f0f0f0;
  transition: 0.3s;
}

.team-card:hover {
  border-color: var(--primary);
  background: var(--bg-light);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.member-photo {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.team-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.team-card .role {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-card .description {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* CONTACTO */
.contact {
  padding: 120px 80px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: auto;
}

.contact-info h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 18px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: var(--primary);
}

.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  text-decoration: none;
}

.socials a:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 18px;
  border: 2px solid #edf2f7;
  border-radius: 15px;
  outline: none;
  font-size: 16px;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.contact-form textarea {
  resize: none;
}

/* FOOTER */
footer {
  padding: 50px;
  text-align: center;
  color: var(--text-gray);
  font-weight: 600;
}

/* ============= PÁGINA DE EQUIPO ============= */

.hero-team {
  padding: 100px 80px;
  background: var(--bg-light);
  text-align: center;
}

.hero-team-content h1 {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-team-content p {
  font-size: 20px;
  color: var(--text-gray);
  max-width: 800px;
  margin: auto;
}

.development-section {
  padding: 100px 80px;
  background: var(--bg-light);
}

.development-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.dev-card {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.dev-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.dev-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.dev-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.dev-card:hover .dev-image img {
  transform: scale(1.1);
}

.dev-content {
  padding: 40px;
}

.dev-icon {
  width: 60px;
  height: 60px;
  background: #f0f4f8;
  color: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.dev-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.dev-content p {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 16px;
}

.cta-section {
  padding: 100px 80px;
}

.cta-box {
  background: var(--primary);
  padding: 80px 60px;
  border-radius: 40px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.cta-box h2 {
  font-size: 40px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.cta-box p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.cta-btn {
  background: white;
  color: var(--primary);
  padding: 18px 40px;
  font-size: 18px;
}

/* ============= PÁGINA DE LOGIN ============= */

.login-page {
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
  min-height: 100vh;
}

.navbar-simple {
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: 0.3s;
}

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

.login-container {
  padding: 60px 80px;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
}

/* Left Side Info */
.login-info {
  padding: 40px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.logo-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
}

.logo-section h1 {
  font-size: 36px;
  font-weight: 800;
}

.login-info h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.3;
}

.features-list {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 18px;
}

.feature-item i {
  color: var(--primary);
  font-size: 22px;
}

.info-badge {
  background: #f0f4f8;
  border: 2px solid var(--primary);
  padding: 25px;
  border-radius: 25px;
}

.info-badge p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Right Side Form */
.login-form-section {
  padding: 20px;
}

.login-box {
  background: white;
  padding: 50px;
  border-radius: 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.form-header p {
  color: var(--text-gray);
  font-size: 16px;
}

.login-form {
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 16px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  font-size: 18px;
}

.input-with-icon input {
  width: 100%;
  padding: 18px 18px 18px 50px;
  border: 2px solid #edf2f7;
  border-radius: 15px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.input-with-icon input:focus {
  border-color: var(--primary);
}

.toggle-password {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  padding: 5px;
}

.form-footer {
  text-align: right;
  margin-bottom: 25px;
}

.forgot-password {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.forgot-password:hover {
  opacity: 0.7;
}

.btn-login {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  border-radius: 15px;
}

.form-divider {
  text-align: center;
  margin: 30px 0;
}

.form-divider p {
  color: var(--text-gray);
}

.link-register {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.link-register:hover {
  opacity: 0.7;
}

.social-login {
  border-top: 1px solid #edf2f7;
  padding-top: 30px;
}

.social-title {
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 20px;
}

.social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.social-btn {
  padding: 14px 20px;
  border: 2px solid #edf2f7;
  background: white;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

/* Acceso de invitado */
.guest-access {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
}

.guest-divider {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.guest-divider span {
  background: white;
  padding: 0 15px;
  color: var(--text-gray);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.guest-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e5e7eb;
}

.btn-guest {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #6b8aa5 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-guest:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(107, 138, 165, 0.4);
}

.guest-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.guest-note i {
  color: var(--primary);
}

.footer-simple {
  padding: 30px;
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
}

/* ============= PÁGINA DE LA APP ============= */

.app-page {
  background: #f5f7fa;
  min-height: 100vh;
}

/* Temas de colores */
.app-page[data-theme="dark"] {
  --primary: #1e293b;
  --primary-dark: #0f172a;
  --bg-light: #334155;
  --white: #1e293b;
  --text-main: #f1f5f9;
  --text-gray: #cbd5e1;
  background: #0f172a;
}

.app-page[data-theme="green"] {
  --primary: #10b981;
  --primary-dark: #059669;
  --bg-light: #d1fae5;
}

/* Header de la app */
.app-header {
  background: white;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.app-page[data-theme="dark"] .app-header {
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.header-controls {
  display: flex;
  gap: 20px;
  align-items: center;
}

.guest-badge {
  background: linear-gradient(135deg, #8b5cf6 0%, #6b8aa5 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guest-badge.hidden {
  display: none;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-group label {
  color: var(--text-gray);
  font-size: 18px;
}

.selector,
.selector-full {
  padding: 10px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: 0.3s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.selector-full {
  width: 100%;
}

.selector:hover,
.selector-full:hover {
  border-color: var(--primary);
}

.app-page[data-theme="dark"] .selector,
.app-page[data-theme="dark"] .selector-full {
  background: #334155;
  color: white;
  border-color: #475569;
}

.btn-logout {
  background: #ef4444;
  padding: 10px 20px;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.btn-logout:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

/* Main */
.app-main {
  padding: 40px 60px;
  max-width: 1400px;
  margin: auto;
}

.welcome-section {
  text-align: center;
  margin-bottom: 50px;
}

.welcome-section h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
}

.welcome-section p {
  font-size: 20px;
  color: var(--text-gray);
}

/* Grid de funciones */
.functions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.function-card {
  background: white;
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.app-page[data-theme="dark"] .function-card {
  background: #1e293b;
  border: 1px solid #334155;
}

.function-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Overlay para funciones bloqueadas */
.locked-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 10;
  padding: 30px;
  text-align: center;
  border-radius: 25px;
}

.app-page[data-theme="dark"] .locked-overlay {
  background: rgba(30, 41, 59, 0.95);
}

.locked .locked-overlay {
  display: flex;
}

.locked-overlay i {
  font-size: 48px;
  color: var(--primary);
  opacity: 0.5;
}

.locked-overlay p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  max-width: 300px;
}

.btn-unlock {
  background: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.btn-unlock:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(107, 138, 165, 0.3);
}

.vault-section.locked,
.history-section.locked {
  position: relative;
  min-height: 300px;
}

.vault-section.locked .locked-overlay,
.history-section.locked .locked-overlay {
  display: flex;
}

.card-header {
  text-align: center;
  margin-bottom: 25px;
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  color: white;
}

.card-icon.blue { background: linear-gradient(135deg, #6b8aa5 0%, #4a637a 100%); }
.card-icon.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.card-icon.purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }

.card-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-header p {
  color: var(--text-gray);
  font-size: 14px;
}

.card-body {
  margin-top: 20px;
}

.action-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 15px;
  font-weight: 700;
  font-size: 16px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.action-btn.blue { background: #6b8aa5; }
.action-btn.green { background: #10b981; }
.action-btn.purple { background: #8b5cf6; }

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.action-btn.blue:hover { background: #4a637a; }
.action-btn.green:hover { background: #059669; }
.action-btn.purple:hover { background: #7c3aed; }

/* Resultados */
.results-area {
  margin-top: 20px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 15px;
}

.app-page[data-theme="dark"] .results-area {
  background: #0f172a;
}

.hidden {
  display: none;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6b8aa5 0%, #10b981 100%);
  transition: width 0.3s ease;
  border-radius: 10px;
}

.status-text {
  text-align: center;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.scan-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
}

.result-item.safe {
  background: #d1fae5;
  color: #065f46;
}

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

.result-item i {
  font-size: 22px;
}

/* Input groups */
.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.input-group input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.app-page[data-theme="dark"] .input-group input {
  background: #334155;
  color: white;
  border-color: #475569;
}

.input-group input:focus {
  border-color: var(--primary);
}

/* Password options */
.password-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
}

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

.password-display {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.password-display input {
  flex: 1;
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  background: white;
  font-family: 'Courier New', monospace;
}

.app-page[data-theme="dark"] .password-display input {
  background: #334155;
  color: white;
  border-color: #475569;
}

.copy-btn {
  padding: 15px 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.copy-btn:hover {
  background: var(--primary-dark);
}

.password-strength {
  margin-top: 15px;
}

.strength-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.strength-fill {
  height: 100%;
  transition: width 0.3s ease, background 0.3s ease;
  border-radius: 10px;
}

.strength-text {
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

/* Gestor de contraseñas */
.vault-section {
  margin: 60px 0;
  padding: 40px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.app-page[data-theme="dark"] .vault-section {
  background: #1e293b;
  border: 1px solid #334155;
}

.vault-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

.vault-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vault-form {
  padding: 30px;
  background: #f9fafb;
  border-radius: 20px;
}

.app-page[data-theme="dark"] .vault-form {
  background: #0f172a;
}

.vault-form h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.vault-form input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 15px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.app-page[data-theme="dark"] .vault-form input {
  background: #334155;
  color: white;
  border-color: #475569;
}

.vault-form input:focus {
  border-color: var(--primary);
}

.vault-list {
  max-height: 500px;
  overflow-y: auto;
}

.vault-list h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.vault-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vault-item {
  padding: 20px;
  background: #f9fafb;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.app-page[data-theme="dark"] .vault-item {
  background: #0f172a;
}

.vault-item:hover {
  background: #eef2ff;
  transform: translateX(5px);
}

.app-page[data-theme="dark"] .vault-item:hover {
  background: #1e293b;
}

.vault-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.vault-info p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 3px 0;
}

.vault-info i {
  width: 20px;
}

.vault-actions {
  display: flex;
  gap: 10px;
}

.vault-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-btn:hover {
  transform: scale(1.1);
}

.vault-btn.danger {
  background: #ef4444;
}

.vault-btn.danger:hover {
  background: #dc2626;
}

/* Historial de uso */
.history-section {
  margin: 60px 0;
  padding: 40px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.app-page[data-theme="dark"] .history-section {
  background: #1e293b;
  border: 1px solid #334155;
}

.history-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

.history-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.app-page[data-theme="dark"] .filter-btn {
  background: #334155;
  color: white;
  border-color: #475569;
}

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

.history-list {
  max-height: 400px;
  overflow-y: auto;
}

.history-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 15px;
  background: #f9fafb;
  transition: 0.3s;
}

.app-page[data-theme="dark"] .history-item {
  background: #0f172a;
}

.history-item:hover {
  background: #eef2ff;
  transform: translateX(5px);
}

.app-page[data-theme="dark"] .history-item:hover {
  background: #1e293b;
}

.history-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.history-item.scan .history-icon {
  background: linear-gradient(135deg, #6b8aa5 0%, #4a637a 100%);
}

.history-item.link .history-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.history-item.password .history-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.history-content {
  flex: 1;
}

.history-content p {
  font-weight: 600;
  margin-bottom: 5px;
}

.history-content span {
  font-size: 13px;
  color: var(--text-gray);
}

/* Estadísticas */
.stats-section {
  margin-top: 60px;
  text-align: center;
}

.stats-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
}

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

.stat-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.app-page[data-theme="dark"] .stat-card {
  background: #1e293b;
  border: 1px solid #334155;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.stat-icon.blue { background: linear-gradient(135deg, #6b8aa5 0%, #4a637a 100%); }
.stat-icon.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.stat-icon.purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.stat-icon.red { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

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

.stat-info h4 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-info p {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 600;
}

/* RESPONSIVO */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 50px 20px;
  }

  .main-logo-container {
    width: 300px;
    height: 300px;
    margin-bottom: 50px;
  }

  h1 {
    font-size: 48px;
  }

  .navbar {
    padding: 20px 40px;
  }

  .nav-links {
    display: none;
  }

  .detailed-info,
  .team-section,
  .contact,
  .development-section,
  .cta-section {
    padding: 60px 20px;
  }

  .contact-container,
  .login-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .login-info {
    display: none;
  }

  .login-box {
    padding: 40px 30px;
  }

  /* App responsive */
  .app-header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .header-controls {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .control-group {
    width: 100%;
  }

  .selector {
    width: 100%;
  }

  .app-main {
    padding: 20px;
  }

  .welcome-section h1 {
    font-size: 32px;
  }

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

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

  .vault-container {
    grid-template-columns: 1fr;
  }

  .vault-section,
  .history-section {
    padding: 20px;
  }

  .history-filters {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }
}
