/* ============================================
   Callia — Coming Soon Landing Page
   Minimal. Dark. Clean.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #fafafa;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- Layout ---- */

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

/* Subtle radial glow behind content */
.landing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Logo ---- */

.logo-wrap {
  margin-bottom: 2.5rem;
  position: relative;
}

.logo {
  display: block;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.08));
}

/* ---- Typography ---- */

.name {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.tagline {
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.01em;
}

.divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 2rem 0;
}

.subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  max-width: 420px;
  line-height: 1.7;
}

/* ---- Badge ---- */

.badge {
  margin-top: 2.5rem;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Email Signup ---- */

.signup-form {
  margin-top: 2rem;
  width: 100%;
  max-width: 400px;
}

.signup-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.75rem;
}

.signup-row {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.signup-row:focus-within {
  border-color: rgba(255, 255, 255, 0.3);
}

.signup-row input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  outline: none;
  color: #fafafa;
  font-family: inherit;
  font-size: 0.9rem;
}

.signup-row input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.signup-row button {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.signup-row button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.signup-row button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Feedback messages */
.signup-msg {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 400;
  min-height: 1.2em;
}

.signup-msg.success {
  color: #4ade80;
}

.signup-msg.info {
  color: rgba(255, 255, 255, 0.45);
}

.signup-msg.error {
  color: #f87171;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .name {
    font-size: 2.4rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .subtitle {
    font-size: 0.85rem;
    max-width: 300px;
  }

  .logo-wrap {
    margin-bottom: 2rem;
  }

  .logo {
    width: 56px;
    height: 56px;
  }

  .signup-form {
    max-width: 100%;
  }
}
