/* Landing Page Styles - Minimalist, Elegant & Compact */
:root {
  --white: #ffffff;
  --black: #000000;
  --primary: #ef070a;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-400: #a1a1aa;
  --gray-600: #52525b;
}
html[data-theme="dark"] .landing-logo {
  filter: brightness(0) saturate(100%) invert(1);
}

.landing-page {
  min-height: 90vh;
  background: var(--white);
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.landing-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: var(--primary);
}

.landing-container {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

/* Header Styles */
.landing-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.landing-logo {
  height: 40px;
  width: auto;
}

.header-content {
  color: var(--black);
}

.landing-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.landing-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gray-600);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* Main Content */
.landing-main {
  display: flex;
  justify-content: center;
}

.welcome-card {
  background: var(--white);
  padding: 1.75rem 2rem;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  text-align: center;
  border: none;
  position: relative;
}

.welcome-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--primary);
}

html[data-theme="dark"] .welcome-card {
  background: #1a1f27;
  border: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.welcome-icon {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.welcome-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.welcome-description {
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-weight: 400;
  font-size: 0.9rem;
}

/* Features List */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.feature-item:hover {
  color: var(--black);
}

.feature-item i {
  color: var(--primary);
  width: 14px;
  font-size: 0.8rem;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-direction: column;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--primary);
}

.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active {
  color: var(--white);
}

.btn-primary i {
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 7, 10, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-400);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Admin Access */
.admin-access {
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.admin-access p {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  background: rgba(239, 7, 10, 0.05);
}

.admin-link:hover {
  color: var(--white);
  background: var(--primary);
  transform: translateY(-1px);
}

/* Footer */
.landing-footer {
  margin-top: 2rem;
  text-align: center;
}

.footer-content {
  color: var(--gray-400);
}

.footer-content small {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 0.75rem;
}

/* Background Elements */
.background-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.bg-element {
  position: absolute;
  background: var(--gray-50);
  border-radius: 50%;
}

.bg-element:nth-child(1) {
  width: 60px;
  height: 60px;
  top: 15%;
  left: 10%;
  opacity: 0.4;
}

.bg-element:nth-child(2) {
  width: 40px;
  height: 40px;
  bottom: 20%;
  right: 8%;
  opacity: 0.3;
}

/* Responsive Design */
@media (min-width: 480px) {
  .landing-page {
    padding: 2rem;
  }

  .welcome-card {
    padding: 2.5rem;
  }

  .action-buttons {
    flex-direction: row;
  }

  .btn {
    flex: 1;
    min-width: 120px;
  }
}

@media (min-width: 768px) {
  .landing-container {
    max-width: 420px;
  }

  .logo-section {
    flex-direction: row;
    justify-content: center;
    text-align: left;
    gap: 1.75rem;
  }

  .landing-logo {
    height: 45px;
  }

  .landing-title {
    font-size: 1.25rem;
  }

  .landing-subtitle {
    font-size: 0.75rem;
  }

  .welcome-card {
    padding: 3rem 2rem;
  }
}

@media (max-width: 359px) {
  .landing-page {
    padding: 1rem 0.75rem;
  }

  .welcome-card {
    padding: 2rem 1.5rem;
  }

  .landing-header {
    margin-bottom: 2rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-card {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.welcome-icon {
  animation: float 3s ease-in-out infinite;
}

/* Focus states for accessibility */
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.admin-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
