/* Routine Waitlist Page Styles - Dropbox-inspired Design */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4a90e2;
  --primary-dark: #357abd;
  --primary-light: #e8f4fd;
  --text-dark: #1e1e1e;
  --text-light: #5e5e5e;
  --text-muted: #8e8e8e;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --error-color: #dc3545;
  --white: #ffffff;
  --background: #fafafa;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
}

.waitlist-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.waitlist-content {
  background: var(--white);
  padding: 0;
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.app-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.app-title {
  font-size: 28px;
  line-height: 1.14286;
  font-weight: 600;
  letter-spacing: 0.007em;
  color: #ffffff;
  margin: 0;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 120px 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse at center bottom, #1e3c72 0%, #2a5298 30%, #1a252f 70%, #0a0e27 100%);
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  line-height: 1.07143;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 21px;
  line-height: 1.381;
  font-weight: 400;
  letter-spacing: 0.011em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 48px;
  max-width: 560px;
}

/* Inline Form */
.inline-form {
  display: flex;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.inline-input {
  flex: 1;
  min-width: 280px;
  padding: 18px 24px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-family: inherit;
  color: #ffffff;
}

.inline-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.inline-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.inline-button {
  background: #ffffff;
  color: #1e3c72;
  border: none;
  padding: 18px 36px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.inline-button:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.inline-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.form-response {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  font-weight: 400;
  font-size: 15px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.95);
  display: none;
}

.form-response.success {
  background: rgba(212, 237, 218, 0.95);
  color: #155724;
  border: 1px solid rgba(195, 230, 203, 0.8);
}

.form-response.error {
  background: rgba(248, 215, 218, 0.95);
  color: #721c24;
  border: 1px solid rgba(245, 198, 203, 0.8);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  background: #f5f5f7;
}

.feature-card {
  background: var(--white);
  padding: 48px 32px;
  border-radius: 18px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 24px;
  line-height: 1.16667;
  font-weight: 600;
  letter-spacing: 0.009em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--text-light);
  margin: 0;
}

/* Form Section */
.form-section {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  padding: 80px 32px;
}

.form-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.form-text {
  flex: 1;
  text-align: left;
}

.form-wrapper {
  flex: 1;
}

.form-title {
  font-size: 48px;
  line-height: 1.08349;
  font-weight: 600;
  letter-spacing: -0.003em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.form-description {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.381;
  font-weight: 400;
  letter-spacing: 0.011em;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input {
  padding: 18px 16px;
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  transition: all 0.15s ease;
  background: var(--white);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

select.form-input {
  cursor: pointer;
  color: var(--text-light);
}

select.form-input option {
  color: var(--text-dark);
}

.submit-button {
  background: #0071e3;
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-size: 17px;
  line-height: 1.17648;
  font-weight: 400;
  letter-spacing: -0.022em;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-top: 16px;
  min-width: 28px;
  white-space: nowrap;
}

.submit-button:hover {
  background: #0077ed;
}

.submit-button:active {
  background: #006edb;
}

.form-response {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  font-weight: 400;
  font-size: 15px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.form-response.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-response.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer Section */
.footer-section {
  text-align: center;
  padding: 40px 32px 60px;
  margin-top: 60px;
}

/* Benefits Section */
.benefits-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 100px 32px 80px;
  background: #ffffff;
}

.benefits-section h3 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0em;
  color: var(--text-dark);
  margin-bottom: 32px;
  text-align: center;
}

.benefits-list {
  list-style: none;
  padding: 0;
  max-width: 640px;
  margin: 0 auto;
}

.benefits-list li {
  padding: 20px 0;
  color: var(--text-light);
  font-size: 19px;
  line-height: 1.42105;
  font-weight: 400;
  letter-spacing: 0.012em;
  border-bottom: 1px solid #d2d2d7;
}

.benefits-list li:last-child {
  border-bottom: none;
}

.footer-section p {
  margin: 0;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.42859;
  font-weight: 400;
  letter-spacing: -0.016em;
}

.footer-section a {
  color: #0071e3;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s ease;
}

.footer-section a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1068px) {
  .hero-title {
    font-size: 48px;
    line-height: 1.08349;
    letter-spacing: -0.003em;
  }

  .hero-subtitle {
    font-size: 24px;
    line-height: 1.16667;
    letter-spacing: 0.009em;
  }

  .form-title {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0em;
  }

  .benefits-section h3 {
    font-size: 32px;
    line-height: 1.125;
    letter-spacing: 0.004em;
  }
}

@media (max-width: 735px) {
  .logo-section {
    margin-bottom: 32px;
  }

  .app-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .app-title {
    font-size: 24px;
    line-height: 1.16667;
    letter-spacing: 0.009em;
  }

  .hero-section {
    padding: 80px 24px;
    min-height: 100vh;
  }

  .hero-title {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0em;
  }

  .hero-subtitle {
    font-size: 19px;
    line-height: 1.42105;
    letter-spacing: 0.012em;
  }

  .inline-form {
    flex-direction: column;
    max-width: 100%;
    gap: 12px;
    width: 100%;
    padding: 0 16px;
  }

  .inline-input {
    min-width: 100%;
    width: 100%;
  }

  .inline-button {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 16px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .feature-card h3 {
    font-size: 21px;
    line-height: 1.19048;
    letter-spacing: 0.011em;
  }

  .benefits-section {
    padding: 60px 16px;
  }

  .benefits-section h3 {
    font-size: 28px;
    line-height: 1.14286;
    letter-spacing: 0.007em;
  }
}

/* Print Styles */
@media print {
  body {
    background: var(--white);
  }

  .waitlist-container {
    max-width: 100%;
  }

  .submit-button {
    display: none;
  }
}
