:root {
  color-scheme: dark;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
  text-decoration: none;
}

a.btn-primary,
button.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

a.btn-primary:hover,
button.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 35px -15px rgba(99, 102, 241, 0.8);
}

a.btn-secondary,
button.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  background: rgba(148, 163, 184, 0.2);
  color: rgba(226, 232, 240, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition: background 150ms ease, border 150ms ease;
}

a.btn-secondary:hover,
button.btn-secondary:hover {
  background: rgba(148, 163, 184, 0.3);
  border-color: rgba(148, 163, 184, 0.5);
}

.feature-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-text {
  color: rgba(226, 232, 240, 0.75);
}

.glass-panel {
  background: rgba(15, 23, 42, 0.55);
  border-radius: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 20px 40px -15px rgba(30, 64, 175, 0.5);
  padding: 2rem;
  backdrop-filter: blur(22px);
}

.step-card {
  position: relative;
  background: rgba(30, 58, 138, 0.35);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-number {
  position: absolute;
  top: -0.9rem;
  left: 1.2rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.step-title {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.step-text {
  color: rgba(226, 232, 240, 0.75);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .card-grid-sm-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .card-grid-lg-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 50;
  max-width: calc(100vw - 2rem);
}

@media (min-width: 640px) {
  #toast-container {
    top: 1.5rem;
    right: 1.5rem;
  }
}

.toast {
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.875rem;
}

/* Responsive utilities */
@media (max-width: 639px) {
  .mobile-full {
    width: 100%;
  }
  
  .mobile-text-sm {
    font-size: 0.875rem;
  }
  
  .mobile-px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Line clamp utility */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
