:root {
  --bg-color: #f0f4f8;
  --text-primary: #1a1a1c;
  --text-secondary: #5e5e63;
  --accent: #2979ff;
  --accent-2: #2e7d5b;
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  --font-reading: "Georgia", serif;
}
* { box-sizing: border-box; }
body {
  font-family: var(--font-main);
  margin: 0; padding: 0;
  color: var(--text-primary);
  overflow-x: hidden;
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
.bg-orb {
  position: fixed; border-radius: 50%; filter: blur(80px); z-index: -1;
  animation: float 20s infinite ease-in-out alternate;
}
.orb-1 { width: 380px; height: 380px; background: rgba(41,121,255,0.3); top: -100px; left: -100px; }
.orb-2 { width: 460px; height: 460px; background: rgba(142,197,252,0.4); bottom: -140px; right: -100px; animation-delay: -5s; }
@keyframes float { 0% {transform: translate(0,0) scale(1);} 100% {transform: translate(90px,120px) scale(1.15);} }

header { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 1000; width: 92%; max-width: 780px; }
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); border-radius: 40px; padding: 8px 20px;
  box-shadow: var(--glass-shadow); transition: transform .3s ease;
}
.nav-container:hover { transform: translateY(-2px); }
.logo-section { font-weight: 800; font-size: 17px; letter-spacing: -.5px; display:flex; align-items:center; gap:9px; text-decoration:none; color: var(--text-primary); }
.logo-section img { width: 34px; height: 34px; border-radius: 9px; display:block; }
nav ul { list-style:none; display:flex; gap:6px; margin:0; padding:0; }
nav ul li a {
  text-decoration:none; color: var(--text-secondary); font-weight:600; font-size:13.5px;
  padding: 8px 14px; border-radius: 20px; transition: all .3s ease; white-space:nowrap;
}
nav ul li a:hover, nav ul li a.active-link { background: var(--text-primary); color:#fff; box-shadow:0 4px 15px rgba(0,0,0,.12); }

main.page-view { padding-top: 110px; padding-bottom: 40px; animation: slideUpFade .55s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes slideUpFade { from {opacity:0; transform: translateY(32px);} to {opacity:1; transform:translateY(0);} }

.hero { text-align:center; max-width: 820px; margin: 0 auto 44px; padding: 0 20px; }
.eyebrow {
  display:inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); background: rgba(41,121,255,.1);
  padding: 6px 14px; border-radius: 20px; margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 5.2vw, 58px); font-weight: 800; letter-spacing:-1.5px; line-height:1.08; margin: 0 0 16px;
  background: linear-gradient(90deg,#1a1a1c,#44454c); -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.hero p { font-size: 18px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height:1.55; }

.content-wrapper {
  max-width: 760px; margin: 0 auto 40px; padding: 34px; background: var(--glass-bg);
  backdrop-filter: blur(18px); border: 1px solid var(--glass-border); border-radius: 22px; box-shadow: var(--glass-shadow);
}
.article-title { font-size: 26px; font-weight:700; letter-spacing:-.5px; margin: 0 0 12px; }
.article-text { font-family: var(--font-reading); font-size: 17px; line-height:1.7; margin: 0 0 18px; color:#2d2d30; }

.idea-clave {
  background: rgba(46,125,91,0.09); border-left: 3px solid var(--accent-2); border-radius: 10px;
  padding: 14px 18px; font-size: 15px; color:#2d2d30; margin: 0 0 20px;
}
.idea-clave b { color: var(--accent-2); }

.grid-3d {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 22px;
  max-width: 800px; margin: 0 auto 20px; padding: 0 20px;
}
.tilt-card {
  background: rgba(255,255,255,0.82); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.5);
  border-radius: 18px; padding: 22px; box-shadow: 0 10px 26px rgba(0,0,0,.06); transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration:none; display:block; color: inherit;
}
.tilt-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,.12); transform: translateY(-6px); }
.tilt-card img { width:100%; height: 130px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.tilt-card h3 { font-size: 16.5px; margin: 0 0 6px; letter-spacing:-.2px; }
.tilt-card p { font-size: 13.5px; color: var(--text-secondary); line-height:1.5; margin:0; }

.hero-image { max-width: 800px; margin: 0 auto 40px; padding: 0 20px; }
.hero-image img { width:100%; max-height: 300px; object-fit: cover; border-radius: 20px; box-shadow: var(--glass-shadow); }

.app-rrii {
  background: rgba(41,121,255,0.07); border-radius: 14px; padding: 16px 18px; font-size: 14.5px;
  color: #2d2d30; margin-top: 4px;
}
.app-rrii b { color: var(--accent); }

footer {
  background: var(--glass-bg); backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,.3);
  padding: 34px 20px; text-align:center; margin-top: 60px; font-size: 13.5px; color: var(--text-secondary);
}
footer .foot-title { font-weight:700; color: var(--text-primary); margin-bottom: 6px; font-size: 15px; }
footer .foot-links { margin-top: 10px; display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
footer .foot-links a { color: var(--accent); text-decoration:none; font-weight:600; }

.benefits-card {
  background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px; padding: 36px 40px; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06); max-width: 800px;
  width: 100%; margin: 0 auto 40px; animation: slideUpFade .6s cubic-bezier(.16,1,.3,1) forwards;
  color: #1a1a1c;
}
.benefits-card h2 { font-size: 26px; font-weight: 700; margin: 0 0 24px; letter-spacing: -0.5px; display: flex; align-items: center; gap: 12px; }
.benefits-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.benefits-list li { font-size: 16px; color: #44454c; line-height: 1.6; display: flex; align-items: flex-start; gap: 14px; }
.icon-check { background: rgba(46, 125, 91, 0.15); color: #2e7d5b; border-radius: 50%; width: 26px; height: 26px; min-width: 26px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; margin-top: 2px; }

.download-btn {
  display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #2979ff, #1c62d8);
  color: #ffffff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 16px 32px;
  border-radius: 50px; box-shadow: 0 8px 24px rgba(41, 121, 255, 0.3); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 10px auto 40px; justify-content: center;
}
.download-btn:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(41, 121, 255, 0.4); color:#fff; }
.download-btn span { font-size: 20px; }
.btn-wrapper { text-align:center; }
@media (max-width: 640px) {
  nav ul { gap: 2px; }
  nav ul li a { padding: 7px 10px; font-size: 12.5px; }
  .content-wrapper { padding: 24px; }
}
