:root {
  --bg-color: #fbfbfd;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --accent-color: #0071e3;
  --accent-hover: #0077ed;
  --border-color: #d2d2d7;
  --focus-ring: rgba(0, 113, 227, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  line-height: 1.4;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  animation: fadeIn 1s ease-out;
}

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

/* Minimalist Camera Icon */
.icon-container {
  margin-bottom: 2rem;
}

.camera-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #ffffff 0%, #e8e8ed 100%);
  border-radius: 20px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 0.3s ease;
}

.camera-icon:hover {
  transform: scale(1.05);
}

.lens {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c2c2e 0%, #1d1d1f 100%);
  position: relative;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.8), 0 1px 2px rgba(255,255,255,0.8);
}

.lens::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

.flash {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 0 8px rgba(255,255,255,0.8);
}

/* Typography */
.title {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  letter-spacing: 0.005em;
}

/* Waitlist Form */
.waitlist-form {
  width: 100%;
  max-width: 420px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-input {
  width: 100%;
  padding: 18px 24px;
  font-size: 17px;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  outline: none;
  transition: all 0.2s ease;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.email-input::placeholder {
  color: #a1a1a6;
}

.email-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px var(--focus-ring);
  background-color: #ffffff;
}

.submit-button {
  width: 100%;
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 500;
  font-family: inherit;
  color: #ffffff;
  background-color: var(--accent-color);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: 0 4px 10px rgba(0, 113, 227, 0.3);
}

.submit-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 113, 227, 0.4);
}

.submit-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.3);
}

.form-status {
  min-height: 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.form-status.success {
  color: #107c10;
}

.form-status.error {
  color: #d13438;
}

@media (max-width: 600px) {
  .title {
    font-size: 44px;
  }
  
  .tagline {
    font-size: 20px;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 601px) {
  .input-group {
    flex-direction: row;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    overflow: hidden;
    padding: 6px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
  }

  .input-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--focus-ring), var(--shadow-md);
    background: #ffffff;
  }

  .email-input {
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 999px 0 0 999px;
    padding: 16px 24px;
    flex: 1;
  }
  
  .email-input:focus {
    box-shadow: none;
  }

  .submit-button {
    width: auto;
    border-radius: 999px;
    padding: 12px 28px;
    margin: 2px;
  }
}
