@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  font-family: 'Manrope', 'Helvetica', sans-serif;
  line-height: 1.5;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(51.74% 91.99% at 48.26% 50%, #34373E 0%, #1A212B 0.01%, #0E111A 100%);
  color: #FFFFFF;
  font-family: 'Manrope', 'Helvetica', sans-serif;
}

html {
  min-height: 100vh;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #202020;
}

::-webkit-scrollbar-thumb {
  background: #282828;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8A8A8A;
}

/* Custom form styles based on your design */
.form-container {
  background: #202020;
  border: 1px solid #282828;
  border-radius: 23px;
}

.form-input {
  background: #101010;
  border: 1px solid #282828;
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Circe', 'Inter', sans-serif;
  padding: 12px 16px;
  width: 100%;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #ffffff;
}

.form-input::placeholder {
  color: #8A8A8A;
}

.btn-primary {
  background: #ffffff;
  color: #202020;
  border-radius: 12px;
  font-weight: 500;
  font-family: 'Circe', 'Inter', sans-serif;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #f0f0f0;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #2A313E;
  color: #FFFFFF;
  border-radius: 12px;
  font-weight: 500;
  font-family: 'Manrope', 'Helvetica', sans-serif;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #2B3341;
  border-color: #3A4655;
}

/* Background elements from your design */
.bg-rectangle {
  position: absolute;
  width: 8px;
  height: 6px;
  left: 922px;
  top: 537px;
  background: #1A212B;
}

.bg-ellipse {
  position: absolute;
  width: 223px;
  height: 223px;
  left: calc(50% - 223px/2 + 0.5px);
  top: 193px;
  background: #F1BFB1;
  filter: blur(300px);
}

/* Touch and mobile improvements */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  .btn-primary,
  .btn-secondary {
    min-height: 44px;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .form-input {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

@media (max-width: 480px) {
  .bg-ellipse {
    width: 150px;
    height: 150px;
    left: calc(50% - 75px);
    top: 120px;
  }
  
  .bg-rectangle {
    left: calc(50% - 4px);
    top: 300px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body {
    background: radial-gradient(51.74% 91.99% at 48.26% 50%, #34373E 0%, #1A212B 0.01%, #0E111A 100%);
  }
}
