/* Public site standalone CSS - Inspired by modern SaaS design */

/* CSS Variables */
:root {
  --gradient-bg: linear-gradient(135deg, #e0e7ff 0%, #fce7f3 25%, #ddd6fe 50%, #fef3c7 75%, #c7d2fe 100%);
  --bg-primary: rgba(255, 255, 255, 0.7);
  --bg-secondary: rgba(255, 255, 255, 0.9);
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --accent-primary: #2563eb;
  --accent-hover: #1d4ed8;
  --border-color: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset and base styles */
* {
  box-sizing: border-box;
}

body.public-layout {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--gradient-bg);
  background-attachment: fixed;
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.02em;
}

p {
  margin-top: 0;
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.public-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  display: inline-block;
}

.logo-image {
  height: 24px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.btn {
  color: white;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

/* Invitation Badge */
.invitation-badge {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  z-index: 98;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.invitation-badge span:first-child {
  color: #dc2626;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
}

.separator {
  color: var(--text-muted);
}

/* Hero Section */
.hero-section {
  padding: 160px 0 80px;
  display: flex;
  align-items: center;
  min-height: 80vh;
  max-width: 1120px;
  margin: 0 auto;
  gap: 80px;
}

.hero-container {
  flex: 1;
  padding: 0 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--text-secondary);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  padding: 0 24px;
}

.browser-mockup {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

.browser-bar {
  background: #f3f4f6;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
}

.browser-dots span:first-child {
  background: #ef4444;
}

.browser-dots span:nth-child(2) {
  background: #f59e0b;
}

.browser-dots span:nth-child(3) {
  background: #10b981;
}

.browser-content {
  height: 400px;
  position: relative;
  background: #fafafa;
}

.demo-widget {
  position: absolute;
  bottom: 24px;
  right: 24px;
}

.demo-widget-button {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3), 0 2px 4px -1px rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}

.demo-widget-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4), 0 4px 6px -2px rgba(37, 99, 235, 0.3);
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-secondary-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s;
}

.btn-secondary-link:hover {
  color: var(--text-primary);
}

/* Features Section */
.features-overview {
  padding: 80px 0;
  position: relative;
}

.features-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature {
  text-align: center;
  padding: 32px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--accent-primary);
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature p {
  font-size: 0.975rem;
  line-height: 1.6;
  margin: 0;
}

/* Process Section */
.process-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 900px;
  margin: 48px auto 0;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.step-number::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);
  border-radius: 2px;
}

.step-content h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.975rem;
  margin: 0;
  max-width: 200px;
  margin: 0 auto;
}

.process-connector {
  flex: 0.5;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.4) 50%, rgba(37, 99, 235, 0.2) 100%);
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.process-connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.8) 50%, transparent 100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 32px;
}

.cta-actions {
  margin-bottom: 16px;
}

.cta-note {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Flash Messages */
.flash-messages {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.alert {
  padding: 12px 24px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Responsive - Medium screens */
@media (max-width: 1120px) {
  .hero-section {
    gap: 40px;
    padding: 140px 24px 60px;
  }
  
  .hero-container {
    flex: 1.2;
    padding-right: 20px;
  }
  
  .hero-visual {
    flex: 1;
    padding-left: 20px;
  }
  
  .hero-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .browser-mockup {
    max-width: 380px;
  }
  
  .container {
    padding: 0 24px;
    margin: 0 auto;
  }
  
  .invitation-badge {
    font-size: 11px;
    padding: 6px 16px;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .invitation-badge span {
    white-space: nowrap;
  }
  
  .invitation-badge span:first-child {
    font-size: 10px;
  }
  
  .process-section {
    text-align: center;
  }
  
  .process-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .process-steps {
    max-width: 700px;
    margin: 48px auto 0;
    gap: 24px;
  }
  
  .process-step {
    flex: 1;
    text-align: center;
  }
  
  .process-connector {
    flex: 0.2;
    margin-top: 28px;
  }
  
  .section-title {
    text-align: center;
  }
}

/* Responsive - Tablet */
@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    min-height: auto;
    padding: 140px 0 60px;
  }
  
  .hero-container {
    max-width: 600px;
    margin: 0 auto;
    flex: none;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    flex: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .browser-mockup {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .process-steps {
    flex-direction: column;
    gap: 48px;
  }
  
  .process-connector {
    display: none;
  }
  
  .step-number {
    font-size: 2rem;
  }
  
  .features-grid {
    max-width: 800px;
    margin: 0 auto;
  }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  /* Header adjustments */
  .public-header {
    padding: 12px 0;
  }
  
  .header-container {
    padding: 0 16px;
  }
  
  .logo-image {
    height: 20px;
  }
  
  .header-nav {
    gap: 8px;
  }
  
  .nav-link {
    font-size: 14px;
  }
  
  .btn-small {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  /* Invitation badge */
  .invitation-badge {
    font-size: 11px;
    padding: 6px 12px;
    top: 70px;
  }
  
  .invitation-badge span:first-child {
    font-size: 10px;
  }
  
  .invitation-badge .separator {
    display: none;
  }
  
  .invitation-badge span:last-child {
    display: none;
  }
  
  /* Hero section */
  .hero-section {
    padding: 130px 16px 40px;
    gap: 32px;
  }
  
  .hero-container {
    padding: 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .hero-title br {
    display: none;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  
  .hero-subtitle br {
    display: none;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  .hero-actions .btn-secondary-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  
  /* Hero visual - mobile optimized */
  .hero-visual {
    padding: 0;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .browser-mockup {
    transform: scale(0.8);
    margin: -20px auto;
  }
  
  .browser-content {
    height: 300px;
  }
  
  .demo-widget-button {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  /* Features section */
  .features-overview {
    padding: 48px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
    padding: 0 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }
  
  .feature {
    padding: 24px;
    text-align: left;
  }
  
  .feature-icon {
    margin: 0 0 16px 0;
  }
  
  .feature h3 {
    font-size: 1.125rem;
  }
  
  .feature p {
    font-size: 0.875rem;
  }
  
  /* Process section */
  .process-section {
    padding: 48px 0;
  }
  
  .process-steps {
    gap: 32px;
    padding: 0 16px;
  }
  
  .process-step {
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  
  .step-number {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .step-number::after {
    display: none;
  }
  
  .step-content {
    flex: 1;
  }
  
  .step-content h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  
  .step-content p {
    font-size: 0.875rem;
    max-width: none;
  }
  
  /* CTA section */
  .cta-section {
    padding: 60px 16px;
  }
  
  .cta-content h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }
  
  .cta-content p {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .cta-badge {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 16px;
  }
  
  .cta-note {
    font-size: 12px;
  }
  
  .btn-large {
    padding: 14px 24px;
    font-size: 15px;
  }
  
  /* Container padding */
  .container {
    padding: 0 16px;
  }
}

/* Small mobile devices */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.375rem;
  }
  
  .nav-link {
    font-size: 13px;
  }
  
  .btn-small {
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* Mobile-specific improvements */
@media (max-width: 640px) {
  /* Prevent horizontal scroll */
  body.public-layout {
    overflow-x: hidden;
  }
  
  /* Better touch targets */
  .btn, 
  .nav-link,
  .auth-form input[type="submit"] {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Flash messages mobile */
  .flash-messages {
    position: fixed;
    top: 60px;
    left: 16px;
    right: 16px;
    transform: none;
  }
  
  .alert {
    font-size: 13px;
    padding: 10px 16px;
  }
  
  /* Smooth scrolling for anchor links */
  html {
    scroll-behavior: smooth;
  }
}

/* Authentication Pages */
.auth-container {
  max-width: 420px;
  margin: 140px auto 60px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.auth-container h1 {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.auth-form {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"],
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="text"]:focus,
.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input[type="email"]::placeholder,
.form-group input[type="password"]::placeholder,
.form-group input[type="text"]::placeholder,
.form-control::placeholder {
  color: var(--text-muted);
}

.form-hint {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.auth-form input[type="submit"] {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: white;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
  z-index: 1;
}

.auth-form input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.auth-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.2);
}

.auth-form input[type="submit"]:hover::before {
  opacity: 1;
}

.auth-form input[type="submit"]:active {
  transform: translateY(0);
}

.auth-links {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-links a {
  color: var(--accent-primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-links a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Error Messages */
.error-messages {
  background: rgba(254, 226, 226, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(252, 165, 165, 0.8);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.error-messages h3 {
  font-size: 14px;
  font-weight: 600;
  color: #991b1b;
  margin-bottom: 8px;
}

.error-messages ul {
  margin: 0;
  padding-left: 20px;
}

.error-messages li {
  font-size: 14px;
  color: #dc2626;
  line-height: 1.6;
}

/* Mobile Authentication */
@media (max-width: 640px) {
  .auth-container {
    margin: 100px 16px 40px;
    padding: 32px 24px;
  }
  
  .auth-container h1 {
    font-size: 1.5rem;
  }
}