@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --bg:        #0d0d0d;
  --bg-card:   #161616;
  --bg-subtle: #1a1a1a;
  --accent:    #a3e635;
  --accent-dim:#6b9e1f;
  --text:      #f0f0f0;
  --muted:     #888;
  --border:    #2a2a2a;
  --radius:    12px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Noise overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
    text-decoration: none;
  letter-spacing: 3px;
  color: var(--text);
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #000;
  padding: 0.5rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.nav-cta:hover { background: #b5f547; transform: translateY(-1px); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(163,230,53,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(163,230,53,0.1);
  border: 1px solid rgba(163,230,53,0.3);
  color: var(--accent);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.4s;
}

.hero h1 .accent { color: var(--accent); }

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.6s;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.8s;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover { background: #b5f547; transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  opacity: 0;
  animation: fadeLeft 0.8s ease forwards 0.6s;
}

/* ── Stats ── */
.stats {
  display: flex;
  gap: 2rem;
  padding: 3rem 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Features ── */
.features {
  padding: 6rem 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px;
  line-height: 1;
}

.section-header p {
  color: var(--muted);
  max-width: 500px;
  margin: 1rem auto 0;
  font-weight: 300;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(163,230,53,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover { border-color: rgba(163,230,53,0.4); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }

.feature-card--highlight {
  border-color: rgba(163,230,53,0.3);
  background: linear-gradient(135deg, #161616, #1a2010);
}

.feature-card--highlight::before {
  opacity: 1;
  background: radial-gradient(circle at top left, rgba(163,230,53,0.1), transparent 60%);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA final ── */
.cta-section {
  padding: 6rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(163,230,53,0.08), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 5% 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  max-width: 240px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.footer-logo span { color: var(--accent); }

footer p {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-commerza {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.footer-commerza span {
  color: var(--muted);
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-commerza:hover span { color: var(--text); }

.commerza-logo {
  height: 80px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-commerza:hover .commerza-logo { opacity: 1; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translate(40px, -50%); }
  to   { opacity: 1; transform: translate(0, -50%); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-image { display: none; }
  .nav-links  { display: none; }
  .hero h1    { font-size: 3.5rem; }
  .stats      { gap: 0; }
}

/* ── SVG hero font ── */
.hero-image svg {
  font-family: 'DM Sans', sans-serif;
}

/* ── CTA button large ── */
.btn-primary--lg {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* ── CTA accent span ── */
.cta-section .accent {
  color: var(--accent);
}
/* ── auth.css — login y registro ── */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  position: relative;
}

.auth-page::after {
  content: '';
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(163,230,53,0.07) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.auth-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 3px;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}

.auth-logo span { color: var(--accent); }
.auth-logo:hover { opacity: 0.8; }

.auth-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  animation: fadeUp 0.5s ease forwards;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.auth-header p {
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.3px;
}

.form-group input {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder {
  color: #555;
}

.form-group input:focus {
  border-color: rgba(163,230,53,0.5);
  box-shadow: 0 0 0 3px rgba(163,230,53,0.08);
}

.form-link {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  align-self: flex-end;
  margin-top: 0.2rem;
  transition: color 0.2s;
}

.form-link:hover { color: var(--accent); }

.btn-auth {
  width: 100%;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.4rem;
}

.btn-auth:hover {
  background: #b5f547;
  transform: translateY(-1px);
}

.btn-auth:active {
  transform: translateY(0);
}

.btn-auth.loading {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-switch {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.auth-switch a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-footer-note {
  font-size: 0.78rem;
  color: #555;
  text-align: center;
}

.auth-footer-note a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-footer-note a:hover { color: var(--muted); }

/* ── Mensaje de error/éxito ── */
.auth-message {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  text-align: center;
  display: none;
}

.auth-message.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
  display: block;
}

.auth-message.success {
  background: rgba(163,230,53,0.1);
  border: 1px solid rgba(163,230,53,0.3);
  color: var(--accent);
  display: block;
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 1.5rem; }
}

/* ── 404.css ── */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.error-page::after {
  content: '';
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239,68,68,0.05) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s ease forwards;
}

.error-visual {
  width: 260px;
  margin: 1rem 0;
  opacity: 0.9;
}

.error-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 15vw, 9rem);
  line-height: 1;
  letter-spacing: 4px;
  color: var(--text);
  opacity: 0.08;
  margin-top: -1.5rem;
  user-select: none;
}

.error-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 2px;
  color: var(--text);
  margin-top: -0.5rem;
}

.error-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 360px;
}

.error-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Logo imagen ── */
.nav-logo-img,
.auth-logo-img {
  display: inline-block;
  text-decoration: none;
}

.nav-logo-img img {
  height: 45px;
  width: auto;
}

.auth-logo-img img {
  height: 64px;
  width: auto;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

/* ── Nav badge ── */
.nav-badge {
  background: rgba(163,230,53,0.1);
  border: 1px solid rgba(163,230,53,0.3);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Waitlist hero ── */
.waitlist-hero {
  min-height: 100vh;
  padding: 7rem 5% 4rem;
  align-items: flex-start;
}

.waitlist-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Waitlist left ── */
.waitlist-left h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.4s;
}

.waitlist-left p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 2rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.6s;
}

.coming-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.8s;
}

.coming-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.coming-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ── Waitlist card ── */
.waitlist-right {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.5s;
}

.waitlist-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

.waitlist-card-header {
  margin-bottom: 2rem;
}

.waitlist-card-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.waitlist-card-header p {
  color: var(--muted);
  font-size: 0.9rem;
}

.waitlist-card-header strong { color: var(--accent); }

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.btn-waitlist {
  width: 100%;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.btn-waitlist:hover { background: #b5f547; transform: translateY(-1px); }
.btn-waitlist:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.waitlist-msg {
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.2rem;
}

.waitlist-msg.error { color: #ef4444; }
.waitlist-msg.success { color: var(--accent); }

.waitlist-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1rem 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(163,230,53,0.15);
  color: var(--accent);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(163,230,53,0.3);
}

.waitlist-success h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.waitlist-success p { color: var(--muted); font-size: 0.9rem; }

.waitlist-privacy {
  color: #555;
  font-size: 0.75rem;
  text-align: center;
  margin-top: 1rem;
}

/* ── Responsive waitlist ── */
@media (max-width: 900px) {
  .waitlist-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .waitlist-left h1 { font-size: 3.5rem; }
}

.iti__dropdown-content,
.iti--container,
.iti__country-list {
  background: #0d0d0d !important;
  border: 1px solid #2a2a2a !important;
}

.iti__country,
.iti__country-name,
.iti__dial-code {
  color: #f0f0f0 !important;
}

.iti__country:hover,
.iti__country--highlight {
  background: #1a1a1a !important;
}

.iti__search-input {
  background: #1a1a1a !important;
  color: #f0f0f0 !important;
  border: 1px solid #2a2a2a !important;
}

.iti__selected-dial-code {
  color: #f0f0f0 !important;
}

.iti__selected-flag,
.iti__flag-container {
  background: transparent !important;
}