/* ============================================================
   RXSpot landing — estilos específicos (sobre o RXCore)
   ============================================================ */

/* ── Nav ── */
.rx-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wire);
}

html.light .rx-nav { background: rgba(250,249,247,0.9); }

.rx-nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--amber); }

.rx-nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.rx-nav-links a {
  font-size: 0.875rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
}
.rx-nav-links a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at center, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--wire) 1px, transparent 1px),
    linear-gradient(90deg, var(--wire) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ghost);
  border: 1px solid var(--wire-2);
  border-radius: 999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--amber-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 700px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

h1 em { font-style: normal; color: var(--amber); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: 3rem;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}

#hero-cta-wrap { animation: fadeUp 0.6s 0.3s ease both; }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  border: none;
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--amber-2); transform: translateY(-1px); }

/* ── Produtos ── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.product-card {
  background: var(--ink-2);
  border: 1px solid var(--wire-2);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}

.product-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}

.product-icon { font-size: 2rem; margin-bottom: 1rem; }

.product-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
  margin-bottom: 1rem;
}

.product-badge--beta {
  background: rgba(245,158,11,0.15);
  color: var(--amber);
  border-color: rgba(245,158,11,0.3);
}

.product-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.product-tagline {
  font-size: 0.8125rem;
  color: var(--amber-2);
  margin-bottom: 1rem;
}

.product-body {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber);
}

/* ── Sections ── */
.section-inner { max-width: 900px; margin: 0 auto; }

.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-2);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 560px;
}

/* ── How ── */
.how {
  background: var(--ink-2);
  border-top: 1px solid var(--wire);
  border-bottom: 1px solid var(--wire);
  padding: 6rem 1.5rem;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 1.75rem;
  left: calc(16.66% + 1.5rem);
  right: calc(16.66% + 1.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--wire-2) 50%, var(--amber) 100%);
  opacity: 0.4;
}

.how-step { text-align: center; }

.how-num {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: var(--ink-3);
  border: 1px solid var(--wire-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'DM Mono', monospace;
  font-size: 1.125rem;
  color: var(--amber);
  position: relative;
  z-index: 1;
}

.how-step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.how-step-body { font-size: 0.875rem; color: var(--text-3); line-height: 1.6; }

/* ── Waitlist ── */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.waitlist-form input {
  background: var(--ghost-2);
  border: 1px solid var(--wire-2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.waitlist-form input::placeholder { color: var(--text-3); }
.waitlist-form input:focus { border-color: var(--amber); }

.waitlist-form button {
  background: var(--amber);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.waitlist-form button:hover { background: var(--amber-2); transform: translateY(-1px); }
.waitlist-note { margin-top: 1rem; font-size: 0.8125rem; color: var(--text-3); line-height: 1.5; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--wire);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}
.footer-logo span { color: var(--amber); }

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.875rem; color: var(--text-3); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: 0.75rem; color: var(--text-3); }

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .rx-nav-links { gap: 1.25rem; }
}
