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

:root {
  --primary: #6a11cb;
  --primary-light: rgba(106, 17, 203, 0.1);
  --secondary: #2575fc;
  --secondary-light: rgba(37, 117, 252, 0.1);
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --dark: #333333;
  --gray: #666666;
  --light-gray: #f0f4ff;
  --green: #52c41a;
  --red: #ff4d4f;
  --border-radius-lg: 15px;
  --border-radius-md: 10px;
  --border-radius-sm: 8px;
  --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  --box-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-bg);
  color: var(--dark);
  line-height: 1.6;
}

.app-container {
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Welcome Screen */
.welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.welcome-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.logo {
  width: 150px;
  height: 150px;
  position: relative;
  margin-bottom: 30px;
  animation: floatLogo 6s ease-in-out infinite;
}

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

.logo-circle {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-circle::after {
  content: '';
  position: absolute;
  width: 95%;
  height: 95%;
  border-radius: 50%;
  border: 2px dashed rgba(106, 17, 203, 0.3);
  animation: spin 15s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 2;
}

.welcome-screen h1 {
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.welcome-screen p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 80%;
  line-height: 1.6;
}

.get-started-btn {
  background-color: var(--white);
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.get-started-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.8s;
}

.get-started-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.get-started-btn:hover::after {
  left: 100%;
}

/* Role Selection */
.role-selection {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--light-bg);
  padding: 40px 20px;
}

.role-selection h2 {
  margin-bottom: 40px;
  font-size: 28px;
  color: var(--dark);
  text-align: center;
  position: relative;
}

.role-selection h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.roles-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  width: 100%;
  max-width: 400px;
}

.role-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--box-shadow-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  border-radius: var(--border-radius-lg);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: -1;
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.role-card:hover::before {
  opacity: 1;
}

.role-card.selected {
  border-color: var(--primary);
  background-color: rgba(106, 17, 203, 0.05);
}

.role-card .role-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: var(--primary);
}

.role-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark);
}

.role-card p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.5;
}

.continue-btn {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  border: none;
  cursor: pointer;
  margin-top: 40px;
  box-shadow: 0 10px 20px rgba(106, 17, 203, 0.25);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.continue-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.8s;
}

.continue-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(106, 17, 203, 0.35);
}

.continue-btn:hover::after {
  left: 100%;
}

.continue-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.continue-btn:disabled::after {
  display: none;
}

/* Verification Screen */
.verification-screen {
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  min-height: 100vh;
  background-color: var(--light-bg);
}

.verification-screen h2 {
  text-align: center;
  margin: 20px 0 40px;
  font-size: 28px;
  position: relative;
}

.verification-screen h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.verification-screen p {
  text-align: center;
  margin-bottom: 40px;
  color: var(--gray);
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.verification-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px auto;
  max-width: 500px;
  width: 100%;
}

.verification-method {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: var(--box-shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-normal);
}

.verification-method:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.method-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
}

.method-info {
  flex: 1;
}

.method-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--dark);
}

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

.verify-btn {
  padding: 10px 20px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--white);
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.verify-btn:hover {
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

.verification-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto;
  padding: 15px;
  background-color: rgba(82, 196, 26, 0.1);
  border: 1px solid rgba(82, 196, 26, 0.2);
  border-radius: var(--border-radius-md);
  color: #257045;
  max-width: 500px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(82, 196, 26, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(82, 196, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(82, 196, 26, 0); }
}

.verification-badge i {
  margin-right: 15px;
  font-size: 24px;
}

/* Onboarding Questions */
.onboarding-questions {
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  min-height: 100vh;
  background-color: var(--light-bg);
  overflow-y: auto;
}

.onboarding-questions h2 {
  text-align: center;
  margin: 20px 0 40px;
  font-size: 28px;
  position: relative;
}

.onboarding-questions h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.question-container {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-normal);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.question-container:hover {
  box-shadow: var(--box-shadow);
}

.question-container label {
  display: block;
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--dark);
}

.question-container input[type="text"],
.question-container input[type="number"],
.question-container select,
.question-container textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius-sm);
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition-fast);
}

.question-container input[type="text"]:focus,
.question-container input[type="number"]:focus,
.question-container select:focus,
.question-container textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
  outline: none;
}

.question-container textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--white);
  padding: 15px;
  border-radius: var(--border-radius-sm);
  border: 1px solid #eee;
  transition: var(--transition-fast);
}

.checkbox-option:hover {
  border-color: var(--primary);
  background-color: rgba(106, 17, 203, 0.05);
}

.checkbox-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.onboarding-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.step-indicator {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 8px;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e0e0e0;
}

.step-dot.active {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  transform: scale(1.2);
}

/* Hub Layout */
.hub-screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--light-bg);
}

.hub-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.hub-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hub-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.hub-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  aspect-ratio: 1;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 0;
}

.hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.hub-card:hover::before {
  opacity: 1;
}

.hub-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.hub-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.hub-card p {
  font-size: 14px;
  color: var(--gray);
  position: relative;
  z-index: 1;
}

/* Swipe Interface */
.swipe-interface {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-color: var(--light-bg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-card-container {
  width: 100%;
  max-width: 400px;
  height: 70vh;
  position: relative;
  margin: 0 auto;
}

.profile-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transform: scale(0.95) translateY(10px);
  transition: var(--transition-normal);
  opacity: 0.8;
}

.profile-card.active {
  transform: scale(1) translateY(0);
  z-index: 10;
  opacity: 1;
}

.profile-img {
  width: 100%;
  height: 55%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.profile-img-placeholder {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.profile-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.profile-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--white);
  border-radius: 25px;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.profile-badge i {
  color: #4267B2;
}

.profile-info {
  padding: 20px;
  position: relative;
}

.profile-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.profile-info h3 .location-dot {
  margin-left: auto;
  font-size: 14px;
  color: var(--gray);
}

.profile-info p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.5;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.profile-tag {
  background-color: var(--light-gray);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.swipe-buttons {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  z-index: 20;
}

.swipe-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: none;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  transition: var(--transition-fast);
}

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

.dislike-btn {
  background-color: var(--white);
  color: var(--red);
}

.dislike-btn:hover {
  background-color: rgba(255, 77, 79, 0.1);
}

.like-btn {
  background-color: var(--white);
  color: var(--green);
}

.like-btn:hover {
  background-color: rgba(82, 196, 26, 0.1);
}

/* Bottom Navigation */
.bottom-nav {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: var(--white);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #999;
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transition: var(--transition-fast);
  border-radius: 3px 3px 0 0;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active::after {
  width: 100%;
}

.nav-item i {
  font-size: 22px;
  margin-bottom: 5px;
}

/* Pregnancy Support */
.pregnancy-support {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.support-header {
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.support-header h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.support-header h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.support-header p {
  font-size: 16px;
  color: var(--gray);
  margin-top: 15px;
}

.timeline-track {
  position: relative;
  padding-left: 30px;
  margin-bottom: 30px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 5px;
  bottom: 5px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 3px;
}

.timeline-event {
  position: relative;
  margin-bottom: 35px;
  padding-left: 20px;
  transition: var(--transition-normal);
}

.timeline-event:hover {
  transform: translateX(5px);
}

.timeline-event::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid var(--primary);
  z-index: 1;
}

.timeline-event.active::before {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 5px rgba(106, 17, 203, 0.1);
}

.timeline-event.completed::before {
  background-color: var(--green);
  border-color: var(--green);
}

.timeline-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(106, 17, 203, 0.1);
  border-radius: 15px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.timeline-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.5;
}

.health-tracking {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--box-shadow-sm);
}

.health-tracking h3 {
  margin-bottom: 20px;
  font-size: 20px;
  position: relative;
  display: inline-block;
  color: var(--dark);
}

.health-tracking h3::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

.tracker-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  background-color: rgba(240, 244, 255, 0.5);
  padding: 15px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
}

.tracker-item:hover {
  background-color: var(--light-gray);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-sm);
}

.tracker-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--primary);
  font-size: 20px;
}

.tracker-info {
  flex: 1;
}

.tracker-info h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--dark);
}

.tracker-info p {
  font-size: 14px;
  color: var(--gray);
}

.document-section {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--box-shadow-sm);
}

.document-section h3 {
  margin-bottom: 20px;
  font-size: 20px;
  position: relative;
  display: inline-block;
  color: var(--dark);
}

.document-section h3::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

.document-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: rgba(240, 244, 255, 0.5);
  border-radius: var(--border-radius-sm);
  margin-bottom: 15px;
  transition: var(--transition-fast);
}

.document-item:hover {
  background-color: var(--light-gray);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-sm);
}

.document-icon {
  margin-right: 20px;
  color: var(--primary);
  font-size: 22px;
  width: 40px;
  height: 40px;
  background-color: rgba(106, 17, 203, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-info {
  flex: 1;
}

.document-info h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--dark);
}

.document-info p {
  font-size: 14px;
  color: var(--gray);
}

.document-action {
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.document-action:hover {
  background-color: rgba(106, 17, 203, 0.1);
}

.ai-support {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--box-shadow-sm);
}

.ai-support h3 {
  margin-bottom: 20px;
  font-size: 20px;
  position: relative;
  display: inline-block;
  color: var(--dark);
}

.ai-support h3::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

.ai-chat-area {
  background-color: #f8f9fa;
  border-radius: var(--border-radius-sm);
  padding: 20px;
  margin-bottom: 20px;
  height: 350px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.ai-empty-state {
  text-align: center;
  color: #999;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.ai-empty-state i {
  font-size: 40px;
  color: var(--primary);
  opacity: 0.5;
}

.chat-message {
  margin-bottom: 15px;
  max-width: 80%;
}

.chat-message.user {
  align-self: flex-end;
}

.chat-message.ai {
  align-self: flex-start;
}

.message-bubble {
  padding: 12px 18px;
  border-radius: 18px;
  position: relative;
  color: var(--dark);
}

.chat-message.user .message-bubble {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-bottom-right-radius: 5px;
}

.chat-message.ai .message-bubble {
  background-color: #e9ecef;
  border-bottom-left-radius: 5px;
}

.ai-input {
  display: flex;
  gap: 15px;
  position: relative;
}

.ai-input input {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  font-size: 16px;
  transition: var(--transition-fast);
}

.ai-input input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
  outline: none;
}

.ai-input button {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 0 25px;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ai-input button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

/* Postpartum Care */
.postpartum-care {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.recovery-tracking {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--box-shadow-sm);
}

.recovery-tracking h3 {
  margin-bottom: 20px;
  font-size: 20px;
  position: relative;
  display: inline-block;
  color: var(--dark);
}

.recovery-tracking h3::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

.progress-container {
  margin-bottom: 25px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.progress-label span {
  font-size: 15px;
  font-weight: 500;
}

.progress-bar {
  height: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 5px;
  position: relative;
  transition: width 1s ease;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 20px 20px;
  animation: progressStripes 1s linear infinite;
}

@keyframes progressStripes {
  0% { background-position: 0 0; }
  100% { background-position: 20px 0; }
}

.appointment-reminders {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--box-shadow-sm);
}

.appointment-reminders h3 {
  margin-bottom: 20px;
  font-size: 20px;
  position: relative;
  display: inline-block;
  color: var(--dark);
}

.appointment-reminders h3::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

.appointment-item {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: rgba(240, 244, 255, 0.5);
  border-radius: var(--border-radius-sm);
  margin-bottom: 15px;
  transition: var(--transition-fast);
}

.appointment-item:hover {
  background-color: var(--light-gray);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-sm);
}

.appointment-date {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.2);
}

.appointment-date .month {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
}

.appointment-date .day {
  font-size: 24px;
  font-weight: 700;
}

.appointment-info {
  flex: 1;
}

.appointment-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark);
}

.appointment-info p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.4;
}

.appointment-actions {
  display: flex;
  gap: 15px;
}

.appointment-actions button {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.appointment-actions button:hover {
  background-color: rgba(106, 17, 203, 0.1);
}

.legal-documentation {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--box-shadow-sm);
}

.legal-documentation h3 {
  margin-bottom: 20px;
  font-size: 20px;
  position: relative;
  display: inline-block;
  color: var(--dark);
}

.legal-documentation h3::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

.document-progress {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(240, 244, 255, 0.5);
  transition: var(--transition-fast);
}

.document-progress:hover {
  background-color: var(--light-gray);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-sm);
}

.document-progress-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray);
  transition: var(--transition-fast);
}

.document-progress-circle.completed {
  border-color: var(--green);
  background-color: var(--green);
  color: var(--white);
}

.document-progress-info {
  flex: 1;
}

.document-progress-info h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--dark);
}

.document-progress-info p {
  font-size: 14px;
  color: var(--gray);
}

.journey-celebration {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(45deg, rgba(106, 17, 203, 0.1), rgba(37, 117, 252, 0.1));
  border-radius: var(--border-radius-md);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.journey-celebration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(106, 17, 203, 0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.celebration-icon {
  font-size: 60px;
  color: var(--primary);
  margin-bottom: 25px;
  display: inline-block;
  position: relative;
  z-index: 1;
  animation: pulse 2s infinite;
}

.journey-celebration h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.journey-celebration p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Match Confirmation */
.match-confirmation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.match-popup {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  animation: popup 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.match-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

@keyframes popup {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.match-popup h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--primary);
}

.match-popup p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

.match-icon {
  font-size: 70px;
  color: var(--primary);
  margin-bottom: 25px;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.match-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.confirm-match-btn {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.confirm-match-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
}

.cancel-match-btn {
  background-color: #f5f5f5;
  color: var(--gray);
  border: none;
  border-radius: 30px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cancel-match-btn:hover {
  background-color: #e9e9e9;
  transform: translateY(-3px);
}

/* Loading and transitions */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(106, 17, 203, 0.1);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 30px;
  box-shadow: 0 0 15px rgba(106, 17, 203, 0.2);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-overlay p {
  font-size: 18px;
  color: var(--primary);
  font-weight: 500;
  animation: pulse 1.5s ease infinite;
}

.fade-transition {
  animation: fadeIn 0.7s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-transition {
  animation: slideUp 0.7s ease;
}

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

/* Responsive Design */
@media (min-width: 768px) {
  .roles-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .checkbox-group {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .welcome-screen h1 {
    font-size: 28px;
  }
  
  .welcome-screen p {
    font-size: 16px;
  }
  
  .get-started-btn {
    padding: 14px 28px;
    font-size: 16px;
  }
  
  .role-selection h2,
  .verification-screen h2,
  .onboarding-questions h2 {
    font-size: 24px;
  }
  
  .continue-btn {
    padding: 14px 28px;
    font-size: 16px;
  }
  
  .swipe-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}