/* Shared landing styles — Ylgram apps. Mantiene la identidad Atchandra
   (paleta teal + cream, serif para títulos) y se adapta por app via
   --accent + --accent-soft definidas en cada index.html. */
:root {
  --bg: #0a1718;
  --bg-2: #102424;
  --bg-3: #163030;
  --cream: #f0ebe0;
  --cream-soft: #8aafa8;
  --muted: #5a7a78;
  --surface: #14282a;
  --accent: #1DACA5;
  --accent-soft: rgba(29, 172, 165, 0.2);
}

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

html, body { background: var(--bg); color: var(--cream); font-family: 'Inter', system-ui, -apple-system, sans-serif; line-height: 1.5; }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--accent-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.brand-name { font-family: 'Playfair Display', serif; font-size: 20px; letter-spacing: 0.02em; }
.brand-tag { font-size: 10px; letter-spacing: 0.3em; color: var(--cream-soft); text-transform: uppercase; }
.nav-links { display: flex; gap: 24px; font-size: 14px; }
.nav-links a { color: var(--cream-soft); transition: color .15s; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 100px 20px 80px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--accent-soft) 0%, transparent 50%);
  animation: breath 8s ease-in-out infinite alternate;
}
@keyframes breath { from { transform: scale(1); } to { transform: scale(1.15); } }
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--cream);
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.1rem;
  color: var(--cream-soft);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-icon {
  width: 96px; height: 96px;
  border-radius: 28px;
  background: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  font-size: 48px;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 40px var(--accent-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #062020; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px var(--accent-soft); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--accent-soft); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
.section { padding: 70px 20px; }
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--cream);
  text-align: center;
}
.section p.lead { color: var(--cream-soft); text-align: center; max-width: 680px; margin: 0 auto 40px; }

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.feature {
  background: var(--surface);
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--accent-soft);
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 24px;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--cream); }
.feature p { color: var(--cream-soft); font-size: 14px; }

/* CTA band */
.cta-band {
  background: var(--bg-2);
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid var(--accent-soft);
  border-bottom: 1px solid var(--accent-soft);
}
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 10px; }
.cta-band p { color: var(--cream-soft); margin-bottom: 26px; }

/* Footer */
.footer {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--accent-soft);
}
.footer a { color: var(--cream-soft); margin: 0 12px; }
.footer a:hover { color: var(--accent); }

/* Utility */
.stack { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 60px 16px 50px; }
  .section { padding: 50px 16px; }
}
