:root {
    --text-primary: #1a3c22;
    --text-secondary: #4a5d4e;
    --accent-1: #1a4325; /* Dark forest green */
    --accent-2: #c8104f; /* Magenta / deep pink */
    --accent-3: #ffb6c1; /* Soft pink background blob */
    --accent-4: #85c285; /* Soft green background blob */
}

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

body {
    font-family: 'Outfit', sans-serif;
    /* Soft gradient matching the image */
    background: linear-gradient(135deg, #ffd6df 0%, #fcf8f2 50%, #e6f0db 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 2rem 0;
}

/* Background Blobs for Modern Aesthetic */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.7;
    animation: float 15s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, var(--accent-4), transparent 70%);
    animation-delay: -5s;
    animation-duration: 20s;
}

.blob-3 {
    top: 30%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    max-width: 400px;
    max-height: 400px;
    background: radial-gradient(circle, rgba(200, 16, 79, 0.15), transparent 70%);
    animation-delay: -10s;
    animation-duration: 12s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.05); }
    100% { transform: translate(-5%, 8%) scale(0.95); }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 700px;
    animation: slideDown 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-logo {
    max-height: 100px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-divider {
    width: 1.5px;
    height: 55px;
    background: linear-gradient(to bottom, transparent, rgba(26, 67, 37, 0.25), transparent);
    flex-shrink: 0;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--accent-1);
}

.hero h1 span {
    font-family: 'Dancing Script', cursive;
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent-2), #e74c8b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 0.2rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

/* Etiqueta de verificación de producto original */
.qr-verified-badge {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(26, 67, 37, 0.22);
    border-radius: 22px;
    padding: 1.4rem 2rem;
    max-width: 560px;
    width: 100%;
    margin: 0.5rem 0 0.5rem 0;
    box-shadow: 0 15px 35px rgba(26, 67, 37, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: badgePop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

@keyframes badgePop {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.qr-badge-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), #2d7a42);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(26, 67, 37, 0.25);
}

.qr-badge-icon svg {
    width: 30px;
    height: 30px;
}

.qr-badge-content {
    text-align: left;
}

.qr-badge-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-1);
    background: rgba(26, 67, 37, 0.1);
    padding: 0.22rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 0.35rem;
}

.qr-badge-content h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-1);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.qr-badge-content p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Botón para finalizar verificación */
.verify-finish-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.4rem;
    padding: 0.95rem 2.2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-1), #2d7a42);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 25px rgba(26, 67, 37, 0.25);
    transition: all 0.3s ease;
    animation: badgePop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.28s backwards;
}

.verify-finish-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.verify-finish-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 67, 37, 0.35);
    background: linear-gradient(135deg, #1f502c, #348a4c);
}

.verify-finish-btn:hover svg {
    transform: translateX(4px);
}

.verify-finish-btn:active {
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero { margin-bottom: 1rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero h1 span { font-size: 4rem; }
    .qr-verified-badge { padding: 1.25rem 1.5rem; }
}

@media (max-width: 480px) {
    body { padding: 1rem 0; }
    .hero-logos { gap: 1rem; margin-bottom: 1.25rem; }
    .hero-logo { max-height: 75px; max-width: 140px; }
    .logo-divider { height: 42px; }
    .hero h1 { font-size: 2.2rem; }
    .hero h1 span { font-size: 3.2rem; }
    .container { padding: 0 1rem; }
    .qr-verified-badge {
        flex-direction: column;
        text-align: center;
        padding: 1.4rem 1.25rem;
        gap: 0.9rem;
    }
    .qr-badge-content { text-align: center; }
}
