Mi Nueva Landing Page
/* Reset básico y tipografía */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, ‘Segoe UI’, Roboto, sans-serif;
line-height: 1.6;
color: #1e293b;
background-color: #f8fafc;
}
/* Contenedores */
header {
background-color: #ffffff;
border-bottom: 1px solid #e2e8f0;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-weight: 700;
font-size: 1.25rem;
color: #2563eb;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 4rem 1.5rem;
text-align: center;
}
/* Hero Section */
h1 {
font-size: 2.5rem;
font-weight: 800;
color: #0f172a;
margin-bottom: 1rem;
}
p.subtitle {
font-size: 1.125rem;
color: #64748b;
margin-bottom: 2rem;
}
/* Formulario / CTA */
.cta-form {
display: flex;
gap: 0.5rem;
justify-content: center;
max-width: 450px;
margin: 0 auto 3rem auto;
}
input[type=»email»] {
padding: 0.75rem 1rem;
border: 1px solid #cbd5e1;
border-radius: 6px;
font-size: 1rem;
width: 100%;
outline: none;
}
input[type=»email»]:focus {
border-color: #2563eb;
}
button {
background-color: #2563eb;
color: white;
border: none;
padding: 0.75rem 1.5rem;
border-radius: 6px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.2s ease;
white-space: nowrap;
}
button:hover {
background-color: #1d4ed8;
}
/* Tarjetas de características */
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
margin-top: 3rem;
text-align: left;
}
.card {
background: #ffffff;
padding: 1.5rem;
border-radius: 8px;
border: 1px solid #e2e8f0;
}
.card h3 {
margin-bottom: 0.5rem;
color: #0f172a;
}
.card p {
color: #64748b;
font-size: 0.95rem;
}
footer {
text-align: center;
padding: 2rem;
color: #94a3b8;
font-size: 0.875rem;
}
/* Responsive */
@media (max-width: 600px) {
.cta-form {
flex-direction: column;
}
h1 {
font-size: 2rem;
}
}
Lanza tu proyecto al siguiente nivel
Una descripción clara y concisa del valor que ofrece tu producto o servicio. Captura la atención de tus visitantes desde el primer segundo.
🚀 Rápido e intuitivo
Diseñado para ofrecer una experiencia fluida y sin complicaciones en cualquier dispositivo.
🔒 100% Seguro
Tus datos y los de tus clientes están protegidos siguiendo los mejores estándares actuales.
⚡ Optimizado
Carga ultrarrápida sin scripts pesados para maximizar tus conversiones.
document.getElementById(‘leadForm’).addEventListener(‘submit’, function(e) {
e.preventDefault();
const email = document.getElementById(‘emailInput’).value;
// Ejemplo de acción al enviar
alert(‘¡Gracias por registrarte! Te hemos enviado un correo a: ‘ + email);
// Limpiar input
document.getElementById(‘emailInput’).value = »;
});