/* ============================================================
   Lunivi — Coming Soon page styles
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  background: #07050f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.18s;
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── Background ─────────────────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bg-glow-top {
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(109, 56, 233, 0.35) 0%, transparent 70%);
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(60px);
}

.bg-glow-left {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(76, 29, 149, 0.25) 0%, transparent 70%);
  bottom: -100px;
  left: -200px;
  filter: blur(80px);
}

.bg-glow-right {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(49, 46, 129, 0.25) 0%, transparent 70%);
  top: 80px;
  right: -150px;
  filter: blur(80px);
}

/* ── Header ─────────────────────────────────────────────── */
.cs-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.cs-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.cs-logo:hover {
  text-decoration: none;
  color: #fff;
}

.cs-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

.cs-version {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

/* ── Main hero ──────────────────────────────────────────── */
.cs-main {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 48px;
}

.cs-hero {
  max-width: 680px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Badge */
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.cs-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

/* Title */
.cs-title {
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
  margin-bottom: 20px;
}

/* Subtitle */
.cs-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  text-wrap: pretty;
  margin-bottom: 40px;
}

.cs-subtitle strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* ── Countdown ───────────────────────────────────────────── */
.cs-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.cs-time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  padding: 16px 12px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.cs-time-num {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.cs-time-label {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.cs-time-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  margin-top: -16px;
  flex-shrink: 0;
}

/* ── Form ────────────────────────────────────────────────── */
.cs-form {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.cs-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-input {
  width: 100%;
  height: 50px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
  backdrop-filter: blur(8px);
}

.cs-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cs-input:focus {
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  padding: 0 24px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  margin-top: 2px;
}

.cs-btn:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.55);
}

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

.cs-btn-icon {
  display: flex;
  align-items: center;
}

/* Honeypot — fora da tela em ambos os eixos, sem artefatos visuais */
.cs-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Consent checkbox — LGPD */
.cs-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
}

.cs-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: #a855f7;
  cursor: pointer;
}

.cs-consent a {
  color: rgba(168, 85, 247, 0.9);
  text-decoration: underline;
}

.cs-consent a:hover {
  color: #c084fc;
}

/* Form feedback */
.cs-form-feedback {
  min-height: 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.cs-form-feedback--success { color: #86efac; }
.cs-form-feedback--error   { color: #fca5a5; }
.cs-form-feedback--info    { color: #93c5fd; }

/* ── Feature cards ──────────────────────────────────────── */
.cs-features {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 32px 48px;
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
}

.cs-feature-card {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}

.cs-feature-card:hover {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.cs-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #c084fc;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.cs-feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.cs-feature-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* ── Footer ─────────────────────────────────────────────── */
.cs-footer {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 32px;
}

.cs-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  line-height: 1.7;
}

.cs-footer-inner strong {
  color: rgba(255, 255, 255, 0.55);
}

.cs-footer-inner a {
  color: rgba(255, 255, 255, 0.4);
}

.cs-footer-inner a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .cs-header {
    padding: 16px 20px;
  }

  .cs-main {
    padding: 24px 20px 40px;
  }

  .cs-countdown {
    gap: 6px;
  }

  .cs-time-block {
    min-width: 64px;
    padding: 12px 8px 10px;
  }

  .cs-features {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
  }

  .cs-footer {
    padding: 20px;
  }
}

@media (max-width: 400px) {
  .cs-time-block {
    min-width: 56px;
    padding: 10px 6px 8px;
  }

  .cs-time-sep {
    display: none;
  }
}
