:root {
  --bg: #020617;
  --bg-elevated: #020617;
  --bg-card: #020617;
  --border-subtle: rgba(148, 163, 184, 0.4);
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 50%, #020617 100%);
  color: var(--text-main);
}

/* Layout principal */
.page {
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-image {
  width: 36px;
  height: 36px;
  border-radius: 0.9rem;
  border: 1px solid var(--border-subtle);
  padding: 0.25rem;
  background: rgba(15, 23, 42, 0.9);
  object-fit: contain;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-main);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.15s ease, transform 0.15s ease;
}

.nav a:hover {
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
}

/* Main / hero */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
}

.hero-text p {
  margin: 0;
  color: var(--text-muted);
  max-width: 34rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, color 0.12s ease;
}

.btn.primary {
  background: var(--accent);
  color: #052e16;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.45);
}

.btn.ghost {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* Hero card */
.hero-card {
  border-radius: 1.5rem;
  padding: 1.7rem 1.5rem;
  background: radial-gradient(circle at top left, #0f172a 0, #020617 55%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.45);
}

.hero-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
}

.hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-card li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.hero-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Sections */
.section {
  border-radius: 1.6rem;
  padding: 1.7rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4);
}

.section h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.section p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Features grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 1.2rem;
}

.feature {
  padding: 1rem 1rem;
  border-radius: 1.2rem;
  background: radial-gradient(circle at top, #020617 0, #020617 60%);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
}

/* About */
.about {
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 860px) {
  .page {
    padding-inline: 1.1rem;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 0.9rem;
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
