:root {
  --primary-blue: #3B82F6;
  --primary-blue-dark: #2563EB;
  --primary-blue-light: #60A5FA;
  --accent-purple: #8B5CF6;
  --accent-purple-light: #A78BFA;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --success-green: #10B981;
  --error-red: #EF4444;
  --warning-orange: #F59E0B;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background: linear-gradient(135deg, var(--gray-50) 0%, #EEF2FF 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  color: white;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
}

.nav-brand a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.nav-user {
  color: rgba(255,255,255,0.9);
  margin-right: 0.5rem;
  font-weight: 500;
}

.btn-logout {
  background: rgba(239, 68, 68, 0.9) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
}

.btn-logout:hover {
  background: #DC2626 !important;
}

.container {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

.footer {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
  color: var(--gray-300);
  text-align: center;
  padding: 1.5rem;
  margin-top: auto;
}

.footer a {
  color: var(--primary-blue-light);
  text-decoration: none;
}

h1, h2, h3 {
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
  border: 1px solid var(--gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, #1D4ED8 100%);
  box-shadow: 0 6px 10px -1px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  background: var(--gray-200);
  border-color: var(--gray-300);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
  color: white;
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-300);
  border-radius: 22px;
  transition: 0.3s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--success-green);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
}

.toggle-switch:hover .toggle-slider {
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.btn-danger {
  background: linear-gradient(135deg, var(--error-red) 0%, #DC2626 100%);
  color: white;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
}

.btn-purple {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7C3AED 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.3);
}

.btn-purple:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  box-shadow: 0 6px 10px -1px rgba(139, 92, 246, 0.4);
  transform: translateY(-1px);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.btn-google:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.btn-google img {
  height: 20px;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--gray-400);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 2px solid var(--gray-200);
}

.divider span {
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.alert-error {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.alert-info {
  background: #DBEAFE;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.table tr:hover {
  background: var(--gray-50);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-active {
  background: #D1FAE5;
  color: #065F46;
}

.badge-paused {
  background: #FEF3C7;
  color: #92400E;
}

.badge-patient {
  background: #DBEAFE;
  color: #1E40AF;
}

.badge-caregiver {
  background: #EDE9FE;
  color: #5B21B6;
}

.badge-hcp {
  background: #FCE7F3;
  color: #9D174D;
}

.auth-container {
  max-width: 420px;
  margin: 2rem auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-blue-light);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.auth-header h1 {
  font-size: 1.75rem;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--gray-500);
}

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

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid var(--gray-100);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--gray-500);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--gray-100);
  transition: all 0.2s ease;
}

.schedule-item:hover {
  background: white;
  border-color: var(--primary-blue-light);
}

.schedule-time {
  font-weight: 700;
  color: var(--primary-blue);
  min-width: 70px;
  font-size: 0.9rem;
}

.schedule-med {
  flex: 1;
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--gray-500);
}

.empty-state img {
  width: 120px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.empty-state p {
  margin-bottom: 1rem;
}

.role-selection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.role-card {
  background: white;
  border: 3px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.role-card:hover {
  border-color: var(--primary-blue-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
}

.role-card.selected {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, #EFF6FF 0%, #EDE9FE 100%);
}

.role-card h3 {
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.role-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.role-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--accent-purple-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hero-section {
  text-align: center;
  padding: 3rem 0;
}

.hero-character {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 5px solid white;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
  object-fit: cover;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.welcome-banner {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  border-radius: 16px;
  padding: 2rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.welcome-banner img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.3);
}

.welcome-banner h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.welcome-banner p {
  opacity: 0.9;
}

/* LANDING PAGE STYLES */

.hero-section-full {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  margin: -2rem -2rem 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title-large {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle-large {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
  margin-left: -2rem;
  margin-right: -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-content {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-800);
  text-align: center;
  margin-bottom: 2rem;
}

.section-text-block {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-600);
}

.section-text-block p {
  margin-bottom: 1rem;
}

.section-text-block strong {
  color: var(--gray-800);
}

/* Que es container - two column layout */
.que-es-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.que-es-container .section-text-block {
  flex: 1;
}

.phone-mockup-container {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-image {
  max-width: 280px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Por que container - image on left */
.por-que-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.por-que-container .section-text-block {
  flex: 1;
}

.section-image-container {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-image {
  max-width: 320px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .que-es-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .phone-mockup-image {
    max-width: 220px;
  }
  
  .por-que-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .section-image {
    max-width: 280px;
  }
}

/* Features Grid (Como funciona) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.feature-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.feature-patient {
  background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
}

.feature-caregiver {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-light) 100%);
}

.feature-hcp {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
}

.feature-list {
  list-style: none;
  text-align: left;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--success-green);
  border-radius: 50%;
}

/* Audience Grid (Para quien es) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.audience-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
}

.audience-card:hover {
  border-color: var(--primary-blue-light);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.audience-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary-blue);
}

.audience-card h4 {
  font-size: 1.1rem;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.audience-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Trust Section (Confianza) */
.trust-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-100);
}

.trust-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success-green) 0%, #34D399 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.trust-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
}

.trust-disclaimer {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 8px;
  border-left: 4px solid var(--warning-orange);
}

/* FAQ Section */
.faq-container {
  max-width: 700px;
  margin: 0 auto;
}

.faq-placeholder {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 16px;
  border: 2px dashed var(--gray-200);
  color: var(--gray-500);
}

.faq-placeholder a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.faq-placeholder a:hover {
  text-decoration: underline;
}

/* Contact Section */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  transform: translateY(-1px);
}

/* Landing Footer */
.footer-landing {
  background: var(--gray-800);
  color: var(--gray-300);
  padding: 2rem;
  margin-top: 0;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

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

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-divider {
  color: var(--gray-600);
  margin: 0 0.75rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Legal Pages */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--gray-800);
}

.legal-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-100);
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.legal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

.legal-content a {
  color: var(--primary-blue);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-notice {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  font-weight: 500;
}

.legal-date {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

/* Consent page styles */
.consent-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-100);
}

.consent-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.consent-text {
  flex: 1;
}

.consent-text p {
  margin-bottom: 0.5rem;
}

.consent-text ul {
  margin-top: 0.5rem;
}

.consent-declaration {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--primary-blue-light);
}

.consent-declaration p {
  margin: 0;
  color: var(--gray-800);
  font-size: 1.1rem;
}

/* FAQ Accordion Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.faq-category[open] {
  border-color: var(--accent-purple);
}

.faq-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-purple);
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  transition: background 0.2s ease;
}

.faq-category-header::-webkit-details-marker {
  display: none;
}

.faq-category-header::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent-purple);
  border-bottom: 2px solid var(--accent-purple);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-category[open] .faq-category-header::after {
  transform: rotate(45deg);
}

.faq-category-header:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.faq-category-content {
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid var(--gray-100);
}

.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover {
  border-color: var(--primary-blue-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item[open] {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--primary-blue);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
  margin-top: 0;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer p {
  margin: 0.75rem 0;
}

.faq-answer p:first-child {
  margin-top: 1rem;
}

.faq-answer ul {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .nav-links {
    justify-content: center;
  }
  
  .role-selection {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-character {
    width: 140px;
    height: 140px;
  }
  
  .welcome-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-title-large {
    font-size: 1.75rem;
  }
  
  .hero-subtitle-large {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .trust-container {
    flex-direction: column;
    text-align: center;
  }
  
  .trust-icon {
    margin: 0 auto 1rem;
  }
  
  .trust-list li {
    text-align: left;
  }
  
  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }
  
  .footer-divider {
    display: none;
  }
}
