/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #5a71e4;
  --primary-hover: #4960d3;
  --dark-gray: #32373c;
  --text-primary: #000000;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --background: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.25s ease-in-out;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Welcome Page */
.welcome-page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  padding: 20px;
}

.welcome-container {
  max-width: 580px;
  width: 100%;
  background: var(--background);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 40px 24px;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  height: 50px;
  width: auto;
  max-width: 200px;
}

/* Content Section */
.welcome-content {
  padding: 40px 40px 32px;
  text-align: center;
}

.welcome-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.welcome-message {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.welcome-message strong {
  color: var(--text-primary);
  font-weight: 600;
}

.welcome-message:last-of-type {
  margin-bottom: 32px;
}

/* Action Buttons */
.welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

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

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

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 14px 26px;
}

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

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.btn-label {
  font-size: 16px;
  font-weight: 600;
}

.btn-sublabel {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.95;
}

/* Footer Note */
.footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px 32px;
  background: #f8f9fa;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 420px;
  padding: 16px 20px;
  background: white;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 22px;
  height: 22px;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-note p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
}

.hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo-section {
    padding: 32px 32px 20px;
  }

  .logo {
    height: 44px;
    max-width: 180px;
  }

  .welcome-content {
    padding: 32px 32px 24px;
  }

  .welcome-title {
    font-size: 28px;
  }

  .welcome-message {
    font-size: 16px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 15px;
  }

  .btn-secondary {
    padding: 12px 22px;
  }

  .footer-note {
    padding: 18px 32px 28px;
  }

  .info-box {
    padding: 14px 18px;
  }
}

@media (max-width: 480px) {
  .welcome-page {
    padding: 16px;
  }

  .welcome-container {
    border-radius: 12px;
  }

  .logo-section {
    padding: 24px 24px 16px;
  }

  .logo {
    height: 40px;
    max-width: 160px;
  }

  .welcome-content {
    padding: 24px 24px 20px;
  }

  .welcome-title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .welcome-message {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .welcome-message:last-of-type {
    margin-bottom: 24px;
  }

  .welcome-actions {
    gap: 12px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
    gap: 10px;
  }

  .btn-secondary {
    padding: 10px 18px;
  }

  .btn-icon {
    width: 18px;
    height: 18px;
  }

  .btn-label {
    font-size: 14px;
  }

  .btn-sublabel {
    font-size: 13px;
  }

  .footer-note {
    padding: 16px 20px 24px;
  }

  .info-box {
    padding: 12px 16px;
    gap: 10px;
  }

  .info-icon {
    width: 20px;
    height: 20px;
  }

  .footer-note p {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .welcome-title {
    font-size: 22px;
  }

  .welcome-message {
    font-size: 14px;
  }

  .btn {
    font-size: 13px;
  }

  .footer-note p {
    font-size: 12px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus states for accessibility */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(90, 113, 228, 0.3);
}

.btn:focus:not(:focus-visible) {
  box-shadow: var(--shadow-sm);
}

/* Prevent text selection on buttons */
.btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
