/* ===================================================================== */
/*      Estilos Inspirados en la App "Image2PDF" (con Acentos Rojos)     */
/* ===================================================================== */

/* Variables de Color para fácil personalización */
:root {
    --bg-gradient-start: #1a1a2e; /* Indigo muy oscuro */
    --bg-gradient-end: #2c2a4a;   /* Púrpura oscuro */
    --accent-red-primary: #ff416c;  /* Rojo vibrante */
    --accent-magenta-secondary: #ff4b2b; /* Naranja-Rojo para gradientes */
    --card-bg: rgba(35, 35, 60, 0.4); /* Fondo de tarjeta púrpura semitransparente */
    --card-border: rgba(255, 255, 255, 0.1); /* Borde sutil */
    --text-primary: #f0f2f5;        /* Blanco suave */
    --text-secondary: rgba(235, 235, 245, 0.7);
    --delete-btn-bg: #ff6b6b; /* Rojo para el botón de eliminar */
}


/* General Body Styles */
body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    overflow-x: hidden;
    background-color: var(--bg-gradient-start);
    color: var(--text-primary);
}

/* Font Imports */
h1, h2, h3, .font-orbitron {
    font-family: 'Poppins', 'Helvetica Neue', sans-serif;
    font-weight: 700; /* Un poco más grueso para el título */
}

/* Background Animations - Con los tonos rojos y púrpuras que pediste */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient-shift {
    background: linear-gradient(-45deg, var(--bg-gradient-start), var(--bg-gradient-end), var(--accent-red-primary), var(--bg-gradient-end));
    background-size: 600% 600%;
    animation: gradient-shift 20s ease infinite;
}

.dots-pattern {
    background-image: none; /* Diseño limpio sin patrones */
}

/* Blob animado para un efecto de luz de fondo rojo */
@keyframes blob {
    0% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(30px, -50px) scale(1.2); }
    60% { transform: translate(-20px, 20px) scale(0.8); }
    100% { transform: translate(0, 0) scale(1); }
}

.animate-blob {
    animation: blob 12s infinite cubic-bezier(0.68, -0.55, 0.27, 1.55);
    background: rgba(255, 65, 108, 0.15); /* Brillo rojo muy tenue */
}

.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

/* Pulse Glow con la nueva paleta roja/magenta */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 15px rgba(255, 65, 108, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 75, 43, 0.5), 0 0 70px rgba(255, 65, 108, 0.3); }
    100% { box-shadow: 0 0 15px rgba(255, 65, 108, 0.3); }
}

.animate-pulse-glow {
    animation: pulse-glow 5s infinite alternate;
}

/* Text Animations (sin cambios) */
@keyframes fade-in-up { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fade-in-up 1s ease-out forwards; }
.animation-delay-500 { animation-delay: 0.5s; }
.animation-delay-1000 { animation-delay: 1s; }


/* Card Styles - Para las miniaturas de las imágenes */
.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: 24px; /* Esquinas muy redondeadas */
    transition: all 0.4s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative; /* Para el botón de eliminar */
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Botón de eliminar (la 'X' roja) */
.btn-delete {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    background-color: var(--delete-btn-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid var(--bg-gradient-start);
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-delete:hover {
    transform: scale(1.1);
    background-color: #ff3c3c;
}


/* Gradient Text - Para el título "Image2PDF" con gradiente rojo */
.text-gradient {
    background-image: linear-gradient(45deg, var(--accent-red-primary), var(--accent-magenta-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    /* Para el título original cian, podrías usar: linear-gradient(45deg, #00F6FF, #439cfb) */
}


/* Button Styles - Para el botón "Continue" */
.btn-primary {
    border-radius: 9999px;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    /* El gradiente rojo como base */
    background-image: linear-gradient(to right, var(--accent-red-primary) 0%, var(--accent-magenta-secondary) 100%);
    box-shadow: 0 5px 20px rgba(255, 65, 108, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 75, 43, 0.5);
}

/* Efecto de brillo en el hover para el botón */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}


/* Form Input Styles (si los necesitas) */
input[type="text"],
input[type="email"],
textarea {
    background-color: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--accent-red-primary);
    box-shadow: 0 0 0 3px rgba(255, 65, 108, 0.5);
    background-color: var(--card-bg);
}