/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

/* HERO */
.hero {
    height: 100vh;
    background: url("https://picsum.photos/1600/900?blur=3") no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero .overlay {
    background: rgba(0, 0, 0, 0.55);
    padding: 2rem;
    border-radius: 12px;
    color: white;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* SECCIONES */
section {
    padding: 3rem 1.5rem;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

section h2 {
    margin-bottom: 1rem;
    color: #4f46e5;
}

section p {
    font-size: 1.1rem;
    color: #555;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 500;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* BOTÓN */
.btn-gradient {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5, #3b82f6, #06b6d4);
    background-size: 200% auto;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.4s;
}

.btn-gradient:hover {
    background-position: right center;
    transform: scale(1.05);
}

/* FORMULARIO */
form {
    margin-top: 1.5rem;
}

form input {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 60%;
    max-width: 300px;
    margin-right: 0.5rem;
    outline: none;
}

form input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.3);
}

footer {
    background: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* Animación scroll */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.cta {
    padding: 25px;
}