/* 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 grid */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.features {
  padding: 20px 0 60px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.card.feature {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(2, 6, 23, 0.04);
  flex: 1 1 300px;
  max-width: 360px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(15, 98, 254, 0.22);
  border-color: rgba(15, 98, 254, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: linear-gradient(135deg, rgba(237, 243, 255, 0.8), rgba(245, 247, 251, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.feature p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 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;
}