:root {
  --bg: #0b0b0d;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --accent: #8b5cf6;
  --font-main: 'Space Grotesk', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
}

nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 600px;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta:hover {
  background: #a78bfa;
  transform: translateY(-2px);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--muted);
}

/* En móviles, apila y centra */
@media (max-width: 600px) {
  footer {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}


footer a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--text);
}

/* --- Responsive Design --- */

/* Tablets y abajo */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  nav a {
    margin-left: 0;
    margin-right: 1.2rem;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

  .hero p {
    font-size: 1rem;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

/* Teléfonos pequeños */
@media (max-width: 600px) {
  header {
    padding: 1.5rem 1rem;
  }

  .logo {
    font-size: 1rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  footer {
    padding: 1.5rem 1rem;
    text-align: center;
    align-items: center;
  }

  footer a {
    font-size: 0.85rem;
  }
}

