:root {
    --bg-color: #EFECE6;
    --text-color: #1D1E18;
    --accent-color: #424436;
    --input-bg: #F7F6F3;
    --border-color: #E2DFD8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

footer {
    font-family: 'Inter';
    display: flex;
    flex-direction: column;
    align-items: end;
    width: 100%;
    margin-top: 6px;
    color: #8C8680;
    text-align: center;
    font-size: 0.75rem;
}

footer a {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: bold;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1.5s ease-out;
}

.input-container {
    width: 400px;
}

h1 {
    font-family: 'Georgia';
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

p.subtitle {
    font-family: 'Georgia';
    font-style: italic;
    color: #6B6560;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

p.body {
    font-family: 'Inter';
    color: #615c58;
    margin-bottom: 1.0rem;
    font-size: 0.8rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input[type="email"] {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus {
    border-color: var(--text-color);
}

textarea {
    resize: none;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

textarea:focus {
    border-color: var(--text-color);
}

button {
    padding: 16px;
    border-radius: 8px;
    border: none;
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.1s ease, opacity 0.3s ease;
}

button:active {
    transform: scale(0.98);
}

button:hover {
    opacity: 0.9;
}

.social-proof {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #8C8680;
}

/* Animación suave de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Estilos del Carrusel --- */
.carousel-wrapper {
    width: 100%;
    margin-bottom: 2rem; /* Espacio antes del formulario */
    position: relative;
}

.carousel {
    display: flex;
    justify-content: center;
    gap: 48px; /* Espacio entre celulares */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 12px 24px 36px 24px; /* Padding abajo para la sombra */
    -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
    scrollbar-width: none; /* Ocultar scrollbar en Firefox */
}

/* Ocultar scrollbar en Chrome/Safari */
.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 auto;
    width: 174px; /* Ancho ideal para mostrar un iPhone sin ocupar toda la pantalla */
    scroll-snap-align: center;
    transition: transform 0.3s ease;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    /* Sombra suave y elegante para dar profundidad (Bezel shadow) */
    filter: drop-shadow(0 15px 25px rgba(29, 30, 24, 0.1));
    border-radius: 24px; /* Ajusta esto si tu bezel tiene esquinas distintas */
}

/* Indicador visual sutil (opcional, para invitar a hacer scroll) */
.scroll-hint {
    font-size: 0.75rem;
    color: #8C8680;
    margin-top: -15px;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

@media (max-width: 500px) {
    .carousel {
        gap: 24px;
    }

    .input-container {
        width: 300px;
    }
}

/*
   ==.---.
     |^   |  __
      /====\/  \
      |====|\../
      \====/
        \/
*/