/* styles.css — basado en tus design tokens (HSL converted) */
:root{
  --bg: hsl(0 0% 100%);               /* background token base */
  --foreground: hsl(215 27% 17%);
  --card: hsl(0 0% 100%);
  --primary-h: 215 84% 15%;
  --primary: hsl(var(--primary-h));
  --primary-foreground: hsl(0 0% 98%);
  --accent-h: 142 76% 36%;
  --accent: hsl(var(--accent-h));
  --muted: hsl(210 40% 96%);
  --muted-foreground: hsl(215 16% 47%);
  --radius: 12px;
  --shadow: 0 12px 40px rgba(2,6,23,0.10);
  --card-shadow: 0 8px 32px -12px rgba(15,98,254,0.18);
  --text: hsl(215 27% 17%);
  --success: hsl(142 76% 36%);
}

/* Reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, rgba(237,243,255,1), rgba(245,247,251,1));
  color: var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.4;
}

/* Layout helpers */
.container{ width: min(1100px, 92%); margin: 0 auto; }

/* NAV */
.nav{ display:flex; align-items:center; justify-content:space-between; padding:18px 0; }
.brand{ display:flex; align-items:center; gap:12px; }
.logo{ width:48px; height:48px; object-fit:contain; }
.brand-title{ font-weight:800; font-size:1.05rem; color:var(--primary); letter-spacing: -0.02em; }

.nav-actions{ display:flex; gap:10px; align-items:center; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:8px 12px; border-radius:10px; border:1px solid transparent; cursor:pointer; font-weight:700; }
.btn-lg{ padding:12px 18px; font-size:1rem; }
.btn-primary{ background: linear-gradient(90deg, var(--primary), hsl(215 84% 25%)); color: var(--primary-foreground); box-shadow: var(--card-shadow); }
.btn-outline{ background: transparent; color: var(--text); border-color: rgba(2,6,23,0.06); }
.btn-ghost{ background: transparent; color: var(--muted-foreground); }

/* HERO */
.hero-content{ text-align:center; padding: 28px 0 20px; }
.hero-visual{ display:flex; justify-content:center; margin-bottom:12px; }
.hero-img{ width:112px; height:112px; object-fit:contain; border-radius:12px; background:linear-gradient(135deg, rgba(15,98,254,0.06), rgba(11,83,255,0.03)); padding:8px; box-shadow: 0 10px 30px rgba(2,6,23,0.06); }
.hero-title{ font-size:2.25rem; font-weight:800; margin-bottom:10px; }
.brand-gradient{ background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip:text; color:transparent; display:inline-block; }
.hero-sub{ color: rgba(11,18,32,0.6); font-size:1.05rem; margin-bottom:16px; max-width:720px; margin-left:auto; margin-right:auto; }

/* CTA */
.hero-cta{ display:flex; gap:12px; justify-content:center; margin-top:8px; flex-wrap:wrap; }

/* Features grid */
.features{ display:grid; grid-template-columns: repeat(1,1fr); gap:14px; padding: 18px 0 36px; }
@media(min-width:860px){ .features{ grid-template-columns: repeat(3,1fr); } }

.card.feature{ background:var(--card); border-radius:12px; padding:18px; text-align:center; box-shadow: var(--card-shadow); border:1px solid rgba(2,6,23,0.04); }
.feature-icon{ width:56px; height:56px; margin:0 auto 10px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; }
.feature h3{ margin-bottom:8px; font-size:1.05rem; font-weight:700; }
.feature p{ color: rgba(11,18,32,0.6); font-size:0.95rem; }

/* Footer */
.footer{ padding:18px 0 36px; text-align:center; color: rgba(11,18,32,0.55); }

/* small helpers */
.hidden{ display:none !important; }
.center{ text-align:center; }

/* focus outline */
:focus{ outline: 3px solid rgba(15,98,254,0.12); outline-offset:2px; border-radius:8px; }
