/* Landing page specific styles */
:root {
  /* These variables are now defined in theme.css */
}

.dark {
  /* These variables are now defined in theme.css */
}

.mrsool {
  /* These variables are now defined in theme.css */
}

html {
  --bg-color: hsl(var(--background));
  --text-color: hsl(var(--foreground));
  --text-secondary: hsl(var(--muted-foreground));
  --card-bg: hsl(var(--card));
  --card-text: hsl(var(--card-foreground));
  --feature-bg: hsl(var(--secondary));
  --feature-text: hsl(var(--secondary-foreground));
  --border-color: hsl(var(--border));
  --button-bg: hsl(var(--mrsool-primary));
  --button-text: hsl(var(--mrsool-white));
  --button-hover: hsl(157, 100%, 32%);
  --accent-color: hsl(var(--mrsool-yellow));
}

html.dark {
  /* These variables are automatically applied through CSS variables */
}

body.landing-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Add decorative elements */
body.landing-page::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, hsla(var(--mrsool-primary), 0.05) 0%, hsla(var(--mrsool-primary), 0) 70%);
  z-index: -1;
  border-radius: 50%;
}

body.landing-page::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, hsla(var(--mrsool-yellow), 0.05) 0%, hsla(var(--mrsool-yellow), 0) 70%);
  z-index: -1;
  border-radius: 50%;
}

.theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.theme-toggle button {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.theme-toggle button:hover {
  background-color: hsla(var(--muted), 0.2);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
  transition: transform 0.2s ease;
}

.theme-toggle button:hover .sun-icon,
.theme-toggle button:hover .moon-icon {
  transform: rotate(12deg);
}

.landing-container {
  max-width: 800px;
  text-align: center;
  padding: 2.5rem;
  background-color: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  margin: 0 1rem;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.landing-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, hsl(var(--mrsool-primary)), hsl(var(--mrsool-yellow)));
  border-radius: var(--radius) var(--radius) 0 0;
  z-index: 2;
}

.logo-container {
  margin-bottom: 2.5rem;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.logo-container img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.landing-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  letter-spacing: -0.025em;
  position: relative;
  display: inline-block;
}

.landing-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: hsl(var(--mrsool-primary));
  border-radius: 3px;
}

.landing-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--button-bg);
  color: var(--button-text);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 300px;
  position: relative;
  overflow: hidden;
}

.login-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: left 0.7s ease;
}

.login-button:hover {
  background-color: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.login-button:hover::before {
  left: 100%;
}

.login-button:active {
  transform: translateY(0);
}

.login-button img {
  margin-right: 0.75rem;
  width: 20px;
  height: 20px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.feature {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  padding: 1.75rem;
  background-color: var(--feature-bg);
  border-radius: var(--radius);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: hsl(var(--mrsool-primary));
  transition: height 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature:hover::before {
  height: 100%;
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-weight: 600;
}

.feature p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.text-secondary {
  color: var(--text-secondary);
  opacity: 0.7;
}

/* Tailwind utility classes */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.rounded-lg {
  border-radius: var(--radius);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.m-4 {
  margin: 1rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.w-full {
  width: 100%;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.absolute {
  position: absolute;
}

.bottom-4 {
  bottom: 1rem;
}

@media (max-width: 640px) {
  .landing-title {
    font-size: 1.875rem;
  }
  
  .landing-subtitle {
    font-size: 1rem;
  }
  
  .features {
    flex-direction: column;
    align-items: center;
  }
  
  .feature {
    width: 100%;
  }
}

/* Theme selector styles */
.theme-selector {
  margin-top: 3rem;
}

.theme-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.theme-btn:hover {
  transform: scale(1.1);
}

.theme-btn.active {
  box-shadow: 0 0 0 2px var(--text-color);
}

.theme-btn.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--text-color);
}

.light-theme {
  background-color: hsl(0, 0%, 100%);
  border-color: hsl(214.3, 31.8%, 91.4%);
}

.dark-theme {
  background-color: hsl(222.2, 84%, 4.9%);
  border-color: hsl(217.2, 32.6%, 17.5%);
}

.mrsool-theme {
  background: linear-gradient(135deg, #00BF6F 0%, #FFCD00 100%);
  border-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}