/* Minimal landing style inspired by provided samples */
:root {
  --bg-1: #06141B;
  --bg-2: #11212D;
  --bg-3: #253745;
  --card: #1B2630;
  --text: #CCD0CF;
  --muted: #9BA8AB;
  --cta: #0F62FE; /* IBM Blue */
  --cta-hover: #0353E9;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
}

.landing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
}

.landing-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 50% 30%, rgba(255,255,255,0.06), transparent),
              radial-gradient(600px 300px at 20% 80%, rgba(15,98,254,0.10), transparent),
              radial-gradient(600px 300px at 80% 80%, rgba(111,0,255,0.10), transparent);
  filter: blur(0.5px);
}

.landing-card {
  position: relative;
  z-index: 1;
  width: min(860px, 92vw);
  background: rgba(27,38,48, 0.9);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 48px 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.landing-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  letter-spacing: 0.2px;
}

.landing-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.landing-form input[type="email"] {
  appearance: none;
  border: 0;
  outline: none;
  background: #20303D;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  padding: 16px 18px;
  font-size: 1rem;
  border-radius: 999px;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.landing-form input[type="email"]:focus {
  border-color: rgba(15,98,254,0.6);
  box-shadow: 0 0 0 6px rgba(15,98,254,0.15);
}

.landing-form button {
  appearance: none;
  border: 0;
  background: linear-gradient(135deg, var(--cta), #6F00FF);
  color: #fff;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .1s ease, box-shadow .2s ease, background .2s ease;
}

.landing-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15,98,254,0.35);
}

.landing-form button:active {
  transform: translateY(0);
}

.error-message {
  margin-top: 16px;
  color: #ff6b6b;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 640px) {
  .landing-card { padding: 32px 20px; }
  .landing-form { grid-template-columns: 1fr; }
  .landing-form button { width: 100%; }
}

.loading {
  opacity: 0.8;
  cursor: wait !important;
}
