/* Triangulalo — sitio moderno */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #070b14;
  --bg-elevated: #0f1628;
  --bg-card: rgba(20, 29, 51, 0.72);
  --text: #f4f7ff;
  --text-muted: #94a3c4;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.35);
  --teal: #2dd4bf;
  --teal-glow: rgba(45, 212, 191, 0.2);
  --border: rgba(255, 255, 255, 0.09);
  --radius: 20px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, var(--accent-glow), transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 20%, var(--teal-glow), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(99, 102, 241, 0.12), transparent);
  pointer-events: none;
  z-index: -1;
}

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: #5eead4; }

.container { width: min(1140px, 92vw); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo:hover { color: var(--text); }

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 11px;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.nav { display: flex; gap: 0.35rem; align-items: center; }

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero { padding: 3.5rem 0 2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fcd34d;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}

.hero h1 span {
  background: linear-gradient(135deg, #fbbf24, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  min-width: 185px;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.store-btn.coming-soon { opacity: 0.75; cursor: default; }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn small { display: block; font-size: 0.68rem; color: var(--text-muted); }
.store-btn strong { font-size: 0.95rem; font-weight: 700; }

/* Phone mockup */
.phone-mockup {
  position: relative;
  justify-self: center;
  width: min(300px, 80vw);
}

.phone-frame {
  background: linear-gradient(160deg, #1a2238, #0d1220);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.phone-screen {
  background: var(--bg-elevated);
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9/19;
  padding: 1.25rem 1rem;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.mock-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

.mock-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 0.65rem;
}

.mock-item strong { display: block; font-size: 0.82rem; margin-bottom: 0.2rem; }

.mock-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-top: 0.4rem;
}

.mock-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}

.mock-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  margin-top: 0.35rem;
}

.mock-tag.high { background: rgba(45,212,191,0.15); color: #5eead4; }
.mock-tag.low { background: rgba(245,158,11,0.15); color: #fcd34d; }

.phone-glow {
  position: absolute;
  inset: 10% -10%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  z-index: -1;
  filter: blur(40px);
}

/* Sections */
section { padding: 4.5rem 0; }

.section-label {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

section h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 auto 2.75rem;
  font-size: 1.05rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.25);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.feature p { font-size: 0.92rem; color: var(--text-muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, rgba(245,158,11,0.35), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

.cta {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(45,212,191,0.06));
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.cta h2 { margin-bottom: 0.6rem; }
.cta p { color: var(--text-muted); margin-bottom: 1.75rem; max-width: 46ch; margin-inline: auto; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 1rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-grid p, .footer-links a { font-size: 0.88rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; }

/* Legal */
.legal-page { padding: 3rem 0 5rem; }

.legal-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(1.75rem, 4vw, 3rem);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  margin: 2rem 0 0.65rem;
  color: var(--text);
}

.legal-page p, .legal-page li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.7rem; }
.legal-page ul { padding-left: 1.2rem; margin-bottom: 1rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .store-buttons { justify-content: center; }
  .phone-mockup { order: -1; }
  .features, .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav a:not(:last-child) { display: none; }
}
