/* Variables globales */
:root {
  --primary-color: #007AFF;
  --background: #F2F2F7;
  --card-background: #FFFFFF;
  --text-primary: #000000;
  --text-secondary: #8E8E93;
  --border-color: #E5E5EA;
  --success-color: #34C759;
  --error-color: #FF3B30;
  --warning-color: #FF9500;
  --shadow: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.12);
  --border-radius: 16px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  margin: 0;
}

/* Header */
header {
  background: var(--card-background);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  margin-right: 10px;
}

.lang-btn {
  padding: 6px 12px;
  background: #f0f0f0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--primary-color);
  color: white;
}

.header-auth input {
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}

.header-auth button {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: 0.2s;
}

.header-auth button:hover {
  background: #0056CC;
}

.header-auth .btn-secondary {
  background: #F5F5FA;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

.header-auth a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}

.header-auth a:hover {
  background: #F0F0F5;
}

.premium-badge {
  background: linear-gradient(135deg, #ffd60a, #ffb700);
  color: #000;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

/* Hero Section */
.main-hero {
  text-align: center;
  margin-top: 54px;
  color: var(--primary-color);
  padding: 0 20px;
}

/* Info Section */
.info-section {
  max-width: 820px;
  margin: 42px auto 0 auto;
  padding: 28px 24px 30px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.info-section h2 {
  color: #007AFF;
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.info-section ul {
  font-size: 1.09rem;
  color: #5B5B5B;
  line-height: 1.7;
  margin-bottom: 22px;
  padding-left: 1.2em;
}

/* Alertas */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 500;
  margin: 22px auto;
  max-width: 320px;
  text-align: center;
  box-shadow: var(--shadow);
}

.alert-success {
  background: #E6FBEA;
  color: #34C759;
  border: 1px solid #B5E6CB;
}

.alert-error {
  background: #FEE8E6;
  color: #FF3B30;
  border: 1px solid #F5BEBE;
}

.alert-warning {
  background: #FFF4E5;
  color: #FF9500;
  border: 1px solid #FFD89B;
}
