/* ========================================================================
   coachNi — Coming Soon Landing
   ======================================================================== */

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

:root {
  --bg: #0a0a1a;
  --bg-2: #14142b;
  --text: #f5f5fa;
  --text-dim: #a3a3b5;
  --accent: #7c3aed;
  --accent-2: #ec4899;
  --accent-3: #06b6d4;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Display",
               system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ----- Animated background ----- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}
.blob-1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -10%; left: -10%;
}
.blob-2 {
  width: 400px; height: 400px;
  background: var(--accent-2);
  bottom: -10%; right: -10%;
  animation-delay: -7s;
}
.blob-3 {
  width: 350px; height: 350px;
  background: var(--accent-3);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
  opacity: 0.3;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}
.blob-3 {
  animation-name: float-center;
}
@keyframes float-center {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-45%, -55%) scale(1.1); }
}

/* ----- Container ----- */
.container {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 80px);
  min-height: 100vh;
}

/* ----- Brand header ----- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.6s ease-out;
}
.logo-circle {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 24px;
  color: white;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}
.logo-letter {
  line-height: 1;
  font-family: "SF Pro Display", -apple-system, sans-serif;
  font-weight: 800;
}
.brand-name {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}
.brand-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----- Hero ----- */
.hero {
  text-align: left;
  animation: fadeUp 0.8s ease-out 0.1s both;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.9); }
}
.headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin: 0 0 20px 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.headline-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 50%, var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subhead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-dim);
  margin: 0 0 36px 0;
  max-width: 580px;
  line-height: 1.6;
}

/* ----- Signup form ----- */
.signup {
  display: flex;
  gap: 8px;
  max-width: 480px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(10px);
}
.signup input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 18px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.signup input::placeholder { color: var(--text-dim); }
.signup button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 100px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.signup button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}
.signup button:active { transform: translateY(0); }
.signup-note {
  margin: 12px 4px 0;
  font-size: 13px;
  color: var(--text-dim);
}

/* ----- Features ----- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  animation: fadeUp 1s ease-out 0.3s both;
}
.feature {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 600;
}
.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ----- Footer ----- */
.footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  animation: fadeUp 1.2s ease-out 0.5s both;
}
.socials {
  display: flex;
  gap: 8px;
}
.social {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.social:hover {
  color: var(--text);
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}
.copy {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}

/* ----- Animations ----- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----- Mobile ----- */
@media (max-width: 540px) {
  .signup {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 8px;
  }
  .signup button {
    width: 100%;
    justify-content: center;
  }
  .footer {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}
