/* ============================================================
   Develupp — Coming Soon
   ============================================================ */

:root {
  --color-primary:        #2ED3C6;
  --color-primary-active: #1FB8AB;
  --color-primary-soft:   #A7F3EE;
  --color-secondary:      #F5B14C;

  --bg-1: #0F1724;
  --bg-2: #0C1B2A;
  --bg-3: #091421;

  --surface: #132131;

  --text-primary:   #FFFFFF;
  --text-secondary: #A7B4C3;
  --text-tertiary:  #6F8298;

  --border:        rgba(255, 255, 255, 0.08);
  --stroke-subtle: rgba(255, 255, 255, 0.16);

  --radius-button: 14px;
  --radius-card:   20px;

  --color-success: #34D399;
  --color-error:   #F87171;
}

/* ============================================================
   Reset & Base
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 60%, var(--bg-3) 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  overflow-x: hidden;
}

/* ============================================================
   Ambient glows
   ============================================================ */

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}

.bg-glow--teal {
  width: 700px;
  height: 700px;
  background: var(--color-primary);
  top: -280px;
  left: -280px;
}

.bg-glow--gold {
  width: 500px;
  height: 500px;
  background: var(--color-secondary);
  bottom: -200px;
  right: -200px;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}

/* ============================================================
   Page
   ============================================================ */

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}

/* ============================================================
   Header
   ============================================================ */

.header {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fade-up 0.5s ease 0s both;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: fade-up 0.5s ease 0.08s both;
}

.badge {
  display: inline-block;
  padding: 5px 13px;
  background: rgba(46, 211, 198, 0.09);
  border: 1px solid rgba(46, 211, 198, 0.22);
  border-radius: 999px;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(38px, 9vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.8px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 20%, var(--color-secondary) 80%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 400px;
}

/* ============================================================
   Sign-up form
   ============================================================ */

.signup {
  width: 100%;
  animation: fade-up 0.5s ease 0.16s both;
}

.signup form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-input {
  width: 100%;
  padding: 15px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  color: var(--text-primary);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

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

.form-input:focus {
  border-color: rgba(46, 211, 198, 0.50);
  box-shadow: 0 0 0 3px rgba(46, 211, 198, 0.10);
}

.form-input.input--error {
  border-color: rgba(248, 113, 113, 0.60);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.10);
}

.form-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  background: var(--color-primary);
  color: #0C1B2A;
  border: none;
  border-radius: var(--radius-button);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  letter-spacing: -0.1px;
}

.form-btn:hover:not(:disabled) {
  background: var(--color-primary-active);
  box-shadow: 0 4px 20px rgba(46, 211, 198, 0.25);
}

.form-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.form-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-btn.btn--success {
  background: var(--color-success);
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(12, 27, 42, 0.3);
  border-top-color: #0C1B2A;
  border-radius: 50%;
  flex-shrink: 0;
  animation: spin 0.65s linear infinite;
}

.form-btn.btn--loading .btn-label  { opacity: 0.7; }
.form-btn.btn--loading .btn-spinner { display: block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Feedback */

.feedback {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.feedback.feedback--visible {
  opacity: 1;
  transform: translateY(0);
}

.feedback.feedback--success { color: var(--color-success); }
.feedback.feedback--error   { color: var(--color-error); }
.feedback.feedback--info    { color: var(--color-primary-soft); }

/* ============================================================
   Feature strip
   ============================================================ */

.features {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  animation: fade-up 0.5s ease 0.24s both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}

.feature-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* dot separators between items */
.feature-item + .feature-item::before {
  content: "·";
  margin-right: 24px;
  color: var(--text-tertiary);
  opacity: 0.4;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  color: var(--text-tertiary);
  font-size: 12px;
  opacity: 0.6;
  animation: fade-up 0.5s ease 0.3s both;
}

/* ============================================================
   Entrance animation
   ============================================================ */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 480px) {
  body {
    padding: 40px 20px;
    align-items: flex-start;
  }

  .page { gap: 40px; }

  .features {
    flex-direction: column;
    gap: 12px;
  }

  .feature-item + .feature-item::before {
    display: none;
  }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
