﻿/* ──────────────────────────────────────────────────────────────────
   LIMINAL - Estilo Místico
   ────────────────────────────────────────────────────────────────── */

:root {
  --bg: #07070F;
  --bg-soft: #0E0E1A;
  --surface: rgba(215, 183, 131, 0.04);
  --surface-border: rgba(215, 183, 131, 0.12);
  --gold: #D7B783;
  --gold-bright: #E9CC9A;
  --gold-dim: rgba(215, 183, 131, 0.5);
  --cream: #F5EAD3;
  --muted: rgba(245, 234, 211, 0.55);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fondo de estrellas sutiles */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(215, 183, 131, 0.4), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(245, 234, 211, 0.25), transparent),
    radial-gradient(2px 2px at 80% 20%, rgba(215, 183, 131, 0.5), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(245, 234, 211, 0.3), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(215, 183, 131, 0.35), transparent),
    radial-gradient(2px 2px at 40% 15%, rgba(215, 183, 131, 0.4), transparent),
    radial-gradient(1px 1px at 70% 85%, rgba(245, 234, 211, 0.2), transparent);
  background-size: 100% 100%;
  opacity: 0.6;
  animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.85; }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 720px;
  text-align: center;
}

/* ── Header ────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
}

.logo-symbol {
  color: var(--gold);
  font-size: 18px;
}

.logo-text {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--gold);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
}

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(215, 183, 131, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--cream);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 21px);
  font-style: italic;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── Botones ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(215, 183, 131, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--surface-border);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-large {
  padding: 18px 36px;
  font-size: 15px;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ── Sections ──────────────────────────────────────────────── */

.section {
  padding: 100px 0;
  position: relative;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 400;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-lead {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* ── Oracle Demo ──────────────────────────────────────────── */

.section-oracle {
  background: var(--bg-soft);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.oracle-demo {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.oracle-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: left;
  transition: all 0.4s ease;
}

.oracle-card:hover {
  border-color: var(--gold-dim);
  background: rgba(215, 183, 131, 0.06);
  transform: translateY(-2px);
}

.oracle-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.oracle-text {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(245, 234, 211, 0.8);
}

.oracle-note {
  text-align: center;
  margin-top: 40px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}

/* ── Features ──────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s ease;
}

.feature:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  background: rgba(215, 183, 131, 0.06);
}

.feature-icon {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px;
}

.feature h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--cream);
}

.feature p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Meanings (Diccionario) ────────────────────────────────── */

.section-meanings {
  background: var(--bg-soft);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.meanings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 50px;
}

.meaning-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 24px 20px;
  text-decoration: none;
  color: var(--cream);
  transition: all 0.3s ease;
  display: block;
}

.meaning-card:hover {
  border-color: var(--gold);
  background: rgba(215, 183, 131, 0.07);
  transform: translateY(-2px);
}

.meaning-icon {
  display: inline-block;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 10px;
}

.meaning-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.meaning-card p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.meanings-note {
  text-align: center;
  margin-top: 50px;
  font-style: italic;
  font-family: var(--serif);
  color: var(--muted);
  font-size: 16px;
}

/* ── Download CTA ──────────────────────────────────────────── */

.section-download {
  text-align: center;
  padding: 120px 0;
}

.section-download .section-title {
  margin-bottom: 24px;
}

.download-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.platform-card {
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.platform-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.platform-icon {
  font-size: 32px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.platform-card h3 {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 22px;
  margin-bottom: 8px;
}

.platform-card p {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  margin-bottom: 20px;
}

.platform-card .btn {
  margin: 0;
  width: 100%;
  justify-content: center;
}

.platform-ios {
  border-color: rgba(123, 94, 167, 0.25);
  background: rgba(123, 94, 167, 0.04);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--gold);
  background: rgba(215, 183, 131, 0.05);
}

.waitlist-note {
  color: var(--muted);
  font-size: 11px !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .download-platforms {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── FAQ ───────────────────────────────────────────────────── */

.faq-list {
  margin-top: 50px;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--surface-border);
  padding: 24px 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--gold);
}

.faq-item p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.7;
}

/* ── Footer ────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--surface-border);
  padding: 60px 0 30px;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .logo-symbol,
.footer-brand .logo-text {
  display: inline;
}

.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--surface-border);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
  }
  .footer-links {
    align-items: flex-start;
  }
}

