/* Shared styles for secondary pages (confirmado, waitlist, terminos, privacidad) */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  font-family: 'Inter', sans-serif;
  color: #0B1B18;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: #0F766E; text-decoration: none; }
a:hover { color: #1FB5A8; }

/* Page nav (simpler than landing's glass nav) */
.page-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(11,27,24,0.06);
}
.page-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.page-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0B1B18;
}
.page-brand img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.page-brand span {
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #0B1B18;
}
.page-nav-back {
  font-size: 14px;
  font-weight: 500;
  color: rgba(11,27,24,0.7);
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11,27,24,0.12);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.page-nav-back:hover { border-color: #1FB5A8; color: #0F766E; }

/* Main content wrappers */
.page-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.page-main.narrow { max-width: 560px; }
.page-main.centered { text-align: center; }

/* Legal typography */
.legal h1 {
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.legal h2 {
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
  color: #0B1B18;
}
.legal h3 {
  font-family: 'Fustat', sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin: 28px 0 8px;
  color: #0B1B18;
}
.legal p, .legal li {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(11,27,24,0.78);
}
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: #0B1B18; }
.legal blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: rgba(31,181,168,0.08);
  border-left: 3px solid #1FB5A8;
  border-radius: 8px;
  font-size: 14.5px;
  color: rgba(11,27,24,0.7);
}
.legal blockquote p { margin: 0; font-size: 14.5px; }
.legal hr {
  border: none;
  border-top: 1px solid rgba(11,27,24,0.08);
  margin: 32px 0;
}
.legal-meta {
  font-size: 13.5px;
  color: rgba(11,27,24,0.55);
  margin-bottom: 0;
}

/* Success (confirmado) */
.success-hero {
  padding-top: 80px;
  padding-bottom: 40px;
  text-align: center;
}
.success-check {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: linear-gradient(160deg, #0F766E, #1FB5A8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(15,118,110,0.28);
  animation: popIn 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-title {
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #0B1B18;
}
.success-sub {
  font-size: 17px;
  color: rgba(11,27,24,0.7);
  max-width: 460px;
  margin: 0 auto 32px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  background: linear-gradient(160deg, #0F766E, #1FB5A8);
  color: #FFFFFF !important;
  font-size: 15.5px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(15,118,110,0.28);
  transition: transform 0.2s ease;
}
.btn-primary:hover { transform: scale(1.03); color: #FFFFFF !important; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 14px;
  border: 1px solid rgba(11,27,24,0.15);
  color: #0B1B18 !important;
  font-size: 15.5px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-outline:hover { border-color: #1FB5A8; color: #0F766E !important; }

/* Waitlist form */
.form-card {
  background: #FFFFFF;
  border: 1px solid rgba(11,27,24,0.08);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 24px 48px rgba(15,23,42,0.06);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: #0B1B18;
}
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11,27,24,0.15);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  color: #0B1B18;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #1FB5A8;
  box-shadow: 0 0 0 3px rgba(31,181,168,0.15);
}
.field-hint { font-size: 12.5px; color: rgba(11,27,24,0.5); }

.form-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(160deg, #0F766E, #1FB5A8);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15,118,110,0.28);
  transition: transform 0.2s ease;
}
.form-submit:hover { transform: scale(1.02); }

/* Footer */
.page-footer {
  border-top: 1px solid rgba(11,27,24,0.06);
  padding: 24px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(11,27,24,0.5);
}
.page-footer a { color: rgba(11,27,24,0.6); margin: 0 8px; }
.page-footer a:hover { color: #0F766E; }
